/* ==========================================================================
   STRETCH CREATIVE THEME — Design System
   Extracted from bespoke-content-experience.html prototype
   ========================================================================== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --color-purple: #8560A8;
  --color-purple-hover: #74509a;
  --color-blue: #5674B9;
  --color-mid-blue: #448CCB;
  --color-cyan: #00BFF3;
  --color-dark: #252C3A;
  --color-dark-alt: #282829;
  --color-body: #323A51;
  --color-light-bg: #f9f9fb;
  --color-white: #ffffff;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Assistant', sans-serif;
  --font-nav: 'Montserrat', sans-serif;
  --font-size-base: 18px;
  --line-height-base: 1.6;

  --container-width: 1200px;
  --container-padding: 40px;
  --section-padding: 100px;
  --section-padding-mobile: 72px;

  --bp-tablet: 960px;
  --bp-mobile: 768px;
  --bp-small: 480px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-body);
  background: var(--color-white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== LAYOUT ===== */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--container-padding); }
section { width: 100%; position: relative; }

/* ===== SKIP TO CONTENT (A11Y) ===== */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--color-purple);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
}
.skip-to-content:focus {
  left: 0;
}

/* ===== TYPOGRAPHY ===== */
.overline {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  display: block;
}
h1, h2, h3 { font-family: var(--font-heading); }
h2 { font-size: 38px; font-weight: 500; color: var(--color-body); line-height: 1.15; margin-bottom: 32px; }
h3 { font-size: 22px; font-weight: 600; color: var(--color-purple); line-height: 1.4; margin-bottom: 10px; }
p { margin-bottom: 24px; }
p:last-child { margin-bottom: 0; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--color-purple);
  color: #fff;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  padding: 16px 36px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-primary:hover {
  background: var(--color-purple-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(133, 96, 168, 0.35);
}
.btn-primary:hover::after { transform: translateX(100%); }

.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--color-purple);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  padding: 16px 36px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.3);
}

/* Focus styles for accessibility */
.btn-primary:focus-visible,
.btn-white:focus-visible {
  outline: 3px solid var(--color-cyan);
  outline-offset: 2px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal-delay-1, .reveal-delay-2, .reveal-delay-3,
  .reveal-delay-4, .reveal-delay-5, .reveal-delay-6 { transition-delay: 0s; }
  @keyframes meshFloat { 0%, 100% { transform: none; } }
  @keyframes shapeFloat { 0%, 100% { transform: none; } }
  @keyframes gradientSlide { 0%, 100% { background-position: 0% 50%; } }
  @keyframes fadeUp { from, to { opacity: 1; transform: none; } }
}

/* ===== NAV ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s ease;
}
.site-nav.scrolled {
  background: rgba(37, 44, 58, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
/* Solid nav on light-topped pages (AUD-009): 404 gets it automatically via the
   body class WordPress adds; other light pages can opt in with .site-nav--solid. */
.error404 .site-nav,
.site-nav--solid {
  background: rgba(37, 44, 58, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.site-nav .container { display: flex; justify-content: space-between; align-items: center; }
.site-nav .logo { display: block; line-height: 0; }
.site-nav .logo img { height: 40px; width: auto; }
/* Toggle sits above the open mobile panel (z-index 200) so the X stays tappable (AUD-005) */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; position: relative; z-index: 300; }
.nav-toggle:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 2px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s; }
.nav-links { display: flex; list-style: none; gap: 32px; align-items: center; }
.nav-links a {
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.8; }
.nav-links a:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 2px; }
.nav-cta { font-size: 15px !important; }
.nav-links .nav-cta { order: 999; margin-left: auto; }
/* The Contact menu item renders as the primary CTA button. WordPress puts the
   menu class on the <li>, so the button skin targets the inner <a>. */
.nav-links .nav-cta > a {
  background: var(--color-purple);
  color: #fff !important;
  padding: 11px 26px;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-links .nav-cta > a:hover {
  background: var(--color-purple-hover);
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(133, 96, 168, 0.35);
}

/* Dropdown menus */
.nav-links li { position: relative; }
/* Hover bridge: the panel sits translateY(8px) below the trigger; padding-bottom
   on the parent li (offset by an equal negative margin so layout is unaffected)
   keeps that gap inside the li's hoverable box so :hover doesn't drop moving
   the mouse from link to panel. */
.nav-links li.menu-item-has-children { padding-bottom: 14px; margin-bottom: -14px; }
.nav-links li.menu-item-has-children > a::after {
  content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.3s ease;
}
.nav-links li.menu-item-has-children:hover > a::after,
.nav-links li.menu-item-has-children:focus-within > a::after { transform: rotate(225deg) translateY(-1px); }
.nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: rgba(26, 31, 46, 0.98);
  list-style: none;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 200;
}
.nav-links .sub-menu::before {
  content: ''; position: absolute; top: 0; left: 14px; right: 14px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, #8560A8, #5674B9, #448CCB, #00BFF3);
}
.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-links .sub-menu li { padding: 0; }
.nav-links .sub-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: 9px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.75);
  transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
  white-space: nowrap;
}
.nav-links .sub-menu a:hover,
.nav-links .sub-menu a:focus-visible {
  color: #fff;
  background: rgba(133, 96, 168, 0.18);
  padding-left: 22px;
  opacity: 1;
}

/* Mobile menu */
.nav-links.open {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* desktop row uses center — left-align the panel */
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: var(--color-dark);
  padding: 80px 28px 28px;
  gap: 20px;
  z-index: 200;
  box-shadow: -4px 0 30px rgba(0,0,0,0.3);
  overflow-y: auto;
}
.nav-links.open > li { width: 100%; text-align: left; }
.nav-links.open a { display: inline-block; }
.nav-links.open .nav-cta { order: 999; margin: 12px 0 0; }
.nav-links.open .nav-cta > a { display: inline-block; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Dimmed backdrop behind the open mobile panel (AUD-005). Sits below .site-nav
   (z-index 100) so the bar, panel and toggle stay bright; taps on it are caught
   by the outside-tap listener in theme.js. */
body.nav-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(37, 44, 58, 0.55);
  z-index: 90;
}
/* While the panel is open, drop the nav's backdrop-filter: a filtered ancestor
   becomes the containing block for position:fixed descendants (Chrome/Safari),
   which would clip the fixed 280px panel to the nav bar's height. */
body.nav-open .site-nav {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Inside the open mobile panel, sub-menus render inline and always visible so
   child pages are reachable by touch (AUD-006 interim). The li:hover/:focus-within
   selectors are repeated here at higher specificity so the desktop dropdown
   positioning above never re-applies transform/absolute inside the panel. */
.nav-links.open .sub-menu,
.nav-links.open li:hover > .sub-menu,
.nav-links.open li:focus-within > .sub-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  min-width: 0;
  padding: 10px 0 0 14px;
}
.nav-links.open .sub-menu::before { display: none; } /* desktop dropdown hairline — not in the panel */
.nav-links.open .sub-menu a { padding: 8px 0; white-space: normal; }
.nav-links.open .sub-menu a:hover { padding-left: 4px; background: transparent; }

/* ===== SECTION BACKGROUNDS ===== */
.section-white { background: var(--color-white); padding: var(--section-padding) 0; }
.section-white .overline { color: var(--color-purple); }
.section-light { background: var(--color-light-bg); padding: var(--section-padding) 0; }
.section-light .overline { color: var(--color-purple); }
.section-dark {
  background: var(--color-dark-alt);
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(133, 96, 168, 0.08), transparent 70%);
  pointer-events: none;
}
.section-dark::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 191, 243, 0.06), transparent 70%);
  pointer-events: none;
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark .overline {
  color: rgba(255,255,255,0.62); /* AUD-028: was 0.45 (~4.2:1 on #282829 at 13px) */
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
}
.section-dark h2 { color: #fff; }
.section-purple {
  background: var(--color-purple);
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}
.section-compact { padding: 60px 0; }
.section-no-padding { padding: 0; }

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(133, 96, 168, 0.15) 20%, rgba(0, 191, 243, 0.15) 80%, transparent);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--color-dark);
  overflow: hidden;
  padding: 200px 0 140px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(86, 116, 185, 0.4), var(--color-cyan) 80%);
  z-index: 1;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.12;
  background:
    radial-gradient(ellipse 600px 600px at 20% 50%, var(--color-purple), transparent),
    radial-gradient(ellipse 500px 500px at 70% 30%, var(--color-cyan), transparent),
    radial-gradient(ellipse 400px 400px at 80% 80%, var(--color-blue), transparent);
  animation: meshFloat 12s ease-in-out infinite;
}
@keyframes meshFloat {
  0%, 100% { transform: scale(1) translate(0, 0); }
  33% { transform: scale(1.05) translate(20px, -15px); }
  66% { transform: scale(0.97) translate(-15px, 10px); }
}

.hero-shapes { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.shape { position: absolute; opacity: 0.12; animation: shapeFloat 20s ease-in-out infinite; }
.shape-1 { width: 300px; height: 300px; border: 2px solid #fff; top: 10%; right: 5%; transform: rotate(15deg); animation-duration: 18s; }
.shape-2 { width: 150px; height: 150px; background: rgba(0, 191, 243, 0.2); top: 60%; right: 15%; transform: rotate(45deg); animation-duration: 22s; animation-delay: -4s; }
.shape-3 { width: 200px; height: 200px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; top: 20%; right: 20%; animation-duration: 25s; animation-delay: -8s; }
.shape-4 { width: 80px; height: 80px; background: rgba(133, 96, 168, 0.25); border-radius: 50%; top: 70%; right: 35%; animation-duration: 15s; animation-delay: -2s; }
.shape-5 { width: 120px; height: 120px; border: 1.5px solid rgba(255,255,255,0.15); top: 40%; right: 8%; transform: rotate(30deg); animation-duration: 20s; animation-delay: -6s; }
.shape-6 { width: 60px; height: 60px; background: rgba(0, 191, 243, 0.15); border-radius: 50%; top: 15%; right: 40%; animation-duration: 16s; animation-delay: -10s; }
@keyframes shapeFloat {
  0%, 100% { transform: rotate(var(--r, 15deg)) translate(0, 0); }
  25% { transform: rotate(var(--r, 15deg)) translate(15px, -20px); }
  50% { transform: rotate(var(--r, 15deg)) translate(-10px, 15px); }
  75% { transform: rotate(var(--r, 15deg)) translate(20px, 10px); }
}

.hero .container { position: relative; z-index: 2; }
.hero .overline {
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
}
.hero h1 {
  font-size: 80px;
  font-weight: 400;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 28px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #fff 40%, var(--color-cyan) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .subtitle {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
  margin-bottom: 16px;
}
.hero .supporting {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  margin-bottom: 44px;
}

.hero-accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--color-purple) 0%, var(--color-blue) 25%, var(--color-mid-blue) 50%, var(--color-cyan) 75%, var(--color-purple) 100%);
  background-size: 200% 100%;
  animation: gradientSlide 4s ease infinite;
}
@keyframes gradientSlide {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .overline { animation: fadeUp 0.7s ease 0.2s both; }
.hero h1 { animation: fadeUp 0.8s ease 0.35s both; }
.hero .subtitle { animation: fadeUp 0.8s ease 0.5s both; }
.hero .supporting { animation: fadeUp 0.7s ease 0.65s both; }
.hero .btn-primary { animation: fadeUp 0.7s ease 0.8s both; }

/* ===== PULL QUOTE BANNER ===== */
.pull-quote-banner {
  background: var(--color-dark);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.pull-quote-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(133, 96, 168, 0.1), rgba(0, 191, 243, 0.08));
  pointer-events: none;
}
.pull-quote-banner .container { position: relative; z-index: 1; text-align: center; }
.pull-quote-banner blockquote {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  line-height: 1.55;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  padding: 0 40px;
}
.pull-quote-banner blockquote::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-purple), var(--color-cyan));
  margin: 0 auto 28px;
}
.pull-quote-banner .quote-accent { color: var(--color-cyan); }

/* ===== CONTENT BLOCK ===== */
.body-content { max-width: 780px; }
.body-content.wide { max-width: var(--container-width); }
.pull-highlight {
  font-size: 22px;
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.55;
  padding: 32px 0 32px 28px;
  border-left: 3px solid var(--color-cyan);
  margin: 36px 0;
  font-family: var(--font-heading);
}

/* ===== CARD GRID / FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  padding: 36px 28px;
  border-left: 3px solid var(--color-purple);
  background: #fff;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-light .feature-card { background: #fff; }
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -3px;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-purple), var(--color-cyan));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(133, 96, 168, 0.12);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-icon img { width: 100%; height: 100%; object-fit: contain; }
.feature-card h3 { font-size: 19px; margin-bottom: 12px; }
.feature-card p { font-size: 16px; line-height: 1.6; margin-bottom: 0; color: var(--color-body); }

/* Featured card (full-width dark variant) */
.feature-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 48px 44px;
  background: linear-gradient(160deg, var(--color-dark), var(--color-body));
  border-left: 4px solid;
  border-image: linear-gradient(180deg, var(--color-purple), var(--color-cyan)) 1;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}
.feature-card-featured::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 191, 243, 0.06), transparent 70%);
  pointer-events: none;
}
.feature-card-featured:hover {
  box-shadow: 0 20px 56px rgba(37, 44, 58, 0.3);
  transform: translateY(-4px);
}
.feature-card-featured h3 { color: var(--color-cyan); font-size: 24px; margin-bottom: 16px; }
.feature-card-featured p { color: rgba(255,255,255,0.8); font-size: 17px; line-height: 1.65; margin-bottom: 0; }
.featured-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-cyan);
  border: 1px solid rgba(0, 191, 243, 0.3);
  padding: 4px 12px;
  margin-bottom: 20px;
}

/* 2 and 4 column variants */
.features-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.features-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== BENEFITS GRID (DARK) ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 48px;
  background: rgba(255,255,255,0.04);
}
.benefit-item {
  padding: 36px 32px;
  background: var(--color-dark-alt);
  position: relative;
  transition: all 0.4s ease;
}
.benefit-item:hover { background: rgba(255,255,255,0.03); }
.benefit-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-icon svg { width: 100%; height: 100%; }
.benefit-icon img { width: 100%; height: 100%; object-fit: contain; }
.benefit-item strong {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}
.benefit-item span {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  line-height: 1.6;
}

/* ===== PROCESS STEPS ===== */
.process-steps { margin-top: 56px; position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-purple), var(--color-blue), var(--color-mid-blue), var(--color-cyan));
  opacity: 0.25;
}
.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 28px 0;
  align-items: start;
  position: relative;
}
.step-marker {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.step-number {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-purple);
  background: #fff;
  border: 2px solid rgba(133, 96, 168, 0.2);
  transition: all 0.4s ease;
}
.process-step:hover .step-number {
  background: var(--color-purple);
  color: #fff;
  border-color: var(--color-purple);
  box-shadow: 0 8px 24px rgba(133, 96, 168, 0.25);
}
.section-light .step-number { background: var(--color-light-bg); }
.step-content { padding-top: 12px; }
.process-step h3 { font-size: 20px; margin-bottom: 6px; }
.process-step .step-desc {
  color: var(--color-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-close {
  background: var(--color-purple);
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-close::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 400px 400px at 20% 50%, rgba(86, 116, 185, 0.3), transparent),
    radial-gradient(ellipse 350px 350px at 80% 30%, rgba(0, 191, 243, 0.2), transparent);
  pointer-events: none;
}
.cta-close .container { position: relative; z-index: 1; }
.cta-close h2 {
  color: #fff;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 40px;
}
.cta-close p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto 40px;
}

/* ===== AUDIENCE / ICON CARDS ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.audience-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 24px;
  background: #fff;
  transition: all 0.4s ease;
  border: 1px solid transparent;
}
.audience-card:hover {
  border-color: rgba(133, 96, 168, 0.12);
  box-shadow: 0 8px 32px rgba(133, 96, 168, 0.06);
  transform: translateY(-3px);
}
.audience-icon { flex-shrink: 0; width: 36px; height: 36px; margin-top: 2px; }
.audience-card p { font-size: 17px; line-height: 1.55; margin-bottom: 0; }

/* ===== IMAGE + TEXT ===== */
.image-text-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.image-text-layout.image-right { direction: ltr; }
.image-text-layout.image-left .image-text-media { order: -1; }
.image-text-media img { width: 100%; height: auto; }
.image-text-content .overline { color: var(--color-purple); }

/* ===== ACCORDION / FAQ ===== */
.accordion-item {
  border-bottom: 1px solid rgba(133, 96, 168, 0.12);
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-body);
  text-align: left;
  transition: color 0.3s ease;
}
.accordion-trigger:hover,
.accordion-trigger[aria-expanded="true"] { color: var(--color-purple); }
.accordion-trigger:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 2px; }
.accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.3s ease;
}
.accordion-icon::before { width: 14px; height: 2px; top: 11px; left: 5px; }
.accordion-icon::after { width: 2px; height: 14px; top: 5px; left: 11px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: rotate(90deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-panel-inner { padding: 0 0 24px; }
.accordion-panel-inner p { font-size: 16px; line-height: 1.65; }

/* ===== TEAM GRID ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.team-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  transition: transform 0.4s ease;
}
.team-card:hover { transform: translateY(-4px); }
.team-card-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-light-bg);
}
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card-info { padding: 16px; text-align: center; }
.team-card-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-body);
  margin-bottom: 2px;
}
.team-card-title { font-size: 14px; color: var(--color-purple); }
.team-card-bio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 44, 58, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.team-card:hover .team-card-bio-overlay { opacity: 1; }
.team-card-bio-overlay p { color: #fff; font-size: 14px; line-height: 1.6; text-align: center; margin: 0; }

/* ===== LOGO CAROUSEL ===== */
.logo-carousel {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.logo-carousel img {
  height: 40px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}
.logo-carousel img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===== TESTIMONIALS ===== */
.testimonials-carousel { position: relative; overflow: hidden; margin-top: 48px; }
.testimonials-track { display: flex; transition: transform 0.5s ease; }
.testimonial-slide {
  min-width: 100%;
  padding: 40px;
  text-align: center;
}
.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-body);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 24px;
  font-style: italic;
}
.testimonial-author { font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: var(--color-purple); }
.testimonial-role { font-size: 14px; color: #767676; margin-top: 4px; } /* AUD-028: was #999 (2.85:1) */
.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
}
.testimonial-photo img { width: 100%; height: 100%; object-fit: cover; }
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.testimonials-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(133, 96, 168, 0.2);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 0;
}
.testimonials-dot.active { background: var(--color-purple); }
.testimonials-dot:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 2px; }

/* ===== CONTACT BLOCK ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-layout.form-left { direction: rtl; }
.contact-layout.form-left > * { direction: ltr; }
.contact-info address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.contact-info a { color: var(--color-purple); transition: color 0.2s; }
.contact-info a:hover { color: var(--color-cyan); }
.contact-social { display: flex; gap: 16px; margin-top: 16px; }
.contact-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(133, 96, 168, 0.2);
  transition: all 0.3s ease;
}
.contact-social a:hover {
  background: var(--color-purple);
  border-color: var(--color-purple);
  color: #fff;
}

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.blog-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  overflow: hidden;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(133, 96, 168, 0.1);
}
.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-light-bg);
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-card-category {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-purple);
  margin-bottom: 8px;
  display: inline-block;
}
.blog-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-body);
  line-height: 1.4;
  margin-bottom: 12px;
}
.blog-card-title a { transition: color 0.2s; }
.blog-card-title a:hover { color: var(--color-purple); }
.blog-card-excerpt { font-size: 15px; color: #666; line-height: 1.55; margin-bottom: 16px; }
.blog-card-meta { font-size: 13px; color: #767676; } /* AUD-028: was #999 (2.85:1) */
.blog-card-readmore {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-purple);
  transition: color 0.2s;
}
.blog-card-readmore:hover { color: var(--color-cyan); }

/* Blog category filter buttons */
.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.blog-filter-btn {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  border: 1px solid rgba(133, 96, 168, 0.2);
  background: transparent;
  color: var(--color-body);
  cursor: pointer;
  transition: all 0.3s ease;
}
.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--color-purple);
  border-color: var(--color-purple);
  color: #fff;
}
.blog-filter-btn:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 2px; }

/* Blog single post */
.single-post-header {
  background: var(--color-dark);
  padding: 160px 0 80px;
  position: relative;
}
.single-post-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(86, 116, 185, 0.3), rgba(0, 191, 243, 0.2));
}
.single-post-header .container { position: relative; z-index: 1; }
.single-post-header h1 {
  font-size: 42px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  max-width: 780px;
}
.single-post-meta {
  margin-top: 20px;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
}
.single-post-meta a { color: var(--color-cyan); }
.single-post-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px var(--container-padding);
}
.single-post-content h2 { font-size: 30px; margin-top: 48px; margin-bottom: 20px; }
.single-post-content h3 { font-size: 24px; margin-top: 36px; margin-bottom: 16px; }
.single-post-content ul, .single-post-content ol { margin-bottom: 24px; padding-left: 24px; }
.single-post-content li { margin-bottom: 8px; }
.single-post-content blockquote {
  border-left: 3px solid var(--color-cyan);
  padding: 16px 0 16px 24px;
  margin: 32px 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-dark);
}
.single-post-content img { margin: 32px 0; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 48px;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(133, 96, 168, 0.15);
  transition: all 0.3s ease;
}
.pagination a:hover {
  background: var(--color-purple);
  border-color: var(--color-purple);
  color: #fff;
}
.pagination .current {
  background: var(--color-purple);
  border-color: var(--color-purple);
  color: #fff;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-dark-alt);
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { display: block; line-height: 0; margin-bottom: 12px; }
.footer-brand .logo img { height: 38px; width: auto; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.5); margin-bottom: 0; max-width: 280px; }
.footer-col h4 { font-family: "Montserrat", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.55); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--color-cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.62); /* AUD-028: was 0.35 (~3.1:1 on #282829 at 13px) */
}

/* ===== 404 ===== */
.page-404 { text-align: center; padding: 160px 0 100px; }
.page-404 h1 { font-size: 120px; font-weight: 600; color: var(--color-purple); opacity: 0.2; margin-bottom: 0; }
.page-404 h2 { margin-top: -20px; }
.page-404 .helpful-links { margin-top: 48px; }
.page-404 .helpful-links p {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-body);
  margin-bottom: 16px;
}
.page-404 .helpful-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 32px;
}
.page-404 .helpful-links a {
  font-family: var(--font-nav);
  font-size: 15px;
  color: var(--color-purple);
  border-bottom: 1px solid rgba(133, 96, 168, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.page-404 .helpful-links a:hover { color: var(--color-cyan); border-color: var(--color-cyan); }
.page-404 .helpful-links a:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 2px; }

/* ===== SEARCH RESULTS ===== */
.search-header { padding: 160px 0 60px; background: var(--color-dark); }
.search-header h1 { color: #fff; font-size: 36px; font-weight: 400; }
.search-header .search-query { color: var(--color-cyan); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-card-featured { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .image-text-layout { grid-template-columns: 1fr; gap: 36px; }
  .image-text-layout.image-left .image-text-media { order: 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .audience-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Nav collapses to the hamburger well before the links physically squeeze
   against the logo (long labels + dropdown chevrons start wrapping ~1050px). */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 768px) {
  .hero { padding: 140px 0 70px; min-height: auto; }
  .hero h1 { font-size: 52px; }
  .hero .subtitle { font-size: 20px; }
  .hero .supporting { font-size: 17px; }
  h2 { font-size: 30px; }
  .section-white, .section-light, .section-dark { padding: var(--section-padding-mobile) 0; }
  .section-purple { padding: var(--section-padding-mobile) 0; }
  .cta-close { padding: 80px 0; }
  .cta-close h2 { font-size: 30px; }
  .features-grid, .features-grid.cols-2, .features-grid.cols-4 { grid-template-columns: 1fr; gap: 16px; }
  .process-steps::before { left: 27px; }
  .process-step { grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; }
  .step-number { width: 44px; height: 44px; font-size: 18px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .pull-quote-banner blockquote { font-size: 20px; padding: 0 20px; }
  .pull-quote-banner { padding: 44px 0; }
  .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .shape-1, .shape-3, .shape-5 { display: none; }
  .single-post-header h1 { font-size: 32px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 40px; }
  .hero .subtitle { font-size: 18px; }
  h2 { font-size: 26px; }
  .btn-primary, .btn-white { width: 100%; text-align: center; }
  .feature-card { padding: 28px 20px; }
  .benefit-item { padding: 28px 20px; }
  .pull-quote-banner blockquote { font-size: 18px; padding: 0 8px; }
  .team-grid { grid-template-columns: 1fr; }
}
