/* ==========================================================================
   ArcMosaico Theme - Main Stylesheet
   Extracted from source HTML and organized with section comments.
   ========================================================================== */

/* ==========================================================================
   Design Tokens (CSS Custom Properties)
   ========================================================================== */

:root {
  --purple: #5B4FEB;
  --purple-dark: #4A3FD4;
  --teal: #00C9A7;
  --teal-dark: #00B394;
  --magenta: #E040BE;
  --navy: #0F1035;
  --navy-light: #1A1F5E;
  --gray-bg: #F7F8FC;
  --purple-tint: #F0EFFE;
  --teal-tint: #EDFCF9;
  --text-muted: #555;
  --border: #E8E8F0;
  --blue: #1E7BB8;
  --pillar-think: #C32B86;
  --pillar-compass: #4B2E91;
  --pillar-world: #2A6E96;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #0F1035;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.tag-purple {
  background: var(--purple-tint);
  color: var(--purple);
}

.tag-teal {
  background: var(--teal-tint);
  color: #007D68;
}

.tag-magenta {
  background: #FDF0FA;
  color: #9B1070;
}

.tag-orange {
  background: #FFF4EC;
  color: #B85C00;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.2px;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
}

.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91, 79, 235, 0.35);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
}

.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 201, 167, 0.3);
}

.btn-white {
  background: #fff;
  color: var(--purple);
}

.btn-white:hover {
  background: #F5F3FF;
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-text {
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-text:hover {
  color: var(--purple);
  gap: 9px;
}

.btn-text .arrow {
  transition: transform 0.2s;
}

.btn-text:hover .arrow {
  transform: translateX(3px);
}

.btn-login {
  background: transparent;
  color: var(--purple);
  border: 1.5px solid var(--purple);
}

.btn-login:hover {
  background: var(--purple-tint);
  transform: translateY(-2px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #60617A;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--purple);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta .btn {
  padding: 9px 22px;
  font-size: 14px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 96px 0 80px;
  background: radial-gradient(ellipse 90% 70% at 60% 45%, #EDE9FE 0%, #FFF1E6 45%, #FFFFFF 75%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #FFBFA3 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.18;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-tint);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-eyebrow span {
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.hero h1 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--navy);
}

.hero h1 em {
  font-style: normal;
  color: var(--purple);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-disc-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-disc-wrap::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 79, 235, 0.08) 0%, transparent 70%);
}

#hero-disc {
  width: 420px;
  height: 420px;
  position: relative;
  z-index: 1;
  animation: disc-spin 40s linear infinite;
  filter: drop-shadow(0 24px 64px rgba(91, 79, 235, 0.18));
}

@keyframes disc-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-photo-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 72% 88% at 78% 42%, rgba(91, 79, 235, 0.34) 0%, rgba(0, 201, 167, 0.18) 50%, transparent 80%);
  background-size: cover;
  background-position: center 30%;
  opacity: 0.55;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.08) 25%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,1) 75%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.08) 25%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,1) 75%);
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */

.trust-bar {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #FAFAFA;
}

.trust-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.trust-bar p {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #AAA;
  margin-bottom: 20px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-logo {
  font-size: 13px;
  font-weight: 700;
  color: #888;
  letter-spacing: -0.2px;
  padding: 8px 20px;
  border: 1.5px solid #DDD;
  border-radius: 10px;
  background: #fff;
  transition: all 0.2s;
}

.trust-logo:hover {
  color: var(--purple);
  border-color: var(--purple);
}

/* ==========================================================================
   Feature Sections
   ========================================================================== */

.feature {
  padding: 100px 0;
}

.feature-bg-purple {
  background: var(--purple-tint);
}

.feature-bg-teal {
  background: var(--teal-tint);
}

.feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.feature-inner.reverse .feature-text { order: 1; }

.feature-text h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.12;
  margin-bottom: 18px;
  color: var(--navy);
}

.feature-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 28px;
}

.feature-link {
  color: var(--purple);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}

.feature-link:hover {
  gap: 9px;
}

/* ==========================================================================
   Project Cards Visual
   ========================================================================== */

.project-cards-visual {
  position: relative;
  padding: 10px;
}

.project-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  margin-bottom: 12px;
  border-left: 4px solid var(--purple);
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.project-card:nth-child(2) {
  border-left-color: var(--teal);
}

.project-card:nth-child(3) {
  border-left-color: var(--magenta);
}
}

.pc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.pc-grade {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #AAA;
}

.pc-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.pc-tag-science {
  background: #E8F5E9;
  color: #2E7D32;
}

.pc-tag-social {
  background: #E3F2FD;
  color: #1565C0;
}

.pc-tag-math {
  background: #FFF3E0;
  color: #E65100;
}

.pc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.pc-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.55;
}

/* ==========================================================================
   Disc Visual
   ========================================================================== */

.disc-visual-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.disc-visual-wrap::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 79, 235, 0.06) 0%, transparent 70%);
}

#feature-disc {
  width: 360px;
  height: 360px;
  filter: drop-shadow(0 16px 48px rgba(91, 79, 235, 0.15));
  position: relative;
  z-index: 1;
}

.disc-photo-peek {
  position: absolute;
  bottom: 10px;
  right: -10px;
  width: 192px;
  height: 132px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  border: 4px solid #fff;
  z-index: 2;
}

.disc-photo-peek img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   AI Form Mockup
   ========================================================================== */

.ai-visual-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-photo-header {
  border-radius: 20px;
  overflow: hidden;
  height: 180px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  line-height: 0;
}

.ai-photo-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.ai-mockup {
  background: #fff;
  border-radius: 20px;
  padding: 28px 30px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.1);
  border: 1.5px solid var(--border);
}

.ai-mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.ai-mockup-icon {
  width: 28px;
  height: 28px;
  background: var(--purple);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.ai-mockup-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.ai-field-label {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.ai-textarea-mock {
  width: 100%;
  min-height: 60px;
  padding: 10px 14px;
  border: 1.5px solid #E0E0E8;
  border-radius: 10px;
  background: #FAFAFA;
  font-size: 12px;
  color: #AAA;
  font-family: 'Inter', sans-serif;
  resize: none;
  display: block;
  margin-bottom: 16px;
}

.ai-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.ai-chip {
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  border: 1.5px solid #DDD;
  color: #777;
  cursor: pointer;
  transition: all 0.15s;
}

.ai-chip.on {
  background: var(--teal-tint);
  border-color: var(--teal);
  color: #007D68;
}

.ai-chip.on2 {
  background: var(--purple-tint);
  border-color: var(--purple);
  color: var(--purple);
}

.ai-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.ai-select-mock {
  padding: 9px 12px;
  border: 1.5px solid #E0E0E8;
  border-radius: 10px;
  background: #FAFAFA;
  font-size: 12px;
  color: #888;
  font-family: 'Inter', sans-serif;
}

.ai-generate-btn {
  width: 100%;
  padding: 12px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'Inter', sans-serif;
}

.sparkle {
  font-size: 14px;
}

/* ==========================================================================
   Standards Mockup
   ========================================================================== */

.standards-visual-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.standards-photo-footer {
  border-radius: 20px;
  overflow: hidden;
  height: 160px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  line-height: 0;
}

.standards-photo-footer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.standards-mockup {
  background: #fff;
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.08);
  border: 1.5px solid var(--border);
}

.std-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.std-count {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  background: var(--purple-tint);
  color: var(--purple);
  border-radius: 100px;
}

.std-row {
  padding: 12px 0;
  border-bottom: 1px solid #F2F2F8;
}

.std-row:last-child {
  border-bottom: none;
}

.std-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.std-ftag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  white-space: nowrap;
}

.ft-life {
  background: #5B4FEB;
}

.ft-create {
  background: #E040BE;
}

.ft-think {
  background: #00C9A7;
}

.ft-ngss {
  background: #2196F3;
}

.ft-ela {
  background: #FF7043;
}

.std-arrow {
  color: #CCC;
  font-size: 10px;
}

.std-sub {
  font-size: 11px;
  font-weight: 600;
  color: #555;
}

.std-detail {
  font-size: 11px;
  color: #999;
  line-height: 1.5;
}

.std-code {
  font-size: 10px;
  font-weight: 600;
  color: #AAA;
  margin-top: 3px;
}

/* ==========================================================================
   Projects Visual Stack
   ========================================================================== */

.projects-visual-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.projects-photo-top {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 1.5px, transparent 1.6px) 0 0 / 22px 22px, linear-gradient(120deg, #5B4FEB 0%, #E040BE 100%);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  height: 150px;
  line-height: 0;
}

.projects-photo-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.projects-visual-stack .project-cards-visual {
  background: #fff;
  border-radius: 20px;
  padding: 16px 10px 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats-section {
  padding: 100px 0;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats-photo-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 58% 70% at 76% 22%, rgba(123, 95, 184, 0.55) 0%, transparent 62%);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

.stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stats-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0, 201, 167, 0.12);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.stats-section h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 14px;
}

.stats-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 64px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.stats-grid-4 { grid-template-columns: repeat(4, 1fr); }

.stat-card {
  padding: 48px 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(91, 79, 235, 0.4);
}

.stat-card.featured {
  background: rgba(91, 79, 235, 0.18);
  border-color: rgba(91, 79, 235, 0.35);
}

.stat-num {
  font-size: clamp(52px, 7vw, 76px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-num.t {
  color: var(--teal);
}

.stat-num.m {
  color: var(--magenta);
}

.stat-num.p {
  color: #A78BFA;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.stat-label strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.stats-footnote {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Competencies Section
   ========================================================================== */

.competencies-section {
  padding: 100px 0;
  background: #FFF9F5;
}

.comp-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.72;
}

.comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.comp-tile {
  background: #fff;
  border-radius: 20px;
  padding: 32px 26px;
  border: 1.5px solid #EAEAEF;
  transition: all 0.22s;
}

.comp-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(91, 79, 235, 0.1);
  border-color: var(--purple);
}

.comp-tile:nth-child(1) { border-top: 4px solid #5B4FEB; }
.comp-tile:nth-child(2) { border-top: 4px solid #E040BE; }
.comp-tile:nth-child(3) { border-top: 4px solid #00C9A7; }
.comp-tile:nth-child(4) { border-top: 4px solid #FF9800; }
.comp-tile:nth-child(5) { border-top: 4px solid #2196F3; }
.comp-tile:nth-child(6) { border-top: 4px solid #4CAF50; }

.comp-icon {
  font-size: 34px;
  margin-bottom: 14px;
  display: block;
}

.comp-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.comp-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.65;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

#contact {
  scroll-margin-top: 80px;
}

.contact-section {
  padding: 100px 0;
  background: #F9F7FF;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}

.contact-inner>.tag {
  margin-bottom: 16px;
}

.contact-inner h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 12px;
}

.contact-inner>p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 48px;
  line-height: 1.7;
}

.contact-form,
.contact-form-wrap {
  background: #fff;
  border-radius: 24px;
  padding: 44px 48px;
  box-shadow: 0 8px 60px rgba(91, 79, 235, 0.1);
  border: 1.5px solid var(--border);
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid #E0E0E8;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #333;
  background: #FAFAFA;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(91, 79, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  height: 90px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  margin-top: 4px;
}

.form-submit:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91, 79, 235, 0.3);
}

/* ==========================================================================
   Contact Form 7 Integration
   Ensures CF7-generated markup matches the original .contact-form design.
   ========================================================================== */

/* CF7 form wrapper — inherits .contact-form styling context */
.wpcf7-form {
  text-align: left;
}

/* CF7 wraps each field in a span; prevent it from disrupting layout */
.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}

/* Ensure .form-row two-column grid works inside CF7 */
.wpcf7-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Form group spacing within CF7 */
.wpcf7-form .form-group {
  margin-bottom: 24px;
}

.wpcf7-form .form-group br {
  display: none;
}

.wpcf7-form .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 7px;
}

/* Style CF7 inputs, selects, and textareas */
.wpcf7-form .form-group input[type="text"],
.wpcf7-form .form-group input[type="email"],
.wpcf7-form .form-group select,
.wpcf7-form .form-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid #E0E0E8;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #333;
  background: #FAFAFA;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.wpcf7-form .form-group input[type="text"]:focus,
.wpcf7-form .form-group input[type="email"]:focus,
.wpcf7-form .form-group select:focus,
.wpcf7-form .form-group textarea:focus {
  border-color: var(--purple);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(91, 79, 235, 0.1);
}

.wpcf7-form .form-group textarea {
  resize: vertical;
  height: 90px;
}

/* Select dropdown arrow restore after appearance reset */
.wpcf7-form .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* CF7 submit button — match .form-submit design */
.wpcf7-form input[type="submit"].form-submit,
.wpcf7-form input[type="submit"].wpcf7-form-control {
  width: 100%;
  padding: 14px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  margin-top: 4px;
  -webkit-appearance: none;
  appearance: none;
}

.wpcf7-form input[type="submit"].form-submit:hover,
.wpcf7-form input[type="submit"].wpcf7-form-control:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91, 79, 235, 0.3);
}

/* CF7 spinner (loading indicator next to submit) */
.wpcf7-form .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

/* ==========================================================================
   Contact Form – Validation & Error States
   ========================================================================== */

/* Required field indicator */
.contact-form .required-indicator,
.contact-form-wrap .required-indicator,
.wpcf7-form .required-indicator {
  color: #E53E3E;
  font-weight: 700;
}

/* Invalid input border */
.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #E53E3E;
  background: #FFF5F5;
}

.contact-form input.is-invalid:focus,
.contact-form select.is-invalid:focus,
.contact-form textarea.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
  border-color: #E53E3E;
}

/* Invalid checkbox styling */
.contact-form input[type="checkbox"].is-invalid {
  outline: 2px solid #E53E3E;
  outline-offset: 2px;
}

/* Inline error message */
.contact-form__error {
  display: none;
  font-size: 12px;
  font-weight: 500;
  color: #E53E3E;
  margin-top: 5px;
  padding-left: 2px;
  line-height: 1.4;
}

.contact-form__error.is-visible {
  display: block;
}

/* General form message */
.contact-form__message {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 16px;
}

.contact-form__message--error {
  background: #FFF5F5;
  border: 1.5px solid #FED7D7;
  color: #C53030;
}

.contact-form__message--success {
  background: #F0FFF4;
  border: 1.5px solid #C6F6D5;
  color: #276749;
}

/* Submit button loading state */
.contact-form button[type="submit"].is-loading {
  opacity: 0.75;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* ==========================================================================
   Contact Form – Thank You Overlay
   ========================================================================== */

body.contact-overlay-open {
  overflow: hidden;
}

.contact-thank-you-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 16, 53, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contact-thank-you-overlay.is-active {
  display: flex;
}

.contact-thank-you-modal {
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(15, 16, 53, 0.25);
  animation: gated-modal-enter 0.25s ease-out;
}

@keyframes contact-modal-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.contact-thank-you-modal__icon {
  width: 56px;
  height: 56px;
  background: #EDFCF9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: #00C9A7;
  font-weight: 700;
}

.contact-thank-you-modal h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0F1035;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.contact-thank-you-modal p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-thank-you-modal .btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--purple, #5B4FEB);
  color: #fff;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.contact-thank-you-modal .btn:hover {
  background: var(--purple-dark, #4A3FD4);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91, 79, 235, 0.35);
}

/* Checkbox fields — Newsletter & ToS alignment */
.contact-form .form-group--checkbox,
.wpcf7-form .form-group--checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  text-align: left;
  margin-bottom: 16px;
}

.contact-form .form-group--checkbox label,
.wpcf7-form .form-group--checkbox > label {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.contact-form .form-group--checkbox input[type="checkbox"],
.wpcf7-form .form-group--checkbox .wpcf7-list-item input[type="checkbox"],
.wpcf7-form .form-group--checkbox .wpcf7-acceptance input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.wpcf7-form .form-group--checkbox .wpcf7-list-item {
  margin: 0;
}

.wpcf7-form .form-group--checkbox .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* CF7 acceptance (ToS) field — fix alignment when checkbox is inside a wrapper */
.wpcf7-form .form-group--checkbox .wpcf7-form-control-wrap {
  display: inline;
  font-size: 0; /* collapse whitespace */
}

.wpcf7-form .form-group--checkbox .wpcf7-acceptance {
  display: inline;
  font-size: 14px;
}

.wpcf7-form .form-group--checkbox .wpcf7-acceptance .wpcf7-list-item {
  display: inline;
  margin: 0;
}

.wpcf7-form .form-group--checkbox .wpcf7-acceptance .wpcf7-list-item label {
  display: inline;
  gap: 0;
}

.wpcf7-form .form-group--checkbox .wpcf7-acceptance input[type="checkbox"] {
  margin-right: 8px;
  vertical-align: middle;
}

.wpcf7-form .form-group--checkbox .wpcf7-acceptance .wpcf7-list-item-label:empty {
  display: none;
}
/* CF7 validation error tip (per-field) */
.wpcf7-form .wpcf7-not-valid-tip {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #D32F2F;
  margin-top: 6px;
  padding-left: 2px;
}

/* Error tip inside checkbox group — full width below */
.wpcf7-form .form-group--checkbox > .wpcf7-not-valid-tip,
.contact-form .form-group--checkbox > .wpcf7-not-valid-tip,
.contact-form .form-group--checkbox > .contact-form__error.is-visible {
  width: 100%;
  margin-top: 0;
}

/* CF7 invalid field highlight */
.wpcf7-form .wpcf7-not-valid {
  border-color: #D32F2F !important;
  background: #FFF8F8 !important;
}

.wpcf7-form .wpcf7-not-valid:focus {
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1) !important;
}

/* CF7 response output (success/error messages at bottom of form) */
.wpcf7-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  border: 1.5px solid transparent;
}

/* Success state */
.wpcf7-form.sent .wpcf7-response-output {
  background: #EDFCF9;
  border-color: var(--teal);
  color: #007D68;
}

/* Error / failed states */
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output {
  background: #FFF2F2;
  border-color: #D32F2F;
  color: #B71C1C;
}

/* Validation errors state */
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
  display: block !important;
  background: #FFF5F5;
  border-color: #E53E3E;
  color: #C53030;
}

/* Required field indicator */
.wpcf7-form .required {
  color: #D32F2F;
  font-weight: 700;
  font-size: 13px;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */

.final-cta {
  padding: 100px 0;
  background: var(--purple);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.final-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

.final-cta h2 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 18px;
  line-height: 1.08;
}

.final-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 44px;
  line-height: 1.7;
}

.final-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.5);
  padding: 64px 0 36px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 52px;
}

.footer-brand .logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-brand .logo img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-brand>p {
  font-size: 14px;
  line-height: 1.72;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 11px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 13px;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Logo Mark
   ========================================================================== */

.logo { gap: 9px; }
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; display: block; }
.logo-text { font-size: 20px; font-weight: 900; letter-spacing: -0.5px; color: var(--navy); }
.logo-text > span { color: var(--purple); }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text > span { color: var(--teal); }

/* ==========================================================================
   Pillars & Areas
   ========================================================================== */

#framework { scroll-margin-top: 80px; }

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }

.pillar-col { background: #fff; border-radius: 20px; border: 1.5px solid #EAEAEF; overflow: hidden; transition: transform 0.22s, box-shadow 0.22s; }
.pillar-col:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1); }

.pillar-bar { height: 6px; }
.pillar-think .pillar-bar { background: var(--pillar-think); }
.pillar-compass .pillar-bar { background: var(--pillar-compass); }
.pillar-world .pillar-bar { background: var(--pillar-world); }

.pillar-head { padding: 28px 26px 18px; }

.pillar-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.pillar-think .pillar-eyebrow { color: var(--pillar-think); }
.pillar-compass .pillar-eyebrow { color: var(--pillar-compass); }
.pillar-world .pillar-eyebrow { color: var(--pillar-world); }

.pillar-head h3 { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; margin: 8px 0 10px; }
.pillar-head p { font-size: 13px; color: #888; line-height: 1.6; }

.area-list { list-style: none; padding: 0 26px 26px; }
.area-list li { font-size: 13.5px; font-weight: 600; color: var(--navy); padding: 11px 0 11px 22px; border-top: 1px solid #F2F2F8; position: relative; }
.area-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; }
.pillar-think .area-list li::before { background: var(--pillar-think); }
.pillar-compass .area-list li::before { background: var(--pillar-compass); }
.pillar-world .area-list li::before { background: var(--pillar-world); }

/* ==========================================================================
   Developmental Progression Mockup
   ========================================================================== */

#assessment { scroll-margin-top: 80px; }

.prog-mockup { background: #fff; border-radius: 20px; padding: 24px 26px; box-shadow: 0 8px 48px rgba(0, 0, 0, 0.1); border: 1.5px solid var(--border); }
.prog-head { font-size: 12px; font-weight: 800; color: #fff; background: var(--blue); display: inline-block; padding: 6px 14px; border-radius: 100px; margin-bottom: 16px; }
.prog-skill { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.45; margin-bottom: 8px; }
.prog-skill-label { display: inline-block; font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); background: #E8F1F8; padding: 3px 8px; border-radius: 4px; margin-right: 7px; vertical-align: middle; }
.prog-crumb { font-size: 11px; font-weight: 600; color: #AAA; margin-bottom: 16px; }
.prog-steps { display: flex; flex-direction: column; gap: 8px; }
.prog-step { border-left: 4px solid var(--c); background: #FAFAFC; border-radius: 0 10px 10px 0; padding: 10px 14px; }
.prog-step-grade { font-size: 11px; font-weight: 800; color: var(--c); margin-bottom: 3px; }
.prog-step-text { font-size: 12px; color: #666; line-height: 1.5; }

/* ==========================================================================
   Research Foundation
   ========================================================================== */

#research { scroll-margin-top: 80px; }

.research-section { padding: 100px 0; background: var(--gray-bg); }

.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.research-card { background: #fff; border-radius: 18px; padding: 26px 24px; border: 1.5px solid #EAEAEF; transition: transform 0.2s, box-shadow 0.2s; }
.research-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(15, 16, 53, 0.08); }
.research-card h3 { font-size: 16px; font-weight: 800; color: var(--navy); line-height: 1.35; margin-bottom: 9px; }
.research-card p { font-size: 13px; color: #888; line-height: 1.65; margin-bottom: 14px; }

.research-attr { font-size: 11px; font-weight: 700; color: var(--blue); border-top: 1px solid #F0F0F5; padding-top: 11px; }

.research-note { text-align: center; font-size: 13.5px; color: var(--text-muted); margin-top: 38px; line-height: 1.7; }

/* ==========================================================================
   Case Study
   ========================================================================== */

.casestudy-section { padding: 100px 0; background: #fff; }

.cs-inner { max-width: 920px; margin: 0 auto; padding: 0 28px; }

.cs-card { background: var(--gray-bg); border-radius: 22px; padding: 36px 38px; border: 1.5px solid var(--border); margin-bottom: 30px; }
.cs-project { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -0.4px; }
.cs-meta { font-size: 13px; font-weight: 600; color: var(--blue); margin-top: 4px; margin-bottom: 16px; }
.cs-body { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 22px; font-weight: 400; }

.cs-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cs-pillar { background: #fff; border-radius: 12px; padding: 15px 16px; border-top: 3px solid var(--c); font-size: 12px; color: #777; line-height: 1.55; }
.cs-pillar strong { display: block; color: var(--navy); font-size: 12px; font-weight: 800; margin-bottom: 5px; }

.cs-quote { text-align: center; max-width: 760px; margin: 0 auto; font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1.5; letter-spacing: -0.4px; }
.cs-quote cite { display: block; font-size: 13px; font-weight: 600; color: var(--blue); font-style: normal; margin-top: 18px; letter-spacing: 0; }

/* ==========================================================================
   White Paper Band
   ========================================================================== */

.wp-section { padding: 88px 0; background: var(--navy); }

.wp-inner { max-width: 1000px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: auto 1fr; gap: 52px; align-items: center; }

.wp-cover { width: 212px; height: auto; border-radius: 10px; background: linear-gradient(158deg, #fff 0%, #EEF1F5 100%); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); display: flex; flex-direction: column; flex-shrink: 0; overflow: hidden; }
.wp-cover:has(.wp-cover-img) { padding: 0; height: auto; }
.wp-cover:not(:has(.wp-cover-img)) { padding: 32px 28px; height: 282px; }
.wp-cover-img { width: 100%; height: auto; object-fit: contain; display: block; }
.wp-cover-arc { font-size: 48px; font-weight: 900; color: var(--blue); letter-spacing: -2px; line-height: 1; }
.wp-cover-rule { width: 40px; height: 4px; background: var(--pillar-think); margin: 14px 0; border-radius: 2px; }
.wp-cover-sub { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.45; }
.wp-cover-date { margin-top: auto; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: #9A9AAA; text-transform: uppercase; }

.wp-text .tag { background: rgba(255, 255, 255, 0.12); color: #fff; }
.wp-text h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: #fff; letter-spacing: -1px; line-height: 1.15; margin-bottom: 14px; }
.wp-text p { font-size: 16px; color: rgba(255, 255, 255, 0.62); line-height: 1.7; margin-bottom: 26px; }

.btn-wp { background: transparent; color: var(--purple); border: 1.5px solid var(--purple); }
.btn-wp:hover { background: var(--purple-tint); transform: translateY(-2px); }

/* ==========================================================================
   Tab System
   ========================================================================== */

[data-tab] {
  display: none;
  scroll-margin-top: 88px;
}

[data-tab~="home"] {
  display: block;
}

.nav-links a {
  position: relative;
}

.nav-links a.active {
  color: var(--purple);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
}

/* ==========================================================================
   Video Section
   ========================================================================== */

#in-action { scroll-margin-top: 88px; }

.video-section { padding: 90px 0; background: var(--gray-bg); }

.video-inner { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.video-placeholder {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.05) 1.5px, transparent 1.6px) 0 0 / 28px 28px,
    linear-gradient(150deg, #1A1F5E 0%, #0F1035 55%, #2A2270 100%);
  box-shadow: 0 26px 64px rgba(15, 16, 53, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  cursor: pointer;
}

.video-play {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
  transition: transform 0.2s;
}

.video-placeholder:hover .video-play { transform: scale(1.07); }

.video-play::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent var(--purple);
  margin-left: 6px;
}

.video-caption {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Video embed active state — keeps the styled container when a real video is present */
.video-placeholder--active {
  cursor: default;
  padding: 0;
  overflow: hidden;
}

.video-placeholder--active .video-embed-responsive {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-placeholder--active .video-embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 22px;
}

/* ==========================================================================
   Where We Fit Section
   ========================================================================== */

#where-we-fit { scroll-margin-top: 88px; }

.fit-section { padding: 100px 0; background: var(--gray-bg); }

.fit-inner { max-width: 980px; margin: 0 auto; padding: 0 28px; text-align: center; }

.fit-inner h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--navy);
  margin-bottom: 18px;
}

.fit-inner > p { font-size: 17px; color: var(--text-muted); line-height: 1.72; }

.fit-tabber {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  margin: 44px 0;
  text-align: left;
}

.fit-tabs { display: flex; flex-direction: column; gap: 8px; }

.fit-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #60617A;
  background: transparent;
  border: 1.5px solid transparent;
  border-left: 4px solid transparent;
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.fit-tab:hover { background: #fff; color: var(--navy); }

.fit-tab.active {
  background: #fff;
  border-color: #EAEAEF;
  border-left-color: var(--c);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(15, 16, 53, 0.07);
}

.fit-tab-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex-shrink: 0; }

.fit-panel {
  display: none;
  background: #fff;
  border: 1.5px solid #EAEAEF;
  border-top: 4px solid var(--c);
  border-radius: 14px;
  padding: 38px 40px;
  min-height: 248px;
  box-shadow: 0 8px 30px rgba(15, 16, 53, 0.06);
}

.fit-panel.active { display: block; }

.fit-panel h3 {
  font-size: 23px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.fit-panel p { font-size: 16px; color: var(--text-muted); line-height: 1.75; }

.fit-panel-image {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  margin-bottom: 22px;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="rgba(255,255,255,0.6)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="9" cy="9" r="2"/><path d="M21 15l-5-5L5 21"/></svg>') no-repeat center / 56px,
    radial-gradient(circle, rgba(255, 255, 255, 0.15) 1.5px, transparent 1.6px) 0 0 / 22px 22px,
    linear-gradient(135deg, var(--c) 0%, #1A1F5E 100%);
}

.fit-panel-image--has-img {
  background: none;
  aspect-ratio: auto;
  overflow: hidden;
}

.fit-panel-image--has-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.fit-closing { max-width: 640px; margin: 0 auto; }

/* ==========================================================================
   Join the Transformation
   ========================================================================== */

#join { scroll-margin-top: 88px; }

.join-section { padding: 100px 0; background: #fff; }

.join-inner { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

.districts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.district {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1.5px solid #EAEAEF;
  border-radius: 14px;
  padding: 14px 22px 14px 15px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(15, 16, 53, 0.05);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.district:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 16, 53, 0.1);
  border-color: var(--purple);
}

.district-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  flex-shrink: 0;
}

.district:nth-child(1) .district-mark { background: var(--pillar-think); }
.district:nth-child(2) .district-mark { background: var(--pillar-compass); }
.district:nth-child(3) .district-mark { background: var(--pillar-world); }
.district:nth-child(4) .district-mark { background: var(--teal); }
.district:nth-child(5) .district-mark { background: #FF9800; }

/* Logo-only variant: larger logos, no card border, no name text */
.district--logo-only {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
}

.district--logo-only:hover {
  box-shadow: none;
  border-color: transparent;
  transform: none;
  opacity: 0.75;
}

.district-logo-img {
  height: 110px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: grayscale(0.15);
  transition: filter 0.2s, opacity 0.2s;
}

.district--logo-only:hover .district-logo-img {
  filter: grayscale(0);
}

/* Initials card keeps name visible */
.district-name { font-size: 15px; font-weight: 700; color: var(--navy); }

/* ==========================================================================
   Wide Section Descriptions
   ========================================================================== */

.video-section .section-header p,
.join-section .section-header p {
  max-width: 900px;
}

.fit-section .section-header p {
  max-width: 900px;
}

.competencies-section .section-header p,
.research-section .section-header p {
  max-width: none;
}

/* ==========================================================================
   Assessment Frame
   ========================================================================== */

.assessment-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(15, 16, 53, 0.15);
  background: #fff;
}

.assessment-frame img { width: 100%; height: auto; display: block; }

/* ==========================================================================
   Tab Heroes
   ========================================================================== */

.tab-hero {
  padding: 80px 0 70px;
  background: radial-gradient(ellipse 80% 75% at 78% 40%, #F0EFFE 0%, #EDFCF9 55%, #FFFFFF 95%);
  position: relative;
  overflow: hidden;
}

.tab-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.tab-hero-text h1 {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1.1;
  color: var(--navy);
  margin: 14px 0 18px;
}

.tab-hero-text h1 em { font-style: normal; color: var(--purple); }

.tab-hero-text p { font-size: 17px; color: var(--text-muted); line-height: 1.72; max-width: 540px; }

.tab-hero-image {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 16, 53, 0.18);
}

.tab-hero-image img { width: 100%; height: auto; display: block; }

/* ==========================================================================
   Fragment / Every Dimension Section
   ========================================================================== */

.frag-section { padding: 100px 0 90px; background: #fff; }

.frag-inner { max-width: 1180px; margin: 0 auto; padding: 0 28px; text-align: center; }

.frag-header { max-width: 760px; margin: 0 auto 48px; }

.frag-section h2 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--navy);
  margin: 14px 0 16px;
}

.frag-section h2 em { font-style: normal; color: var(--pillar-think); }

.frag-section > .frag-inner > .frag-header > p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

.frag-image {
  max-width: 980px;
  margin: 0 auto;
}

.frag-image img { width: 100%; height: auto; display: block; }

/* ==========================================================================
   Differentiator Section
   ========================================================================== */

.diff-section {
  background: var(--navy);
  color: #fff;
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.diff-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.diff-inner { max-width: 1180px; margin: 0 auto; padding: 0 28px; text-align: center; position: relative; }

.diff-header { max-width: 940px; margin: 0 auto 56px; }

.diff-section .tag.diff-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.diff-section h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1.18;
  color: #fff;
  margin-bottom: 22px;
}

.diff-section h2 em {
  font-style: normal;
  color: var(--teal);
}

.diff-header p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
  max-width: 780px;
  margin: 0 auto;
}

.diff-image {
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  background: #fff;
}

.diff-image img { width: 100%; height: auto; display: block; }

/* ==========================================================================
   Responsive - Tablet (max-width: 960px)
   ========================================================================== */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 {
    letter-spacing: -1.5px;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-disc-wrap {
    display: none;
  }

  .feature-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-inner.reverse .feature-text {
    order: -1;
  }

  #hero-disc,
  #feature-disc {
    width: 300px;
    height: 300px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .comp-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .nav-links {
    display: none;
  }

  .disc-photo-peek { display: none; }
  .ai-photo-header { height: 140px; }
  .standards-photo-footer { height: 120px; }
  .projects-photo-top { height: 110px; }
}

/* Responsive 960px - Navigation Tabs */
@media (max-width: 960px) {
  .nav-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 70px;
    padding-top: 14px;
  }

  .nav-links {
    display: flex;
    order: 3;
    width: 100%;
    margin-top: 12px;
    gap: 0;
    overflow-x: auto;
    border-top: 1px solid var(--border);
  }

  .nav-links li {
    flex: 0 0 auto;
  }

  .nav-links a {
    display: block;
    padding: 14px 16px;
    font-size: 13px;
    white-space: nowrap;
  }

  .nav-links a.active::after {
    left: 16px;
    right: 16px;
    bottom: 0;
  }
}

/* Responsive 960px - New Sections */
@media (max-width: 960px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .stats-grid-4 { grid-template-columns: 1fr 1fr; }
  .research-grid { grid-template-columns: 1fr 1fr; }
  .cs-pillars { grid-template-columns: 1fr; }
  .wp-inner { grid-template-columns: 1fr; gap: 30px; justify-items: center; text-align: center; }
  .tab-hero { padding: 60px 0 50px; }
  .tab-hero-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* Responsive 760px - Where We Fit Tabber */
@media (max-width: 760px) {
  .fit-tabber { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Responsive - Mobile (max-width: 600px)
   ========================================================================== */

@media (max-width: 600px) {
  .hero {
    padding: 64px 0 48px;
  }

  .feature {
    padding: 64px 0;
  }

  .stats-section,
  .competencies-section,
  .contact-section,
  .final-cta {
    padding: 64px 0;
  }

  .comp-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form,
  .contact-form-wrap {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* CF7 responsive overrides */
  .wpcf7-form .form-row {
    grid-template-columns: 1fr;
  }

  .wpcf7-form .wpcf7-response-output {
    font-size: 13px;
    padding: 12px 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .stats-grid-4 { grid-template-columns: 1fr; }
  .research-grid { grid-template-columns: 1fr; }
  .cs-card { padding: 28px 24px; }

  .district-logo-img {
    height: 72px;
    max-width: 160px;
  }

  .district--logo-only {
    padding: 8px 12px;
  }
}
