/* Intellisoft — Enterprise design system */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --purple-900: #4a148c;
  --purple-800: #6a1b9a;
  --purple-700: #7b1fa2;
  --purple-600: #8e24aa;
  --purple-500: #9c27b0;
  --purple-400: #ab47bc;
  --purple-300: #ce93d8;
  --purple-100: #f3e5f5;
  --purple-50: #faf5fc;
  --navy-950: #0f0f1a;
  --hero-dark: #0a0812;
  --navy-900: #16162a;
  --navy-800: #1e1e36;
  --navy-700: #2a2a48;
  --ink: #1a1a2e;
  --muted: #5c5c76;
  --line: #e6e6ef;
  --line-soft: #f0f0f6;
  --white: #ffffff;
  --cream: #f8f7fb;
  --success: #1b8a5a;
  --warning: #c47a00;
  --nav-active: #f0b429;
  --shadow-sm: 0 0.125rem 0.5rem rgba(22, 22, 42, 0.06);
  --shadow-md: 0 0.75rem 2.5rem rgba(22, 22, 42, 0.1);
  --shadow-lg: 0 1.5rem 3.75rem rgba(74, 20, 140, 0.16);
  --radius: 0.25rem;
  --header-h: 4.5rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-section: 5.5rem;
  /* Typography */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: var(--font);
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: clamp(1.625rem, 2.8vw, 2.125rem);
  --text-4xl: clamp(1.875rem, 3.4vw, 2.5rem);
  --text-5xl: clamp(2.375rem, 5vw, 3.75rem);
  --leading-tight: 1.1;
  --leading-snug: 1.4;
  --leading-body: 1.7;
  --leading-relaxed: 1.75;
  --tracking-tight: -0.03em;
  --tracking-normal: -0.015em;
  --tracking-wide: 0.06em;
  --tracking-wider: 0.1em;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 77.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: var(--leading-body);
  font-size: var(--text-base);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Content lists — bullets & numbering */
main ul,
main ol,
.legal-document ul,
.legal-document ol,
.legal-notice ul,
.seo-city-content ul,
.seo-city-content ol,
.split-copy ul,
.split-copy ol,
.seo-service-types,
.seo-numbered-list,
.project-modal-list {
  list-style-position: outside;
}

main ul,
.legal-document ul,
.legal-notice ul,
.seo-city-content ul,
.split-copy ul,
.seo-service-types,
.project-modal-list {
  list-style-type: disc;
}

main ol,
.legal-document ol,
.seo-city-content ol,
.seo-numbered-list {
  list-style-type: decimal;
}

main ul,
main ol,
.legal-document ul,
.legal-document ol,
.seo-city-content ul,
.seo-city-content ol,
.split-copy ul,
.split-copy ol,
.seo-service-types,
.seo-numbered-list,
.project-modal-list {
  padding-left: 1.5rem;
  margin: 1rem 0 1.5rem;
}

main ul li::marker,
.legal-document ul li::marker,
.legal-notice ul li::marker,
.seo-city-content ul li::marker,
.seo-service-types li::marker,
.project-modal-list li::marker {
  color: var(--purple-700);
}

main ol li::marker,
.legal-document ol li::marker,
.seo-city-content ol li::marker,
.seo-numbered-list li::marker {
  color: var(--purple-700);
  font-weight: 600;
}

/* UI / layout lists — no markers */
.service-list,
.seo-hub-list,
.careers-steps,
.careers-highlights,
.hero-home-pillars,
.hero-home-industries,
.hero-home-capabilities {
  list-style: none;
  padding-left: 0;
}

/* ── Typography hierarchy ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: inherit;
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}

h2 {
  font-size: var(--text-4xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: var(--tracking-normal);
  line-height: var(--leading-snug);
}

h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: var(--tracking-normal);
  line-height: var(--leading-snug);
}

h5, h6 {
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: var(--tracking-normal);
  line-height: var(--leading-snug);
}

p {
  line-height: var(--leading-body);
}

/* Content rhythm — spacing between paragraphs and sections */
:where(
  .article-body,
  .seo-city-content,
  .split-copy,
  [data-about-story-copy],
  .about-security-copy,
  .project-modal-body,
  .project-modal-section,
  .legal-notice,
  .careers-intro-copy,
  .section-head,
  .legal-document
) p + p {
  margin-top: var(--space-4);
}

.about-security-copy h2 {
  margin: 0 0 var(--space-3);
}

.about-security-copy p {
  margin-bottom: var(--space-4);
}

[data-about-story-copy] p {
  color: var(--muted);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

.seo-city-content p {
  margin-bottom: 0;
}

.seo-city-content p + p {
  margin-top: var(--space-4);
}

.seo-faq details p + p {
  margin-top: var(--space-3);
}

.lead {
  font-size: var(--text-lg);
  line-height: var(--leading-body);
  color: var(--muted);
}

.text-muted { color: var(--muted); }

/* Light surfaces — restore body text on cards and panels */
.legal-document,
.project-modal-dialog,
.story-card,
.team-card,
.pillar-card,
.testimonial-card,
.affiliate-card,
.service-card-corp,
.value-prop,
.careers-apply-panel,
.careers-perk,
.careers-role,
.careers-step,
.careers-gallery figure,
.job-card {
  color: var(--ink);
}

/* Dark / branded surfaces — headings and copy inherit white */
.hero-home,
.page-hero,
.section-dark,
.industry-tile,
.split-media,
.split-media-corporate,
.careers-apply-card {
  color: #fff;
}

.container {
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 3rem, 51.25rem);
  margin-inline: auto;
}

/* Split / prose copy blocks */
.split-copy h2 {
  font-size: var(--text-3xl);
  margin: 10px 0 16px;
  color: inherit;
}

.split-copy > p,
.split-copy [data-about-story-copy] p {
  color: var(--muted);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

.split-copy > p:last-child:not(:only-child) {
  margin-bottom: var(--space-5);
}

.split-copy--form h2 {
  margin: 8px 0 24px;
}

.boot-error {
  padding: var(--space-4);
  color: var(--warning);
}

/* Header — fixed transparent nav over hero content */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header.header-overlay:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.site-header.header-overlay:not(.scrolled) .nav-link:hover,
.site-header.header-overlay:not(.scrolled) .nav-item.open > .nav-link:not(.active) {
  color: #fff;
  background: transparent;
}

.site-header.header-overlay:not(.scrolled) .nav-link.active {
  color: var(--nav-active);
  font-weight: 700;
  background: transparent;
}

.site-header.scrolled .nav-link,
.site-header:not(.header-overlay):not(.scrolled) .nav-link {
  color: var(--ink);
  text-shadow: none;
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-item.open > .nav-link:not(.active),
.site-header:not(.header-overlay):not(.scrolled) .nav-link:hover,
.site-header:not(.header-overlay):not(.scrolled) .nav-item.open > .nav-link:not(.active) {
  color: var(--purple-700);
  background: transparent;
}

.site-header.scrolled .nav-link.active,
.site-header:not(.header-overlay):not(.scrolled) .nav-link.active {
  color: var(--nav-active);
  font-weight: 700;
  background: transparent;
}

.site-header.header-overlay:not(.scrolled) .menu-toggle {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.site-header.header-overlay:not(.scrolled) .menu-toggle span,
.site-header.header-overlay:not(.scrolled) .menu-toggle span::before,
.site-header.header-overlay:not(.scrolled) .menu-toggle span::after {
  background: #fff;
}

.site-header.header-overlay:not(.scrolled) .header-actions .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.site-header.header-overlay:not(.scrolled) .header-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
}

.site-header.header-overlay:not(.scrolled) .logo-header {
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
}

body.mobile-nav-open .site-header.header-overlay:not(.scrolled) {
  background: var(--hero-dark);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.logo-header {
  height: 42px;
  max-width: 200px;
  width: auto;
}

.footer-brand .logo-img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  margin-bottom: 14px;
  opacity: 0.95;
}

.footer-brand .logo-footer {
  opacity: 1;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius);
  background: transparent;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover:not(.active) {
  color: var(--purple-700);
  background: transparent;
}

.nav-link.active {
  color: var(--nav-active);
  font-weight: 700;
  background: transparent;
}

.nav-link:hover:not(.active)::after,
.nav-item.open > .nav-link:not(.active)::after {
  transform: scaleX(1);
}

.nav-link.active::after {
  transform: scaleX(0);
}

.nav-link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.25s var(--ease);
}

.nav-item.open > .nav-link svg,
.nav-item[data-mega]:hover > .nav-link svg {
  transform: rotate(180deg);
}

.nav-item[data-mega]::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  z-index: 49;
}

.mega-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 50;
}

.nav-item.open .mega-panel,
.nav-item[data-mega]:hover .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  gap: 4px;
}

.mega-grid--wide {
  grid-template-columns: 1fr 1fr;
  min-width: 480px;
}

.nav-item.open .mega-panel:has(.mega-grid--wide) {
  min-width: 520px;
}

.mega-link {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  transition: background 0.2s;
}

.mega-link:hover { background: var(--purple-50); }

.mega-link strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.mega-link span {
  font-size: 12.5px;
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--purple-700);
  color: #fff;
  box-shadow: 0 4px 14px rgba(123, 31, 162, 0.35);
}

.btn-primary:hover {
  background: var(--purple-800);
  box-shadow: 0 8px 20px rgba(123, 31, 162, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--purple-700);
  color: var(--purple-700);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--purple-800);
}

.btn-white:hover { box-shadow: var(--shadow-md); }

.btn-lg { padding: 16px 28px; font-size: var(--text-base); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.menu-toggle:hover {
  border-color: rgba(123, 31, 162, 0.28);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), background 0.2s ease;
}

.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(6px); }

.menu-toggle.is-open span,
.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.site-header.header-overlay:not(.scrolled) .menu-toggle.is-open span,
.site-header.header-overlay:not(.scrolled) .menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle.is-open span::before,
.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle.is-open span::after,
.menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(0) rotate(-45deg);
}

/* Homepage hero */
.hero-home {
  position: relative;
  min-height: min(96vh, 960px);
  display: flex;
  align-items: center;
  background: #0a0812;
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-home-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #0a0812;
  background-size: cover;
  background-position: 62% 38%;
  background-repeat: no-repeat;
}

.hero-home-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  opacity: 0;
  transition: opacity 0.9s ease;
  will-change: opacity;
}

.hero-home-video.is-visible,
.hero-home.is-video-ready .hero-home-video {
  opacity: 1;
}

.hero-home-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 6, 18, 0.9) 0%,
      rgba(8, 6, 18, 0.72) 32%,
      rgba(8, 6, 18, 0.28) 55%,
      rgba(8, 6, 18, 0.08) 100%
    ),
    linear-gradient(180deg, rgba(8, 6, 18, 0.35) 0%, transparent 45%, rgba(8, 6, 18, 0.45) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-home-video {
    display: none;
  }
}

.hero-home-layout {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + clamp(48px, 8vh, 96px)) 0 clamp(80px, 11vh, 120px);
}

.hero-home-main {
  max-width: 560px;
}

.hero-home-eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 3px solid var(--purple-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ce93d8;
  line-height: 1.4;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero-home h1 {
  font-size: clamp(2.125rem, 4.6vw, 3.375rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 22px;
  color: #fff;
  max-width: 15.5em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.hero-home h1 em {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: #d4b3e8;
  margin-top: 0.12em;
}

.hero-home-lead {
  font-size: var(--text-md);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 28px;
  max-width: 38ch;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}

.hero-home-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.hero-home .btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
}

.hero-home .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hero-home-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-home-pillars li {
  padding: 0 16px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-home-pillars li:last-child {
  border-right: none;
  padding-right: 0;
}

.hero-home-pillars li:not(:first-child) {
  padding-left: 16px;
}

.hero-home-pillars strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.hero-home-pillars span {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.52);
}

.hero-home-panel {
  background: rgba(10, 8, 20, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-home-panel-body {
  padding: 22px 22px 20px;
}

.hero-home-panel-label {
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.hero-home-capabilities {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-home-capabilities li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-home-capability {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
  border-radius: 8px;
}

.hero-home-capability:hover {
  background: rgba(255, 255, 255, 0.04);
}

.hero-home-capability-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(123, 31, 162, 0.2);
  border: 1px solid rgba(206, 147, 216, 0.2);
  color: #e1bee7;
}

.hero-home-capability-icon svg {
  width: 20px;
  height: 20px;
}

.hero-home-capability-copy {
  flex: 1;
  min-width: 0;
}

.hero-home-capability-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.01em;
}

.hero-home-capability-text {
  display: block;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

.hero-home-capability-arrow {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s, transform 0.2s;
}

.hero-home-capability:hover .hero-home-capability-arrow {
  color: #ce93d8;
  transform: translateX(3px);
}

.hero-home-panel-foot {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-home-panel-foot .hero-home-panel-label {
  margin-bottom: 10px;
}

.hero-home-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-home-industries li {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hero entrance animations */
.hero-animate {
  opacity: 0;
  transform: translateY(20px);
}

.hero-home.is-ready .hero-animate {
  animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.1s + var(--hero-i, 0) * 0.08s);
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate,
  .hero-home.is-ready .hero-animate {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

/* Homepage: static layout, no scroll-reveal delay */
body[data-page="home"] .reveal,
body[data-page="campus-ambassador"] .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Trust strip */
.trust-strip {
  position: relative;
  z-index: 3;
  background: #f7f7fb;
  border-top: 1px solid #dfe0ea;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  color: var(--ink);
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
}

.trust-strip-label {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding-right: 12px;
  border-right: 3px solid var(--purple-700);
}

.trust-strip-logos {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.trust-strip-logos .marquee {
  min-height: 52px;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.trust-strip-link {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple-700);
  text-decoration: none;
  white-space: nowrap;
}

.trust-strip-link:hover {
  color: var(--purple-900);
  text-decoration: underline;
}

/* Homepage quick actions & stats */
.home-quick-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.home-quick-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
}

.home-quick-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.home-quick-card:hover {
  border-color: rgba(123, 31, 162, 0.25);
  box-shadow: var(--shadow-sm);
}

.home-quick-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}

.home-quick-card p {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}

.home-quick-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--purple-700);
  white-space: nowrap;
}

.home-quick-link:hover {
  color: var(--purple-900);
}

.home-stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(22, 22, 42, 0.06);
}

/* Collaboration models */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.collab-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.collab-card:hover {
  border-color: var(--purple-300);
  box-shadow: var(--shadow-sm);
}

.collab-card h3 {
  font-size: 1.0625rem;
  margin: 0 0 10px;
  color: var(--ink);
}

.collab-card > p {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

.collab-meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.collab-meta div {
  margin: 0;
}

.collab-meta dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-700);
  margin-bottom: 4px;
}

.collab-meta dd {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
}

/* Tech stack strip */
.tech-stack-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.tech-stack-tag {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple-800);
  background: var(--purple-50);
  border: 1px solid rgba(123, 31, 162, 0.15);
  border-radius: 999px;
}

.marquee-compact .marquee-track {
  gap: 40px;
  animation-duration: 90s;
}

.trust-strip .client-logo-img {
  min-width: 148px;
  height: 52px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid #d5d6e3;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(22, 22, 42, 0.06);
}

.marquee-compact .client-logo-img img {
  height: 34px;
  max-width: 128px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.25s ease;
}

.marquee-compact .client-logo-img:hover img {
  transform: scale(1.03);
}

.trust-strip .client-logo,
.trust-strip .client-logo-img {
  opacity: 1;
}

.trust-strip .client-logo-fallback:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 0 6px;
}

.trust-strip .client-logo-fallback,
.trust-strip .client-logo-text {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.trust-strip .client-logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 52px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid #d5d6e3;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(22, 22, 42, 0.06);
  opacity: 1;
}

/* Service showcase */
.service-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 68.75em) {
  .service-showcase {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 8px;
    margin-right: -4px;
  }

  .service-showcase::-webkit-scrollbar {
    display: none;
  }

  .service-showcase .service-card-corp {
    flex: 0 0 min(82vw, 280px);
    scroll-snap-align: start;
    min-width: 0;
  }
}

.service-card-corp {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.service-card-corp:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(123, 31, 162, 0.25);
}

.service-card-corp-link {
  display: block;
  color: inherit;
}

.service-card-corp-media {
  height: 168px;
  background: var(--navy-900) center/cover no-repeat;
  position: relative;
}

.service-card-corp-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 15, 26, 0.35));
}

.service-card-corp-body {
  padding: 24px 22px 26px;
}

.service-card-corp-body h3 {
  font-size: 17px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: inherit;
}

.service-card-corp-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.service-card-corp-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-700);
}

/* Corporate split — Why Intellisoft */
.split-corporate {
  align-items: stretch;
}

.split-corporate .split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-corporate .split-copy h2 {
  font-size: var(--text-3xl);
  margin: 10px 0 16px;
}

.split-corporate .split-copy > p {
  color: var(--muted);
  margin-bottom: 28px;
  line-height: var(--leading-body);
  font-size: var(--text-base);
}

.split-media-corporate {
  position: relative;
  background-color: var(--navy-900);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 440px;
  display: flex;
  align-items: flex-start;
  padding: 28px;
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.split-media-corporate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(15, 15, 26, 0.08) 0%,
    rgba(45, 20, 88, 0.45) 55%,
    rgba(74, 20, 140, 0.55) 100%
  );
  pointer-events: none;
}

.split-media-corporate::after {
  display: none;
}

.split-media-badge {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}

.value-props {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.value-prop {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.value-prop:hover {
  border-color: rgba(123, 31, 162, 0.25);
  box-shadow: var(--shadow-sm);
}

.value-prop-icon {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-900));
  box-shadow: 0 0 0 4px var(--purple-50);
}

.value-prop-body {
  flex: 1;
  min-width: 0;
}

.value-prop-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.value-prop-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Home project grid */
.card-grid-home-projects {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 68.75em) {
  .card-grid.card-grid-home-projects {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 8px;
    margin-right: -4px;
    grid-template-columns: none;
  }

  .card-grid.card-grid-home-projects::-webkit-scrollbar {
    display: none;
  }

  .card-grid.card-grid-home-projects .story-card {
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
    min-width: 0;
  }
}

/* Recognition block */
.home-recognition {
  border-top: 1px solid var(--line);
}


.recognition-col h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--ink);
}

.affiliate-grid-compact {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.affiliate-grid-compact .affiliate-card {
  padding: 16px;
}



.cta-band-corporate h2 {
  max-width: 640px;
  margin-inline: auto;
}

.cta-band-corporate p {
  max-width: 560px;
}

/* Sections */
.section {
  padding: var(--space-section) 0;
}

.section-sm { padding: 4rem 0; }

.section-dark {
  background: var(--navy-950);
  color: #fff;
}

.section-muted { background: var(--cream); }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--purple-700);
  margin-bottom: 12px;
}

.section-dark .eyebrow { color: #e1bee7; }

.section-head h2 {
  font-size: var(--text-4xl);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 14px;
  color: inherit;
}

.section-head p {
  color: var(--muted);
  font-size: var(--text-md);
  line-height: var(--leading-body);
}

.section-dark .section-head p { color: rgba(255, 255, 255, 0.75); }

/* Feature / story cards — Infosys style */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}


.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid-industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card-grid-industries .story-card-media {
  height: 160px;
}

.card-grid-industries .story-card-body h3 {
  font-size: 17px;
}

.card-grid-industries .story-card-body p {
  font-size: 14px;
}

.story-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.story-card-media {
  height: 180px;
  background: linear-gradient(135deg, var(--purple-800), var(--purple-500));
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.story-card-media.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 15, 26, 0.75));
}

.story-card-media.alt-1 { background: linear-gradient(135deg, #1a237e, #7b1fa2); }
.story-card-media.alt-2 { background: linear-gradient(135deg, #4a148c, #ad1457); }
.story-card-media.alt-3 { background: linear-gradient(135deg, #311b92, #00838f); }
.story-card-media.alt-4 { background: linear-gradient(135deg, #6a1b9a, #1565c0); }

.story-card-tag {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
}

.story-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.story-card-body h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: var(--tracking-normal);
  color: inherit;
}

.story-card-body p {
  font-size: var(--text-sm);
  color: var(--muted);
  flex: 1;
  line-height: var(--leading-body);
}

.story-card-link {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.story-card-link::after {
  content: "→";
  transition: transform 0.2s;
}

.story-card:hover .story-card-link::after {
  transform: translateX(4px);
}

/* Project showcase cards */
.project-card .story-card-media {
  height: 200px;
}

.project-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-700);
  margin-bottom: 6px;
}

.project-outcome {
  margin-top: 10px;
  font-size: 13px;
  color: var(--purple-700);
  font-weight: 600;
  line-height: 1.5;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.project-tags span {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--purple-50);
  color: var(--purple-800);
}

.project-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--purple-700);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
}

.project-featured {
  border-color: var(--purple-500);
  box-shadow: 0 4px 20px rgba(123, 31, 162, 0.12);
}

.card-grid-projects {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.project-card-clickable {
  cursor: pointer;
}

.project-card-clickable:hover {
  border-color: var(--purple-500);
}

.project-card-body-compact {
  padding: 16px;
}

.project-card-body-compact h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.project-card-teaser {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card-body-compact .project-tags span {
  font-size: 10px;
  padding: 3px 8px;
}

.project-view-link {
  margin-top: 12px;
  font-size: 13px;
}

.project-card-body-compact .story-card-media,
.project-card .story-card-media {
  height: 140px;
}

/* Project detail modal */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.project-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 26, 0.72);
  backdrop-filter: blur(4px);
}

.project-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(90vh, 860px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.project-modal-dialog [data-project-modal-content] {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

body.modal-open {
  overflow: hidden;
}

.project-modal.open .project-modal-dialog {
  transform: translateY(0) scale(1);
}

.project-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.project-modal-close:hover {
  background: #fff;
}

.project-modal-hero {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  flex-shrink: 0;
}

.project-modal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 15, 26, 0.7));
}

.project-modal-hero .story-card-tag {
  position: relative;
  z-index: 1;
}

.project-modal-body {
  padding: 28px 28px 32px;
  flex-shrink: 0;
}

.project-modal-body h2 {
  font-size: var(--text-2xl);
  margin: 6px 0 12px;
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
}

.project-modal-summary {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.project-modal-section {
  margin-top: 22px;
}

.project-modal-section h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-700);
  margin-bottom: 10px;
}

.project-modal-section p {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.65;
}

.project-modal-list {
  margin: 0;
}

.project-modal-list li {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 6px;
}

.project-tags-modal span {
  font-size: 12px;
}

.project-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1200px) {
  .card-grid-projects { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 56.25em) {
  .card-grid-projects { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 40em) {
  .card-grid-projects { grid-template-columns: 1fr; }
  .project-modal { padding: 12px; }
  .project-modal-dialog { max-height: 92vh; }
  .project-modal-body { padding: 20px; }
}

/* Platform cards */
.platform-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 68.75em) {
  .platform-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 8px;
    margin-right: -4px;
  }

  .platform-row::-webkit-scrollbar {
    display: none;
  }

  .platform-row .platform-card {
    flex: 0 0 min(82vw, 300px);
    scroll-snap-align: start;
  }
}

.platform-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  transition: background 0.3s, transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.platform-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.platform-card-media {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.platform-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(15, 15, 26, 0.55));
}

.platform-card-body { padding: 24px 28px 28px; }

.platform-card h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: var(--tracking-normal);
  margin-bottom: 6px;
  color: #fff;
}

.platform-card .tagline {
  color: #e1bee7;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: var(--tracking-normal);
}

.platform-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

/* Pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 68.75em) {
  .pillar-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 8px;
    margin-right: -4px;
    grid-template-columns: none;
  }

  .pillar-grid::-webkit-scrollbar {
    display: none;
  }

  .pillar-grid .pillar-card {
    flex: 0 0 min(72vw, 240px);
    scroll-snap-align: start;
    min-width: 0;
  }
}

.pillar-card {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.pillar-card:hover {
  border-color: var(--purple-500);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: var(--purple-50);
  color: var(--purple-700);
  display: grid;
  place-items: center;
}

.pillar-icon svg { width: 26px; height: 26px; }

.pillar-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: inherit;
}

.pillar-card p {
  font-size: 13px;
  color: var(--muted);
}

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-tile {
  position: relative;
  min-height: 180px;
  border-radius: 12px;
  padding: 24px;
  background: var(--navy-900) center/cover no-repeat;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s var(--ease);
}

.industry-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15, 15, 26, 0.15) 20%, rgba(74, 20, 140, 0.88));
  transition: opacity 0.3s;
}

.industry-tile:hover { transform: scale(1.02); }

.industry-tile h3,
.industry-tile p {
  position: relative;
  z-index: 1;
}

.industry-tile h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: inherit;
}

.industry-tile p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.industry-tile-name-only {
  min-height: 160px;
}

.industry-tile-name-only h3 {
  margin-bottom: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Testimonials carousel */
.testimonial-wrap {
  position: relative;
}

.testimonial-viewport {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  width: 100%;
  min-width: 0;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  min-height: 220px;
  flex-shrink: 0;
}

.testimonial-card blockquote {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 20px;
  quotes: """ """;
}

.testimonial-card blockquote::before {
  content: open-quote;
  color: var(--purple-500);
  font-size: 28px;
  line-height: 0;
  vertical-align: -8px;
  margin-right: 4px;
}

.testimonial-author {
  font-weight: 600;
  font-size: 14px;
}

.testimonial-role {
  font-size: 12.5px;
  color: var(--muted);
}

.carousel-controls {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  justify-content: flex-end;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.carousel-btn:hover {
  background: var(--purple-700);
  border-color: var(--purple-700);
  color: #fff;
}

/* Clients marquee */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 40s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.client-logo {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  padding: 12px 0;
  opacity: 0.75;
  letter-spacing: -0.01em;
}

.client-logo-img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 64px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  opacity: 1;
}

.client-logo-img img {
  max-height: 42px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.15);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.client-grid-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.client-grid-card:hover {
  border-color: var(--purple-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.client-grid-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 4rem;
}

.client-grid-logo img {
  max-width: 100%;
  max-height: 3.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.2s;
}

.client-grid-card:hover .client-grid-logo img {
  filter: grayscale(0%);
}

.client-grid-fallback {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--purple-700);
  line-height: 1.3;
}

.client-grid-industry {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rating-logo {
  height: 22px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.affiliate-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

.affiliate-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.affiliate-card img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.affiliate-card span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* About split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-media {
  min-height: 380px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(26, 10, 46, 0.45), rgba(123, 31, 162, 0.55)),
    url("../images/about/thumbnail-full.png") center/cover no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  color: #fff;
}

.split-media::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -40px;
  right: -40px;
}

.industry-focus-list {
  margin-top: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.industry-focus-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--purple-50);
  color: var(--purple-800);
  padding: 0.375rem 0.625rem;
  border-radius: 999px;
}

/* Leadership — team cards */
.leadership-grid {
  --team-card-radius: 0.375rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--team-card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.team-card:hover {
  transform: translateY(-0.25rem);
  border-color: rgba(123, 31, 162, 0.22);
  box-shadow: var(--shadow-md);
}

.team-card-avatar {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-900), var(--purple-600));
  border-bottom: 1px solid var(--line);
}

.team-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card-initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.team-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-5);
}

.team-card-name {
  margin: 0 0 var(--space-2);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--purple-800);
}

.team-card-role {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--muted);
  max-width: 22ch;
}

@media (max-width: 68.75em) {
  .leadership-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 40em) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .team-card-body { padding: var(--space-4) var(--space-3); }

  .team-card-initials { font-size: 1.375rem; }

  .team-card-name { font-size: var(--text-base); }

  .team-card-role { font-size: var(--text-xs); }
}

@media (prefers-reduced-motion: reduce) {
  .team-card { transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
  .team-card:hover { transform: none; }
}

.leader-card {
  position: relative;
  z-index: 1;
}

.leader-card h3 {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: 4px;
  color: inherit;
}

.leader-card p {
  opacity: 0.85;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: rgba(255, 255, 255, 0.88);
}

/* About page */
.page-hero-about {
  padding: calc(72px + var(--header-h)) 0 64px;
  background:
    linear-gradient(135deg, rgba(10, 8, 20, 0.92) 0%, rgba(74, 20, 140, 0.82) 100%),
    url("../images/content/photo-1552664730-d307ca884978.jpg") center/cover no-repeat;
}

.page-hero-about::before {
  width: 420px;
  height: 420px;
  right: -80px;
  top: -120px;
  opacity: 0.65;
}

.page-hero-about-content {
  position: relative;
  z-index: 1;
  padding: 0;
}

.page-hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 3px solid #ce93d8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e1bee7;
}

.about-stats-bar {
  position: relative;
  z-index: 2;
  background: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(22, 22, 42, 0.1);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.about-stat {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.about-stat:last-child {
  border-right: none;
}

.about-stat-value {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--purple-700);
  line-height: 1.1;
}

.about-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}

.about-story .split-copy > p,
.about-story [data-about-story-copy] p {
  color: var(--muted);
  line-height: var(--leading-body);
}

.about-story [data-about-story-copy] {
  margin-bottom: var(--space-5);
}

.about-story-visual {
  align-items: flex-end;
  min-height: 480px;
}

.about-mission-card {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 24px 26px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-mission-label {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e1bee7;
}

.about-mission-card p:last-child {
  margin: 0;
  font-size: var(--text-md);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-value-card {
  height: 100%;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 31, 162, 0.22);
  box-shadow: var(--shadow-md);
}

.about-value-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-50), #fff);
  border: 1px solid rgba(123, 31, 162, 0.12);
  color: var(--purple-700);
}

.about-value-icon svg {
  width: 22px;
  height: 22px;
}

.about-value-card h3 {
  margin: 0 0 10px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.about-value-card p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--muted);
}

.about-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-process-step {
  position: relative;
  padding: 28px 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.about-process-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--purple-300), transparent);
  transform: translateY(-50%);
}

.about-process-step:last-child::after {
  display: none;
}

.about-process-num {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple-700);
}

.about-process-step h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.about-process-step p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--muted);
}

.about-leadership-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin-inline: auto;
}

.about-affiliate-grid {
  max-width: 720px;
  margin-inline: auto;
}

.about-security-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 36px 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.about-security-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--purple-50);
  color: var(--purple-700);
  border: 1px solid rgba(123, 31, 162, 0.12);
}

.about-security-icon svg {
  width: 26px;
  height: 26px;
}

.about-security-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-700);
}

.about-security-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-security-copy p {
  margin: 0 0 22px;
  max-width: 52ch;
  line-height: 1.65;
  color: var(--muted);
}

.about-value-props {
  max-width: 56.25rem;
  margin: 0 auto;
}

.story-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.story-card-body h3 a:hover {
  color: var(--purple-700);
}

/* Page hero (inner pages) */
.page-hero {
  background:
    linear-gradient(135deg, rgba(15, 15, 26, 0.88), rgba(74, 20, 140, 0.82)),
    url("../images/hero/circuit.jpg") center/cover no-repeat;
  color: #fff;
  padding: calc(72px + var(--header-h)) 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(156, 39, 176, 0.25);
  filter: blur(80px);
  right: -100px;
  top: -100px;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.12;
  margin-bottom: 14px;
  color: #fff;
}

.page-hero p {
  font-size: var(--text-lg);
  line-height: var(--leading-body);
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
}

.breadcrumb {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.breadcrumb a:hover { color: #fff; }

/* Service category blocks */
.service-block {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.service-block:last-child { border-bottom: none; }

.service-block h2 {
  font-size: var(--text-3xl);
  margin-bottom: 10px;
}

.service-block > p {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 640px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-list li {
  padding: 14px 16px;
  background: var(--cream);
  border-radius: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  border-left: 3px solid var(--purple-600);
  transition: background 0.2s, transform 0.2s;
}

.service-list li:hover {
  background: var(--purple-50);
  transform: translateX(4px);
}

/* Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-bar-scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.filter-bar-scroll::-webkit-scrollbar {
  display: none;
}

.filter-bar-scroll .filter-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  scroll-snap-align: start;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--purple-700);
  border-color: var(--purple-700);
  color: #fff;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-normal);
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: var(--text-base);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-600);
  box-shadow: 0 0 0 3px rgba(123, 31, 162, 0.15);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

.form-success {
  display: none;
  padding: 16px;
  background: #e8f5e9;
  color: var(--success);
  border-radius: 8px;
  font-weight: 500;
  margin-top: 16px;
}

.form-success.show { display: block; }

.form-error {
  display: none;
  padding: 16px;
  background: #fdecea;
  color: #b42318;
  border-radius: 8px;
  font-weight: 500;
  margin-top: 16px;
}

.form-error.show { display: block; }

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 22px;
  border: 1px solid var(--line);
}

.contact-card h3 {
  font-size: 15px;
  color: var(--purple-700);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--muted);
}

/* Legal pages */
.page-hero-legal {
  padding: calc(64px + var(--header-h)) 0 56px;
}

.legal-hero-lead {
  max-width: 640px;
}

.legal-section {
  padding-top: 48px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  min-width: 0;
}

.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.legal-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.legal-nav a:hover {
  background: var(--purple-50);
  color: var(--purple-800);
}

.legal-nav a.active {
  background: var(--purple-50);
  color: var(--purple-800);
  font-weight: 600;
}

.legal-document {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.legal-document a {
  color: var(--purple-700);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-document a:hover {
  color: var(--purple-900);
}

.legal-document h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  overflow-wrap: break-word;
}

.legal-document h2:first-child,
.legal-document .legal-meta + h2 {
  margin-top: 0;
}

.legal-document h3 {
  font-family: var(--font);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--ink);
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
  overflow-wrap: break-word;
}

.legal-document p {
  color: var(--muted);
  max-width: 100%;
}

.legal-document p + p {
  margin-top: var(--space-4);
}

.legal-document :is(ul, ol) + h2,
.legal-document :is(ul, ol) + h3 {
  margin-top: var(--space-6);
}

.legal-document ul,
.legal-document ol {
  max-width: 100%;
  padding-left: 1.25rem;
}

.legal-document li {
  overflow-wrap: break-word;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 20px;
  margin-bottom: 8px !important;
  border-bottom: 1px solid var(--line-soft);
}

.legal-meta span {
  display: inline;
}

.legal-notice {
  background: var(--purple-50);
  border: 1px solid rgba(123, 31, 162, 0.2);
  border-left: 4px solid var(--purple-700);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 24px 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.legal-notice h3 {
  font-size: 16px;
  margin: 0 0 10px;
  color: var(--purple-900);
}

.legal-notice p,
.legal-notice li {
  font-size: 14.5px;
  color: var(--ink);
}

.legal-notice ul {
  margin-top: 10px;
  padding-left: 1.25rem;
}

.legal-notice-security {
  background: #faf8fc;
}

/* Careers */
.careers-email-card {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.careers-email-card a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--purple-700);
}

.careers-hero {
  background:
    linear-gradient(115deg, rgba(12, 6, 24, 0.94) 0%, rgba(74, 20, 140, 0.82) 55%, rgba(15, 15, 26, 0.72) 100%),
    url("../images/careers/careers-hero.jpg") center/cover no-repeat;
  padding: 80px 0 72px;
}

.careers-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.careers-hero-copy h1 {
  max-width: 12ch;
}

.careers-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.careers-hero-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg, 0 24px 48px rgba(15, 15, 26, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.careers-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 15, 26, 0.35) 100%);
  pointer-events: none;
}

.careers-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.careers-intro .scam-banner {
  margin-bottom: 40px;
}

.careers-split {
  align-items: center;
  gap: 56px;
}

.careers-intro-copy h2 {
  font-size: var(--text-3xl);
  margin: 10px 0 16px;
}

.careers-intro-copy p {
  color: var(--muted);
}

.careers-highlights {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.careers-highlights li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink);
}

.careers-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-700);
}

.careers-intro-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md, 0 12px 32px rgba(22, 22, 42, 0.1));
  border: 1px solid var(--line);
}

.careers-intro-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.careers-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.careers-perk {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.careers-perk:hover {
  border-color: rgba(123, 31, 162, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.careers-perk-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--purple-50);
  color: var(--purple-700);
  margin-bottom: 18px;
}

.careers-perk h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.careers-perk p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.careers-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.careers-gallery figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.careers-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.careers-gallery-side img {
  min-height: 100%;
}

.careers-gallery figcaption {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
}

.careers-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.careers-role {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.careers-role:hover {
  border-color: rgba(123, 31, 162, 0.35);
  box-shadow: var(--shadow-sm);
}

.careers-role h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.careers-role p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.55;
}

.careers-role-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-700);
  background: var(--purple-50);
  padding: 6px 10px;
  border-radius: 999px;
}

.careers-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: careers-step;
}

.careers-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}

.careers-step-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--purple-700);
}

.careers-step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.careers-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.careers-step a {
  color: var(--purple-700);
  font-weight: 600;
}

.careers-apply-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.careers-apply-copy h2 {
  font-size: var(--text-3xl);
  margin: 8px 0 14px;
}

.careers-apply-copy p {
  color: var(--muted);
  margin-bottom: 12px;
}

.careers-apply-card {
  background: linear-gradient(145deg, var(--purple-900), var(--purple-700));
  color: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
}

.careers-apply-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.careers-apply-email {
  display: block;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
  word-break: break-word;
}

.careers-apply-email:hover {
  color: #f3e5f5;
}

.careers-apply-btn {
  width: 100%;
  justify-content: center;
}

.careers-apply-btn.btn-primary {
  background: #fff;
  color: var(--purple-800);
  border-color: #fff;
}

.careers-apply-btn.btn-primary:hover {
  background: var(--purple-50);
  border-color: var(--purple-50);
}

.job-list {
  display: grid;
  gap: 12px;
}

.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.job-card:hover {
  border-color: var(--purple-400, var(--purple-500));
  box-shadow: var(--shadow-sm);
}

.job-card h3 {
  font-size: 17px;
  margin-bottom: 4px;
  color: inherit;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.scam-banner {
  background: #fff8e1;
  border: 1px solid #ffe082;
  color: #8d6e00;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 32px;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 72px 0;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: var(--text-md);
  line-height: var(--leading-body);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: #e1bee7; }

.footer-brand .social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.social-links a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-links a:hover {
  background: var(--purple-700);
  border-color: var(--purple-700);
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0;
  font-size: 13px;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  z-index: 999;
  padding: 20px 24px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  background: var(--hero-dark);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  transition: color 0.2s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--nav-active);
}

.mobile-nav a.active {
  font-weight: 700;
}

.mobile-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-align: left;
  background: transparent;
}

.mobile-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.8);
}

.mobile-group.open .mobile-toggle svg {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  padding: 2px 0 10px 14px;
  margin: 0 0 4px 4px;
  background: transparent;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
}

.mobile-group.open .mobile-submenu {
  display: block;
}

.mobile-submenu a {
  padding: 10px 0;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  border-bottom: none;
}

.mobile-submenu a:hover,
.mobile-submenu a.active {
  color: var(--nav-active);
}

.mobile-nav .btn { width: 100%; margin-top: 20px; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive */
@media (max-width: 68.75em) {
  .careers-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .careers-hero-visual {
    max-width: 520px;
  }

  .careers-perks {
    grid-template-columns: repeat(2, 1fr);
  }

  .careers-gallery {
    grid-template-columns: 1fr;
  }

  .careers-roles {
    grid-template-columns: repeat(2, 1fr);
  }

  .careers-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .careers-apply-panel {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .legal-sidebar {
    position: static;
    width: 100%;
  }

  .legal-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
    gap: 6px;
    padding: 8px;
    max-width: 100%;
  }

  .legal-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
    padding: 8px 14px;
    font-size: 13px;
  }

  .legal-document {
    padding: 24px 20px;
    border-radius: 12px;
  }

  .legal-document h2 {
    font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  }

  .legal-document h3 {
    font-size: clamp(1rem, 3.8vw, 1.125rem);
  }

  .legal-notice {
    padding: 16px 14px;
    margin: 20px 0;
  }

  .page-hero-legal {
    padding: calc(48px + var(--header-h)) 0 40px;
  }

  .page-hero-legal h1 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .legal-hero-lead {
    font-size: var(--text-base);
    max-width: none;
  }

  .legal-section {
    padding-top: 28px;
    padding-bottom: 40px;
  }

  .card-grid-industries { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .testimonial-card { flex: 0 0 calc(50% - 10px); }
  .hero-home-layout {
    padding: 56px 0 72px;
  }

  .hero-home-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(8, 6, 18, 0.78) 0%,
        rgba(8, 6, 18, 0.45) 42%,
        rgba(8, 6, 18, 0.55) 100%
      );
  }

  .hero-home h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    max-width: none;
  }

  .hero-home-lead {
    font-size: var(--text-sm);
    max-width: 34ch;
  }

  .hero-home-pillars {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 24px;
  }

  .hero-home-pillars li {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 0 16px !important;
  }

  .hero-home-pillars li:last-child {
    border-bottom: none;
    padding-bottom: 0 !important;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stat:nth-child(2) {
    border-right: none;
  }

  .about-stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .about-values-grid,
  .about-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-process-step:nth-child(2n)::after {
    display: none;
  }

  .about-leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 56.25em) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: block; }
  .client-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .card-grid,
  .split,
  .service-list,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .form-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .affiliate-grid { grid-template-columns: repeat(2, 1fr); }
  .careers-perks,
  .careers-roles,
  .careers-steps {
    grid-template-columns: 1fr;
  }
  .careers-apply-panel {
    padding: 28px 22px;
  }
}

@media (max-width: 40em) {
  .card-grid-industries { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .container { width: min(100% - 2rem, var(--max)); }
  .card-grid,
  .split,
  .service-list {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
    padding-bottom: 36px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .affiliate-grid { grid-template-columns: 1fr 1fr; }
  .home-quick-bar {
    padding: 16px 0;
  }
  .home-quick-grid {
    gap: 8px;
  }
  .home-quick-card {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 10px;
  }
  .home-quick-card h3 {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }
  .home-quick-card p {
    font-size: 0.6875rem;
    margin-bottom: 6px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .home-quick-link {
    font-size: 0.6875rem;
  }
  .collab-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card { flex: 0 0 100%; }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn-primary {
    padding: 7px 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0;
    box-shadow: 0 2px 8px rgba(123, 31, 162, 0.22);
  }
  .header-actions .btn-primary:hover {
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.28);
  }
  .logo-header {
    height: 34px;
    max-width: 128px;
  }
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }
  .client-grid-card {
    padding: 1rem 0.75rem;
    gap: 0.5rem;
  }
  .client-grid-logo {
    min-height: 3rem;
  }
  .client-grid-logo img {
    max-height: 2.75rem;
  }
  .header-actions .btn-secondary { display: none; }
  .hero { min-height: auto; }

  /* Legal pages — phones */
  .legal-document {
    padding: 18px 14px;
    border-radius: 10px;
  }

  .legal-document ul,
  .legal-document ol {
    padding-left: 1.1rem;
    margin: 0.75rem 0 1.15rem;
  }

  .legal-meta {
    flex-direction: column;
    gap: 0.35rem;
    font-size: 12px;
    padding-bottom: 14px;
  }

  .legal-notice {
    padding: 14px 12px;
    border-radius: 8px;
  }

  .legal-nav {
    margin-inline: 0;
    border-radius: 10px;
  }

  .page-hero-legal {
    padding: calc(40px + var(--header-h)) 0 32px;
  }

  .page-hero-legal .breadcrumb {
    font-size: 0.75rem;
    line-height: 1.4;
    word-break: break-word;
  }
  .hero-content { padding: 56px 0 140px; }
  .hero-home {
    align-items: flex-end;
    justify-content: flex-start;
    min-height: min(88vh, 780px);
  }

  .hero-home-layout {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    width: min(calc(100% - 2rem), var(--max));
    margin-left: 1rem;
    margin-right: auto;
    margin-bottom: clamp(10vh, 16vh, 20vh);
    padding: 0;
  }

  .hero-home-main {
    max-width: 88%;
    text-align: left;
    margin: 0;
  }

  .hero-home-eyebrow {
    font-size: 10px;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    padding-left: 10px;
  }

  .hero-home h1 {
    font-size: clamp(1.5rem, 6.5vw, 1.875rem);
    line-height: 1.14;
    margin-bottom: 14px;
    max-width: 12em;
  }

  .hero-home-lead {
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 18px;
    max-width: 30ch;
  }

  .hero-home-cta {
    gap: 10px;
  }

  .hero-home-cta .btn-lg {
    padding: 11px 18px;
    font-size: 0.875rem;
  }

  .hero-home-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(8, 6, 18, 0.82) 0%,
        rgba(8, 6, 18, 0.55) 42%,
        rgba(8, 6, 18, 0.2) 68%,
        rgba(8, 6, 18, 0.1) 100%
      ),
      linear-gradient(
        180deg,
        rgba(8, 6, 18, 0.35) 0%,
        transparent 50%,
        rgba(8, 6, 18, 0.4) 100%
      );
  }

  .hero-home-video {
    object-position: 58% 38%;
  }
  .hero-float-card {
    left: 12px;
    bottom: 16px;
    max-width: calc(100% - 24px);
  }
  .hero-scroll-hint { display: none; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-strip-inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .trust-strip-label {
    border-right: none;
    padding-right: 0;
    border-bottom: 3px solid var(--purple-700);
    padding-bottom: 10px;
    width: fit-content;
  }
  .trust-strip-logos .marquee {
    mask-image: none;
  }

  .about-stats-grid,
  .about-values-grid,
  .about-process,
  .about-leadership-grid {
    grid-template-columns: 1fr;
  }

  .about-stat {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .about-stat:last-child {
    border-bottom: none;
  }

  .about-process-step::after {
    display: none;
  }

  .about-security-card {
    flex-direction: column;
    padding: 28px 24px;
  }

  .about-story-visual {
    min-height: 360px;
  }
  .affiliate-grid-compact,
  .section { padding: 64px 0; }
}

/* Site protection — clone deterrence */
[data-site-protected="true"] img,
[data-site-protected="true"] .logo-img,
[data-site-protected="true"] picture {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

[data-site-protected="true"] main,
[data-site-protected="true"] .site-header,
[data-site-protected="true"] .site-footer {
  -webkit-user-select: none;
  user-select: none;
}

[data-site-protected="true"] input,
[data-site-protected="true"] textarea,
[data-site-protected="true"] select,
[data-site-protected="true"] [contenteditable="true"],
[data-site-protected="true"] [data-allow-copy],
[data-site-protected="true"] .allow-select {
  -webkit-user-select: text;
  user-select: text;
}

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

/* SEO city landing pages */
.seo-city-page .seo-city-hero-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 42rem;
  margin-bottom: 0;
  opacity: 0.95;
}

.seo-city-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.75rem;
  justify-content: flex-start;
}

.seo-city-page .page-hero .cta-actions {
  justify-content: flex-start;
  margin-top: 1.75rem;
}

.seo-city-cta-band {
  margin: 3rem 0 2.5rem;
  padding: 2.25rem 1.75rem;
  background: linear-gradient(135deg, rgba(74, 20, 140, 0.07), rgba(26, 35, 126, 0.04));
  border-radius: 12px;
  border: 1px solid var(--line);
  text-align: center;
}

.seo-city-cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--ink);
}

.seo-city-cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.65;
}

.seo-city-cta-band .seo-city-hero-actions {
  justify-content: center;
}

.seo-city-content h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem;
  color: var(--ink);
}

.seo-city-content h3 {
  font-family: var(--font);
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--purple-900);
}

.seo-city-content p,
.seo-city-content li {
  line-height: var(--leading-relaxed);
  color: var(--muted);
}

.seo-city-figure {
  margin: 2rem 0;
}

.seo-city-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 2rem rgba(15, 15, 26, 0.1);
}

.seo-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.seo-process-card {
  padding: 1.25rem;
  background: #faf9fc;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
}

.seo-process-card p {
  margin: 0;
  font-size: 0.9375rem;
}

.seo-numbered-list {
  margin: 1rem 0 2rem;
}

.seo-numbered-list li {
  margin-bottom: 0.75rem;
}

.seo-city-cta-inline {
  margin: 2.5rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(74, 20, 140, 0.06), rgba(26, 35, 126, 0.04));
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  text-align: center;
}

.seo-city-cta-inline h2 {
  margin-top: 0;
}

.seo-service-types {
  margin: 1rem 0 2rem;
}

.seo-service-types li {
  margin-bottom: 0.65rem;
}

.seo-tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 2rem;
}

.seo-tech-grid span {
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(74, 20, 140, 0.08);
  color: var(--purple-700);
  border-radius: 999px;
}

.seo-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.seo-why-grid article {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
}

.seo-why-grid p {
  margin: 0;
  font-size: 0.9375rem;
}

.seo-faq {
  margin: 1.5rem 0 2rem;
}

.seo-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5rem;
  align-items: start;
}

.seo-faq-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.seo-faq-grid details,
.seo-faq-col details {
  margin-bottom: 0;
}

@media (max-width: 48em) {
  .seo-faq-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.seo-faq details {
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  margin-bottom: 0.5rem;
  padding: 0;
  overflow: hidden;
}

.seo-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2.75rem 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  position: relative;
  user-select: none;
}

.seo-faq summary:hover {
  color: var(--purple-800);
}

.seo-faq summary::-webkit-details-marker {
  display: none;
}

.seo-faq summary::marker {
  display: none;
}

.seo-faq summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--purple-700);
  border-bottom: 2px solid var(--purple-700);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
}

.seo-faq summary:hover::after {
  border-color: var(--purple-900);
}

.seo-faq details[open] summary::after {
  transform: translateY(-35%) rotate(-135deg);
}

.seo-faq details[open] summary {
  border-bottom: 1px solid var(--line);
  background: #faf9fc;
}

.seo-faq details p {
  margin: 0;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
}

.seo-city-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.seo-city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1rem 0;
}

.seo-city-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple-700);
  text-decoration: none;
}

.seo-city-links a:hover {
  text-decoration: underline;
}

.seo-trend-list {
  padding-left: 1.25rem;
  margin: 1rem 0 2rem;
}

.seo-trend-list li {
  margin-bottom: 0.5rem;
}

.seo-hub-grid {
  column-count: 1;
  column-gap: 2rem;
}

.seo-hub-state {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 2.75rem;
}

@media (min-width: 640px) {
  .seo-hub-grid {
    column-count: 2;
  }
}

@media (min-width: 900px) {
  .seo-hub-grid {
    column-count: 3;
  }
}

@media (min-width: 1200px) {
  .seo-hub-grid {
    column-count: 4;
  }
}

.seo-internal-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 1rem;
}

.seo-city-internal-links {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border, #e5e7eb);
}

.seo-city-internal-links h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--purple-700);
}

.seo-hub-state h2 {
  font-size: 1.125rem;
  margin: 0 0 0.85rem;
  padding-top: 1.75rem;
  color: var(--purple-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  break-inside: avoid;
  break-after: avoid;
}

.seo-hub-grid > .seo-hub-state:first-child h2 {
  padding-top: 0;
}

.seo-hub-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-hub-list li {
  margin-bottom: 0.4rem;
}

.seo-hub-list a {
  font-size: 0.9375rem;
  color: var(--ink);
  text-decoration: none;
}

.seo-hub-list a:hover {
  color: var(--purple-700);
  text-decoration: underline;
}

.seo-hub-list-cols {
  column-count: 2;
  column-gap: 2rem;
}

.india-states-heading {
  margin: 0 0 1.25rem;
}

.india-states-heading a {
  color: inherit;
  text-decoration: none;
}

.india-states-heading a:hover {
  color: var(--purple-700);
  text-decoration: underline;
}

.india-states-lead {
  margin: 0 0 1.75rem;
  max-width: 42rem;
  color: var(--muted);
}

.india-states-card {
  display: block;
  max-width: 36rem;
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.india-states-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.india-states-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.india-states-card-cta {
  font-weight: 600;
  color: var(--purple-700);
}

.india-states-card:hover {
  border-color: var(--purple-700);
}

.india-state-preview {
  margin-top: 0.5rem;
}

.india-state-preview li {
  margin-bottom: 0.65rem;
  break-inside: avoid;
}

@media (min-width: 900px) {
  .seo-hub-list-cols {
    column-count: 3;
  }
}

@media (min-width: 1200px) {
  .seo-hub-list-cols {
    column-count: 4;
  }
}

.services-city-cta {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #faf9fc;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.services-city-cta h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.services-city-cta p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.services-city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.services-city-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple-700);
}

@media (max-width: 40em) {
  .seo-process-grid,
  .seo-why-grid {
    grid-template-columns: 1fr;
  }
}

.service-overview-highlights {
  margin-bottom: 2rem;
}

.service-overview-cities {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--purple-50);
  border-radius: 12px;
  text-align: center;
}

.service-overview-cities h2 {
  margin-top: 0;
}

.service-overview-cities .btn {
  margin-top: 0.5rem;
}

.service-overview-page .seo-city-cta-inline .btn {
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
}

.city-hub-service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.city-hub-card {
  display: block;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.city-hub-card:hover {
  border-color: var(--purple-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.city-hub-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  color: var(--purple-700);
}

.city-hub-card p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.5;
}

.city-hub-card-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple-700);
}

/* Campus Ambassador Program */
.cap-page {
  --cap-section-pad: clamp(4rem, 7vw, 6rem);
}

.cap-page .section.cap-section {
  padding: var(--cap-section-pad) 0;
}

.cap-page .section-head.cap-section-head {
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.cap-page .section-head.cap-section-head > p {
  font-size: var(--text-lg);
  line-height: var(--leading-body);
  color: var(--muted);
  margin-top: 0.75rem;
}

.cap-page .section-dark .section-head.cap-section-head > p {
  color: rgba(255, 255, 255, 0.72);
}

.cap-page .section-dark .section-head.cap-section-head > h2 {
  color: #fff;
}

.cap-page .cap-lead-text {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 1rem;
}

.cap-page .cap-breadcrumb,
.cap-page .cap-breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
}

.cap-page .cap-breadcrumb a:hover {
  color: #fff;
}

.cap-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(240, 180, 41, 0.16);
  border: 1px solid rgba(240, 180, 41, 0.35);
  color: #f5d78e;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Hero */
.cap-hero {
  position: relative;
  width: 100%;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--hero-dark);
}

.cap-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cap-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.cap-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(8, 6, 18, 0.94) 0%, rgba(74, 20, 140, 0.78) 48%, rgba(8, 6, 18, 0.88) 100%),
    linear-gradient(180deg, rgba(8, 6, 18, 0.25) 0%, transparent 40%, rgba(8, 6, 18, 0.55) 100%);
}

.cap-hero-content {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vh, 4.5rem)) 0 clamp(3rem, 6vh, 4.5rem);
}

.cap-breadcrumb {
  margin-bottom: 1.25rem;
}

.cap-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: end;
}

.cap-hero-copy h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 1.25rem;
  max-width: 14ch;
}

.cap-hero-copy h1 em {
  font-style: normal;
  color: var(--nav-active);
}

.cap-hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

.cap-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.cap-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.cap-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cap-hero-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  padding: 1.5rem 1.625rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cap-hero-card-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}

.cap-hero-card-list {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.cap-hero-card-list li {
  position: relative;
  padding-left: 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.cap-hero-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nav-active);
}

.cap-hero-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nav-active);
}

.cap-hero-card-link:hover {
  color: #fff;
}

/* Stats strip */
.cap-stats {
  background: var(--hero-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
}

.cap-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.cap-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
}

.cap-stat strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.cap-stat span {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

/* About */
.cap-about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.cap-about-media {
  position: relative;
  border-radius: 1.125rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.cap-about-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cap-about-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: rgba(8, 6, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #fff;
}

.cap-about-badge strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.15rem;
}

.cap-about-badge span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

.cap-about-copy h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
  letter-spacing: var(--tracking-tight);
  margin: 0.5rem 0 1rem;
}

.cap-about-copy > p:not(.cap-lead-text) {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.cap-about-points {
  display: grid;
  gap: 1.125rem;
  margin-top: 1.75rem;
}

.cap-about-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.cap-about-point-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--purple-50);
  color: var(--purple-700);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.cap-about-point h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.cap-about-point p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Benefits */
.cap-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.125rem;
}

.cap-benefit-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.875rem;
  padding: 1.375rem 1.25rem;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}

.cap-benefit-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 180, 41, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.cap-benefit-num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--nav-active);
  margin-bottom: 0.75rem;
}

.cap-benefit-card h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.cap-benefit-card p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* Skills */
.cap-skills-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.cap-skills-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: var(--tracking-tight);
  margin: 0.5rem 0 1rem;
}

.cap-skills-copy p:last-of-type {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.cap-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.cap-skills-tags span {
  display: inline-flex;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--purple-800);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cap-skills-tags span:hover {
  border-color: rgba(123, 31, 162, 0.35);
  box-shadow: var(--shadow-sm);
}

/* Roles */
.cap-role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
}

.cap-role-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  padding: 1.375rem 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cap-role-card:hover {
  border-color: rgba(123, 31, 162, 0.3);
  box-shadow: var(--shadow-sm);
}

.cap-role-card h3 {
  font-size: 1.0625rem;
  color: var(--purple-800);
  margin-bottom: 0.5rem;
}

.cap-role-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Profiles */
.cap-profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
}

.cap-profile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem 1.375rem;
  border-top: 3px solid var(--nav-active);
}

.cap-profile h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.625rem;
}

.cap-profile p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Tiers */
.cap-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
  align-items: stretch;
}

.cap-tier {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem 1.375rem;
}

.cap-tier-featured {
  border-color: rgba(123, 31, 162, 0.35);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #fff 0%, var(--purple-50) 100%);
}

.cap-tier-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-700);
  margin-bottom: 0.625rem;
}

.cap-tier h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.cap-tier p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Eligibility */
.cap-eligibility-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.cap-eligibility-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: var(--tracking-tight);
  margin: 0.5rem 0 1rem;
}

.cap-eligibility-copy .btn {
  margin-top: 0.5rem;
}

.cap-eligibility-checklist {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem 1.625rem;
}

.cap-eligibility-checklist ul {
  display: grid;
  gap: 0.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cap-eligibility-checklist li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink);
}

.cap-eligibility-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--purple-700);
  font-weight: 700;
  font-size: 0.875rem;
}

/* Gallery */
.cap-gallery {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.125rem;
  align-items: start;
}

.cap-gallery figure {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.cap-gallery img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.cap-gallery-main img {
  aspect-ratio: 16 / 10;
}

.cap-gallery-side img {
  aspect-ratio: 4 / 3;
}

.cap-gallery figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
}

/* Process */
.cap-process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.125rem;
}

.cap-process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  padding: 1.375rem 1.25rem;
}

.cap-process-num {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple-700);
  margin-bottom: 0.75rem;
}

.cap-process-step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cap-process-step p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.cap-process-step a {
  color: var(--purple-700);
  font-weight: 600;
}

/* FAQ on cap page */
.cap-page #faq .seo-faq-grid {
  gap: 0.75rem 1.5rem;
}

/* Apply */
.cap-apply-section {
  padding-bottom: clamp(4.5rem, 8vw, 6.5rem);
}

.cap-apply {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--purple-900) 100%);
  border-radius: 1.25rem;
  padding: clamp(2rem, 4vw, 3rem);
  color: #fff;
}

.cap-apply-main h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: var(--tracking-tight);
  margin: 0.5rem 0 1rem;
}

.cap-apply-main > p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.cap-apply-checklist {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.cap-apply-checklist li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.cap-apply-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nav-active);
}

.cap-apply-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
  margin: 0;
}

.cap-apply-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  padding: 1.5rem 1.375rem;
}

.cap-apply-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
}

.cap-apply-email {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nav-active);
  margin-bottom: 0.75rem;
  word-break: break-word;
}

.cap-apply-subject {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.cap-apply-btn,
.cap-apply-btn-secondary {
  width: 100%;
  justify-content: center;
}

.cap-apply-btn-secondary {
  margin-top: 0.625rem;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cap-apply-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

@media (max-width: 68.75em) {
  .cap-hero-grid,
  .cap-about-grid,
  .cap-skills-layout,
  .cap-eligibility-grid,
  .cap-apply {
    grid-template-columns: 1fr;
  }

  .cap-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .cap-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-role-grid,
  .cap-profiles,
  .cap-tiers,
  .cap-process { grid-template-columns: repeat(2, 1fr); }
  .cap-gallery { grid-template-columns: 1fr; }
  .cap-hero-copy h1 { max-width: none; }
}

@media (max-width: 40em) {
  .cap-stats-inner,
  .cap-benefits-grid,
  .cap-role-grid,
  .cap-profiles,
  .cap-tiers,
  .cap-process { grid-template-columns: 1fr; }

  .cap-hero-actions .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .cap-apply { padding: 1.5rem 1.25rem; }
  .cap-eligibility-checklist { padding: 1.25rem; }
}
