/* ============================================================
   NOVAQORE LABS — style.css
   Single stylesheet. All design tokens as CSS custom props.
   Mobile-first. No framework.
   ============================================================ */

/* ── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* --- Brand Colours --- */
  --clr-navy:        #0A1A33;   /* primary surfaces, headings */
  --clr-blue:        #2563EB;   /* CTAs, links, accents */
  --clr-violet:      #7C3AED;   /* secondary accent, gradients */
  --clr-offwhite:    #F8FAFC;   /* page backgrounds */

  /* --- Slate Scale (body text, borders) --- */
  --clr-slate-900:   #0F172A;
  --clr-slate-800:   #1E293B;
  --clr-slate-700:   #334155;
  --clr-slate-600:   #475569;
  --clr-slate-500:   #64748B;
  --clr-slate-400:   #94A3B8;
  --clr-slate-300:   #CBD5E1;
  --clr-slate-200:   #E2E8F0;
  --clr-slate-100:   #F1F5F9;
  --clr-white:       #FFFFFF;

  /* --- Semantic aliases --- */
  --clr-bg:          var(--clr-offwhite);
  --clr-bg-alt:      var(--clr-slate-100);
  --clr-bg-dark:     var(--clr-navy);
  --clr-text:        var(--clr-slate-700);
  --clr-heading:     var(--clr-navy);
  --clr-muted:       var(--clr-slate-500);
  --clr-border:      var(--clr-slate-200);
  --clr-cta:         var(--clr-blue);
  --clr-cta-hover:   #1D4ED8;

  /* --- Typography --- */
  --font-sans:       'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --fw-normal:       400;
  --fw-medium:       500;
  --fw-semibold:     600;
  --fw-bold:         700;
  --lh-tight:        1.15;
  --lh-snug:         1.35;
  --lh-body:         1.7;

  /* --- Font scale (rem) --- */
  --text-xs:         0.75rem;    /* 12 */
  --text-sm:         0.875rem;   /* 14 */
  --text-base:       1rem;       /* 16 */
  --text-lg:         1.125rem;   /* 18 */
  --text-xl:         1.25rem;    /* 20 */
  --text-2xl:        1.5rem;     /* 24 */
  --text-3xl:        1.875rem;   /* 30 */
  --text-4xl:        2.25rem;    /* 36 */
  --text-5xl:        3rem;       /* 48 */
  --text-6xl:        3.75rem;    /* 60 */

  /* --- Fluid headings (clamp) --- */
  --fs-h1:           clamp(2rem, 5vw + 0.5rem, 3.5rem);
  --fs-h2:           clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
  --fs-h3:           clamp(1.125rem, 2vw + 0.25rem, 1.5rem);

  /* --- Spacing --- */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* --- Section rhythm --- */
  --section-py:      clamp(4rem, 8vw, 6rem);

  /* --- Border Radius --- */
  --radius-sm:       0.375rem;
  --radius-md:       0.5rem;
  --radius-lg:       0.75rem;
  --radius-xl:       1rem;
  --radius-2xl:      1.25rem;
  --radius-full:     9999px;

  /* --- Shadows --- */
  --shadow-xs:       0 1px 2px  rgba(10, 26, 51, .05);
  --shadow-sm:       0 1px 4px  rgba(10, 26, 51, .07);
  --shadow-md:       0 4px 12px rgba(10, 26, 51, .09);
  --shadow-lg:       0 8px 28px rgba(10, 26, 51, .11);

  /* --- Transitions --- */
  --ease:            cubic-bezier(.4, 0, .2, 1);
  --t-fast:          150ms var(--ease);
  --t-base:          250ms var(--ease);
  --t-slow:          400ms var(--ease);

  /* --- Layout --- */
  --max-w:           1200px;
  --container-px:    clamp(1rem, 4vw, 2rem);
  --nav-h:           68px;
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:     var(--font-sans);
  font-size:       var(--text-base);
  font-weight:     var(--fw-normal);
  line-height:     var(--lh-body);
  color:           var(--clr-text);
  background:      var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  color:       var(--clr-heading);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { max-width: 68ch; }

/* ── 3. LAYOUT HELPERS ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section { padding-block: var(--section-py); }
.section--alt { background: var(--clr-bg-alt); }
.section--dark {
  background: var(--clr-bg-dark);
  color: var(--clr-slate-300);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--clr-white); }

.grid-2 { display: grid; gap: var(--sp-8); }
.grid-3 { display: grid; gap: var(--sp-8); }
.grid-4 { display: grid; gap: var(--sp-6); }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* ── 4. TYPOGRAPHY UTILITIES ─────────────────────────────── */
.section-label {
  display: inline-block;
  font-size:   var(--text-sm);
  font-weight: var(--fw-semibold);
  color:       var(--clr-blue);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.section-heading {
  font-size:   var(--fs-h2);
  color:       var(--clr-heading);
  margin-bottom: var(--sp-4);
}

.section-subhead {
  font-size:   var(--text-lg);
  color:       var(--clr-muted);
  max-width:   54ch;
  line-height: var(--lh-body);
}

.gradient-text {
  background: linear-gradient(135deg, var(--clr-blue) 0%, var(--clr-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 5. BUTTONS ──────────────────────────────────────────── */
.btn {
  display:        inline-flex;
  align-items:    center;
  gap:            var(--sp-2);
  padding:        0.7em 1.5em;
  border-radius:  var(--radius-lg);
  font-size:      var(--text-base);
  font-weight:    var(--fw-semibold);
  transition:     background var(--t-base), color var(--t-base),
                  border-color var(--t-base), box-shadow var(--t-base),
                  transform var(--t-fast);
  white-space:    nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background:  var(--clr-blue);
  color:       var(--clr-white);
  box-shadow:  0 2px 8px rgba(37, 99, 235, .35);
}
.btn-primary:hover {
  background:  var(--clr-cta-hover);
  box-shadow:  0 4px 14px rgba(37, 99, 235, .45);
}

.btn-secondary {
  background:  transparent;
  color:       var(--clr-blue);
  border:      2px solid var(--clr-blue);
}
.btn-secondary:hover {
  background:  rgba(37, 99, 235, .06);
}

.btn-ghost {
  background: transparent;
  color:      var(--clr-white);
  border:     2px solid rgba(255,255,255,.35);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.7);
  background:   rgba(255,255,255,.07);
}

.btn-sm { padding: .5em 1.1em; font-size: var(--text-sm); }
.btn-lg { padding: .85em 2em; font-size: var(--text-lg); }

/* ── 6. CARDS ────────────────────────────────────────────── */
.card {
  background:    var(--clr-white);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  padding:       var(--sp-8);
  transition:    box-shadow var(--t-base), transform var(--t-base);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform:  translateY(-2px);
}

.card--accent {
  border-color: var(--clr-blue);
  box-shadow:   0 0 0 1px var(--clr-blue);
}

.card--dashed {
  border-style:  dashed;
  border-color:  var(--clr-slate-300);
  background:    var(--clr-slate-100);
}

/* ── 7. TAGS / PILLS ─────────────────────────────────────── */
.tag {
  display:       inline-flex;
  align-items:   center;
  gap:           var(--sp-1);
  padding:       .2em .65em;
  background:    var(--clr-slate-100);
  border-radius: var(--radius-full);
  font-size:     var(--text-xs);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-slate-600);
  white-space:   nowrap;
}
.tag--new {
  background: var(--clr-blue);
  color:      var(--clr-white);
}

/* ── 8. NAVIGATION ───────────────────────────────────────── */
.site-header {
  position:   sticky;
  top:        0;
  z-index:    100;
  height:     var(--nav-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow var(--t-base);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.site-header > .container {
  height: 100%;
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.nav__logo {
  font-size:   var(--text-xl);
  font-weight: var(--fw-bold);
  color:       var(--clr-navy);
  flex-shrink: 0;
}
.nav__logo span { color: var(--clr-blue); }

.nav__links {
  display:         none;
  align-items:     center;
  justify-content: center;
  gap:             var(--sp-2);
  flex:            1;
  margin-inline:   var(--sp-6);
}
@media (min-width: 1024px) { .nav__links { display: flex; } }

.nav__item { position: relative; }

.nav__link {
  display:     inline-flex;
  align-items: center;
  gap:         var(--sp-1);
  padding:     var(--sp-2) var(--sp-3);
  border-radius: var(--radius-md);
  font-size:   var(--text-sm);
  font-weight: var(--fw-medium);
  color:       var(--clr-slate-700);
  transition:  color var(--t-fast), background var(--t-fast);
  cursor:      pointer;
  background:  none;
  border:      none;
}
.nav__link:hover, .nav__link[aria-expanded="true"] {
  color:      var(--clr-navy);
  background: var(--clr-slate-100);
}

.nav__chevron {
  width: 14px; height: 14px;
  transition: transform var(--t-fast);
}
.nav__link[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }

/* Dropdown */
.nav__dropdown {
  position:      absolute;
  top:           calc(100% + 6px);
  left:          0;
  min-width:     200px;
  background:    var(--clr-white);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  box-shadow:    var(--shadow-lg);
  padding:       var(--sp-2);
  opacity:       0;
  visibility:    hidden;
  transform:     translateY(-6px);
  transition:    opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index:       200;
}
.nav__item:hover .nav__dropdown,
.nav__dropdown:focus-within {
  opacity:    1;
  visibility: visible;
  transform:  translateY(0);
}

.nav__dropdown a {
  display:       block;
  padding:       var(--sp-2) var(--sp-4);
  font-size:     var(--text-sm);
  border-radius: var(--radius-md);
  color:         var(--clr-slate-700);
  transition:    background var(--t-fast), color var(--t-fast);
}
.nav__dropdown a:hover {
  background: var(--clr-slate-100);
  color:      var(--clr-navy);
}

.nav__cta { flex-shrink: 0; }

/* Mobile hamburger */
.nav__hamburger {
  display:     flex;
  flex-direction: column;
  gap:         5px;
  padding:     var(--sp-2);
  cursor:      pointer;
}
@media (min-width: 1024px) { .nav__hamburger { display: none; } }

.nav__hamburger span {
  display:    block;
  width:      22px;
  height:     2px;
  background: var(--clr-navy);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display:    none;
  position:   fixed;
  inset:      var(--nav-h) 0 0 0;
  background: var(--clr-white);
  padding:    var(--sp-6) var(--sp-6);
  overflow-y: auto;
  z-index:    90;
  flex-direction: column;
  gap:        var(--sp-2);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding:       var(--sp-3) var(--sp-4);
  border-radius: var(--radius-lg);
  font-weight:   var(--fw-medium);
  color:         var(--clr-slate-800);
  transition:    background var(--t-fast);
}
.nav__mobile a:hover { background: var(--clr-slate-100); }
.nav__mobile .mobile-section-label {
  font-size:   var(--text-xs);
  font-weight: var(--fw-semibold);
  color:       var(--clr-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: var(--sp-3) var(--sp-4) var(--sp-1);
}

/* ── 9. HERO ─────────────────────────────────────────────── */
.hero {
  padding-block: clamp(5rem, 12vw, 8rem) clamp(4rem, 8vw, 6rem);
  text-align:    center;
  overflow:      hidden;
  position:      relative;
  /* Dark aurora: dot-grid texture + layered colour orbs + midnight base */
  background:
    radial-gradient(circle 1px at 1px 1px, rgba(255,255,255,.06) 0%, transparent 0%) 0 0 / 28px 28px,
    radial-gradient(ellipse 65% 55% at 12% 42%, rgba(109,40,217,.42) 0%, transparent 65%),
    radial-gradient(ellipse 55% 65% at 88% 18%, rgba(37,99,235,.42)  0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 60% 92%, rgba(124,58,237,.26) 0%, transparent 65%),
    radial-gradient(ellipse 38% 38% at  4% 88%, rgba(59,130,246,.18) 0%, transparent 65%),
    linear-gradient(145deg, #060a1f 0%, #0d1547 50%, #080c28 100%);
}

/* Top luminous bloom — pulses gently */
.hero::before {
  content:        '';
  position:       absolute;
  inset:          0;
  background:     radial-gradient(ellipse 95% 55% at 50% -8%, rgba(59,130,246,.22) 0%, transparent 65%);
  pointer-events: none;
  z-index:        0;
}

/* Decorative concentric rings — top-right */
.hero::after {
  content:        '';
  position:       absolute;
  width:          720px;
  height:         720px;
  border-radius:  50%;
  border:         1px solid rgba(139,92,246,.15);
  top:            -310px;
  right:          -190px;
  box-shadow:     0 0 0 80px  rgba(99,102,241,.04),
                  0 0 0 160px rgba(99,102,241,.025);
  pointer-events: none;
  z-index:        0;
}

/* Lift content above decorative pseudo-elements */
.hero > .container {
  position: relative;
  z-index:  1;
}

@keyframes hero-bloom-pulse {
  0%,100% { opacity: 1;   }
  50%      { opacity: .55; }
}
@keyframes hero-ring-drift {
  0%,100% { transform: rotate(0deg)  scale(1);    }
  40%      { transform: rotate(4deg)  scale(1.03); }
  70%      { transform: rotate(-3deg) scale(.97);  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: hero-bloom-pulse 9s  ease-in-out infinite; }
  .hero::after  { animation: hero-ring-drift  22s ease-in-out infinite; }
}

.hero__badge {
  display:       inline-flex;
  align-items:   center;
  gap:           var(--sp-2);
  padding:       .35em 1em;
  background:    rgba(139, 92, 246, .16);
  border:        1px solid rgba(139, 92, 246, .35);
  border-radius: var(--radius-full);
  font-size:     var(--text-sm);
  font-weight:   var(--fw-semibold);
  color:         #c4b5fd;
  margin-bottom: var(--sp-6);
}

.hero__title {
  font-size:     var(--fs-h1);
  font-weight:   var(--fw-bold);
  color:         var(--clr-white);
  line-height:   var(--lh-tight);
  max-width:     18ch;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
}

.hero__subhead {
  font-size:     clamp(var(--text-base), 1.8vw, var(--text-xl));
  color:         rgba(255, 255, 255, .72);
  max-width:     52ch;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  line-height:   var(--lh-body);
}

.hero__ctas {
  display:     flex;
  flex-wrap:   wrap;
  gap:         var(--sp-4);
  justify-content: center;
  margin-bottom: var(--sp-12);
}

.hero__stats {
  display:         flex;
  flex-wrap:       wrap;
  justify-content: center;
  gap:             var(--sp-8) var(--sp-12);
  padding-top:     var(--sp-8);
  border-top:      1px solid rgba(255, 255, 255, .1);
  max-width:       560px;
  margin-inline:   auto;
}

.hero__stat-value {
  font-size:   var(--text-3xl);
  font-weight: var(--fw-bold);
  color:       var(--clr-white);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.hero__stat-label {
  font-size:  var(--text-sm);
  color:      rgba(255, 255, 255, .55);
}

/* ── 10. LOGO STRIP ──────────────────────────────────────── */
.logo-strip {
  padding-top:    var(--sp-10);
  padding-bottom: var(--sp-12);
  border-bottom:  1px solid var(--clr-border);
  /* gradient bridge from dark hero → light page */
  background:     linear-gradient(180deg, #e8eeff 0%, var(--clr-white) 100%);
  position:       relative;
  overflow:       hidden;
}

/* Dot grid — echoes the hero texture */
.logo-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 1px at 0 0, rgba(100,116,139,.13) 0%, transparent 0%);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Bloom from above — connects visually to the hero aurora */
.logo-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% -5%,
    rgba(37,99,235,.12) 0%, transparent 55%);
  pointer-events: none;
}

/* Label — centred, constrained, with decorative rules either side */
.logo-strip__label {
  position:       relative;
  z-index:        1;
  display:        flex;
  align-items:    center;
  gap:            var(--sp-5);
  max-width:      var(--max-w);
  margin-inline:  auto;
  margin-bottom:  var(--sp-8);
  padding-inline: var(--container-px);
  font-size:      var(--text-xs);
  font-weight:    var(--fw-semibold);
  color:          var(--clr-muted);
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space:    nowrap;
}
.logo-strip__label::before,
.logo-strip__label::after {
  content: '';
  flex:       1;
  height:     1px;
  background: linear-gradient(90deg, transparent, rgba(100,116,139,.28));
  flex-shrink: 0;
}
.logo-strip__label::after {
  background: linear-gradient(270deg, transparent, rgba(100,116,139,.28));
}

/* Full-bleed marquee track */
.logo-strip__track {
  position:  relative;
  z-index:   1;
  display:   flex;
  overflow:  hidden;
  /* soft fade on edges so logos appear to glide in/out */
  mask-image: linear-gradient(90deg,
    transparent  0%,
    black        8%,
    black       92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(90deg,
    transparent  0%,
    black        8%,
    black       92%,
    transparent 100%
  );
}

/* One complete logo row — both copies animate in tandem */
.logo-strip__logos {
  display:         flex;
  flex-shrink:     0;
  min-width:       100%;
  align-items:     center;
  justify-content: space-around;
  padding-inline:  var(--sp-8);
  animation:       logo-marquee 30s linear infinite;
}

@keyframes logo-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* Pause on hover/focus for accessibility */
.logo-strip__track:hover .logo-strip__logos,
.logo-strip__track:focus-within .logo-strip__logos {
  animation-play-state: paused;
}

/* Honour prefers-reduced-motion — fall back to static centred row */
@media (prefers-reduced-motion: reduce) {
  .logo-strip__logos {
    animation:       none;
    flex-wrap:       wrap;
    justify-content: center;
    gap:             var(--sp-8) var(--sp-10);
  }
  .logo-strip__logos[aria-hidden="true"] { display: none; }
  .logo-strip__track {
    mask-image:         none;
    -webkit-mask-image: none;
  }
}

/* Individual logo cards — frosted glass */
.logo-strip__item {
  display:         flex;
  align-items:     center;
  justify-content: center;
  padding:         var(--sp-3) var(--sp-6);
  min-width:       120px;
  height:          52px;
  background:      rgba(255, 255, 255, .82);
  border:          1px solid rgba(100,116,139,.18);
  border-radius:   var(--radius-xl);
  box-shadow:      var(--shadow-xs);
  opacity:         .72;
  flex-shrink:     0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:      opacity var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.logo-strip__item:hover {
  opacity:    1;
  box-shadow: var(--shadow-md);
  transform:  translateY(-2px);
}

.logo-strip__item img {
  max-height: 30px;
  max-width:  100%;
  object-fit: contain;
}

/* ── 11. SERVICES GRID ───────────────────────────────────── */
.services-grid { grid-template-columns: 1fr; }
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card__icon {
  width:         48px;
  height:        48px;
  border-radius: var(--radius-lg);
  background:    rgba(37, 99, 235, .08);
  display:       flex;
  align-items:   center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  color:         var(--clr-blue);
}

.service-card__title {
  font-size:     var(--text-xl);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-navy);
  margin-bottom: var(--sp-3);
}

.service-card__desc {
  font-size:    var(--text-sm);
  color:        var(--clr-muted);
  margin-bottom: var(--sp-5);
  line-height:  var(--lh-body);
  max-width:    none;
}

.service-card__link {
  font-size:   var(--text-sm);
  font-weight: var(--fw-semibold);
  color:       var(--clr-blue);
  display:     inline-flex;
  align-items: center;
  gap:         var(--sp-1);
  transition:  gap var(--t-fast), color var(--t-fast);
}
.service-card__link:hover { gap: var(--sp-2); color: var(--clr-cta-hover); }

/* ── 12. SAAS PRODUCTS ───────────────────────────────────── */
.products-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-8);
}
@media (min-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

.product-card {
  background:    var(--clr-white);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  overflow:      hidden;
  transition:    box-shadow var(--t-base), transform var(--t-base);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.product-card__screenshot {
  aspect-ratio: 16 / 9;
  background:   linear-gradient(135deg, var(--clr-slate-100) 0%, var(--clr-slate-200) 100%);
  display:      flex;
  align-items:  center;
  justify-content: center;
  color:        var(--clr-slate-400);
  font-size:    var(--text-sm);
  font-weight:  var(--fw-semibold);
}

.product-card__body {
  padding: var(--sp-6) var(--sp-8) var(--sp-8);
}

.product-card__name {
  font-size:     var(--text-2xl);
  font-weight:   var(--fw-bold);
  color:         var(--clr-navy);
  margin-bottom: var(--sp-2);
}

.product-card__desc {
  color:         var(--clr-muted);
  margin-bottom: var(--sp-6);
  max-width:     none;
}

.product-card__actions {
  display:   flex;
  flex-wrap: wrap;
  gap:       var(--sp-3);
}

/* ── 13. RESULTS ─────────────────────────────────────────── */
.results-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-6);
}
@media (min-width: 640px)  { .results-grid { grid-template-columns: repeat(3, 1fr); } }

.result-card {
  background:    var(--clr-navy);
  border-radius: var(--radius-2xl);
  padding:       var(--sp-8);
  color:         var(--clr-slate-300);
}

.result-card__metric {
  font-size:     clamp(2rem, 4vw, 2.75rem);
  font-weight:   var(--fw-bold);
  color:         var(--clr-white);
  line-height:   1;
  margin-bottom: var(--sp-2);
}
.result-card__metric .counter { color: var(--clr-blue); }

.result-card__label {
  font-size:     var(--text-sm);
  margin-bottom: var(--sp-2);
}

.result-card__client {
  font-size:  var(--text-xs);
  color:      var(--clr-slate-500);
  margin-top: var(--sp-4);
}

/* ── 14. PROCESS ─────────────────────────────────────────── */
.process-steps {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-6);
}
@media (min-width: 640px)  { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }

.process-step {
  position: relative;
  padding:  var(--sp-6);
}

.process-step__number {
  font-size:     var(--text-4xl);
  font-weight:   var(--fw-bold);
  color:         rgba(37, 99, 235, .12);
  line-height:   1;
  margin-bottom: var(--sp-4);
}

.process-step__title {
  font-size:     var(--text-xl);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-navy);
  margin-bottom: var(--sp-2);
}

.process-step__desc {
  font-size: var(--text-sm);
  color:     var(--clr-muted);
  max-width: none;
}

/* ── 15. TESTIMONIALS ────────────────────────────────────── */
.testimonials-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-8);
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

.testimonial-card {
  background:    var(--clr-white);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  padding:       var(--sp-8);
}

.testimonial-card__quote {
  font-size:     var(--text-lg);
  line-height:   var(--lh-body);
  color:         var(--clr-slate-700);
  margin-bottom: var(--sp-6);
  font-style:    italic;
  max-width:     none;
}
.testimonial-card__quote::before { content: '"'; }
.testimonial-card__quote::after  { content: '"'; }

.testimonial-card__author {
  display:     flex;
  align-items: center;
  gap:         var(--sp-4);
}

.testimonial-card__avatar {
  width:         48px;
  height:        48px;
  border-radius: var(--radius-full);
  background:    var(--clr-slate-200);
  flex-shrink:   0;
  display:       flex;
  align-items:   center;
  justify-content: center;
  font-weight:   var(--fw-bold);
  color:         var(--clr-slate-500);
  font-size:     var(--text-lg);
}

.testimonial-card__name {
  font-weight: var(--fw-semibold);
  color:       var(--clr-navy);
  font-size:   var(--text-base);
}
.testimonial-card__role {
  font-size: var(--text-sm);
  color:     var(--clr-muted);
}

/* ── 16. LEAD MAGNET ─────────────────────────────────────── */
.lead-magnet {
  border:        2px solid var(--clr-blue);
  border-radius: var(--radius-2xl);
  padding:       var(--sp-12) var(--sp-8);
  text-align:    center;
  background:    rgba(37, 99, 235, .03);
}

.lead-magnet__title {
  font-size:     var(--fs-h2);
  font-weight:   var(--fw-bold);
  color:         var(--clr-navy);
  margin-bottom: var(--sp-3);
}

.lead-magnet__sub {
  color:         var(--clr-muted);
  margin-bottom: var(--sp-8);
  margin-inline: auto;
}

.audit-form {
  display:   flex;
  flex-wrap: wrap;
  gap:       var(--sp-3);
  justify-content: center;
  max-width: 540px;
  margin:    0 auto;
}

.audit-form input[type="url"],
.audit-form input[type="email"] {
  flex:           1 1 260px;
  padding:        .7em 1em;
  border:         1px solid var(--clr-border);
  border-radius:  var(--radius-lg);
  font-size:      var(--text-base);
  background:     var(--clr-white);
  color:          var(--clr-slate-900);
  transition:     border-color var(--t-fast), box-shadow var(--t-fast);
}
.audit-form input[type="url"]:focus,
.audit-form input[type="email"]:focus {
  outline:     none;
  border-color: var(--clr-blue);
  box-shadow:  0 0 0 3px rgba(37, 99, 235, .15);
}

.audit-form__status {
  width:     100%;
  font-size: var(--text-sm);
  padding:   var(--sp-2) 0;
}
.audit-form__status.success { color: #16a34a; }
.audit-form__status.error   { color: #dc2626; }

/* ── 17. BLOG PREVIEW ────────────────────────────────────── */
.blog-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-6);
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background:    var(--clr-white);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  overflow:      hidden;
  transition:    box-shadow var(--t-base), transform var(--t-base);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.blog-card__thumb {
  aspect-ratio: 16 / 9;
  background:   linear-gradient(135deg, var(--clr-slate-100) 0%, var(--clr-slate-200) 100%);
  display:      flex;
  align-items:  center;
  justify-content: center;
  color:        var(--clr-slate-400);
  font-size:    var(--text-xs);
}

.blog-card__body { padding: var(--sp-5) var(--sp-6); }

.blog-card__tag {
  font-size:     var(--text-xs);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-blue);
  margin-bottom: var(--sp-2);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.blog-card__title {
  font-size:     var(--text-base);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-navy);
  margin-bottom: var(--sp-2);
  line-height:   var(--lh-snug);
  max-width:     none;
}
.blog-card a:hover .blog-card__title { color: var(--clr-blue); }

.blog-card__date {
  font-size: var(--text-xs);
  color:     var(--clr-muted);
}

/* ── 18. FINAL CTA ───────────────────────────────────────── */
.final-cta {
  padding-block: var(--section-py);
  text-align:    center;
  background:    linear-gradient(135deg,
    var(--clr-navy) 0%,
    #0e2347 50%,
    #1a1060 100%);
  color:         var(--clr-white);
  position:      relative;
  overflow:      hidden;
}

.final-cta::before {
  content:  '';
  position: absolute;
  inset:    0;
  background: radial-gradient(ellipse 70% 70% at 50% 120%,
    rgba(124, 58, 237, .3) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta h2 {
  color:         var(--clr-white);
  margin-bottom: var(--sp-4);
}

.final-cta p {
  color:         rgba(255,255,255,.7);
  margin-bottom: var(--sp-8);
  margin-inline: auto;
}

/* ── 19. FOOTER ──────────────────────────────────────────── */
.site-footer {
  background:   var(--clr-navy);
  color:        var(--clr-slate-400);
  padding-top:  var(--sp-16);
}

.footer__top {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-10);
  padding-bottom:        var(--sp-12);
  border-bottom:         1px solid rgba(255,255,255,.08);
}
@media (min-width: 640px) {
  .footer__top { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer__top { grid-template-columns: 1.5fr repeat(4, 1fr); }
}

.footer__brand .nav__logo {
  color:         var(--clr-white);
  margin-bottom: var(--sp-4);
  display:       block;
}

.footer__brand p {
  font-size:  var(--text-sm);
  line-height: var(--lh-body);
  max-width:  28ch;
}

.footer__col h4 {
  font-size:     var(--text-sm);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-white);
  margin-bottom: var(--sp-4);
  letter-spacing: .04em;
}

.footer__col ul { display: flex; flex-direction: column; gap: var(--sp-3); }

.footer__col a {
  font-size:  var(--text-sm);
  color:      var(--clr-slate-400);
  transition: color var(--t-fast);
}
.footer__col a:hover { color: var(--clr-white); }

.footer__cities {
  padding-block:  var(--sp-5);
  border-bottom:  1px solid rgba(255,255,255,.08);
  font-size:      var(--text-xs);
  color:          var(--clr-slate-500);
  text-align:     center;
  letter-spacing: .03em;
}

.footer__bottom {
  display:        flex;
  flex-wrap:      wrap;
  align-items:    center;
  justify-content: space-between;
  gap:            var(--sp-4);
  padding-block:  var(--sp-5);
  font-size:      var(--text-xs);
  color:          var(--clr-slate-500);
}

.footer__legal {
  display: flex;
  gap:     var(--sp-5);
}
.footer__legal a { color: var(--clr-slate-500); transition: color var(--t-fast); }
.footer__legal a:hover { color: var(--clr-white); }

/* ── 20. SECTION HEADER BLOCK ─────────────────────────────── */
.section-header {
  margin-bottom: var(--sp-12);
}
.section-header--center {
  text-align: center;
}
.section-header--center .section-subhead { margin-inline: auto; }

/* ── 21. DIVIDER ─────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--clr-border);
  margin-block: var(--sp-12);
}

/* ── 22. SKIP LINK (a11y) ─────────────────────────────────── */
.skip-link {
  position:  absolute;
  top:       -100px;
  left:      var(--sp-4);
  padding:   var(--sp-3) var(--sp-5);
  background: var(--clr-blue);
  color:      var(--clr-white);
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold);
  z-index:    999;
  transition: top var(--t-fast);
}
.skip-link:focus { top: var(--sp-4); }

/* ── 23. ANIMATION BASE STATES ───────────────────────────── */
/* .reveal is a hook for JS only. Content is visible by default so it
   shows without JS or if the Motion CDN fails to load. Motion's
   keyframe syntax [0, 1] sets the initial opacity:0 programmatically
   when the library is available. */
/* When JS has loaded and is about to animate, it adds .js-anim to <html>.
   Only then do we hide elements so there's no flash on non-JS paths. */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(24px);
}

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

.mt-4  { margin-top: var(--sp-4); }
.mt-8  { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-8  { margin-bottom: var(--sp-8); }

/* ── 25. RESPONSIVE HELPERS ──────────────────────────────── */
@media (max-width: 639px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 640px) {
  .hide-desktop { display: none !important; }
}

/* ── 26. CSS ART — DECORATIVE SECTION BACKGROUNDS ───────── */
/* Zero extra DOM nodes. All layers via pseudo-elements and
   background stacks. Section class names added in index.html. */

/* Shared base — decorated sections clip overflow + set stack context */
.section--services,
.section--products,
.section--results,
.section--process,
.section--testimonials,
.section--audit,
.section--blog {
  position: relative;
  overflow: hidden;
}

/* Lift direct children above decorative pseudo-elements */
.section--services   > .container,
.section--products   > .container,
.section--results    > .container,
.section--process    > .container,
.section--testimonials > .container,
.section--audit      > .container,
.section--blog       > .container {
  position: relative;
  z-index:  1;
}

/* ── §26a · Services — dot-matrix + colour orbs + ring ───── */
.section--services {
  background-image:
    radial-gradient(circle 1.5px at 0 0, rgba(100,116,139,.16) 0%, transparent 0%);
  background-size: 28px 28px;
}
.section--services::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 96%  8%, rgba(37,99,235,.12)  0%, transparent 60%),
    radial-gradient(ellipse 55% 65% at  4% 92%, rgba(124,58,237,.10) 0%, transparent 60%);
  pointer-events: none;
}
.section--services::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  border:     1.5px solid rgba(37,99,235,.10);
  box-shadow: 0 0 0 55px  rgba(37,99,235,.03),
              0 0 0 110px rgba(124,58,237,.02);
  top: -220px; right: -180px;
  pointer-events: none;
}

/* ── §26b · Products — tech crosshatch grid + bloom ─────── */
.section--products {
  background-color: var(--clr-bg-alt);
  background-image:
    linear-gradient(rgba(37,99,235,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.05) 1px, transparent 1px);
  background-size: 52px 52px;
}
.section--products::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 120%, rgba(124,58,237,.20) 0%, transparent 55%),
    radial-gradient(ellipse 40% 45% at 90%  10%, rgba(37,99,235,.10)  0%, transparent 55%);
  pointer-events: none;
}
.section--products::after {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  border:     1px solid rgba(124,58,237,.15);
  box-shadow: 0 0 0 45px rgba(124,58,237,.04);
  top: -90px; right: -60px;
  pointer-events: none;
}

/* ── §26c · Results — gradient canvas + side orbs + hatching */
.section--results {
  background: linear-gradient(175deg, var(--clr-white) 0%, #eef4ff 100%);
}
.section--results::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 70% at  2% 50%, rgba(37,99,235,.10)  0%, transparent 60%),
    radial-gradient(ellipse 45% 70% at 98% 50%, rgba(124,58,237,.10) 0%, transparent 60%);
  pointer-events: none;
}
.section--results::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -48deg,
    transparent,
    transparent 64px,
    rgba(37,99,235,.030) 64px,
    rgba(37,99,235,.030) 65px
  );
  pointer-events: none;
}

/* ── §26d · Process — dot grid + gradient top bar ────────── */
.section--process {
  background-color: var(--clr-bg-alt);
  background-image:
    radial-gradient(circle 1px at 0 0, rgba(100,116,139,.14) 0%, transparent 0%);
  background-size: 24px 24px;
}
.section--process::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--clr-blue)   30%,
    var(--clr-violet) 70%,
    transparent 100%
  );
  pointer-events: none;
}
.section--process::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 40% at 50% 108%, rgba(37,99,235,.10) 0%, transparent 55%);
  pointer-events: none;
}

/* Horizontal connector line through step numbers — desktop only */
@media (min-width: 1024px) {
  .section--process .process-steps { position: relative; }
  .section--process .process-steps::before {
    content: '';
    position: absolute;
    top:   2.5rem;
    left:  12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, var(--clr-blue) 0%, var(--clr-violet) 100%);
    opacity: .20;
    pointer-events: none;
    z-index: 0;
  }
}

/* Step numbers: gradient text (more vivid than flat rgba) */
.section--process .process-step__number {
  color: rgba(37,99,235,.22);                                 /* non-clip fallback */
  background: linear-gradient(135deg, rgba(37,99,235,.38) 0%, rgba(124,58,237,.28) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── §26e · Testimonials — giant CSS-art quote + blobs ───── */
.section--testimonials::before {
  content: '\201C';                                           /* opening " */
  position: absolute;
  top: -0.18em; left: calc(var(--container-px) - 0.05em);
  font-size: clamp(12rem, 20vw, 18rem);
  font-weight: var(--fw-bold);
  line-height: 1;
  color: rgba(37,99,235,.09);                                 /* fallback */
  background: linear-gradient(135deg, rgba(37,99,235,.14) 0%, rgba(124,58,237,.09) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.section--testimonials::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 55% at 92% 15%, rgba(124,58,237,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at  8% 85%, rgba(37,99,235,.07)  0%, transparent 60%);
  pointer-events: none;
}

/* ── §26f · Audit/Lead-Magnet — aurora mesh + accent bar ─── */
.section--audit {
  background-color: var(--clr-bg-alt);
  background-image:
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(37,99,235,.07) 0%, transparent 60%),
    linear-gradient(rgba(37,99,235,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.045) 1px, transparent 1px);
  background-size: 100% 100%, 52px 52px, 52px 52px;
}
.section--audit::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 10% 50%, rgba(124,58,237,.14) 0%, transparent 60%),
    radial-gradient(ellipse 55% 80% at 90% 50%, rgba(37,99,235,.14)  0%, transparent 60%);
  pointer-events: none;
}
.section--audit::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--clr-violet) 30%,
    var(--clr-blue)   70%,
    transparent 100%
  );
  pointer-events: none;
}

/* Frosted-glass lead-magnet box against the aurora background */
.section--audit .lead-magnet {
  background:               rgba(255, 255, 255, .78);
  backdrop-filter:          blur(16px);
  -webkit-backdrop-filter:  blur(16px);
  border-color:             rgba(37, 99, 235, .48);
  box-shadow:
    0 0 0  1px rgba(37,99,235,.16),
    0 0   52px rgba(37,99,235,.14),
    var(--shadow-lg);
}

/* ── §26g · Blog — cool-tinted bg + per-card thumb palette ─ */
.section--blog {
  background: linear-gradient(180deg, var(--clr-white) 0%, #f5f8ff 100%);
}
.section--blog::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(37,99,235,.08) 0%, transparent 55%);
  pointer-events: none;
}

/* Each thumbnail gets a distinct gradient instead of flat grey */
.section--blog .blog-card:nth-child(1) .blog-card__thumb {
  background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
}
.section--blog .blog-card:nth-child(2) .blog-card__thumb {
  background: linear-gradient(135deg, #d1fae5 0%, #bfdbfe 100%);
}
.section--blog .blog-card:nth-child(3) .blog-card__thumb {
  background: linear-gradient(135deg, #fce7f3 0%, #ede9fe 100%);
}

/* ── 30. SERVICE PAGE HERO (split layout) ────────────────── */
.service-hero {
  padding-block: clamp(3rem, 6vw, 5rem);
  background:    var(--clr-bg-alt);
  border-bottom: 1px solid var(--clr-border);
  overflow:      hidden;
}

.service-hero__inner {
  display:     grid;
  gap:         var(--sp-12);
  align-items: center;
}
@media (min-width: 900px) {
  .service-hero__inner { grid-template-columns: 1fr 1fr; }
}

.service-hero__title {
  font-size:     var(--fs-h1);
  font-weight:   var(--fw-bold);
  color:         var(--clr-navy);
  line-height:   var(--lh-tight);
  margin-bottom: var(--sp-5);
}

.service-hero__sub {
  font-size:     clamp(var(--text-base), 1.6vw, var(--text-lg));
  color:         var(--clr-slate-600);
  max-width:     52ch;
  line-height:   var(--lh-body);
  margin-bottom: var(--sp-8);
}

.service-hero__ctas {
  display:   flex;
  flex-wrap: wrap;
  gap:       var(--sp-3);
}

.service-hero__img {
  aspect-ratio:    4 / 3;
  border-radius:   var(--radius-2xl);
  background:      linear-gradient(135deg, var(--clr-slate-100) 0%, var(--clr-slate-200) 100%);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--clr-slate-400);
  font-size:       var(--text-sm);
  font-weight:     var(--fw-semibold);
  border:          1px solid var(--clr-border);
}

/* ── 31. PAIN POINTS ─────────────────────────────────────── */
.pain-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-5);
}
@media (min-width: 640px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
}

.pain-card {
  background:    rgba(220,38,38,.025);
  border:        1px solid rgba(220,38,38,.12);
  border-left:   4px solid #dc2626;
  border-radius: var(--radius-xl);
  padding:       var(--sp-6);
  transition:    transform var(--t-base) var(--ease),
                 box-shadow var(--t-base) var(--ease);
}
.pain-card:hover {
  transform:  translateY(-4px);
  box-shadow: 0 12px 32px rgba(220,38,38,.1), var(--shadow-md);
}

.pain-card__icon {
  width:         40px;
  height:        40px;
  background:    rgba(220,38,38,.1);
  border-radius: var(--radius-lg);
  display:       flex;
  align-items:   center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  color:         #dc2626;
  flex-shrink:   0;
}

.pain-card__quote {
  font-size:   var(--text-lg);
  font-weight: var(--fw-medium);
  color:       var(--clr-slate-800);
  line-height: var(--lh-snug);
  max-width:   none;
}
.pain-card__quote::before { content: none; }

/* ── 32. WHAT'S INCLUDED ─────────────────────────────────── */
.included-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-4);
}
@media (min-width: 640px) {
  .included-grid { grid-template-columns: repeat(2, 1fr); }
}

.included-item {
  display:     flex;
  align-items: flex-start;
  gap:         var(--sp-3);
  font-size:   var(--text-base);
  color:       var(--clr-slate-700);
}

.included-item__icon {
  flex-shrink:     0;
  width:           24px;
  height:          24px;
  border-radius:   var(--radius-full);
  background:      rgba(37,99,235,.1);
  color:           var(--clr-blue);
  display:         flex;
  align-items:     center;
  justify-content: center;
  margin-top:      2px;
}

/* ── 33. PLANS / PRICING ─────────────────────────────────── */
.plans-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-6);
}
@media (min-width: 640px) {
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
}

.plan-card { display: flex; flex-direction: column; }

.plan-card__badge {
  display:        inline-flex;
  align-self:     flex-start;
  padding:        .25em .8em;
  background:     var(--clr-blue);
  color:          var(--clr-white);
  font-size:      var(--text-xs);
  font-weight:    var(--fw-semibold);
  border-radius:  var(--radius-full);
  margin-bottom:  var(--sp-4);
  letter-spacing: .03em;
}

.plan-card__name {
  font-size:      var(--text-xs);
  font-weight:    var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: .08em;
  color:          var(--clr-muted);
  margin-bottom:  var(--sp-3);
}

.plan-card__price {
  font-size:     var(--text-4xl);
  font-weight:   var(--fw-bold);
  color:         var(--clr-navy);
  line-height:   1;
  margin-bottom: var(--sp-1);
}

.plan-card__period {
  font-size:     var(--text-sm);
  color:         var(--clr-muted);
  margin-bottom: var(--sp-5);
}

.plan-card__desc {
  font-size:   var(--text-sm);
  color:       var(--clr-slate-600);
  line-height: var(--lh-body);
  flex:        1;
  max-width:   none;
}

/* Custom pricing card — full-width, horizontal layout below the plans grid */
.plan-card--custom {
  flex-direction:  row;
  align-items:     center;
  gap:             var(--sp-8);
  margin-top:      var(--sp-6);
}
.plan-card--custom__icon {
  flex-shrink:     0;
  width:           56px;
  height:          56px;
  background:      rgba(37,99,235,.08);
  border-radius:   var(--radius-xl);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--clr-blue);
}
.plan-card--custom__body {
  flex: 1;
}
.plan-card--custom .plan-card__desc {
  flex: none;
  margin-top: var(--sp-2);
}
.plan-card--custom__cta {
  flex-shrink:  0;
  text-align:   center;
  min-width:    180px;
}
.plan-card--custom__cta .plan-card__price {
  font-size: var(--text-2xl);
}
.plan-card--custom__cta .plan-card__period {
  margin-bottom: var(--sp-4);
}
@media (max-width: 639px) {
  .plan-card--custom            { flex-direction: column; align-items: flex-start; }
  .plan-card--custom__cta       { text-align: left; min-width: 0; width: 100%; }
  .plan-card--custom__cta .btn  { width: 100%; justify-content: center; }
}

/* ── 34. CASE STUDY STRIP ────────────────────────────────── */
.case-study-strip {
  background:      var(--clr-navy);
  border-radius:   var(--radius-2xl);
  padding:         var(--sp-10);
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  flex-wrap:       wrap;
  gap:             var(--sp-6);
  color:           var(--clr-slate-300);
}

.case-study-strip__body { flex: 1; min-width: 200px; }

.case-study-strip__metric {
  font-size:     clamp(2.25rem, 5vw, 3.5rem);
  font-weight:   var(--fw-bold);
  color:         var(--clr-blue);
  line-height:   1;
  margin-bottom: var(--sp-2);
}

.case-study-strip__label {
  font-size:     var(--text-lg);
  color:         var(--clr-slate-300);
  margin-bottom: var(--sp-2);
  max-width:     none;
}

.case-study-strip__client {
  font-size: var(--text-sm);
  color:     var(--clr-slate-500);
  max-width: none;
}

.case-study-strip__action { flex-shrink: 0; }

/* ── 35. FAQ ACCORDION ───────────────────────────────────── */
.faq-list { border-top: 1px solid var(--clr-border); }

.faq-item { border-bottom: 1px solid var(--clr-border); }

.faq-question {
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  width:           100%;
  padding:         var(--sp-5) 0;
  text-align:      left;
  font-size:       var(--text-lg);
  font-weight:     var(--fw-semibold);
  color:           var(--clr-navy);
  gap:             var(--sp-4);
  background:      none;
  border:          none;
  cursor:          pointer;
  transition:      color var(--t-fast);
}
.faq-question:hover { color: var(--clr-blue); }

.faq-icon {
  flex-shrink: 0;
  width:       20px;
  height:      20px;
  color:       var(--clr-slate-400);
  transition:  transform var(--t-base), color var(--t-base);
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color:     var(--clr-blue);
}

/* CSS Grid expand — no JS measurement needed */
.faq-answer {
  display:            grid;
  grid-template-rows: 0fr;
  transition:         grid-template-rows var(--t-base);
}
.faq-answer[aria-hidden="false"] { grid-template-rows: 1fr; }

.faq-answer__inner { overflow: hidden; }

.faq-answer__inner p {
  padding-bottom: var(--sp-5);
  font-size:      var(--text-base);
  color:          var(--clr-slate-600);
  line-height:    var(--lh-body);
  max-width:      72ch;
}

/* ── 36. SERVICE FINAL CTA + RELATED SERVICES ────────────── */
.service-cta-block {
  border:        2px solid var(--clr-blue);
  border-radius: var(--radius-2xl);
  padding:       var(--sp-12) var(--sp-8);
  text-align:    center;
  background:    rgba(37,99,235,.03);
  margin-bottom: var(--sp-16);
}

.service-cta-block__title {
  font-size:     var(--fs-h2);
  font-weight:   var(--fw-bold);
  color:         var(--clr-navy);
  margin-bottom: var(--sp-6);
}

.related-services { text-align: center; }

.related-services__label {
  font-size:      var(--text-sm);
  font-weight:    var(--fw-semibold);
  color:          var(--clr-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom:  var(--sp-5);
}

.related-services__links {
  display:         flex;
  flex-wrap:       wrap;
  justify-content: center;
  gap:             var(--sp-3);
}

.related-service-link {
  display:       inline-flex;
  align-items:   center;
  gap:           var(--sp-2);
  padding:       var(--sp-3) var(--sp-5);
  background:    var(--clr-white);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  font-size:     var(--text-sm);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-slate-700);
  transition:    border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.related-service-link:hover {
  border-color: var(--clr-blue);
  color:        var(--clr-blue);
  box-shadow:   var(--shadow-sm);
}

/* ── 26. PAGE HERO (interior page header) ────────────────── */
.page-hero {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--clr-bg-alt);
  border-bottom: 1px solid var(--clr-border);
}

.page-hero__title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  line-height: var(--lh-tight);
  max-width: 22ch;
  margin-bottom: var(--sp-4);
}

.page-hero__sub {
  font-size: clamp(var(--text-base), 1.6vw, var(--text-xl));
  color: var(--clr-slate-600);
  max-width: 56ch;
  line-height: var(--lh-body);
}

/* ── 27. BREADCRUMB ──────────────────────────────────────── */
.breadcrumb {
  display:    flex;
  align-items: center;
  gap:        var(--sp-2);
  font-size:  var(--text-sm);
  color:      var(--clr-muted);
  margin-bottom: var(--sp-5);
  flex-wrap:  wrap;
}

.breadcrumb a { color: var(--clr-muted); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--clr-blue); }

.breadcrumb__sep { color: var(--clr-slate-300); user-select: none; }

/* ── 28. SERVICES HUB GRID ───────────────────────────────── */
.services-hub-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-6);
}
@media (min-width: 640px) {
  .services-hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-hub-grid { grid-template-columns: repeat(3, 1fr); }
}

/* stretch cards to equal height; link pushed to bottom */
.service-hub-card { display: flex; flex-direction: column; }
.service-hub-card .service-card__link { margin-top: auto; }

.service-hub-card__tags {
  display:  flex;
  flex-wrap: wrap;
  gap:      var(--sp-2);
  margin-top:    var(--sp-4);
  margin-bottom: var(--sp-5);
}

/* "Not sure" dashed card — centred content */
.service-hub-card--help { text-align: center; align-items: center; }
.service-hub-card__help-icon { background: var(--clr-slate-100); color: var(--clr-slate-500); }
.service-hub-card__cta-btn  { margin-top: auto; }

/* ── 29. ENGAGEMENT MODELS ───────────────────────────────── */
.engagement-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-8);
  max-width:             780px;
  margin-inline:         auto;
}
@media (min-width: 640px) {
  .engagement-grid { grid-template-columns: repeat(2, 1fr); }
}

.engagement-card { display: flex; flex-direction: column; }

.engagement-card__badge {
  display:       inline-flex;
  align-self:    flex-start;
  padding:       .25em .8em;
  background:    var(--clr-blue);
  color:         var(--clr-white);
  font-size:     var(--text-xs);
  font-weight:   var(--fw-semibold);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
  letter-spacing: .03em;
}

.engagement-card__title {
  font-size:     var(--text-xl);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-navy);
  margin-bottom: var(--sp-3);
}

.engagement-card__desc {
  font-size:     var(--text-sm);
  color:         var(--clr-muted);
  line-height:   var(--lh-body);
  margin-bottom: var(--sp-5);
  max-width:     none;
}

.engagement-card__items {
  display:        flex;
  flex-direction: column;
  gap:            var(--sp-3);
  margin-bottom:  var(--sp-6);
  flex:           1;   /* pushes the CTA button to the card bottom */
}

.engagement-card__items li {
  display:     flex;
  align-items: flex-start;
  gap:         var(--sp-3);
  font-size:   var(--text-sm);
  color:       var(--clr-slate-700);
}

.engagement-card__items li::before {
  content:     '✓';
  flex-shrink: 0;
  font-weight: var(--fw-bold);
  color:       var(--clr-blue);
  line-height: var(--lh-body);
}

/* ── 37. PRODUCT FEATURE GRID ────────────────────────────── */
.feature-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-6);
}
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background:    var(--clr-white);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding:       var(--sp-6);
}

.feature-card__icon {
  width:           40px;
  height:          40px;
  border-radius:   var(--radius-lg);
  background:      rgba(37,99,235,.1);
  color:           var(--clr-blue);
  display:         flex;
  align-items:     center;
  justify-content: center;
  margin-bottom:   var(--sp-4);
}

.feature-card__title {
  font-size:     var(--text-base);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-navy);
  margin-bottom: var(--sp-2);
}

.feature-card__desc {
  font-size:   var(--text-sm);
  color:       var(--clr-muted);
  line-height: var(--lh-body);
  max-width:   none;
}

/* ── 38. PLAN CARD FEATURE LIST (product pricing tiers) ──── */
/* Use .plan-card__features instead of .plan-card__desc on
   product plan cards — the list takes flex:1 and pins the
   CTA button to the card bottom without affecting service pages. */
.plan-card__features {
  list-style:     none;
  margin-bottom:  var(--sp-6);
  display:        flex;
  flex-direction: column;
  gap:            var(--sp-3);
  flex:           1;
}

.plan-card__features li {
  display:     flex;
  align-items: flex-start;
  gap:         var(--sp-2);
  font-size:   var(--text-sm);
  color:       var(--clr-slate-600);
  line-height: var(--lh-body);
}

.plan-card__features li::before {
  content:     '✓';
  flex-shrink: 0;
  font-weight: var(--fw-bold);
  color:       var(--clr-blue);
  margin-top:  .1em;
}

.plan-card__features li.disabled {
  color: var(--clr-slate-300);
}
.plan-card__features li.disabled::before {
  content: '–';
  color:   var(--clr-slate-300);
}

/* ── 39. WAITLIST BLOCK (NovaLearn) ──────────────────────── */
.waitlist-block {
  border:        2px solid var(--clr-blue);
  border-radius: var(--radius-2xl);
  padding:       var(--sp-12) var(--sp-8);
  text-align:    center;
  background:    rgba(37,99,235,.03);
  max-width:     660px;
  margin-inline: auto;
}

.waitlist-block__eyebrow {
  font-size:      var(--text-xs);
  font-weight:    var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: .08em;
  color:          var(--clr-blue);
  margin-bottom:  var(--sp-3);
}

.waitlist-block__title {
  font-size:     var(--fs-h2);
  font-weight:   var(--fw-bold);
  color:         var(--clr-navy);
  line-height:   var(--lh-tight);
  margin-bottom: var(--sp-4);
}

.waitlist-block__sub {
  font-size:     var(--text-lg);
  color:         var(--clr-slate-600);
  margin-bottom: var(--sp-8);
  max-width:     44ch;
  margin-inline: auto;
  line-height:   var(--lh-body);
}

.waitlist-form {
  display:         flex;
  flex-wrap:       wrap;
  gap:             var(--sp-3);
  justify-content: center;
}

.waitlist-form__input {
  flex:         1;
  min-width:    200px;
  max-width:    320px;
  padding:      .75em 1em;
  border:       1px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size:    var(--text-base);
  font-family:  var(--font-sans);
  background:   var(--clr-white);
  color:        var(--clr-text);
  transition:   border-color var(--t-fast), box-shadow var(--t-fast);
}

.waitlist-form__input:focus {
  outline:    none;
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

/* ── 40. PRODUCTS HUB GRID ───────────────────────────────── */
.products-hub-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-8);
}
@media (min-width: 768px) {
  .products-hub-grid { grid-template-columns: repeat(2, 1fr); }
}

.product-hub-card { display: flex; flex-direction: column; }

.product-hub-card__screen {
  aspect-ratio:    16 / 9;
  border-radius:   var(--radius-xl);
  background:      linear-gradient(135deg, var(--clr-slate-100) 0%, var(--clr-slate-200) 100%);
  border:          1px solid var(--clr-border);
  margin-bottom:   var(--sp-6);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--clr-slate-400);
  font-size:       var(--text-sm);
  font-weight:     var(--fw-semibold);
}

.product-hub-card__label {
  font-size:      var(--text-xs);
  font-weight:    var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: .08em;
  color:          var(--clr-blue);
  margin-bottom:  var(--sp-2);
}

.product-hub-card__title {
  font-size:     var(--fs-h3);
  font-weight:   var(--fw-bold);
  color:         var(--clr-navy);
  line-height:   var(--lh-tight);
  margin-bottom: var(--sp-4);
}

.product-hub-card__desc {
  font-size:     var(--text-base);
  color:         var(--clr-slate-600);
  line-height:   var(--lh-body);
  margin-bottom: var(--sp-6);
  flex:          1;
  max-width:     none;
}

.product-hub-card__tags {
  display:       flex;
  flex-wrap:     wrap;
  gap:           var(--sp-2);
  margin-bottom: var(--sp-6);
}

.product-hub-card__ctas {
  display:   flex;
  flex-wrap: wrap;
  gap:       var(--sp-3);
  margin-top: auto;
}

/* ── 41. WORK / PORTFOLIO PAGE ───────────────────────────── */

/* Filter tabs */
.work-filters {
  display:   flex;
  flex-wrap: wrap;
  gap:       var(--sp-2);
  margin-bottom: var(--sp-10);
}

.work-filter-btn {
  padding:       var(--sp-2) var(--sp-5);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size:     var(--text-sm);
  font-weight:   var(--fw-medium);
  font-family:   var(--font-sans);
  color:         var(--clr-slate-600);
  background:    var(--clr-white);
  cursor:        pointer;
  transition:    background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  white-space:   nowrap;
}
.work-filter-btn:hover {
  border-color: var(--clr-blue);
  color:        var(--clr-blue);
}
.work-filter-btn[aria-pressed="true"] {
  background:   var(--clr-navy);
  border-color: var(--clr-navy);
  color:        var(--clr-white);
}

/* Featured row — 2 large cards */
.work-featured {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-6);
  margin-bottom:         var(--sp-6);
}
@media (min-width: 768px) {
  .work-featured { grid-template-columns: repeat(2, 1fr); }
}

/* Regular 3-col grid */
.work-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-6);
}
@media (min-width: 640px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Card base */
.work-card {
  display:        flex;
  flex-direction: column;
  background:     var(--clr-white);
  border:         1px solid var(--clr-border);
  border-radius:  var(--radius-2xl);
  overflow:       hidden;
  position:       relative;
  transition:     box-shadow var(--t-base), transform var(--t-base);
}
.work-card:hover {
  box-shadow: var(--shadow-lg);
  transform:  translateY(-3px);
}

/* Thumbnail */
.work-card__thumb {
  aspect-ratio:    16 / 9;
  background:      linear-gradient(135deg, var(--clr-slate-100) 0%, var(--clr-slate-200) 100%);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--clr-slate-400);
  font-size:       var(--text-sm);
  font-weight:     var(--fw-semibold);
  overflow:        hidden;
  flex-shrink:     0;
}
.work-card__thumb img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
}

/* Taller thumb for featured */
.work-card--featured .work-card__thumb { aspect-ratio: 3 / 2; }

/* Social "Instagram grid" thumb */
.work-card__insta-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   2px;
  width:                 100%;
  aspect-ratio:          1 / 1;
  background:            var(--clr-slate-300);
}
.work-card__insta-cell {
  background: linear-gradient(135deg, var(--clr-slate-100) 0%, var(--clr-slate-200) 100%);
}
/* Alternate cell tints to look distinct */
.work-card__insta-cell:nth-child(3n+1) { background: linear-gradient(135deg, var(--clr-slate-100) 0%, #dde5f7 100%); }
.work-card__insta-cell:nth-child(3n+2) { background: linear-gradient(135deg, #e5dff7 0%, var(--clr-slate-200) 100%); }
.work-card__insta-cell:nth-child(3n+3) { background: linear-gradient(135deg, var(--clr-slate-100) 0%, #d8eed8 100%); }

/* Graphics thumb — warmer gradient */
.work-card__thumb--graphics {
  background: linear-gradient(135deg, #f0ebff 0%, #e0d5f8 100%);
}

/* Card body */
.work-card__body {
  padding:        var(--sp-6);
  display:        flex;
  flex-direction: column;
  flex:           1;
}

.work-card__category {
  font-size:      var(--text-xs);
  font-weight:    var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: .08em;
  color:          var(--clr-blue);
  margin-bottom:  var(--sp-2);
}

.work-card__title {
  font-size:     var(--text-lg);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-navy);
  line-height:   var(--lh-snug);
  margin-bottom: var(--sp-3);
}

.work-card__desc {
  font-size:   var(--text-sm);
  color:       var(--clr-slate-600);
  line-height: var(--lh-body);
  flex:        1;
  max-width:   none;
  margin-bottom: var(--sp-5);
}

/* Result metric */
.work-card__result {
  display:       flex;
  align-items:   baseline;
  gap:           var(--sp-2);
  margin-bottom: var(--sp-5);
  padding:       var(--sp-3) var(--sp-4);
  background:    rgba(37,99,235,.05);
  border-radius: var(--radius-lg);
  border-left:   3px solid var(--clr-blue);
}

.work-card__result-metric {
  font-size:   var(--text-2xl);
  font-weight: var(--fw-bold);
  color:       var(--clr-navy);
  line-height: 1;
}

.work-card__result-label {
  font-size:   var(--text-sm);
  color:       var(--clr-muted);
  line-height: var(--lh-body);
  max-width:   none;
}

/* Footer: tags + link */
.work-card__footer {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  flex-wrap:       wrap;
  gap:             var(--sp-3);
  padding-top:     var(--sp-4);
  border-top:      1px solid var(--clr-border);
  margin-top:      auto;
}

.work-card__tags {
  display:  flex;
  flex-wrap: wrap;
  gap:      var(--sp-2);
}

.work-card__link {
  display:     inline-flex;
  align-items: center;
  gap:         var(--sp-1);
  font-size:   var(--text-sm);
  font-weight: var(--fw-semibold);
  color:       var(--clr-blue);
  white-space: nowrap;
  transition:  gap var(--t-fast);
}
.work-card__link:hover { gap: var(--sp-2); }
.work-card__link svg  { flex-shrink: 0; }

/* ── 42. ABOUT PAGE ──────────────────────────────────────── */

/* ── About hero (dark, split) ─────────── */
.about-hero {
  background:    var(--clr-navy);
  padding-block: clamp(4rem, 9vw, 7rem);
  position:      relative;
  overflow:      hidden;
  /* subtle dot grid */
  background-image:
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
/* violet glow top-right */
.about-hero::before {
  content:         '';
  position:        absolute;
  top:   -20%;
  right: -10%;
  width:  640px;
  height: 640px;
  background: radial-gradient(circle, rgba(124,58,237,.18) 0%, transparent 65%);
  pointer-events: none;
}
/* blue glow bottom-left */
.about-hero::after {
  content:   '';
  position:  absolute;
  bottom: -25%;
  left:   -8%;
  width:   500px;
  height:  500px;
  background: radial-gradient(circle, rgba(37,99,235,.14) 0%, transparent 65%);
  pointer-events: none;
}

.about-hero__inner {
  display:     grid;
  gap:         var(--sp-12);
  align-items: center;
  position:    relative;
  z-index:     1;
}
@media (min-width: 900px) {
  .about-hero__inner { grid-template-columns: 1fr 1fr; }
}

.about-hero__eyebrow {
  font-size:      var(--text-sm);
  font-weight:    var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: .1em;
  color:          var(--clr-blue);
  margin-bottom:  var(--sp-4);
}

.about-hero__title {
  font-size:     var(--fs-h1);
  font-weight:   var(--fw-bold);
  color:         var(--clr-white);
  line-height:   var(--lh-tight);
  margin-bottom: var(--sp-6);
}
/* gradient accent word */
.about-hero__title em {
  font-style:              normal;
  background:              linear-gradient(90deg, var(--clr-blue) 0%, var(--clr-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip:         text;
}

.about-hero__sub {
  font-size:     clamp(var(--text-base), 1.6vw, var(--text-xl));
  color:         var(--clr-slate-300);
  max-width:     52ch;
  line-height:   var(--lh-body);
  margin-bottom: var(--sp-8);
}

.about-hero__ctas {
  display:   flex;
  flex-wrap: wrap;
  gap:       var(--sp-3);
}

/* stat mosaic — right column */
.about-hero__mosaic {
  display:               grid;
  grid-template-columns: repeat(2, 1fr);
  gap:                   var(--sp-4);
}

.about-stat-tile {
  background:    rgba(255,255,255,.06);
  border:        1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-2xl);
  padding:       var(--sp-6);
  backdrop-filter: blur(4px);
  transition:    background var(--t-base);
}
.about-stat-tile:hover { background: rgba(255,255,255,.1); }

.about-stat-tile__value {
  font-size:     clamp(2rem, 4vw, 3rem);
  font-weight:   var(--fw-bold);
  color:         var(--clr-white);
  line-height:   1;
  margin-bottom: var(--sp-2);
}

.about-stat-tile__label {
  font-size:  var(--text-sm);
  color:      var(--clr-slate-400);
  max-width:  none;
  line-height: var(--lh-snug);
}

.about-stat-tile__icon {
  font-size:     var(--text-2xl);
  margin-bottom: var(--sp-4);
  display:       block;
}

/* accent tile */
.about-stat-tile--accent {
  background:    rgba(37,99,235,.25);
  border-color:  rgba(37,99,235,.4);
}
.about-stat-tile--accent .about-stat-tile__value { color: #93c5fd; }

/* ── Story / Mission ──────────────────── */
.about-story {
  display:     grid;
  gap:         var(--sp-12);
  align-items: start;
}
@media (min-width: 900px) {
  .about-story { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
}

.about-story__quote {
  font-size:     clamp(var(--text-xl), 2.4vw, var(--text-2xl));
  font-weight:   var(--fw-bold);
  color:         var(--clr-navy);
  line-height:   var(--lh-snug);
  position:      relative;
  padding-left:  var(--sp-6);
}
.about-story__quote::before {
  content:       '';
  position:      absolute;
  left:          0;
  top:           0;
  bottom:        0;
  width:         4px;
  background:    linear-gradient(180deg, var(--clr-blue) 0%, var(--clr-violet) 100%);
  border-radius: var(--radius-full);
}

.about-story__body p {
  font-size:     var(--text-base);
  color:         var(--clr-slate-600);
  line-height:   var(--lh-body);
  margin-bottom: var(--sp-5);
  max-width:     none;
}
.about-story__body p:last-child { margin-bottom: 0; }

.about-story__sig {
  display:     flex;
  align-items: center;
  gap:         var(--sp-4);
  margin-top:  var(--sp-8);
  padding-top: var(--sp-6);
  border-top:  1px solid var(--clr-border);
}

.about-story__sig-avatar {
  width:         56px;
  height:        56px;
  border-radius: var(--radius-full);
  background:    linear-gradient(135deg, var(--clr-blue) 0%, var(--clr-violet) 100%);
  display:       flex;
  align-items:   center;
  justify-content: center;
  font-size:     var(--text-lg);
  font-weight:   var(--fw-bold);
  color:         var(--clr-white);
  flex-shrink:   0;
  overflow:      hidden;
}
.about-story__sig-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.about-story__sig-name {
  font-size:   var(--text-base);
  font-weight: var(--fw-semibold);
  color:       var(--clr-navy);
}
.about-story__sig-title {
  font-size: var(--text-sm);
  color:     var(--clr-muted);
}

/* ── Values ───────────────────────────── */
.values-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-6);
}
@media (min-width: 640px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

.value-card {
  background:    var(--clr-white);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  padding:       var(--sp-8);
}

.value-card__num {
  font-size:               clamp(3rem, 5vw, 4rem);
  font-weight:             var(--fw-bold);
  line-height:             1;
  background:              linear-gradient(135deg, var(--clr-blue) 0%, var(--clr-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip:         text;
  display:                 block;
  margin-bottom:           var(--sp-5);
  opacity:                 .35;
}

.value-card__title {
  font-size:     var(--text-xl);
  font-weight:   var(--fw-bold);
  color:         var(--clr-navy);
  margin-bottom: var(--sp-3);
}

.value-card__desc {
  font-size:   var(--text-base);
  color:       var(--clr-slate-600);
  line-height: var(--lh-body);
  max-width:   none;
}

/* ── Team ─────────────────────────────── */
.team-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-6);
}
@media (min-width: 480px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}

.team-card {
  background:    var(--clr-white);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  padding:       var(--sp-6);
  text-align:    center;
  transition:    box-shadow var(--t-base), transform var(--t-base);
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform:  translateY(-3px);
}

.team-card__avatar {
  width:           88px;
  height:          88px;
  border-radius:   var(--radius-full);
  margin:          0 auto var(--sp-4);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       var(--text-xl);
  font-weight:     var(--fw-bold);
  color:           var(--clr-white);
  overflow:        hidden;
  flex-shrink:     0;
}
.team-card__avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* per-member gradient variants */
.team-card__avatar--1 { background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%); }
.team-card__avatar--2 { background: linear-gradient(135deg, #0f766e 0%, #2563eb 100%); }
.team-card__avatar--3 { background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%); }
.team-card__avatar--4 { background: linear-gradient(135deg, #ea580c 0%, #facc15 100%); }

.team-card__name {
  font-size:     var(--text-base);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-navy);
  margin-bottom: var(--sp-1);
}

.team-card__role {
  font-size:     var(--text-sm);
  color:         var(--clr-blue);
  font-weight:   var(--fw-medium);
  margin-bottom: var(--sp-4);
}

.team-card__bio {
  font-size:   var(--text-sm);
  color:       var(--clr-muted);
  line-height: var(--lh-body);
  max-width:   none;
}

/* ── Timeline (dark bg) ───────────────── */
.timeline-section {
  background:    var(--clr-navy);
  padding-block: clamp(4rem, 7vw, 6rem);
  position:      relative;
  overflow:      hidden;
}
.timeline-section::before {
  content:    '';
  position:   absolute;
  inset:      0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:  28px 28px;
  pointer-events: none;
}

.timeline {
  position:    relative;
  padding-left: var(--sp-12);
  max-width:   680px;
}
/* vertical line */
.timeline::before {
  content:    '';
  position:   absolute;
  left:       18px;
  top:        8px;
  bottom:     8px;
  width:      2px;
  background: linear-gradient(180deg, var(--clr-blue) 0%, var(--clr-violet) 100%);
  opacity:    .6;
}

.timeline-item {
  position:      relative;
  padding-bottom: var(--sp-10);
}
.timeline-item:last-child { padding-bottom: 0; }

/* dot */
.timeline-item::before {
  content:       '';
  position:      absolute;
  left:          calc(var(--sp-12) * -1 + 12px);
  top:           6px;
  width:         14px;
  height:        14px;
  border-radius: var(--radius-full);
  background:    var(--clr-blue);
  border:        3px solid var(--clr-navy);
  box-shadow:    0 0 0 3px rgba(37,99,235,.5);
}
.timeline-item--current::before {
  background: var(--clr-violet);
  box-shadow: 0 0 0 3px rgba(124,58,237,.5);
}

.timeline-item__year {
  font-size:      var(--text-xs);
  font-weight:    var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .1em;
  color:          var(--clr-blue);
  margin-bottom:  var(--sp-1);
}
.timeline-item--current .timeline-item__year { color: #a78bfa; }

.timeline-item__title {
  font-size:     var(--text-lg);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-white);
  margin-bottom: var(--sp-2);
}

.timeline-item__desc {
  font-size:   var(--text-sm);
  color:       var(--clr-slate-400);
  line-height: var(--lh-body);
  max-width:   52ch;
}

/* ── Disciplines strip ────────────────── */
.disciplines-strip {
  display:     flex;
  flex-wrap:   wrap;
  gap:         var(--sp-4);
  align-items: stretch;
}

.discipline-pill {
  display:       flex;
  align-items:   center;
  gap:           var(--sp-3);
  padding:       var(--sp-4) var(--sp-5);
  background:    var(--clr-white);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  font-size:     var(--text-sm);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-navy);
  text-decoration: none;
  transition:    border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.discipline-pill:hover {
  border-color: var(--clr-blue);
  box-shadow:   var(--shadow-sm);
  transform:    translateY(-2px);
}

.discipline-pill__icon {
  width:           36px;
  height:          36px;
  border-radius:   var(--radius-lg);
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-shrink:     0;
}

/* ── About CTA (gradient bg) ──────────── */
.about-cta {
  background:    linear-gradient(135deg, var(--clr-navy) 0%, #1e1b4b 100%);
  border-radius: var(--radius-2xl);
  padding:       clamp(3rem, 6vw, 5rem) var(--sp-8);
  text-align:    center;
  position:      relative;
  overflow:      hidden;
}
.about-cta::before {
  content:    '';
  position:   absolute;
  inset:      0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,.25) 0%, transparent 60%);
  pointer-events: none;
}

.about-cta__title {
  font-size:     var(--fs-h2);
  font-weight:   var(--fw-bold);
  color:         var(--clr-white);
  line-height:   var(--lh-tight);
  margin-bottom: var(--sp-4);
  position:      relative;
}

.about-cta__sub {
  font-size:     var(--text-lg);
  color:         var(--clr-slate-300);
  margin-bottom: var(--sp-8);
  max-width:     48ch;
  margin-inline: auto;
  line-height:   var(--lh-body);
  position:      relative;
}

.about-cta__actions {
  display:         flex;
  flex-wrap:       wrap;
  gap:             var(--sp-4);
  justify-content: center;
  position:        relative;
}

/* ════════════════════════════════════════════
   §43  CONTACT PAGE
════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────── */
.contact-hero {
  background:    var(--clr-navy);
  padding:       clamp(5rem, 10vw, 7rem) 0 clamp(3.5rem, 6vw, 5rem);
  position:      relative;
  overflow:      hidden;
}
.contact-hero::before {
  content:    '';
  position:   absolute;
  inset:      0;
  background: radial-gradient(ellipse at 30% 50%, rgba(124,58,237,.18) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 20%, rgba(37,99,235,.14) 0%, transparent 45%);
  pointer-events: none;
}
.contact-hero > .container { position: relative; }

.contact-hero__eyebrow {
  font-size:      var(--text-xs);
  font-weight:    var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .12em;
  color:          var(--clr-blue);
  margin-bottom:  var(--sp-4);
}

.contact-hero__title {
  font-size:     var(--fs-h1);
  font-weight:   var(--fw-bold);
  color:         var(--clr-white);
  line-height:   var(--lh-tight);
  max-width:     16ch;
  margin-bottom: var(--sp-5);
}

.contact-hero__sub {
  font-size:     var(--text-lg);
  color:         var(--clr-slate-300);
  line-height:   var(--lh-body);
  max-width:     52ch;
  margin-bottom: var(--sp-8);
}

/* Path pills (scroll-to shortcut) */
.contact-hero__paths {
  display:   flex;
  flex-wrap: wrap;
  gap:       var(--sp-3);
}

.contact-hero__path {
  display:         inline-flex;
  align-items:     center;
  gap:             var(--sp-2);
  padding:         var(--sp-3) var(--sp-5);
  border:          1px solid rgba(255,255,255,.15);
  border-radius:   var(--radius-full);
  font-size:       var(--text-sm);
  font-weight:     var(--fw-semibold);
  color:           var(--clr-slate-200);
  text-decoration: none;
  background:      rgba(255,255,255,.05);
  transition:      background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.contact-hero__path:hover {
  background:   rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.3);
  color:        var(--clr-white);
}
.contact-hero__path svg { flex-shrink: 0; }

/* ── Main split layout ────────────────────── */
.contact-split {
  display: grid;
  gap:     var(--sp-10);
}
@media (min-width: 900px) {
  .contact-split { grid-template-columns: 1fr 400px; gap: var(--sp-16); align-items: start; }
}

/* ── Contact form panel ───────────────────── */
.contact-form-panel {
  background:    var(--clr-white);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  padding:       var(--sp-8);
}
.contact-form-panel__heading {
  font-size:     var(--text-xl);
  font-weight:   var(--fw-bold);
  color:         var(--clr-navy);
  margin-bottom: var(--sp-2);
}
.contact-form-panel__sub {
  font-size:     var(--text-sm);
  color:         var(--clr-muted);
  margin-bottom: var(--sp-6);
}

.contact-form__row {
  display: grid;
  gap:     var(--sp-4);
}
@media (min-width: 640px) {
  .contact-form__row--2 { grid-template-columns: 1fr 1fr; }
}

.contact-form__group {
  display:       flex;
  flex-direction: column;
  gap:           var(--sp-2);
  margin-bottom: var(--sp-4);
}
.contact-form__group:last-child { margin-bottom: 0; }

.contact-form__label {
  font-size:   var(--text-sm);
  font-weight: var(--fw-semibold);
  color:       var(--clr-slate-700);
}
.contact-form__label span { color: #e53e3e; margin-left: 2px; }

.contact-form__input,
.contact-form__textarea,
.contact-form__select {
  width:         100%;
  padding:       var(--sp-3) var(--sp-4);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-family:   var(--font-sans);
  font-size:     var(--text-base);
  color:         var(--clr-text);
  background:    var(--clr-white);
  transition:    border-color var(--t-fast), box-shadow var(--t-fast);
  outline:       none;
  appearance:    none;
  -webkit-appearance: none;
}
.contact-form__input::placeholder,
.contact-form__textarea::placeholder { color: var(--clr-slate-400); }

.contact-form__input:focus,
.contact-form__textarea:focus,
.contact-form__select:focus {
  border-color: var(--clr-blue);
  box-shadow:   0 0 0 3px rgba(37,99,235,.12);
}

.contact-form__textarea {
  resize:     vertical;
  min-height: 140px;
  line-height: var(--lh-body);
}

.contact-form__select {
  background-image:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:   no-repeat;
  background-position: right 14px center;
  padding-right:       var(--sp-10);
}

.contact-form__footer {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  flex-wrap:       wrap;
  gap:             var(--sp-4);
  margin-top:      var(--sp-6);
}

.contact-form__note {
  font-size:  var(--text-xs);
  color:      var(--clr-muted);
  max-width:  32ch;
  line-height: var(--lh-snug);
}

.contact-form__status {
  margin-top:    var(--sp-4);
  padding:       var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  font-size:     var(--text-sm);
  font-weight:   var(--fw-medium);
  display:       none;
}
.contact-form__status:not(:empty) { display: block; }
.contact-form__status.success { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.contact-form__status.error   { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

/* ── Contact sidebar ──────────────────────── */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.contact-response-badge {
  display:         inline-flex;
  align-items:     center;
  gap:             var(--sp-2);
  padding:         var(--sp-2) var(--sp-4);
  background:      #ecfdf5;
  border:          1px solid #6ee7b7;
  border-radius:   var(--radius-full);
  font-size:       var(--text-xs);
  font-weight:     var(--fw-semibold);
  color:           #065f46;
  width:           fit-content;
}
.contact-response-badge__dot {
  width:         8px;
  height:        8px;
  border-radius: var(--radius-full);
  background:    #059669;
  animation:     pulse 2s ease-in-out infinite;
}

/* Channels block */
.contact-channels {
  background:    var(--clr-white);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  padding:       var(--sp-6);
}
.contact-channels__title {
  font-size:     var(--text-sm);
  font-weight:   var(--fw-bold);
  color:         var(--clr-navy);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--sp-4);
}

.contact-channel {
  display:         flex;
  align-items:     flex-start;
  gap:             var(--sp-4);
  padding:         var(--sp-4) 0;
  border-bottom:   1px solid var(--clr-border);
  text-decoration: none;
  transition:      background var(--t-fast);
}
.contact-channel:last-child { border-bottom: none; padding-bottom: 0; }
.contact-channel:first-of-type { padding-top: 0; }

.contact-channel__icon {
  width:           40px;
  height:          40px;
  border-radius:   var(--radius-lg);
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-shrink:     0;
}

.contact-channel__body { flex: 1; min-width: 0; }

.contact-channel__label {
  font-size:   var(--text-xs);
  font-weight: var(--fw-semibold);
  color:       var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--sp-1);
}

.contact-channel__value {
  font-size:   var(--text-sm);
  font-weight: var(--fw-semibold);
  color:       var(--clr-navy);
  word-break:  break-all;
}
.contact-channel__note {
  font-size:   var(--text-xs);
  color:       var(--clr-muted);
  margin-top:  2px;
}

/* Office card */
.office-card {
  background:    var(--clr-white);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  overflow:      hidden;
}
.office-card__map {
  width:      100%;
  height:     180px;
  background: linear-gradient(135deg, var(--clr-navy) 0%, #1e3a5f 100%);
  display:    flex;
  align-items: center;
  justify-content: center;
  position:   relative;
  overflow:   hidden;
}
.office-card__map::before {
  content:    '';
  position:   absolute;
  inset:      0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 20px 20px;
}
.office-card__map-pin {
  position:      relative;
  z-index:       1;
  width:         48px;
  height:        48px;
  background:    var(--clr-blue);
  border-radius: var(--radius-full);
  display:       flex;
  align-items:   center;
  justify-content: center;
  box-shadow:    0 0 0 12px rgba(37,99,235,.2);
}
.office-card__map-label {
  position:       absolute;
  bottom:         var(--sp-3);
  left:           50%;
  transform:      translateX(-50%);
  background:     rgba(0,0,0,.6);
  color:          var(--clr-white);
  font-size:      var(--text-xs);
  font-weight:    var(--fw-semibold);
  padding:        var(--sp-1) var(--sp-3);
  border-radius:  var(--radius-full);
  white-space:    nowrap;
}

.office-card__body { padding: var(--sp-5) var(--sp-6); }
.office-card__name {
  font-size:     var(--text-base);
  font-weight:   var(--fw-bold);
  color:         var(--clr-navy);
  margin-bottom: var(--sp-2);
}
.office-card__address {
  font-size:   var(--text-sm);
  color:       var(--clr-slate-600);
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-3);
}
.office-card__hours {
  display:     flex;
  align-items: center;
  gap:         var(--sp-2);
  font-size:   var(--text-xs);
  font-weight: var(--fw-semibold);
  color:       var(--clr-muted);
}
.office-card__hours-dot {
  width:         8px;
  height:        8px;
  border-radius: var(--radius-full);
  background:    #059669;
  flex-shrink:   0;
}

/* ── Trust strip ──────────────────────────── */
.contact-trust-grid {
  display: grid;
  gap:     var(--sp-5);
}
@media (min-width: 600px)  { .contact-trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .contact-trust-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-trust-card {
  display:       flex;
  align-items:   flex-start;
  gap:           var(--sp-4);
  padding:       var(--sp-6);
  background:    var(--clr-white);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-xl);
}
.contact-trust-card__icon {
  width:           44px;
  height:          44px;
  border-radius:   var(--radius-lg);
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-shrink:     0;
}
.contact-trust-card__title {
  font-size:     var(--text-base);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-navy);
  margin-bottom: var(--sp-1);
}
.contact-trust-card__desc {
  font-size:   var(--text-sm);
  color:       var(--clr-muted);
  line-height: var(--lh-snug);
}

/* ── Alternative contact CTA ──────────────── */
.contact-alt-strip {
  display:       flex;
  align-items:   center;
  justify-content: space-between;
  flex-wrap:     wrap;
  gap:           var(--sp-5);
  padding:       var(--sp-6) var(--sp-8);
  background:    linear-gradient(135deg, var(--clr-navy) 0%, #1e3a5f 100%);
  border-radius: var(--radius-2xl);
  position:      relative;
  overflow:      hidden;
}
.contact-alt-strip::before {
  content:    '';
  position:   absolute;
  inset:      0;
  background: radial-gradient(ellipse at 100% 50%, rgba(124,58,237,.2) 0%, transparent 55%);
  pointer-events: none;
}
.contact-alt-strip__text { position: relative; }
.contact-alt-strip__title {
  font-size:   var(--text-lg);
  font-weight: var(--fw-bold);
  color:       var(--clr-white);
}
.contact-alt-strip__sub {
  font-size:  var(--text-sm);
  color:      var(--clr-slate-400);
  margin-top: var(--sp-1);
}
.contact-alt-strip__actions {
  display:  flex;
  flex-wrap: wrap;
  gap:      var(--sp-3);
  position: relative;
}

/* ═══════════════════════════════════════════════════════════
   §50. CSS ART — INTERIOR PAGE SHARED COMPONENTS
   All enhancements target existing shared classes so they
   cascade automatically to every page that uses them.
   Zero HTML changes required.
═══════════════════════════════════════════════════════════ */

/* ── §50a · Service Hero ─────────────────────────────────── */
/* Applies to all 5 service pages + NovaPOS + NovaLearn      */
.service-hero {
  position:         relative;                                /* enables ::after ring */
  background-color: var(--clr-bg-alt);
  background-image: radial-gradient(circle 1px at 0 0, rgba(100,116,139,.13) 0%, transparent 0%);
  background-size:  24px 24px;
}
.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 92% 10%, rgba(37,99,235,.12)  0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at  8% 90%, rgba(124,58,237,.10) 0%, transparent 60%);
  pointer-events: none;
}
.service-hero::after {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  border:     1px solid rgba(37,99,235,.10);
  box-shadow: 0 0 0 60px  rgba(37,99,235,.03),
              0 0 0 120px rgba(124,58,237,.02);
  top: -180px; right: -140px;
  pointer-events: none;
}
.service-hero > .container { position: relative; z-index: 1; }

/* Image placeholder: blue/violet gradient instead of flat grey */
.service-hero__img {
  background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
}

/* ── §50b · Page Hero ────────────────────────────────────── */
/* Applies to services hub, products hub, work, pricing page */
.page-hero {
  position:         relative;
  overflow:         hidden;
  background-color: var(--clr-bg-alt);
  background-image: radial-gradient(circle 1px at 0 0, rgba(100,116,139,.12) 0%, transparent 0%);
  background-size:  28px 28px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 96%  5%, rgba(37,99,235,.11)  0%, transparent 60%),
    radial-gradient(ellipse 40% 55% at  4% 95%, rgba(124,58,237,.09) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }

/* ── §50c · Case Study Strip ─────────────────────────────── */
/* Appears in every service page — dark navy bar with metric  */
.case-study-strip {
  position: relative;
  overflow: hidden;
}
.case-study-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at   0% 50%, rgba(37,99,235,.25)  0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 20%, rgba(124,58,237,.20) 0%, transparent 55%);
  pointer-events: none;
}
.case-study-strip__body,
.case-study-strip__action { position: relative; z-index: 1; }

/* Metric number: gradient blue → violet (instead of flat blue) */
.case-study-strip__metric {
  color:                   var(--clr-blue);                  /* fallback */
  background:              linear-gradient(135deg, var(--clr-blue) 0%, var(--clr-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip:         text;
}

/* ── §50d · Service Final-CTA Block ─────────────────────── */
/* Bottom CTA on every service page — plain bordered box → glow */
.service-cta-block {
  background:   linear-gradient(135deg, rgba(37,99,235,.07) 0%, rgba(124,58,237,.05) 100%);
  border-color: rgba(37, 99, 235, .42);
  box-shadow:
    0 0 0  1px rgba(37,99,235,.13),
    0 0   44px rgba(37,99,235,.10),
    var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.service-cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 120%, rgba(124,58,237,.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90%  10%, rgba(37,99,235,.07)  0%, transparent 55%);
  pointer-events: none;
}
.service-cta-block::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--clr-blue)   30%,
    var(--clr-violet) 70%,
    transparent 100%
  );
  pointer-events: none;
}
.service-cta-block > * { position: relative; z-index: 1; }

/* ── §50e · NovaLearn Waitlist Block ─────────────────────── */
.waitlist-block {
  background:   linear-gradient(135deg, rgba(37,99,235,.07) 0%, rgba(124,58,237,.05) 100%);
  border-color: rgba(37, 99, 235, .42);
  box-shadow:
    0 0 0  1px rgba(37,99,235,.13),
    0 0   44px rgba(37,99,235,.10),
    var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.waitlist-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 120%, rgba(124,58,237,.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90%  10%, rgba(37,99,235,.07)  0%, transparent 55%);
  pointer-events: none;
}
.waitlist-block::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--clr-violet) 30%,
    var(--clr-blue)   70%,
    transparent 100%
  );
  pointer-events: none;
}
.waitlist-block > * { position: relative; z-index: 1; }

/* ── §50f · Placeholder Image Gradients ─────────────────── */
/* Products hub card screen thumbnail */
.product-hub-card__screen {
  background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
}

/* ── §50g · :has() Section Art — interior page sections ──── */
/* Targets section types by their grid child without requiring
   new classes. Specificity 0,2,0 — safely overrides generic
   .section and .section--alt rules (both 0,1,0). */

/* Pain points — subtle red-warm tint echoes the card red tops */
.section:has(.pain-grid) {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle 1px at 0 0, rgba(100,116,139,.12) 0%, transparent 0%);
  background-size: 24px 24px;
}
.section:has(.pain-grid) > .container { position: relative; z-index: 1; }
.section:has(.pain-grid)::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 98% 50%, rgba(220,38,38,.05)  0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at  2% 50%, rgba(124,58,237,.06) 0%, transparent 60%);
  pointer-events: none;
}

/* What's included — gentle diagonal hatching + bloom */
.section:has(.included-grid) {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--clr-white) 0%, #f0f5ff 100%);
}
.section:has(.included-grid) > .container { position: relative; z-index: 1; }
.section:has(.included-grid)::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 105%, rgba(37,99,235,.07) 0%, transparent 55%),
    radial-gradient(ellipse 35% 40% at  2%   0%, rgba(124,58,237,.05) 0%, transparent 55%);
  pointer-events: none;
}
.section:has(.included-grid)::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 56px,
    rgba(37,99,235,.025) 56px,
    rgba(37,99,235,.025) 57px
  );
  pointer-events: none;
}

/* Plans / pricing — tech crosshatch + bottom violet bloom */
.section:has(.plans-grid) {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(37,99,235,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.04) 1px, transparent 1px);
  background-size: 52px 52px;
}
.section:has(.plans-grid) > .container { position: relative; z-index: 1; }
.section:has(.plans-grid)::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 118%, rgba(124,58,237,.16) 0%, transparent 55%),
    radial-gradient(ellipse 40% 45% at  5%  10%, rgba(37,99,235,.08)  0%, transparent 55%);
  pointer-events: none;
}

/* FAQ accordion sections — subtle dot grid + side orbs */
.section:has(.faq-list) {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle 1px at 0 0, rgba(100,116,139,.10) 0%, transparent 0%);
  background-size: 28px 28px;
}
.section:has(.faq-list) > .container { position: relative; z-index: 1; }
.section:has(.faq-list)::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 50% at 96% 50%, rgba(37,99,235,.08) 0%, transparent 60%),
    radial-gradient(ellipse 35% 40% at  4% 50%, rgba(124,58,237,.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Product feature grids (NovaPOS / NovaLearn) — side colour bleed */
.section:has(.feature-grid) {
  position: relative;
  overflow: hidden;
}
.section:has(.feature-grid) > .container { position: relative; z-index: 1; }
.section:has(.feature-grid)::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 96% 50%, rgba(37,99,235,.09)  0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at  4% 50%, rgba(124,58,237,.07) 0%, transparent 60%);
  pointer-events: none;
}

/* Services hub grid section — dot grid + orbs (matches homepage services) */
.section:has(.services-hub-grid) {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle 1.5px at 0 0, rgba(100,116,139,.15) 0%, transparent 0%);
  background-size: 28px 28px;
}
.section:has(.services-hub-grid) > .container { position: relative; z-index: 1; }
.section:has(.services-hub-grid)::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 75% at 96%  8%, rgba(37,99,235,.12)  0%, transparent 60%),
    radial-gradient(ellipse 55% 60% at  4% 92%, rgba(124,58,237,.10) 0%, transparent 60%);
  pointer-events: none;
}
.section:has(.services-hub-grid)::after {
  content: '';
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  border:     1.5px solid rgba(37,99,235,.10);
  box-shadow: 0 0 0 55px rgba(37,99,235,.03), 0 0 0 110px rgba(124,58,237,.02);
  top: -200px; right: -160px;
  pointer-events: none;
}

/* pulse keyframe (used by response badge dot) */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* ══════════════════════════════════════════════════════════
   §51 · WEBSITE AUDIT TOOL PAGE
   ══════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────── */
.audit-hero {
  background: var(--clr-navy);
  padding:    var(--section-py) 0;
  position:   relative;
  overflow:   hidden;
}
.audit-hero::before {
  content:    '';
  position:   absolute;
  inset:      0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%,  rgba(124,58,237,.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at   0% 100%, rgba(37,99,235,.12)  0%, transparent 60%);
  pointer-events: none;
}
.audit-hero > .container { position: relative; z-index: 1; }

.audit-hero__inner {
  display:    grid;
  grid-template-columns: 1fr;
  gap:        var(--sp-10);
  align-items: start;
}
@media (min-width: 900px) {
  .audit-hero__inner { grid-template-columns: 1fr 1fr; }
}

.audit-hero__eyebrow {
  font-size:      var(--text-sm);
  font-weight:    var(--fw-semibold);
  color:          rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom:  var(--sp-4);
}
.audit-hero__title {
  font-size:     var(--fs-h1);
  font-weight:   var(--fw-bold);
  color:         var(--clr-white);
  line-height:   var(--lh-tight);
  margin-bottom: var(--sp-5);
}
.audit-hero__sub {
  font-size:     var(--text-lg);
  color:         rgba(255,255,255,.7);
  line-height:   var(--lh-body);
  margin-bottom: var(--sp-8);
  max-width: none;
}
.audit-hero__checks {
  list-style: none;
  display:    flex;
  flex-direction: column;
  gap:        var(--sp-3);
}
.audit-hero__check {
  display:     flex;
  align-items: center;
  gap:         var(--sp-3);
  font-size:   var(--text-sm);
  color:       rgba(255,255,255,.8);
}
.audit-hero__check-dot {
  width:         8px;
  height:        8px;
  border-radius: var(--radius-full);
  background:    #34d399;
  flex-shrink:   0;
}

/* ── Form card ────────────────────────────────────────────── */
.audit-form-card {
  background:    var(--clr-white);
  border-radius: var(--radius-2xl);
  padding:       var(--sp-8);
  box-shadow:    var(--shadow-lg);
}
.audit-form-card__heading {
  font-size:     var(--text-xl);
  font-weight:   var(--fw-bold);
  color:         var(--clr-heading);
  margin-bottom: var(--sp-2);
}
.audit-form-card__sub {
  font-size:     var(--text-sm);
  color:         var(--clr-muted);
  line-height:   var(--lh-body);
  margin-bottom: var(--sp-6);
  max-width: none;
}

/* URL field with globe icon prefix */
.audit-url-wrap {
  position:      relative;
  margin-bottom: var(--sp-4);
}
.audit-url-wrap__icon {
  position:        absolute;
  left:            var(--sp-4);
  top:             50%;
  transform:       translateY(-50%);
  color:           var(--clr-muted);
  pointer-events:  none;
  display:         flex;
}
.audit-url-input {
  width:           100%;
  padding:         var(--sp-4) var(--sp-4) var(--sp-4) calc(var(--sp-4) + 20px + var(--sp-3));
  border:          1.5px solid var(--clr-border);
  border-radius:   var(--radius-lg);
  font-size:       var(--text-base);
  font-family:     var(--font-sans);
  color:           var(--clr-text);
  background:      var(--clr-white);
  transition:      border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.audit-url-input::placeholder { color: var(--clr-muted); }
.audit-url-input:focus {
  outline:    none;
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

/* Trust row under submit button */
.audit-trust-row {
  display:     flex;
  align-items: center;
  gap:         var(--sp-2);
  margin-top:  var(--sp-3);
  font-size:   var(--text-xs);
  color:       var(--clr-muted);
}
.audit-trust-dot {
  width:         8px;
  height:        8px;
  border-radius: var(--radius-full);
  background:    #10b981;
  flex-shrink:   0;
  animation:     pulse 2s ease-in-out infinite;
}

/* Success state replacing the form */
.audit-success {
  text-align:  center;
  padding:     var(--sp-4) 0;
}
.audit-success__icon {
  width:           56px;
  height:          56px;
  background:      rgba(5,150,105,.1);
  border-radius:   var(--radius-full);
  display:         flex;
  align-items:     center;
  justify-content: center;
  margin:          0 auto var(--sp-4);
  color:           #059669;
}
.audit-success__title {
  font-size:     var(--text-xl);
  font-weight:   var(--fw-bold);
  color:         var(--clr-heading);
  margin-bottom: var(--sp-2);
}
.audit-success__sub {
  font-size:   var(--text-sm);
  color:       var(--clr-muted);
  line-height: var(--lh-body);
  max-width: none;
}

/* ── What we check grid ───────────────────────────────────── */
.audit-check-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-5);
}
@media (min-width: 640px)  { .audit-check-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .audit-check-grid { grid-template-columns: repeat(3, 1fr); } }

.audit-check-card {
  display:     flex;
  align-items: flex-start;
  gap:         var(--sp-4);
  background:  var(--clr-white);
  border:      1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding:     var(--sp-5);
}
.audit-check-card__icon {
  flex-shrink:     0;
  width:           40px;
  height:          40px;
  border-radius:   var(--radius-lg);
  display:         flex;
  align-items:     center;
  justify-content: center;
}
.audit-check-card__title {
  font-size:     var(--text-sm);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-heading);
  margin-bottom: var(--sp-1);
}
.audit-check-card__desc {
  font-size:   var(--text-xs);
  color:       var(--clr-muted);
  line-height: var(--lh-body);
  max-width: none;
}

/* ── How it works steps ───────────────────────────────────── */
.audit-steps {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-8);
  max-width:             820px;
  margin:                0 auto;
}
@media (min-width: 640px) {
  .audit-steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
}
.audit-step { text-align: center; }
.audit-step__num {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  width:           48px;
  height:          48px;
  background:      linear-gradient(135deg, var(--clr-blue), var(--clr-violet));
  border-radius:   var(--radius-full);
  color:           var(--clr-white);
  font-size:       var(--text-lg);
  font-weight:     var(--fw-bold);
  margin-bottom:   var(--sp-4);
}
.audit-step__title {
  font-size:     var(--text-base);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-heading);
  margin-bottom: var(--sp-2);
}
.audit-step__desc {
  font-size:   var(--text-sm);
  color:       var(--clr-muted);
  line-height: var(--lh-body);
  max-width: none;
}

/* ── Sample findings ──────────────────────────────────────── */
.audit-sample-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   var(--sp-5);
}
@media (min-width: 640px) {
  .audit-sample-grid { grid-template-columns: repeat(3, 1fr); }
}
.audit-sample-card {
  background:    var(--clr-white);
  border:        1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding:       var(--sp-6);
}
.audit-sample-badge {
  display:       inline-flex;
  align-items:   center;
  gap:           var(--sp-2);
  font-size:     var(--text-xs);
  font-weight:   var(--fw-semibold);
  padding:       .2em .75em;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.audit-sample-badge--high   { background: rgba(220,38,38,.1);  color: #dc2626; }
.audit-sample-badge--medium { background: rgba(245,158,11,.1); color: #d97706; }
.audit-sample-badge--low    { background: rgba(5,150,105,.1);  color: #059669; }
.audit-sample-card__title {
  font-size:     var(--text-sm);
  font-weight:   var(--fw-semibold);
  color:         var(--clr-heading);
  margin-bottom: var(--sp-3);
}
.audit-sample-card__finding {
  font-size:    var(--text-sm);
  color:        var(--clr-slate-600);
  line-height:  var(--lh-body);
  font-style:   italic;
  max-width: none;
}
.audit-sample-card__finding::before { content: '\201C'; }
.audit-sample-card__finding::after  { content: '\201D'; }

/* ── Audit status / form error ────────────────────────────── */
.audit-form__status {
  margin-top:  var(--sp-3);
  font-size:   var(--text-sm);
  color:       #dc2626;
  min-height:  1.4em;
}
