/* Alchemy of Technology — Production Stylesheet
   Logo-driven palette: Electric blue #00B4D8 | Deep blue #0077B6 | Gold #F5C518 | Navy #0B1C2D
   Type: Poppins 600 headings | Inter body
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700&display=swap');

:root {
  --primary: #00B4D8;
  --primary-deep: #0077B6;
  --gold: #F5C518;
  --gold-soft: #FACC15;
  --navy: #0B1C2D;
  --body: #374151;
  --muted: #6B7280;
  --surface: #F9FAFB;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --accent-yellow: #F5C518;
  --success: #059669;
  --error: #DC2626;
  --shadow-sm: 0 1px 2px rgba(11, 28, 45, 0.05);
  --shadow-md: 0 4px 12px rgba(11, 28, 45, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 28, 45, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --header-h: 84px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --focus-ring: 0 0 0 3px rgba(0, 180, 216, 0.28);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--body);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}

a { color: var(--primary-deep); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.track-btn:focus-visible,
.submod-tab:focus-visible,
.play-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

img { max-width: 100%; height: auto; display: block; }

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-link:hover { color: var(--navy); }

.logo-link img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(0, 180, 216, 0.25), 0 0 12px rgba(245, 197, 24, 0.15);
}

.logo-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
}

.logo-brand .brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  white-space: nowrap;
}

.logo-brand .brand-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--primary-deep);
  white-space: nowrap;
}

.logo-link .logo-text-full { white-space: nowrap; }
.logo-link .logo-text-short { display: none; }

.footer-brand .logo-link img {
  width: 52px;
  height: 52px;
}

.footer-brand .brand-tagline {
  color: var(--gold);
  opacity: 0.9;
}

.footer-brand .brand-name {
  color: var(--white);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop > a,
.nav-item > button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.nav-desktop .btn-cta {
  margin-left: 0.35rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  background: var(--primary) !important;
  color: var(--white) !important;
  box-shadow: 0 2px 8px rgba(0, 180, 216, 0.3);
}

.nav-desktop .btn-cta:hover {
  background: var(--primary-deep) !important;
  color: var(--white) !important;
}

.nav-desktop > a:hover,
.nav-item > button:hover,
.nav-desktop > a.active,
.nav-item > button.active {
  background: rgba(0, 180, 216, 0.1);
  color: var(--primary-deep);
}

.nav-item { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--transition);
  z-index: 50;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
  color: var(--body);
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown a:hover {
  background: rgba(0, 180, 216, 0.08);
  color: var(--primary-deep);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(0, 180, 216, 0.25);
}

.btn-cta:hover {
  background: linear-gradient(135deg, var(--primary-deep) 0%, #005f8a 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

.btn-block { width: 100%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: all var(--transition);
}

/* Off-canvas */
.offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100vh;
  background: var(--white);
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.offcanvas.open { transform: translateX(0); }

.offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.offcanvas-close {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--surface);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--navy);
}

.offcanvas nav { display: flex; flex-direction: column; gap: 0.25rem; }

.offcanvas a, .offcanvas .sub-toggle {
  display: block;
  padding: 0.85rem 1rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: var(--radius);
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
}

.offcanvas a:hover, .offcanvas .sub-toggle:hover {
  background: rgba(0, 180, 216, 0.1);
}

.offcanvas .sub-links {
  padding-left: 1rem;
  display: none;
}

.offcanvas .sub-links.open { display: block; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 45, 0.45);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.overlay.visible { opacity: 1; visibility: visible; }

/* ========== LAYOUT PRIMITIVES ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 4.5rem 0; }

.section-tight { padding: 3rem 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 0.45rem;
  vertical-align: 1px;
  box-shadow: 0 0 6px rgba(245, 197, 24, 0.45);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--body);
  max-width: 560px;
  margin-bottom: 2rem;
}

/* ========== HOME — DUAL DOOR ========== */
.hero-dual {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  overflow: hidden;
}

.hero-dual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(0, 180, 216, 0.18), transparent),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(250, 204, 21, 0.08), transparent);
  pointer-events: none;
}

.door {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}

.door:last-child { border-right: none; }

.door:hover {
  background: rgba(255,255,255,0.03);
}

.door-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.door h1, .door h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  margin-bottom: 1rem;
}

.door p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 380px;
  margin-bottom: 1.75rem;
}

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

.door .btn-cta {
  background: var(--primary);
}

.door-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 180, 216, 0.15);
  color: var(--primary);
}

/* Trust bar */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.metric-value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  background: linear-gradient(135deg, var(--navy) 40%, var(--primary-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--body);
  margin-top: 0.25rem;
}

/* Home — two paths (asymmetric panels) */
.home-paths-section {
  background: var(--surface);
}

.home-paths-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.25rem;
}

.home-paths-note {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 22rem;
  margin: 0;
  justify-self: end;
}

.home-paths-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.path-panel {
  padding: 2.25rem 2rem;
  position: relative;
}

.path-panel-biz {
  border-right: 1px solid var(--border);
  border-top: 3px solid var(--primary);
}

.path-panel-acad {
  background: linear-gradient(160deg, #F0F9FF 0%, var(--white) 60%);
  border-top: 3px solid var(--gold);
}

.path-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.path-panel h3 {
  font-size: 1.4rem;
  margin-bottom: 0.65rem;
}

.path-panel > p {
  font-size: 0.95rem;
  margin-bottom: 1.15rem;
  color: var(--body);
}

.path-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.path-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.path-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* Proof strip */
.proof-strip {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0;
}

.proof-header {
  margin-bottom: 2rem;
}

.proof-strip h2 {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.proof-sub {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  margin: 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.proof-item {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
}

.proof-item strong {
  display: block;
  color: var(--primary);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Home CTA band */
.home-cta {
  background: var(--navy);
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.home-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.home-cta h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 0.5rem;
}

.home-cta p {
  color: rgba(255,255,255,0.7);
  max-width: 28rem;
  margin: 0;
  font-size: 0.95rem;
}

/* Solutions engage spine */
.sol-engage {
  background: var(--surface);
}

.engage-spine {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.engage-step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  border-bottom: 1px solid var(--border);
}

.engage-step:last-child { border-bottom: none; }

.engage-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  padding: 1.5rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.engage-step > div {
  padding: 1.5rem 1.75rem;
}

.engage-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.engage-step p {
  font-size: 0.925rem;
  margin: 0;
  color: var(--body);
}
/* ========== SOLUTIONS HUB ========== */
.solutions-hero {
  background: linear-gradient(160deg, var(--navy) 0%, #12263a 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
}

.solutions-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3rem);
  max-width: 640px;
  margin-bottom: 1.25rem;
}

.solutions-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  max-width: 520px;
}

.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 420px;
}

.service-panel {
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.service-panel.erp {
  background: var(--white);
  border-right: 1px solid var(--border);
}

.service-panel.ai {
  background: #F0F9FF;
}

.service-panel h2 { font-size: 1.65rem; margin-bottom: 1rem; }

.service-panel p { margin-bottom: 1.5rem; max-width: 400px; }

.panel-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 0.75rem;
}

/* ========== ERP PAGE ========== */
.erp-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}

.erp-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.erp-hero h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 1rem; }

.erp-hero .lead { font-size: 1.15rem; margin-bottom: 1.5rem; }

.erp-highlight {
  background: linear-gradient(135deg, #0B1C2D 0%, #12263a 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.erp-highlight h3 { color: var(--primary); font-size: 1rem; margin-bottom: 0.75rem; }

.erp-highlight p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.feature-block:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.feature-block h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

.feature-block p { font-size: 0.9rem; }

.faq-list { max-width: 720px; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item summary {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 400;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--body);
}

.case-snippet {
  background: var(--surface);
  border-left: 3px solid var(--primary);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.case-snippet cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--primary-deep);
  font-weight: 500;
}

/* ========== AI AUTOMATION PAGE ========== */
.ai-hero {
  background: linear-gradient(145deg, #0B1C2D 0%, #0a2744 60%, #0B1C2D 100%);
  color: var(--white);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.ai-hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,0.2), transparent 70%);
  top: -100px;
  right: -50px;
  pointer-events: none;
}

.ai-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 1rem; }

.ai-hero .lead { color: rgba(255,255,255,0.75); font-size: 1.15rem; max-width: 520px; }

/* Audio player component */
.audio-player {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 2.5rem;
  max-width: 480px;
  backdrop-filter: blur(8px);
}

.audio-player-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.play-btn:hover { background: var(--primary-deep); transform: scale(1.05); }

.play-btn svg { width: 20px; height: 20px; }

.wave-bars {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
}

.wave-bars span {
  width: 3px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  transition: height 0.15s, background 0.15s;
}

.wave-bars.playing span {
  animation: wave 0.8s ease-in-out infinite alternate;
  background: var(--primary);
}

.wave-bars.playing span:nth-child(1) { animation-delay: 0s; height: 8px; }
.wave-bars.playing span:nth-child(2) { animation-delay: 0.1s; height: 16px; }
.wave-bars.playing span:nth-child(3) { animation-delay: 0.2s; height: 24px; }
.wave-bars.playing span:nth-child(4) { animation-delay: 0.15s; height: 12px; }
.wave-bars.playing span:nth-child(5) { animation-delay: 0.25s; height: 28px; }
.wave-bars.playing span:nth-child(6) { animation-delay: 0.05s; height: 18px; }
.wave-bars.playing span:nth-child(7) { animation-delay: 0.3s; height: 10px; }
.wave-bars.playing span:nth-child(8) { animation-delay: 0.12s; height: 22px; }
.wave-bars.playing span:nth-child(9) { animation-delay: 0.22s; height: 14px; }
.wave-bars.playing span:nth-child(10) { animation-delay: 0.08s; height: 26px; }
.wave-bars.playing span:nth-child(11) { animation-delay: 0.18s; height: 9px; }
.wave-bars.playing span:nth-child(12) { animation-delay: 0.28s; height: 20px; }

@keyframes wave {
  to { height: 32px; }
}

.audio-meta {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.ai-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ai-feat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.ai-feat h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

/* ========== ACADEMY (redesigned) ========== */

/* Hero — asymmetric split */
.acad-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.acad-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.acad-hero-copy h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.acad-hero-lead {
  font-size: 1.1rem;
  color: var(--body);
  max-width: 34rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

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

.acad-audience {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.aud-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.aud-row:last-child { border-bottom: none; }

.aud-level {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-deep);
}

.aud-desc {
  font-size: 0.9rem;
  color: var(--body);
}

/* Curriculum spine */
.acad-spine {
  padding: 4.5rem 0;
  background: var(--surface);
}

.spine-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.spine-note {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 22rem;
  margin: 0;
  justify-self: end;
}

.spine-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.spine-chip {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--body);
  cursor: pointer;
  transition: all var(--transition);
}

.spine-chip:hover,
.spine-chip.active {
  border-color: var(--primary);
  background: rgba(0, 180, 216, 0.1);
  color: var(--primary-deep);
}

.spine-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.spine-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.spine-item:last-child { border-bottom: none; }

.spine-item:hover { background: rgba(0, 180, 216, 0.03); }

.spine-item.hidden { display: none; }

.spine-index {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  padding: 1.75rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.spine-body {
  padding: 1.5rem 1.75rem 1.6rem;
}

.spine-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.spine-body h3 {
  font-size: 1.2rem;
  margin: 0;
}

.asset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pill {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--primary-deep);
}

.pill-flag {
  background: rgba(11, 28, 45, 0.08);
  color: var(--navy);
}

.spine-body p {
  font-size: 0.925rem;
  color: var(--body);
  margin-bottom: 0.85rem;
  max-width: 48rem;
}

.spine-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.spine-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-deep);
}

.spine-link:hover { color: var(--primary); }

.spine-item-accent .spine-index {
  background: rgba(0, 180, 216, 0.08);
  color: var(--primary-deep);
}

.spine-item-flagship .spine-index {
  background: var(--navy);
  color: var(--primary);
  border-right-color: var(--navy);
}

.spine-item-flagship {
  background: linear-gradient(90deg, rgba(11, 28, 45, 0.02), transparent);
}

/* Ecosystem stage — rail + panels */
.acad-ecosystem {
  padding: 4.5rem 0 5rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.eco-intro {
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.eco-stage {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
}

.eco-rail {
  background: var(--navy);
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.eco-rail-btn {
  display: grid;
  grid-template-columns: 2rem 1fr;
  grid-template-rows: auto auto;
  gap: 0 0.65rem;
  padding: 0.85rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  color: rgba(255, 255, 255, 0.65);
  transition: background var(--transition), color var(--transition);
}

.eco-rail-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}

.eco-rail-btn.active {
  background: rgba(0, 180, 216, 0.18);
  color: var(--white);
}

.eco-num {
  grid-row: 1 / 3;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--primary);
  align-self: center;
}

.eco-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.25;
}

.eco-tag {
  font-size: 0.7rem;
  opacity: 0.7;
}

.eco-panels {
  background: var(--surface);
  padding: 1.75rem 1.75rem 2rem;
}

.eco-panel { display: none; }
.eco-panel.active { display: block; }

.eco-panel-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.eco-panel-head h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.eco-panel-head p {
  font-size: 0.925rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0;
}

.eco-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.eco-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}

.eco-card-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 0.5rem;
}

.eco-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.eco-card p {
  font-size: 0.875rem;
  color: var(--body);
  margin-bottom: 0.85rem;
}

/* Book-style cards */
.eco-cards-books {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.eco-card-book {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.book-spine {
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
}

.book-spine-ai {
  background: linear-gradient(180deg, #0B1C2D, var(--primary-deep));
}

.book-body {
  padding: 1.25rem 1.2rem;
}

/* Lab list */
.eco-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.eco-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.eco-list-row:last-child { border-bottom: none; }

.eco-list-main h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.eco-list-main .meta {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Projects with metrics */
.eco-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.eco-project {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
}

.proj-stats {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.proj-stats strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.2;
}

.proj-stats span {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.eco-project h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.eco-project p {
  font-size: 0.85rem;
  color: var(--body);
  flex: 1;
  margin-bottom: 1rem;
}

/* Exam grid */
.eco-exam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.eco-exam {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  border-top: 3px solid var(--primary);
}

.exam-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 0.6rem;
}

.eco-exam h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.eco-exam p {
  font-size: 0.85rem;
  color: var(--body);
  margin-bottom: 1rem;
}

/* Academy CTA */
.acad-cta {
  background: var(--navy);
  padding: 3.5rem 0;
}

.acad-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.acad-cta h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 0.5rem;
}

.acad-cta p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 28rem;
  margin: 0;
  font-size: 0.95rem;
}

.acad-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Academy responsive */
@media (max-width: 960px) {
  .acad-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .spine-header {
    grid-template-columns: 1fr;
  }

  .spine-note { justify-self: start; }

  .spine-item {
    grid-template-columns: 3.25rem 1fr;
  }

  .spine-index {
    padding: 1.25rem 0.5rem;
    font-size: 0.95rem;
  }

  .spine-body { padding: 1.25rem 1.1rem; }

  .eco-stage {
    grid-template-columns: 1fr;
  }

  .eco-rail {
    flex-direction: row;
    overflow-x: auto;
    padding: 0.65rem;
    gap: 0.35rem;
  }

  .eco-rail-btn {
    flex-shrink: 0;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
    min-width: 7.5rem;
    text-align: center;
  }

  .eco-num {
    grid-row: auto;
    justify-self: center;
  }

  .eco-cards-books,
  .eco-projects,
  .eco-exam-grid {
    grid-template-columns: 1fr;
  }

  .eco-list-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .acad-hero { padding: 3rem 0 2.5rem; }
  .acad-spine { padding: 3rem 0; }
  .aud-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* ========== ABOUT ========== */
.about-hero {
  padding: 4.5rem 0 3rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.philosophy-block {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.philosophy-block h2 { color: var(--white); margin-bottom: 1rem; }

.philosophy-block p { margin-bottom: 1rem; }

.leader-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.leader-card-featured {
  padding: 1.75rem;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

.leader-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 55%, #0B1C2D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.35);
}

.leader-card h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }

.leader-card .role {
  font-size: 0.85rem;
  color: var(--primary-deep);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.leader-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.65rem !important;
}

.leader-creds {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}

.leader-creds li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.85rem;
  color: var(--body);
  margin-bottom: 0.3rem;
}

.leader-creds li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.leader-card p { font-size: 0.875rem; }

/* ========== CONTACT ========== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 1rem; }

.contact-channels {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.channel {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0, 180, 216, 0.12);
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel strong { display: block; font-size: 0.9rem; color: var(--navy); }

.channel span { font-size: 0.85rem; color: var(--body); }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-card h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }

.form-card .form-lead { font-size: 0.9rem; margin-bottom: 1.5rem; color: var(--muted); }

.form-group { margin-bottom: 1.15rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--error);
}

.form-error {
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 0.3rem;
  display: none;
}

.form-group.has-error .form-error { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}

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

.form-success .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.12);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
}

.form-success h3 { margin-bottom: 0.5rem; }

.form-success p { color: var(--body); margin-bottom: 1.5rem; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-link { color: var(--white); margin-bottom: 1rem; }

.footer-brand p { font-size: 0.9rem; max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ========== UTILS ========== */
.hairline {
  height: 1px;
  background: var(--border);
  margin: 0;
}

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

.section-lead.centered,
.lead-centered {
  margin-left: auto;
  margin-right: auto;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.section-surface {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.section-navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.section-navy h2,
.section-navy .section-title {
  color: var(--white);
}

.section-navy p {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.section-label-light {
  color: var(--primary);
}

.pt-2 { padding-top: 2rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-1-25 { margin-bottom: 1.25rem; }

.text-muted {
  color: var(--muted);
  font-size: 0.85rem;
}

.text-muted-sm {
  color: var(--muted);
  font-size: 0.8rem;
}

.form-hint {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.form-success-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }

  .logo-link img { width: 52px; height: 52px; }
  .logo-brand .brand-name { font-size: 0.95rem; }
  .logo-brand .brand-tagline { font-size: 0.62rem; max-width: 11rem; white-space: normal; }
  .site-header { height: auto; min-height: var(--header-h); padding: 0.5rem 0; }

  .hero-dual { grid-template-columns: 1fr; min-height: auto; }
  .door { padding: 2.5rem 1.5rem; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .door:last-child { border-bottom: none; }

  .trust-metrics { grid-template-columns: repeat(2, 1fr); }
  .home-paths-header { grid-template-columns: 1fr; }
  .home-paths-note { justify-self: start; }
  .home-paths-split { grid-template-columns: 1fr; }
  .path-panel-biz { border-right: none; border-bottom: 1px solid var(--border); }
  .proof-grid { grid-template-columns: 1fr; }
  .engage-step { grid-template-columns: 3.25rem 1fr; }
  .engage-num { padding: 1.25rem 0.5rem; font-size: 0.95rem; }

  .service-split { grid-template-columns: 1fr; }
  .service-panel.erp { border-right: none; border-bottom: 1px solid var(--border); }

  .erp-hero-grid { grid-template-columns: 1fr; }
  .feature-rail { grid-template-columns: 1fr; margin-top: 2rem; }

  .ai-features { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .asset-row {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
  }
  .asset-row .btn-outline { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 560px) {
  .trust-metrics { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
  .door { padding: 2rem 1.25rem; }
  .door h1, .door h2 { font-size: 1.45rem; }
}

/* ========== FLUX-INSPIRED AI PAGE ========== */
.flux-hero {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0 0;
  position: relative;
  overflow: hidden;
}

.flux-hero-inner {
  max-width: 52rem;
  padding-bottom: 4rem;
}

.flux-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.flux-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.35rem;
  font-weight: 600;
}

.flux-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 36rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

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

.flux-hero-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 50%, transparent 100%);
}

.flux-services { background: var(--surface); }

.flux-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.flux-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.flux-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.flux-card-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.flux-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.flux-card p {
  font-size: 0.9rem;
  color: var(--body);
  margin-bottom: 1rem;
}

.flux-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-deep);
}

.flux-link:hover { color: var(--primary); }

.flux-sample {
  background: linear-gradient(145deg, #0B1C2D 0%, #0a2744 55%, #0B1C2D 100%);
  padding: 4rem 0;
  color: var(--white);
}

.flux-sample-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.flux-sample-copy h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.85rem;
}

.flux-sample-copy p {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  max-width: 28rem;
}

.audio-player-flux {
  max-width: none;
  margin-top: 0;
  background: rgba(255,255,255,0.07);
  border-color: rgba(245, 197, 24, 0.25);
}

.flux-fit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.flux-fit-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-top: 3px solid var(--primary);
}

.flux-fit-item:nth-child(2) { border-top-color: var(--gold); }
.flux-fit-item:nth-child(3) { border-top-color: var(--primary-deep); }

.flux-fit-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.flux-fit-item p { font-size: 0.9rem; margin: 0; }

.flux-process { background: var(--surface); }

.flux-steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.flux-steps li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  border-bottom: 1px solid var(--border);
}

.flux-steps li:last-child { border-bottom: none; }

.flux-step-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  padding: 1.5rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.flux-steps li > div { padding: 1.4rem 1.6rem; }
.flux-steps h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.flux-steps p { font-size: 0.9rem; margin: 0; color: var(--body); }

@media (max-width: 960px) {
  .flux-grid { grid-template-columns: 1fr; }
  .flux-sample-grid { grid-template-columns: 1fr; }
  .flux-fit { grid-template-columns: 1fr; }
  .flux-steps li { grid-template-columns: 3.25rem 1fr; }
  .flux-hero { padding-top: 3.5rem; }
}

/* ========== ACADEMY AUDIENCE SLIDES ========== */
.acad-hero-copy-full {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.audience-slides-wrap {
  position: relative;
  margin-top: 0.5rem;
  padding: 0 0 2.5rem;
}

.audience-slides {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 1.5rem 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.audience-slides::-webkit-scrollbar { height: 6px; }
.audience-slides::-webkit-scrollbar-thumb {
  background: rgba(0, 180, 216, 0.35);
  border-radius: 3px;
}

.aud-slide {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.aud-slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.aud-slide-art {
  height: 140px;
  position: relative;
  overflow: hidden;
}

.art-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* JHS — warm classroom */
.aud-jhs .aud-slide-art {
  background: linear-gradient(145deg, #0ea5e9 0%, #0369a1 50%, #0B1C2D 100%);
}
.art-jhs .art-desk {
  width: 70px; height: 12px; background: rgba(255,255,255,0.85);
  border-radius: 4px; position: absolute; bottom: 36px;
  box-shadow: 0 4px 0 rgba(0,0,0,0.15);
}
.art-jhs .art-screen {
  width: 48px; height: 32px; background: var(--gold);
  border-radius: 3px; position: absolute; bottom: 48px;
  border: 2px solid rgba(255,255,255,0.9);
}
.art-jhs .art-book {
  width: 22px; height: 28px; background: #fff;
  position: absolute; bottom: 36px; left: calc(50% + 42px);
  border-radius: 2px; transform: rotate(8deg);
}
.art-jhs .art-spark {
  position: absolute; top: 28px; right: 32px;
  color: var(--gold); font-size: 1.4rem;
  animation: sparkle 2s ease-in-out infinite;
}

/* SHS — network lab */
.aud-shs .aud-slide-art {
  background: linear-gradient(145deg, #1e3a5f 0%, #0B1C2D 60%, #00B4D8 120%);
}
.art-shs .art-rack {
  width: 56px; height: 64px;
  background: repeating-linear-gradient(
    180deg, #334155 0 8px, #1e293b 8px 12px
  );
  border-radius: 4px; border: 1px solid rgba(0,180,216,0.4);
}
.art-shs .art-cable {
  position: absolute; width: 40px; height: 2px;
  background: var(--gold); top: 50%; left: 20%;
  transform: rotate(-25deg);
}
.art-shs .art-node {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--primary); position: absolute;
  top: 42%; left: 22%; box-shadow: 0 0 8px var(--primary);
}
.art-shs .art-node-2 {
  top: 58%; left: 55%; background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

/* Tertiary — portfolio */
.aud-tert .aud-slide-art {
  background: linear-gradient(145deg, #134e4a 0%, #0B1C2D 55%, #F5C518 140%);
}
.art-tert .art-code {
  width: 64px; height: 44px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(0,180,216,0.5); border-radius: 4px;
  position: relative;
}
.art-tert .art-code::before {
  content: '{ }'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-family: monospace; font-size: 1.1rem;
}
.art-tert .art-shield {
  width: 28px; height: 32px; background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 70%, 50% 100%, 0% 70%, 0% 25%);
  position: absolute; right: 28%; top: 28%;
  opacity: 0.9;
}
.art-tert .art-folio {
  width: 36px; height: 44px; background: #fff;
  position: absolute; left: 22%; bottom: 28px;
  border-radius: 2px; transform: rotate(-6deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

/* Workers — office */
.aud-work .aud-slide-art {
  background: linear-gradient(145deg, #0077B6 0%, #0B1C2D 70%);
}
.art-work .art-sheet {
  width: 52px; height: 64px; background: #fff;
  border-radius: 2px; position: relative;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.15);
}
.art-work .art-chart {
  position: absolute; bottom: 38px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 20px;
  background: linear-gradient(90deg, var(--primary) 30%, var(--gold) 30% 55%, var(--primary-deep) 55%);
  border-radius: 1px;
}
.art-work .art-cursor {
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 14px solid var(--gold);
  position: absolute; right: 30%; top: 35%;
  transform: rotate(35deg);
}

/* Professionals — flagship */
.aud-pro .aud-slide-art {
  background: linear-gradient(145deg, #0B1C2D 0%, #1a1a2e 40%, #00B4D8 100%);
}
.art-pro .art-badge {
  width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid var(--gold);
  background: rgba(245,197,24,0.15);
  position: relative;
}
.art-pro .art-orbit {
  position: absolute; width: 72px; height: 72px;
  border: 1px dashed rgba(0,180,216,0.5);
  border-radius: 50%;
  animation: spin 12s linear infinite;
}
.art-pro .art-star {
  position: absolute; color: var(--gold); font-size: 1.5rem;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.15); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.aud-slide-body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.aud-slide-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 0.4rem;
}

.aud-slide h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.aud-catch {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.45rem !important;
  line-height: 1.35;
}

.aud-slide-body > p:last-child {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.audience-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.aud-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}

.aud-nav-btn:hover {
  border-color: var(--primary);
  background: rgba(0, 180, 216, 0.08);
  color: var(--primary-deep);
}

/* Required field asterisk */
.req {
  color: #DC2626;
  font-weight: 700;
}

.form-lead .req,
label .req {
  color: #DC2626;
}

/* Real photo audience slides */
.audience-journey-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin: 0 1.5rem 0.85rem;
}

.aud-slide.aud-photo {
  flex: 0 0 min(300px, 82vw);
  height: 360px;
  position: relative;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.aud-slide.aud-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aud-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(11, 28, 45, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem 1.25rem 1.5rem;
  color: var(--white);
}

.aud-slide-overlay .aud-slide-tag {
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.aud-slide-overlay h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.aud-slide-overlay p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.45;
}

.aud-slide.aud-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Payment notice for paid Academy assets */
.paywall-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
  padding: 1rem 1.2rem;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.35);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--body);
  max-width: 40rem;
}

.paywall-note strong {
  color: var(--navy);
}

.asset-lock {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(11, 28, 45, 0.08);
  color: var(--navy);
}

.asset-free {
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
}


/* Hero photo slideshow (adjacent to Theory Practice Proof) */
.hero-journey-label {
  margin: 1.5rem 0 0;
  font-size: 0.75rem;
}

.hero-slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.hero-slides {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 280px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(11, 28, 45, 0.92));
  color: var(--white);
}

.hero-slide figcaption span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.hero-slide figcaption strong {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-slide-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.hero-dot.is-active {
  background: var(--gold);
  transform: scale(1.2);
}

.hero-slide-controls .aud-nav-btn {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
  width: 36px;
  height: 36px;
}

.hero-slide-controls .aud-nav-btn:hover {
  background: rgba(0, 180, 216, 0.25);
  border-color: var(--primary);
  color: var(--white);
}

@media (max-width: 960px) {
  .acad-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-slides {
    min-height: 240px;
  }
}

.leader-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.4), 0 4px 12px rgba(11, 28, 45, 0.12);
}

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

/* Mobile polish pass */
@media (max-width: 768px) {
  .header-inner { padding: 0 1rem; gap: 0.5rem; }
  .logo-link img { width: 48px; height: 48px; }
  .logo-brand .brand-name { font-size: 0.88rem; }
  .logo-brand .brand-tagline {
    font-size: 0.58rem;
    max-width: 9.5rem;
    line-height: 1.25;
  }
  .acad-hero { padding: 2.75rem 0 2rem; }
  .acad-hero-copy h1 { font-size: 1.85rem; }
  .flux-hero h1 { font-size: 1.75rem; }
  .flux-hero-actions { flex-direction: column; align-items: stretch; }
  .flux-hero-actions .btn-cta,
  .flux-hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .home-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .door-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .leader-card-featured { flex-direction: column; align-items: flex-start; }
  .hero-slideshow { max-width: 100%; }
  .offcanvas { width: min(320px, 88vw); }
  .nav-desktop .btn-cta { display: none; } /* already hidden via parent */
}

/* Ensure dropdown works on touch */
.nav-item:focus-within .dropdown,
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Consistent page bottom spacing */
main { min-height: 50vh; }

/* Link buttons shouldn't look broken */
a.btn-cta, a.btn-outline, a.btn-ghost { text-decoration: none; }

/* ===== AoT proof-strip force (WP/theme color overrides) ===== */
.proof-strip {
  background: #0B1C2D !important;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 3.5rem 0 !important;
}
.proof-strip .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.proof-header {
  margin-bottom: 2rem !important;
}
.proof-strip h2,
.proof-strip .proof-header h2 {
  color: #FFFFFF !important;
  font-family: 'Poppins', system-ui, sans-serif !important;
  font-weight: 600 !important;
  margin-bottom: 0.4rem !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
.proof-strip .proof-sub {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.95rem !important;
  margin: 0 !important;
}
.proof-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
}
.proof-item {
  padding: 1.5rem !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.85) !important;
}
.proof-item strong {
  display: block !important;
  color: #00B4D8 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  margin-bottom: 0.75rem !important;
  -webkit-text-fill-color: #00B4D8 !important;
}
.proof-item p,
.proof-item,
.proof-strip p {
  color: rgba(255, 255, 255, 0.85) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr !important; }
}
/* Trust bar metrics also protect gradient text */
.trust-bar .metric-value {
  background: linear-gradient(135deg, #0B1C2D 40%, #0077B6) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}




/* ===== AoT about polish ===== */
.about-grid{display:grid!important;grid-template-columns:minmax(280px,1fr) minmax(320px,1.15fr)!important;gap:2.5rem!important;align-items:stretch!important;width:100%!important}
.philosophy-block{background:#0B1C2D!important;color:rgba(255,255,255,0.85)!important;padding:2.5rem!important;border-radius:16px!important;height:100%;box-sizing:border-box}
.philosophy-block h2{color:#fff!important;-webkit-text-fill-color:#fff!important;margin-bottom:1rem!important}
.philosophy-block p{color:rgba(255,255,255,0.85)!important;-webkit-text-fill-color:rgba(255,255,255,0.85)!important;margin-bottom:1rem!important}
.leadership-block h2,.mb-1-25{color:#0B1C2D!important;margin-bottom:1.25rem!important}
.leader-card-featured{display:flex!important;flex-direction:row!important;align-items:stretch!important;gap:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;border:1px solid #E5E7EB!important;border-top:3px solid #F5C518!important;border-radius:12px!important;box-shadow:0 4px 12px rgba(11,28,45,0.08)!important}
.leader-photo-wrap{flex:0 0 168px!important;width:168px!important;max-width:168px!important;align-self:stretch!important;background:#0B1C2D!important;overflow:hidden!important}
.leader-card-featured .leader-photo,.leader-photo-wrap .leader-photo{width:168px!important;max-width:168px!important;height:100%!important;min-height:100%!important;border-radius:0!important;object-fit:cover!important;object-position:center top!important;box-shadow:none!important;display:block!important}
.leader-card-featured .leader-body{flex:1 1 auto!important;min-width:0!important;padding:1.35rem 1.5rem!important}
.leader-card h3{font-size:1.25rem!important;margin:0 0 0.25rem!important;color:#0B1C2D!important}
.leader-card .role{color:#0077B6!important;font-weight:600!important;font-size:0.85rem!important;margin-bottom:0.35rem!important}
.leader-title{color:#0B1C2D!important;font-size:0.875rem!important;margin-bottom:0.65rem!important}
.leader-creds{list-style:none!important;margin:0 0 0.85rem!important;padding:0!important}
.leader-creds li{position:relative;padding-left:1rem;font-size:0.85rem;color:#374151!important;margin-bottom:0.3rem}
.leader-creds li::before{content:'';position:absolute;left:0;top:0.5rem;width:5px;height:5px;border-radius:50%;background:#F5C518}
.leader-body > p:last-child{color:#374151!important;-webkit-text-fill-color:#374151!important;font-size:0.875rem!important}
@media (max-width:900px){.about-grid{grid-template-columns:1fr!important}.leader-card-featured{flex-direction:row!important}.leader-photo-wrap{flex:0 0 140px!important;width:140px!important;max-width:140px!important;min-height:200px!important}.leader-card-featured .leader-photo,.leader-photo-wrap .leader-photo{width:140px!important;max-width:140px!important;min-height:200px!important}}
@media (max-width:560px){.leader-card-featured{flex-direction:column!important}.leader-photo-wrap{width:100%!important;max-width:none!important;flex-basis:auto!important;height:240px!important;min-height:240px!important}.leader-card-featured .leader-photo,.leader-photo-wrap .leader-photo{width:100%!important;max-width:none!important;height:240px!important;min-height:240px!important}}


/* ===== AoT AI page polish ===== */
.flux-hero-proof{list-style:none;margin:2rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:0.75rem 1.5rem}
.flux-hero-proof li{font-size:0.85rem;color:rgba(255,255,255,0.75);padding-left:0}
.flux-hero-proof strong{color:#F5C518;font-weight:600}
.flux-outcomes{padding:2rem 0;background:#fff;border-bottom:1px solid #E5E7EB}
.flux-outcomes-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;text-align:center}
.flux-outcome-num{display:block;font-family:Poppins,sans-serif;font-weight:700;font-size:1.65rem;color:#0B1C2D;line-height:1.2}
.flux-outcome-label{display:block;font-size:0.8rem;color:#6B7280;margin-top:0.35rem}
.flux-card-icon{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:10px;background:rgba(0,180,216,0.1);color:#0077B6;margin-bottom:0.85rem}
.flux-sample-list{list-style:none;margin:1.25rem 0 0;padding:0}
.flux-sample-list li{position:relative;padding-left:1.15rem;margin-bottom:0.45rem;font-size:0.9rem;color:rgba(255,255,255,0.8)}
.flux-sample-list li::before{content:'';position:absolute;left:0;top:0.55rem;width:6px;height:6px;border-radius:50%;background:#F5C518}
.flux-fit-icon{font-size:1.25rem;margin-bottom:0.65rem;color:#00B4D8}
.flux-myths{background:#F9FAFB}
.myth-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem;margin-top:0.5rem}
.myth-card{background:#fff;border:1px solid #E5E7EB;border-radius:12px;padding:1.5rem 1.4rem;border-left:3px solid #F5C518}
.myth-tag{display:inline-block;font-size:0.7rem;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;color:#B45309;background:rgba(245,197,24,0.18);padding:0.2rem 0.5rem;border-radius:4px;margin-bottom:0.65rem}
.myth-card h3{font-size:1.05rem;margin-bottom:0.55rem;color:#0B1C2D}
.myth-truth{font-size:0.9rem;color:#374151;margin:0}
.section-label-light{color:#F5C518}
.faq-list{max-width:760px;margin-top:1rem}
.faq-item{border:1px solid #E5E7EB;border-radius:8px;background:#fff;margin-bottom:0.65rem;padding:0}
.faq-item summary{cursor:pointer;padding:1rem 1.15rem;font-weight:600;color:#0B1C2D;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';font-weight:700;color:#00B4D8;font-size:1.1rem}
.faq-item[open] summary::after{content:'−'}
.faq-item p{padding:0 1.15rem 1.1rem;margin:0;font-size:0.92rem;color:#374151}
@media (max-width:900px){.flux-outcomes-grid{grid-template-columns:repeat(2,1fr)}.myth-grid{grid-template-columns:1fr}}
@media (max-width:560px){.flux-outcomes-grid{grid-template-columns:1fr 1fr}.flux-hero-proof{flex-direction:column;gap:0.4rem}}


/* ===== AoT contact polish ===== */
.contact-hero{padding:3.5rem 0 2rem;background:#fff;border-bottom:1px solid #E5E7EB}
.contact-hero .section-title{margin-bottom:0.75rem}
.contact-hero .section-lead{max-width:36rem;margin-bottom:0}
.contact-section{padding-top:2.5rem}
.contact-layout{display:grid!important;grid-template-columns:minmax(0,0.95fr) minmax(0,1.15fr)!important;gap:2.75rem!important;align-items:start!important}
.contact-info-title{font-size:1.15rem;margin-bottom:0.5rem;color:#0B1C2D}
.contact-info-lead{font-size:0.92rem;color:#6B7280;margin-bottom:1.5rem;max-width:28rem}
.contact-channels{margin-top:0;display:grid;gap:0.75rem}
.channel{display:flex;gap:1rem;align-items:flex-start;padding:1rem 1.1rem;background:#fff;border:1px solid #E5E7EB;border-radius:8px;text-decoration:none;color:inherit;transition:border-color .2s,box-shadow .2s}
.channel-link:hover{border-color:#00B4D8;box-shadow:0 4px 12px rgba(11,28,45,0.06)}
.channel-icon{width:40px;height:40px;border-radius:8px;background:rgba(0,180,216,0.12);color:#0077B6;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.channel strong{display:block;font-size:0.9rem;color:#0B1C2D}
.channel span{font-size:0.85rem;color:#374151}
.contact-doors{margin-top:1.75rem;padding-top:1.5rem;border-top:1px solid #E5E7EB}
.contact-doors-label{font-size:0.8rem;font-weight:600;color:#6B7280;text-transform:uppercase;letter-spacing:0.04em;margin-bottom:0.65rem}
.contact-door-links{display:flex;flex-direction:column;gap:0.4rem}
.contact-door-links a{font-size:0.9rem;font-weight:600;color:#0077B6;text-decoration:none}
.contact-door-links a:hover{color:#00B4D8}
.contact-sla{margin-top:1.5rem;padding:1rem 1.15rem;background:#F9FAFB;border:1px solid #E5E7EB;border-radius:8px;border-left:3px solid #F5C518}
.contact-sla strong{display:block;font-size:0.85rem;color:#0B1C2D;margin-bottom:0.25rem}
.contact-sla p{font-size:0.85rem;color:#374151;margin:0}
.form-card{background:#fff;border:1px solid #E5E7EB;border-radius:16px;padding:1.75rem 1.75rem 1.5rem;box-shadow:0 4px 12px rgba(11,28,45,0.06)}
.form-card-head{margin-bottom:1.25rem}
.form-card-head h2{font-size:1.25rem;margin:0 0 0.35rem;color:#0B1C2D}
.form-card .form-lead{font-size:0.88rem;margin:0;color:#6B7280}
.form-shell .wpforms-container{margin:0!important}
.form-shell .wpforms-form .wpforms-field{padding:0 0 0.85rem!important}
.form-shell .wpforms-field-label{font-size:0.85rem!important;font-weight:500!important;color:#0B1C2D!important}
.form-shell input[type=text],.form-shell input[type=email],.form-shell input[type=tel],.form-shell select,.form-shell textarea{border:1.5px solid #E5E7EB!important;border-radius:8px!important;padding:0.7rem 0.9rem!important;font-size:0.95rem!important;width:100%!important}
.form-shell input:focus,.form-shell select:focus,.form-shell textarea:focus{border-color:#00B4D8!important;box-shadow:0 0 0 3px rgba(0,180,216,0.15)!important;outline:none!important}
.form-shell .wpforms-submit{background:#00B4D8!important;border-color:#00B4D8!important;border-radius:8px!important;font-weight:600!important;padding:0.7rem 1.35rem!important}
.form-shell .wpforms-submit:hover{background:#0077B6!important;border-color:#0077B6!important}
.form-shell .wpforms-required-label,.req{color:#DC2626!important}
.form-success[hidden]{display:none!important}
@media (max-width:900px){.contact-layout{grid-template-columns:1fr!important;gap:2rem!important}.contact-hero{padding:2.75rem 0 1.5rem}}

/* ===== AoT global mobile harden ===== */
html, body { overflow-x: hidden; }
img, video, svg, iframe { max-width: 100%; height: auto; }
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1.25rem; padding-right: 1.25rem; box-sizing: border-box; }
.aot-static-main { overflow-x: hidden; }

/* Header safe on small phones */
@media (max-width: 480px) {
  .logo-brand .brand-name { font-size: 0.82rem; }
  .logo-brand .brand-tagline { font-size: 0.55rem; max-width: 8.5rem; }
  .logo-link img { width: 44px; height: 44px; }
  .menu-toggle { width: 42px; height: 42px; }
}

/* Dual-door mobile */
@media (max-width: 768px) {
  .hero-dual { display: flex; flex-direction: column; }
  .door { width: 100%; padding: 2.5rem 1.25rem; }
  .door .btn-cta,
  .door .btn-outline,
  .door a.btn-cta,
  .door a.btn-outline {
    display: inline-flex;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .door-actions, .door > div:has(a) { display: flex; flex-direction: column; gap: 0.65rem; width: 100%; }
}

/* Offcanvas touch targets */
.offcanvas a,
.offcanvas .sub-toggle {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.offcanvas .sub-links a {
  padding-left: 1rem;
  font-size: 0.92rem;
}

/* Footer mobile */
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
}

/* Forms mobile */
@media (max-width: 640px) {
  .form-card { padding: 1.25rem !important; }
  .wpforms-field-row,
  .wpforms-field-name { display: block !important; }
  .wpforms-field-name .wpforms-field { width: 100% !important; }
}

/* Prevent sticky header covering anchors */
[id] { scroll-margin-top: 100px; }

/* Buttons never overflow */
.btn-cta, .btn-outline, .btn-ghost, .btn-lg {
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* Academy hero slideshow mobile */
@media (max-width: 768px) {
  .hero-slideshow, .audience-slides-wrap { max-width: 100%; }
  .acad-hero-actions a { width: 100%; justify-content: center; }
}
/* ===== AoT exam track grid ===== */
.exam-track-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 1.25rem !important;
  align-items: stretch !important;
}
.exam-track-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 1.5rem 1.4rem !important;
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  border-top: 3px solid #00B4D8 !important;
  box-shadow: 0 2px 8px rgba(11, 28, 45, 0.04) !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  min-height: 100%;
}
.exam-track-card:hover {
  border-color: #00B4D8 !important;
  box-shadow: 0 6px 18px rgba(11, 28, 45, 0.08) !important;
}
.exam-track-card:nth-child(2) {
  border-top-color: #F5C518 !important;
}
.exam-track-card .exam-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0077B6;
  background: rgba(0, 180, 216, 0.12);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  width: fit-content;
}
.exam-track-card .exam-badge-cyber {
  color: #92400E;
  background: rgba(245, 197, 24, 0.2);
}
.exam-track-card h4 {
  font-size: 1.15rem !important;
  margin: 0 0 0.5rem !important;
  color: #0B1C2D !important;
}
.exam-track-card > p {
  font-size: 0.9rem !important;
  color: #374151 !important;
  margin: 0 0 0.85rem !important;
  flex: 0 0 auto;
}
.exam-track-points {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1 1 auto;
}
.exam-track-points li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.82rem;
  color: #4B5563;
  margin-bottom: 0.3rem;
}
.exam-track-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00B4D8;
}
.exam-track-card:nth-child(2) .exam-track-points li::before {
  background: #F5C518;
}
.exam-track-card .btn-cta,
.exam-track-card .btn-outline {
  margin-top: auto;
  align-self: flex-start;
}
.asset-lock-free {
  background: rgba(5, 150, 105, 0.12) !important;
  color: #059669 !important;
  border-color: transparent !important;
}
@media (max-width: 560px) {
  .exam-track-grid {
    grid-template-columns: 1fr !important;
  }
}
/* ===== AoT exam modules pages ===== */
.exam-modules-hero {
  padding: 3.5rem 0 2.5rem;
  background: #0B1C2D;
  color: #fff;
  border-bottom: 3px solid #00B4D8;
}
.exam-modules-hero-cyber {
  border-bottom-color: #F5C518;
}
.exam-modules-hero .section-label {
  color: #F5C518;
}
.exam-modules-hero .section-title {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  margin-bottom: 0.75rem;
}
.exam-modules-hero .section-lead {
  color: rgba(255,255,255,0.75);
  max-width: 40rem;
  margin: 0;
}
.exam-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,0.55);
}
.exam-breadcrumb a {
  color: #00B4D8;
  text-decoration: none;
  font-weight: 500;
}
.exam-breadcrumb a:hover { color: #F5C518; }
.exam-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.exam-module-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.exam-module-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1.5rem 1.35rem;
  border-top: 3px solid #00B4D8;
  box-shadow: 0 2px 8px rgba(11,28,45,0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.exam-module-card:hover {
  border-color: #00B4D8;
  box-shadow: 0 8px 20px rgba(11,28,45,0.08);
}
.exam-module-card-cyber {
  border-top-color: #F5C518;
}
.exam-module-card-cyber:hover {
  border-color: #F5C518;
}
.exam-module-num {
  display: block;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: #00B4D8;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}
.exam-module-card-cyber .exam-module-num {
  color: #B45309;
}
.exam-module-card h2 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: #0B1C2D;
}
.exam-module-card p {
  font-size: 0.88rem;
  color: #374151;
  margin: 0 0 1.15rem;
  flex: 1 1 auto;
}
.exam-module-card .btn-cta {
  align-self: flex-start;
  margin-top: auto;
}
.exam-modules-note {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: #6B7280;
  max-width: 40rem;
}
.acad-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 640px) {
  .exam-modules-hero { padding: 2.5rem 0 2rem; }
  .exam-module-grid,
  .exam-module-grid-4 { grid-template-columns: 1fr; }
  .acad-cta-actions { flex-direction: column; width: 100%; }
  .acad-cta-actions a { width: 100%; justify-content: center; }
}
/* ===== AoT QSM question title layout (fixed — no zero-width flex) ===== */
.qsm-quiz-container .qsm-question-wrapper {
  display: block !important;
}
.qsm-quiz-container .mlw_qmn_question_number {
  display: inline !important;
  float: none !important;
  margin: 0 0.35em 0 0 !important;
  padding: 0 !important;
  font-weight: 600 !important;
  font-size: 1.05rem !important;
  color: #0B1C2D !important;
  line-height: 1.55 !important;
}
.qsm-quiz-container .mlw_qmn_question {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 0.75rem 0 !important;
  padding: 0 !important;
  writing-mode: horizontal-tb !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  font-size: 1.05rem !important;
  line-height: 1.55 !important;
  color: #0B1C2D !important;
  box-sizing: border-box !important;
}
.qsm-quiz-container .mlw_qmn_question p {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}
.qsm-quiz-container .qsm-question-wrapper > fieldset {
  flex: 1 1 100% !important;
  width: 100% !important;
  margin-top: 1rem !important;
}
.qsm-quiz-container .qmn_radio_answers,
.qsm-quiz-container .qmn_mc_answer_wrap {
  margin-left: 0 !important;
}
/* ===== AoT QSM layout ===== */
.qsm-quiz-container,
.qmn_quiz_container {
  max-width: 720px !important;
  margin: 2rem auto 3rem !important;
  padding: 1.75rem 1.75rem 2rem !important;
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  border-top: 3px solid #00B4D8 !important;
  box-shadow: 0 4px 16px rgba(11, 28, 45, 0.06) !important;
  box-sizing: border-box !important;
}
.qsm-quiz-container .mlw_qmn_message_before,
.qsm-quiz-container .quiz_section.quiz_begin {
  padding: 0 !important;
  margin: 0 0 1.25rem !important;
}
.aot-quiz-intro h2 {
  font-family: Poppins, sans-serif !important;
  font-size: 1.5rem !important;
  color: #0B1C2D !important;
  margin: 0 0 0.35rem !important;
}
.aot-quiz-intro-lead {
  color: #0077B6 !important;
  font-weight: 600 !important;
  margin: 0 0 1.25rem !important;
  font-size: 0.95rem !important;
}
.aot-quiz-rules {
  list-style: none !important;
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
}
.aot-quiz-rules li {
  position: relative !important;
  padding: 0.55rem 0 0.55rem 1.1rem !important;
  border-bottom: 1px solid #F3F4F6 !important;
  font-size: 0.92rem !important;
  color: #374151 !important;
  line-height: 1.45 !important;
}
.aot-quiz-rules li::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.95rem !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #00B4D8 !important;
}
.aot-quiz-intro-note {
  font-size: 0.9rem !important;
  color: #4B5563 !important;
  margin: 0 !important;
}
.qsm-quiz-container .qsm-question-wrapper {
  padding: 0.25rem 0 0.5rem !important;
}
.qsm-quiz-container .qmn_radio_answers,
.qsm-quiz-container .qmn_mc_answer_wrap {
  margin: 0.35rem 0 !important;
  padding-left: 0.15rem !important;
}
.qsm-quiz-container .qsm-input-label {
  color: #374151 !important;
  font-size: 0.95rem !important;
}
.qsm-quiz-container .qmn_btn,
.qsm-quiz-container .qsm-btn,
.qsm-quiz-container .qsm-start-btn,
.qsm-quiz-container .qsm-next-btn,
.qsm-quiz-container .qsm-previous-btn,
.qsm-quiz-container .qsm-submit-btn {
  background: #00B4D8 !important;
  border-color: #00B4D8 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 0.55rem 1.15rem !important;
  text-decoration: none !important;
}
.qsm-quiz-container .qsm-previous-btn,
.qsm-quiz-container .qsm-secondary {
  background: #F3F4F6 !important;
  border-color: #E5E7EB !important;
  color: #0B1C2D !important;
}
.qsm-quiz-container .qsm-start-btn,
.qsm-quiz-container .mlw_custom_start {
  background: #00B4D8 !important;
  font-size: 1rem !important;
  padding: 0.7rem 1.5rem !important;
}
/* Timer bar */
.qsm-quiz-container .qsm-timer,
.qsm-quiz-container .mlw_qmn_timer,
.qsm-quiz-container #mlw_qmn_timer_div,
.qsm-quiz-container .qsm-quiz-timer {
  background: #0B1C2D !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 0.5rem 1rem !important;
  margin-bottom: 1rem !important;
  font-weight: 600 !important;
  text-align: center !important;
}
.qsm-quiz-container .qsm-pagination,
.qsm-quiz-container .qmn_pagination {
  display: flex !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  margin-top: 1.5rem !important;
  padding: 0 !important;
}
@media (max-width: 640px) {
  .qsm-quiz-container,
  .qmn_quiz_container {
    margin: 1rem 1rem 2rem !important;
    padding: 1.25rem 1.1rem 1.5rem !important;
    max-width: none !important;
  }
}
/* ===== AoT about leader photo ===== */
.about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important;
  gap: 2rem !important;
  align-items: start !important;
}
.leader-card-featured {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  overflow: hidden !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  border-top: 3px solid #F5C518 !important;
}
.leader-card-featured .leader-photo-wrap {
  flex: 0 0 160px !important;
  width: 160px !important;
  min-height: 220px !important;
  max-height: 280px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #0B1C2D !important;
  border-radius: 0 !important;
}
.leader-card-featured .leader-photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 220px !important;
  max-height: 280px !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.leader-card-featured .leader-body {
  flex: 1 1 auto !important;
  padding: 1.35rem 1.4rem !important;
}
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr !important;
  }
  .leader-card-featured {
    flex-direction: column !important;
  }
  .leader-card-featured .leader-photo-wrap {
    flex: 0 0 auto !important;
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
  }
  .leader-card-featured .leader-photo {
    height: 220px !important;
    min-height: 220px !important;
    object-position: center 15% !important;
  }
}

/* Global polish: prevent horizontal overflow */
html, body {
  overflow-x: hidden !important;
}
.aot-static-main {
  overflow-x: hidden !important;
}

/* Quiz page: ensure main content has side padding on mobile */
.page-id-107 .site-content,
.page-id-107 .aot-static-main {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* AoT: hide QSM footer page counter + question numbers during active quiz */
.qsm-quiz-container .pages_count,
.qmn_quiz_container .pages_count,
.qsm-quiz-container .qmn_page_counter_message,
.qmn_quiz_container .qmn_page_counter_message,
.qsm-quiz-container .qsm-page-counter,
.qmn_quiz_container .qsm-page-counter,
.qsm-quiz-container .mlw_qmn_question_number,
.qmn_quiz_container .mlw_qmn_question_number {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
