/* UI components — nav, cards, forms, carousel, page chrome.
 * Load order: tokens → base → layout → components → icons → effects
 */
/* header-nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header.is-scrolled {
  background: rgba(248, 250, 252, 0.95);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  border-bottom-color: var(--color-border-glow);
}

/* Homepage: the header floats over the dark hero using light-on-dark styling and
   switches to the standard light bar once the user scrolls. It stays visible from
   first paint so the logo, navigation and CTA are always reachable. */
body.has-hero-fullscreen .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition:
    background var(--duration-normal) var(--ease-default),
    border-color var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

body.has-hero-fullscreen .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.has-hero-fullscreen .site-header.is-scrolled {
  background: rgba(248, 250, 252, 0.95);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

body.has-hero-fullscreen .site-header:not(.is-scrolled) .site-logo,
body.has-hero-fullscreen .site-header:not(.is-scrolled) .primary-nav a,
body.has-hero-fullscreen .site-header:not(.is-scrolled) .primary-nav button,
body.has-hero-fullscreen .site-header:not(.is-scrolled) .hamburger-toggle {
  color: #e2e8f0;
}

body.has-hero-fullscreen .site-header:not(.is-scrolled) .site-logo:hover,
body.has-hero-fullscreen .site-header:not(.is-scrolled) .primary-nav a:hover,
body.has-hero-fullscreen .site-header:not(.is-scrolled) .primary-nav button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

body.has-hero-fullscreen .site-header:not(.is-scrolled) .primary-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

body.has-hero-fullscreen .site-header:not(.is-scrolled) .hamburger-toggle {
  border-color: rgba(226, 232, 240, 0.4);
}

body.has-hero-fullscreen .site-header:not(.is-scrolled) .hamburger-toggle.is-open {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
}

body.has-hero-fullscreen .site-header:not(.is-scrolled) .mega-menu__toggle .icon {
  color: #e2e8f0;
}

/* Keep hero copy clear of the floating header on short viewports. */
body.has-hero-fullscreen .hero-banner--fullscreen {
  padding-top: calc(var(--header-height) + var(--space-6));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-height);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-extrabold);
  font-size: var(--font-size-xl);
  color: var(--color-heading);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.site-logo:hover {
  color: var(--color-primary);
}

.site-logo svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px var(--color-primary-glow));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.primary-nav {
  display: none;
}

@media (min-width: 992px) {
  .primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
  }
}

.primary-nav a,
.primary-nav button {
  min-height: var(--touch-target-min);
  padding: var(--space-2) var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.primary-nav a:hover,
.primary-nav button:hover {
  color: var(--color-primary);
  background: rgba(59, 130, 246, 0.08);
}

.primary-nav a[aria-current="page"],
.primary-nav .mega-menu__link[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
  background: rgba(59, 130, 246, 0.1);
  box-shadow: inset 0 0 0 1px var(--color-border-glow);
}

.primary-nav a:not(.mega-menu__link) {
  position: relative;
}

.primary-nav a:not(.mega-menu__link)::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: var(--space-3);
  right: var(--space-3);
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-default);
}

.primary-nav a:not(.mega-menu__link):hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  display: none;
}

@media (min-width: 992px) {
  .header-cta {
    display: inline-flex;
  }
}

.hamburger-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-target-min);
  height: var(--touch-target-min);
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition:
    background var(--duration-normal) var(--ease-default),
    border-color var(--duration-normal) var(--ease-default),
    color var(--duration-normal) var(--ease-default);
}

.hamburger-toggle.is-open {
  background: rgba(59, 130, 246, 0.12);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.hamburger-toggle.is-open .icon-hamburger-open {
  display: none;
}

.hamburger-toggle:not(.is-open) .icon-hamburger-close {
  display: none;
}

@media (min-width: 992px) {
  .hamburger-toggle {
    display: none;
  }
}

.mobile-drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-overlay) - 1);
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--duration-normal) var(--ease-default),
    visibility var(--duration-normal);
}

html[data-nav-open="true"] .mobile-drawer__backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-height);
  right: 0;
  left: auto;
  width: min(100vw, 20rem);
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  z-index: var(--z-overlay);
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0;
  overflow: hidden;
  visibility: hidden;
  transform: translateX(100%);
  transition:
    transform 0.38s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)),
    visibility 0.38s;
  pointer-events: none;
  border-left: 1px solid rgba(59, 130, 246, 0.22);
  box-shadow: -16px 0 48px rgba(15, 23, 42, 0.45);
}

.mobile-drawer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0.95;
  z-index: 1;
}

html[data-nav-open="true"] .mobile-drawer {
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-drawer nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0;
  padding: var(--space-5) var(--space-4) var(--space-3);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

html[data-nav-open="true"] .mobile-drawer nav > * {
  animation: drawer-link-in 0.4s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) backwards;
}

html[data-nav-open="true"] .mobile-drawer nav > *:nth-child(1) { animation-delay: 0.05s; }
html[data-nav-open="true"] .mobile-drawer nav > *:nth-child(2) { animation-delay: 0.09s; }
html[data-nav-open="true"] .mobile-drawer nav > *:nth-child(3) { animation-delay: 0.13s; }
html[data-nav-open="true"] .mobile-drawer nav > *:nth-child(4) { animation-delay: 0.17s; }
html[data-nav-open="true"] .mobile-drawer nav > *:nth-child(5) { animation-delay: 0.21s; }
html[data-nav-open="true"] .mobile-drawer nav > *:nth-child(6) { animation-delay: 0.25s; }

@keyframes drawer-link-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-nav-open="true"] .mobile-drawer nav > * {
    animation: none;
  }
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: var(--space-3) var(--space-4);
  color: rgba(226, 232, 240, 0.92);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    background var(--duration-normal) var(--ease-default),
    color var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default);
}

.mobile-drawer a:hover,
.mobile-drawer a[aria-current="page"] {
  background: rgba(59, 130, 246, 0.14);
  color: #fff;
}

.mobile-drawer a[aria-current="page"] {
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--color-accent);
}

.mobile-drawer__cta {
  flex-shrink: 0;
  padding: var(--space-4);
  padding-bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(0, 0, 0, 0.22);
}

.mobile-drawer__cta .btn {
  width: 100%;
  margin: 0;
  justify-content: center;
  min-height: 3rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.35);
}

html[data-nav-open="true"] {
  overflow: hidden;
}

@media (min-width: 992px) {
  html[data-nav-open="true"] {
    overflow: auto;
  }
}

/* mega-menu */
.mega-menu {
  position: relative;
}

.mega-menu__trigger {
  display: inline-flex;
  align-items: stretch;
}

.mega-menu__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-target-min);
  padding: var(--space-2) var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-weight: 500;
}

.mega-menu__link:hover {
  color: var(--color-primary);
  background: var(--color-bg-subtle);
}

.mega-menu__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: var(--touch-target-min);
  padding: var(--space-2);
  color: var(--color-text);
  background: none;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
}

.mega-menu__toggle:hover,
.mega-menu[data-open="true"] .mega-menu__toggle {
  color: var(--color-primary);
  background: var(--color-bg-subtle);
}

.mega-menu:has(.mega-menu__link[aria-current="page"]) .mega-menu__toggle {
  color: var(--color-primary);
}

.mega-menu__toggle span {
  display: inline-block;
  transition: transform var(--duration-normal) var(--ease-default);
}

.mega-menu[data-open="true"] .mega-menu__toggle span {
  transform: rotate(180deg);
}

.mega-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  min-width: 480px;
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border-glow);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(59, 130, 246, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
  transition:
    opacity var(--duration-normal) var(--ease-default),
    transform var(--duration-normal) var(--ease-default),
    visibility var(--duration-normal);
}

.mega-menu[data-open="true"] .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mega-panel a {
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-text);
}

.mega-panel a:hover {
  background: rgba(59, 130, 246, 0.08);
  box-shadow: inset 3px 0 0 var(--color-accent);
}

/* breadcrumb */
.breadcrumb-bar {
  background: linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.18);
}

.breadcrumb {
  padding: var(--space-3) 0;
  font-size: var(--font-size-sm);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb__sep {
  display: flex;
  align-items: center;
  padding: 0 var(--space-1);
  list-style: none;
}

.breadcrumb__chevron {
  width: 14px;
  height: 14px;
  color: rgba(6, 182, 212, 0.45);
}

.breadcrumb__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  color: #94a3b8;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition:
    color var(--duration-fast),
    background var(--duration-fast),
    box-shadow var(--duration-fast);
}

.breadcrumb__link:hover {
  color: var(--color-accent);
  background: rgba(6, 182, 212, 0.1);
}

.breadcrumb__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.85;
}

.breadcrumb__link--home span {
  font-weight: 500;
}

.breadcrumb__current {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-4);
  font-weight: 600;
  color: #f1f5f9;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-full);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.12);
}

/* hero-banner */
.hero-banner {
  position: relative;
  padding: var(--space-20) 0 var(--space-16);
  background: var(--gradient-hero);
  overflow: hidden;
  contain: layout style;
}

.hero-banner--fullscreen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-8) 0 calc(var(--space-16) + 2.5rem);
  box-sizing: border-box;
}

.hero-banner--fullscreen .container {
  flex: 1;
  display: grid;
  align-items: center;
  width: 100%;
  min-height: calc(100dvh - var(--space-16) - 3rem);
  gap: clamp(var(--space-8), 4vw, var(--space-16));
}

.hero-banner--fullscreen .hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(var(--space-5), 2.5vh, var(--space-8));
  min-height: 0;
}

.hero-banner--fullscreen h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.hero-banner--fullscreen .lead {
  margin: 0;
  max-width: none;
  font-size: var(--font-size-lg);
  line-height: var(--line-height-normal);
}

.hero-banner--fullscreen .dual-cta {
  margin-top: clamp(var(--space-2), 1vh, var(--space-4));
  gap: var(--space-4);
}

.hero-banner--fullscreen .hero-stats {
  margin-top: clamp(var(--space-2), 1vh, var(--space-4));
  padding-top: clamp(var(--space-5), 2vh, var(--space-8));
  gap: clamp(var(--space-4), 2vw, var(--space-6));
}

.hero-banner--fullscreen .hero-stat strong {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

@media (min-width: 992px) {
  .hero-banner--fullscreen .container {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    align-items: center;
  }

  .hero-banner--fullscreen .hero-content {
    padding-right: clamp(var(--space-6), 3vw, var(--space-10));
  }

  .hero-banner--fullscreen .hero-media {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: min(42dvh, 360px);
    margin: 0;
    aspect-ratio: 16 / 10;
    align-self: center;
  }

  .hero-banner--fullscreen .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
  }
}

@media (max-width: 991px) {
  .hero-banner--fullscreen .container {
    min-height: auto;
    align-content: center;
  }

  .hero-banner--fullscreen .hero-content {
    gap: var(--space-5);
  }

  .hero-banner--fullscreen .hero-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: none;
  }
}

.hero-scroll-cue {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  border: none;
  background: transparent;
  color: #94a3b8;
  font-family: var(--font-family-mono);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateX(-50%);
  transition:
    opacity 0.4s var(--ease-out-expo),
    transform 0.4s var(--ease-out-expo);
}

.hero-scroll-cue__text {
  line-height: 1.2;
}

.hero-scroll-cue__icon {
  color: var(--color-accent);
}

.hero-scroll-cue.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
}

.hero-scroll-cue:hover {
  color: #e2e8f0;
}

.hero-scroll-cue:hover .hero-scroll-cue__icon {
  color: #22d3ee;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
}

.hero-banner::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-banner .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-banner .container {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-full);
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge::before {
    animation: none;
  }
}

.hero-banner h1 {
  font-family: var(--font-family-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-snug);
  color: #f8fafc;
  letter-spacing: -0.04em;
}

.hero-banner .lead {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  color: #94a3b8;
  max-width: 36rem;
}

.hero-banner .btn-secondary {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.hero-banner .btn-secondary:hover {
  color: #fff;
  border-color: var(--color-accent);
  background: rgba(6, 182, 212, 0.15);
  box-shadow: 0 0 20px var(--color-accent-glow);
}

.hero-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface-dark-2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow:
    var(--shadow-lg),
    0 0 60px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 40px rgba(59, 130, 246, 0.15);
  pointer-events: none;
  z-index: 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dual-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(59, 130, 246, 0.2);
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 575px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

.hero-stat {
  text-align: left;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-family-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--font-weight-extrabold);
  color: #f8fafc;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-stat strong::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: var(--space-2);
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.hero-stat span {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--font-size-sm);
  color: #64748b;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-banner.is-loaded .hero-badge { animation: hero-in 0.7s var(--ease-default) 0.1s backwards; }
  .hero-banner.is-loaded h1 { animation: hero-in 0.7s var(--ease-default) 0.2s backwards; }
  .hero-banner.is-loaded .lead { animation: hero-in 0.7s var(--ease-default) 0.3s backwards; }
  .hero-banner.is-loaded .dual-cta { animation: hero-in 0.7s var(--ease-default) 0.4s backwards; }
  .hero-banner.is-loaded .hero-stats { animation: hero-in 0.7s var(--ease-default) 0.5s backwards; }
  .hero-banner.is-loaded .hero-media { animation: hero-in-right 0.9s var(--ease-default) 0.3s backwards; }
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-in-right {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: none; }
}

.hero-media.is-parallax {
  transition: transform 0.1s linear;
}

/* tilt cards */
.tilt-card {
  position: relative;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-lift: 0px;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--tilt-lift));
  transition:
    box-shadow var(--duration-normal) var(--ease-out-expo),
    border-color var(--duration-normal) var(--ease-out-expo),
    transform 0.22s var(--ease-out-expo);
}

.tilt-card:hover,
.tilt-card.is-tilting {
  --tilt-lift: -4px;
}

.entry-card.tilt-card:hover,
.feature-card.tilt-card:hover,
.case-study-card.tilt-card:hover,
.entry-card.tilt-card.is-tilting,
.feature-card.tilt-card.is-tilting,
.case-study-card.tilt-card.is-tilting {
  --tilt-lift: -10px;
}

/* split-entry / feature-grid */
.split-entry .grid,
.feature-grid .grid {
  gap: var(--space-4);
}

.entry-card,
.feature-card {
  position: relative;
  padding: var(--space-6);
  background: var(--color-bg-elevated);
  background-image: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition:
    box-shadow var(--duration-normal) var(--ease-out-expo),
    border-color var(--duration-normal) var(--ease-out-expo);
}

.entry-card::after,
.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    opacity var(--duration-normal) var(--ease-out-expo),
    transform var(--duration-normal) var(--ease-out-expo);
  pointer-events: none;
  z-index: 2;
}

.entry-card::before,
.feature-card::before {
  content: none;
}

.entry-card:hover,
.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(59, 130, 246, 0.1),
    0 8px 32px rgba(59, 130, 246, 0.14),
    0 16px 40px rgba(15, 23, 42, 0.06);
}

.entry-card:hover::after,
.feature-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Card pre-selected by the ?intent= parameter on the contact page */
.entry-card.is-selected {
  border-color: var(--color-primary);
  box-shadow:
    var(--shadow-md),
    0 0 0 1px rgba(59, 130, 246, 0.25);
}

.entry-card.is-selected::after {
  opacity: 1;
  transform: scaleX(1);
}

.entry-card.is-selected:focus {
  outline: none;
}

/* Section eyebrow / category pill used above detail headings */
.tag {
  display: inline-block;
  margin-bottom: var(--space-3);
  padding: var(--space-1) var(--space-3);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-text);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: var(--radius-full);
}

/* logo-wall */
.card-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: var(--space-3);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-sm);
}

.entry-card h3,
.feature-card h3 {
  margin-bottom: var(--space-2);
}

.entry-card h3::after {
  content: " →";
  display: inline-block;
  color: var(--color-accent);
  opacity: 0.55;
  transform: translateX(-6px);
  transition:
    opacity var(--duration-normal) var(--ease-out-expo),
    transform var(--duration-normal) var(--ease-spring);
}

/* Only linked cards get the arrow affordance; static <article> cards must not
   look clickable. The arrow is decorative punctuation, so it is hidden from
   assistive technology rather than injected as real text. */
.entry-card:hover h3::after {
  opacity: 1;
  transform: translateX(4px);
}

.entry-card p,
.feature-card p {
  color: var(--color-text-muted);
  margin: 0;
}

/* logo-wall */
.logo-wall ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.logo-wall li {
  padding: var(--space-3) var(--space-6);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-family: var(--font-family-mono);
  font-size: var(--font-size-sm);
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  filter: grayscale(100%);
  opacity: 0.65;
  transition:
    filter var(--duration-fast),
    opacity var(--duration-fast),
    border-color var(--duration-fast),
    box-shadow var(--duration-fast),
    transform var(--duration-fast);
}

.logo-wall.is-visible li {
  animation: logo-float 4s ease-in-out infinite;
}

.logo-wall.is-visible li:nth-child(2) { animation-delay: 0.4s; }
.logo-wall.is-visible li:nth-child(3) { animation-delay: 0.8s; }
.logo-wall.is-visible li:nth-child(4) { animation-delay: 1.2s; }
.logo-wall.is-visible li:nth-child(5) { animation-delay: 1.6s; }
.logo-wall.is-visible li:nth-child(6) { animation-delay: 2s; }

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-wall.is-visible li {
    animation: none;
  }
}

.logo-wall li:hover {
  filter: grayscale(0);
  opacity: 1;
  border-color: var(--color-border-glow);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.12);
  color: var(--color-primary);
  transform: scale(1.04);
}

/* case-study-card */
.case-study-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow var(--duration-normal) var(--ease-out-expo),
    border-color var(--duration-normal) var(--ease-out-expo);
}

.case-study-card .thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.case-study-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out-expo), filter var(--duration-normal);
}

.case-study-card:hover .thumb img {
  transform: scale(1.08);
  filter: brightness(1.06) saturate(1.05);
}

.case-study-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.1) 0%, rgba(11, 17, 32, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
  transition: background var(--duration-normal) var(--ease-out-expo);
}

.case-study-card:hover .thumb::after {
  background: linear-gradient(180deg, rgba(11, 17, 32, 0) 0%, rgba(11, 17, 32, 0.55) 100%);
}

.case-study-card .thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
}

.thumb-label {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  z-index: 3;
  padding: var(--space-1) var(--space-3);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  transition:
    transform var(--duration-normal) var(--ease-out-expo),
    border-color var(--duration-normal),
    box-shadow var(--duration-normal);
}

.case-study-card .body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.case-study-card:hover .body {
  transform: translateY(-3px);
}

.case-metric {
  font-family: var(--font-family-mono);
  font-weight: 700;
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  text-shadow: 0 0 20px var(--color-primary-glow);
}

/* testimonial */
.testimonial {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--color-bg-elevated);
  background-image: var(--gradient-card);
  border: 1px solid var(--color-border);
}

.testimonial blockquote {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-4);
  border-left: 3px solid transparent;
  border-image: var(--gradient-primary) 1;
  font-size: var(--font-size-lg);
  color: var(--color-heading);
}

.testimonial figcaption {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* cta-block */
.cta-block {
  position: relative;
  padding: var(--space-8) var(--space-6);
  text-align: center;
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(59, 130, 246, 0.3);
  overflow: hidden;
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

@media (min-width: 768px) {
  .cta-block {
    padding: var(--space-16);
  }
}

.cta-block > * {
  position: relative;
  z-index: 1;
}

.cta-block h2 {
  margin-bottom: var(--space-4);
  color: #f8fafc;
}

.cta-block .text-muted {
  color: #94a3b8;
}

.cta-block .btn-secondary {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.cta-block .btn-secondary:hover {
  color: #fff;
  border-color: var(--color-accent);
  background: rgba(6, 182, 212, 0.15);
}

/* solution-card / product-card */
.hub-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 0;
  background: var(--color-bg-elevated);
  background-image: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition:
    box-shadow var(--duration-normal),
    border-color var(--duration-normal);
}

.hub-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hub-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-default);
}

.hub-card:hover .hub-card__media img {
  transform: scale(1.06);
}

.hub-card .tag,
.hub-card h3,
.hub-card p {
  margin-left: var(--space-6);
  margin-right: var(--space-6);
}

.hub-card .tag {
  margin-top: var(--space-4);
}

.hub-card p {
  margin-bottom: var(--space-6);
}

.hub-card:hover {
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-md), 0 0 28px rgba(59, 130, 246, 0.12);
}

.case-study-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(59, 130, 246, 0.1),
    0 8px 32px rgba(59, 130, 246, 0.14),
    0 16px 40px rgba(15, 23, 42, 0.06);
}

.hub-card .tag {
  display: inline-block;
  width: fit-content;
  padding: var(--space-1) var(--space-3);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-full);
}

/* accordion-faq */
.accordion-faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-elevated);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.accordion-item:has(.accordion-trigger[aria-expanded="true"]) {
  border-color: var(--color-border-glow);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.08);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--touch-target-min);
  padding: var(--space-4) var(--space-6);
  background: var(--color-bg);
  border: none;
  text-align: left;
  font-weight: 600;
  color: var(--color-heading);
}

.accordion-panel {
  padding: 0 var(--space-6);
  color: var(--color-text-muted);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height var(--duration-normal) var(--ease-default),
    opacity var(--duration-normal) var(--ease-default),
    padding var(--duration-normal) var(--ease-default);
}

.accordion-panel.is-open {
  max-height: 320px;
  opacity: 1;
  padding-bottom: var(--space-4);
}

.accordion-panel[hidden]:not(.is-open) {
  display: block;
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
}

.accordion-trigger span.chevron {
  transition: transform var(--duration-normal) var(--ease-default);
}

.accordion-trigger[aria-expanded="true"] span.chevron {
  transform: rotate(180deg);
}

/* contact-form */
.contact-form {
  display: grid;
  gap: var(--space-4);
  max-width: 36rem;
}

.form-field label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: var(--touch-target-min);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-elevated);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
  outline: none;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--color-error);
}

.field-error {
  margin-top: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-error);
}

.form-status {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
}

.form-status.success {
  background: #dcfce7;
  color: var(--color-success);
}

.form-status.error {
  background: #fee2e2;
  color: var(--color-error);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.checkbox-field input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}

/* pricing-table */
.pricing-table {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .pricing-table {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  padding: var(--space-6);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--duration-fast), border-color var(--duration-fast);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  background-image: var(--gradient-card);
  box-shadow: var(--shadow-md), 0 0 32px rgba(59, 130, 246, 0.15);
}

/* footer-sitemap */
.site-footer {
  background: var(--color-surface-dark);
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  color: #94a3b8;
  padding: var(--space-12) 0 var(--space-6);
  border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.site-footer a {
  color: #e2e8f0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: var(--space-8);
}

/* Two columns on tablets — four columns at 768px squeezed each column to
   roughly 170px and wrapped nearly every link. */
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-grid h3 {
  color: #f1f5f9;
  font-size: var(--font-size-base);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li + li {
  margin-top: var(--space-2);
}

.footer-bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  font-size: var(--font-size-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3) var(--space-6);
  justify-content: space-between;
}

.footer-bottom > span:first-child {
  flex: 1 1 22rem;
}

.footer-legal a {
  white-space: nowrap;
}

/* carousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform var(--duration-normal) var(--ease-default);
}

.carousel-slide {
  flex: 0 0 100%;
  min-height: 200px;
  padding: var(--space-8);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.carousel-indicators {
  display: flex;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-primary);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition:
    box-shadow var(--duration-fast),
    transform var(--duration-fast),
    background var(--duration-fast);
}

.carousel-indicator:hover {
  transform: scale(1.25);
  box-shadow: 0 0 8px var(--color-primary-glow);
}

.carousel-indicator[aria-selected="true"] {
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: 0 0 8px var(--color-primary-glow);
  transform: scale(1.1);
}

.carousel-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* back-to-top */
.back-to-top {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  z-index: var(--z-back-to-top);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--duration-fast),
    box-shadow var(--duration-fast),
    transform var(--duration-fast);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  box-shadow: var(--shadow-glow-accent);
  transform: translateY(-2px);
}

/* error-404 / html-sitemap */
.error-page {
  padding: var(--space-20) 0;
  text-align: center;
}

.sitemap-tree ul {
  list-style: none;
  padding-left: var(--space-4);
}

.sitemap-tree > ul {
  padding-left: 0;
}

.sitemap-tree li {
  margin: var(--space-2) 0;
}

/* page-header */
.page-header {
  position: relative;
  padding: var(--space-10) 0;
  background: var(--gradient-hero);
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-header {
    padding: var(--space-12) 0 var(--space-10);
  }
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
  padding-block: var(--space-8);
}

.page-header__inner {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 992px) {
  .page-header__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.page-header__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
}

.page-header__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .page-header .container {
    animation: hero-in 0.6s var(--ease-default) backwards;
  }
}

.page-header h1 {
  margin-bottom: var(--space-3);
  color: #f8fafc;
}

.page-header .text-muted {
  color: #94a3b8;
  font-size: var(--font-size-lg);
}

/* detail sections */
.detail-section {
  padding: var(--space-10) 0;
}

@media (min-width: 768px) {
  .detail-section {
    padding: var(--space-12) 0;
  }
}

.detail-section + .detail-section {
  border-top: 1px solid var(--color-border);
}

/* Long-form legal copy: cap the measure for readability. */
.legal-body {
  max-width: 46rem;
}

.legal-body h2 {
  margin-top: var(--space-8);
  font-size: var(--font-size-2xl);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  text-align: left;
}

.spec-table th {
  background: var(--color-bg-subtle);
}

/* team-grid */
.team-grid .team-card {
  text-align: center;
  padding: var(--space-6);
  background: var(--color-bg-elevated);
  background-image: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.team-grid .team-card:hover {
  border-color: var(--color-border-glow);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.1);
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-full);
  background: var(--gradient-hero);
  border: 2px solid var(--color-border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-accent);
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--color-bg-subtle);
}
