/* ═══════════════════════════════════════════════════════════════
   DataAscent — shared site styles
   Extracted from the original single-page index.html and extended
   for the multi-page site. No build step; plain CSS.
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --navy:       #00124c;
  --accent:     #6470ff;
  --accent-pale:#eef0ff;
  --white:      #ffffff;
  --off-white:  #f5f6fb;
  --text:       #00124c;
  --text-mid:   #2e3f6e;
  --text-light: #6b7ba4;
  --border:     rgba(0,18,76,0.1);
  --radius:     12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo svg { height: 28px; width: auto; display: block; }

/* Pin the nav wordmark colors. The footer logo's inline <style> redefines
   .cls-1/.cls-2 (white fills) later in the document at equal specificity,
   which would otherwise bleed into the nav logo. Scoped here so the footer
   keeps its light treatment. .cls-2 is a darkened brand accent (#4550d4,
   6.27:1 on white — WCAG AA) instead of #6470ff (3.96:1). */
.nav-logo svg .cls-1 { fill: #00124c; }
.nav-logo svg .cls-2 { fill: #4550d4; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--navy); }
.nav-links a[aria-current="page"] { color: var(--navy); font-weight: 700; }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent) !important; }

/* ── MOBILE NAV ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 102;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span:nth-child(1) { margin-bottom: 5px; }
.nav-toggle span:nth-child(3) { margin-top: 5px; }

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 2rem 5%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 99;
  overflow-y: auto;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-nav a:hover {
  color: var(--navy);
  padding-left: 0.5rem;
}

.mobile-nav a:last-child {
  border-bottom: none;
  margin-top: 1rem;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
}

.mobile-nav a:last-child:hover {
  background: var(--accent);
  padding-left: 0;
}

/* ── HERO (home) ── */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 5% 90px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: 65% 30%;
  background-repeat: no-repeat;
  opacity: 0.22;
  mix-blend-mode: luminosity;
}

.hero-watermark {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 52vw;
  max-width: 680px;
  opacity: 0.07;
  pointer-events: none;
}

.hero-inner {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 6vw, 4.75rem);
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}
.hero h1 em { font-style: italic; color: var(--accent); font-size: 0.95em; }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.6);
  max-width: 720px;
  line-height: 1.75;
  margin-bottom: 2.75rem;
}

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

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  padding: 160px 5% 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero .hero-eyebrow { margin-bottom: 1.25rem; }

.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.page-hero h1 em { font-style: italic; color: var(--accent); font-size: 0.95em; }

.page-hero .hero-sub { margin-bottom: 2rem; }
.page-hero .hero-actions { margin-top: 0.5rem; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 0.875rem 1.85rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: #7a83ff; transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  padding: 0.875rem 1.85rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.55); color: var(--white); }

/* Ghost button on light backgrounds */
.btn-ghost-dark {
  border: 1px solid rgba(0,18,76,0.25);
  color: var(--text-mid);
  padding: 0.875rem 1.85rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-ghost-dark:hover { border-color: var(--navy); color: var(--navy); }

.btn-white {
  background: var(--white);
  color: var(--accent);
  padding: 0.875rem 1.85rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-white:hover { background: var(--navy); color: var(--white); }

.btn-accent-outline {
  display: inline-block;
  border: 1px solid rgba(100,112,255,0.5);
  color: var(--accent);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-accent-outline:hover {
  background: rgba(100,112,255,0.1);
  border-color: var(--accent);
  color: #fff;
}

.btn-submit {
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
}
.btn-submit:hover { background: var(--accent); transform: translateY(-1px); }
.btn-submit:disabled { background: var(--text-light); cursor: not-allowed; transform: none; }

/* ── SHARED SECTIONS ── */
section { padding: 100px 5%; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 680px;
}

.section-alt { background: var(--off-white); }

.section-dark { background: var(--navy); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-lead { color: rgba(255,255,255,0.55); }

.prose p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  max-width: 760px;
}
.prose h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.prose ul {
  margin: 0 0 1.25rem 1.25rem;
  color: var(--text-mid);
  max-width: 760px;
}
.prose li { margin-bottom: 0.5rem; line-height: 1.7; }
.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

/* ── PROBLEM ── */
.problem { background: var(--off-white); }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  margin-top: 3.5rem;
  align-items: start;
}

.problem-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.friction-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.friction-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.55;
  padding: 1rem 1.1rem;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.friction-list li::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.45em;
}

/* ── CARD GRIDS ── */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.approach-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.approach-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(100,112,255,0.1);
  transform: translateY(-2px);
}

.approach-icon {
  width: 40px; height: 40px;
  background: var(--accent-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.2rem;
}

.approach-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.approach-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.65; }

/* Card as link */
a.approach-card { display: block; text-decoration: none; }

/* ── HOW WE WORK / DARK STEPS ── */
.how { background: var(--navy); }
.how .section-title { color: var(--white); }
.how .section-lead { color: rgba(255,255,255,0.55); max-width: 620px; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.how-step {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s, border-color 0.2s;
}
.how-step:hover { background: rgba(100,112,255,0.1); border-color: rgba(100,112,255,0.35); }

.how-step-num { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.85rem; }
.how-step h3 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; }
.how-step p { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ── SERVICES ── */
.services { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.1rem;
  margin-top: 3.5rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-item:hover { border-color: var(--accent); box-shadow: 0 4px 18px rgba(100,112,255,0.08); }

.service-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 0.5em; }
.service-item h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.service-item p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
a.service-item { text-decoration: none; }

/* Detailed service blocks (services page) */
.service-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2.5rem;
  margin-top: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-detail:hover { border-color: var(--accent); box-shadow: 0 4px 18px rgba(100,112,255,0.08); }
.service-detail h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.service-detail p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 0.85rem; }
.service-detail .service-outcomes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1rem;
}
.service-detail .service-outcomes li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.service-detail .service-outcomes li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.5em;
}

/* ── AI BANNER / CTA BANNER ── */
.ai-banner { background: var(--accent); padding: 64px 5%; }

.ai-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.ai-banner h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: var(--white); line-height: 1.25; }
.ai-banner p { font-size: 1rem; color: rgba(255,255,255,0.78); margin-top: 0.75rem; max-width: 500px; line-height: 1.7; }

/* Closing CTA (navy) */
.closing-cta {
  background: var(--navy);
  text-align: center;
}
.closing-cta .section-title { color: var(--white); }
.closing-cta .section-lead { color: rgba(255,255,255,0.55); margin: 0 auto 2.25rem; }
.closing-cta .hero-actions { justify-content: center; }

/* ── ABOUT ── */
.about-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 5rem;
  align-items: center;
}

.about-portrait {
  aspect-ratio: 1/1;
  background: var(--off-white);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 340px;
  margin: 0 auto;
  box-shadow: 0 8px 48px rgba(0,18,76,0.12);
}

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

.about-text .section-label { margin-bottom: 0.4rem; }
.about-text h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--navy); line-height: 1.15; margin-bottom: 0.3rem; }
.founder-title { font-size: 0.875rem; color: var(--accent); font-weight: 600; margin-bottom: 1.75rem; }
.about-text p { font-size: 1rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.1rem; }

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.credential-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.credential-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  min-width: 140px;
}

.credential-value {
  color: var(--text-mid);
  line-height: 1.4;
}

/* ── CONTACT ── */
.contact { background: var(--off-white); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3.5rem;
}

.contact-detail { display: flex; flex-direction: column; gap: 0.3rem; margin-top: 2rem; }
.contact-detail span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); }
.contact-detail a { font-size: 1rem; color: var(--accent); text-decoration: none; font-weight: 500; }
.contact-detail a:hover { text-decoration: underline; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,18,76,0.05);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.78rem; font-weight: 700; color: var(--text-mid); letter-spacing: 0.05em; }

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.925rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0b8cf; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(100,112,255,0.12); }
.form-group textarea { min-height: 120px; }

.form-success {
  text-align: center;
  padding: 3rem 1rem;
}
.form-success h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-success p {
  color: var(--text-mid);
  font-size: 1rem;
}

/* Two-path cards (contact page) */
.two-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.path-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.path-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(100,112,255,0.1);
  transform: translateY(-2px);
}
.path-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--navy);
  line-height: 1.25;
}
.path-card p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; flex: 1; }
.path-card .btn-primary, .path-card .btn-ghost-dark { align-self: flex-start; }

/* ── LEXI ── */
.lexi { background: var(--navy); position: relative; overflow: hidden; }
.lexi::before {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(100,112,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.lexi .section-title { color: var(--white); }
.lexi .section-lead  { color: rgba(255,255,255,0.6); }

.lexi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 3.5rem;
}

.lexi-visual {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(100,112,255,0.25);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  position: relative;
}

.lexi-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 0 8px rgba(100,112,255,0.15);
  border: 2px solid rgba(100,112,255,0.3);
}

.lexi-name-group { text-align: center; }

.lexi-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.lexi-tagline {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.3;
  max-width: 420px;
  margin: 0.1rem auto 0;
  white-space: nowrap;
}

.lexi-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(100,112,255,0.15);
  border: 1px solid rgba(100,112,255,0.3);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
}

.lexi-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.lexi-chat-preview {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.chat-bubble {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.55;
  text-align: left;
  max-width: 90%;
}

.chat-bubble.user {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.chat-bubble.lexi-reply {
  background: rgba(100,112,255,0.15);
  border: 1px solid rgba(100,112,255,0.2);
  color: rgba(255,255,255,0.85);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.lexi-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lexi-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.lexi-feature-icon {
  width: 36px; height: 36px;
  background: rgba(100,112,255,0.25);
  border: 1px solid rgba(100,112,255,0.45);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #a0aaff;
  flex-shrink: 0;
}

.lexi-feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.lexi-feature p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.lexi-cta { margin-top: 1rem; }

/* Light-background variant of lexi feature list (lexi page) */
.lexi-feature-light .lexi-feature-icon {
  background: var(--accent-pale);
  border: 1px solid rgba(100,112,255,0.3);
  color: var(--accent);
}
.lexi-feature-light h4 { color: var(--navy); }
.lexi-feature-light p { color: var(--text-light); }

/* Example question chips */
.question-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2.5rem;
}
.question-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  font-size: 0.925rem;
  color: var(--text-mid);
  line-height: 1.6;
  font-style: italic;
}
.question-list li::before {
  content: '“';
  color: var(--accent);
  font-family: 'DM Serif Display', serif;
  font-size: 1.2em;
  margin-right: 0.15em;
}
.question-list li::after {
  content: '”';
  color: var(--accent);
  font-family: 'DM Serif Display', serif;
  font-size: 1.2em;
  margin-left: 0.15em;
}

/* ── DIFFERENTIATOR LIST (approach page) ── */
.principles {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 3rem;
}

.principle {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 2.1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.principle:hover { border-color: var(--accent); box-shadow: 0 4px 18px rgba(100,112,255,0.08); }

.principle-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.5rem;
}

.principle h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.principle p { font-size: 0.925rem; color: var(--text-mid); line-height: 1.7; }

/* ── COMPOUNDING FLOW DIAGRAM (approach page) ── */
.compound-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 3rem;
}

.compound-step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(100,112,255,0.35);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  flex: 1 1 130px;
  max-width: 200px;
  line-height: 1.4;
}

.compound-arrow {
  display: flex;
  align-items: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── RESOURCES ── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.topic-block { margin-top: 4rem; }
.topic-block:first-of-type { margin-top: 3rem; }
.topic-block h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.topic-block > p { font-size: 0.95rem; color: var(--text-mid); max-width: 680px; margin-bottom: 1rem; }

.format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}
.format-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--accent-pale);
  border: 1px solid rgba(100,112,255,0.25);
  border-radius: 20px;
  padding: 0.35rem 0.95rem;
}

/* Article / resource cards (shared with home insights) */
.insights { background: var(--white); }

.insights-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.insights-header .section-title { margin-bottom: 0; }

.insights-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}
.insights-link:hover { gap: 0.55rem; }

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

.article-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.article-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(100,112,255,0.1);
  transform: translateY(-3px);
}

.article-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--accent-pale);
  display: block;
}

.article-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--accent-pale) 0%, var(--off-white) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.article-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.article-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-light); }

.article-card h3, .article-card .article-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.article-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.article-read {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.article-read:hover { gap: 0.5rem; }

.iia-credit {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
}
.iia-credit a { color: var(--accent); text-decoration: none; }
.iia-credit a:hover { text-decoration: underline; }

/* ── COMPANION ARTICLE PAGES ── */
.article-page {
  padding: 100px 5%;
}
.article-page-inner { max-width: 760px; margin: 0 auto; }

.article-page h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--navy);
  line-height: 1.2;
  margin: 2.5rem 0 1rem;
}

.article-page p { font-size: 1rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.25rem; }
.article-page ul, .article-page ol { margin: 0 0 1.25rem 1.25rem; color: var(--text-mid); }
.article-page li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-page a { color: var(--accent); text-decoration: none; }
.article-page a:hover { text-decoration: underline; }

.article-source-note {
  background: var(--accent-pale);
  border: 1px solid rgba(100,112,255,0.25);
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── FAQ ── */
.faq-list {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  max-width: 820px;
}

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

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-answer {
  padding: 0 0.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 720px;
}
.faq-item .faq-answer a { color: var(--accent); text-decoration: none; }
.faq-item .faq-answer a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer { background: var(--navy); padding: 44px 5%; }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-logo svg { height: 24px; width: auto; display: block; }

.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin-top: 0.4rem; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin-top: 0.9rem;
  padding: 0;
}
.footer-nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }

.footer-right { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.25s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.3s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .problem-grid, .about-inner, .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-portrait { max-height: 280px; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .lexi-layout { grid-template-columns: 1fr; gap: 3rem; }
  .insights-header { flex-direction: column; align-items: flex-start; }
  .question-list { grid-template-columns: 1fr; }
  .two-paths { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 0 4%; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 70px 4%; }
  .hero { padding: 110px 4% 70px; }
  .page-hero { padding: 130px 4% 60px; }
  .hero-watermark { opacity: 0.05; width: 90vw; right: -20%; }
  .form-row { grid-template-columns: 1fr; }
  .ai-banner-inner { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .principle { flex-direction: column; gap: 0.75rem; padding: 1.5rem; }
  .article-page { padding: 70px 4%; }
  .compound-arrow { transform: rotate(90deg); width: 100%; justify-content: center; }
  .compound-step { max-width: 100%; }
}
@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .approach-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}
