/* ═══════════════════════════════════════════
   LEAN AI — DESIGN SYSTEM
═══════════════════════════════════════════ */
:root {
  --teal:    #1BA38A;
  --teal-dk: #147A68;
  --teal-dpr:#0E5C4F;
  --teal-lt: #EAF7F4;
  --teal-tint:#D4EDE6;
  --charcoal:#23272F;
  --coal:    #181C23;
  --ink:     #0E1116;
  --gray:    #F6F8FA;
  --gray-2:  #EEF1F5;
  --line:    #E1E5EA;
  --mid:     #6B7280;
  --mid-2:   #9AA3AF;
  --white:   #FFFFFF;
  /* warm/inspirational palette */
  --butter:     #F9E512;
  --butter-soft:#FFF4A8;
  --cream:      #FBF6EC;
  --cream-2:    #F5EFDF;
  --warm-line:  #E8E0CE;
  --shadow-sm: 0 2px 8px rgba(15,20,30,.04);
  --shadow-md: 0 8px 28px rgba(15,20,30,.08);
  --shadow-lg: 0 24px 60px rgba(15,20,30,.18);
}

/* ───── INSPIRATIONAL UTILITIES (shared across pages) ─────
   .mark-y      → butter-yellow highlighter behind text (for headlines)
   .h-italic    → Lora italic accent inside Barlow Condensed headlines
   .page-head-warm   → cream page header (replaces dark charcoal headers)
   .marquee     → ticker bar (used on multiple pages)
*/
.mark-y {
  position: relative; display: inline; z-index: 1;
}
.mark-y::before {
  content: ''; position: absolute;
  left: -.04em; right: -.04em; bottom: .06em; height: .42em;
  background: var(--butter); z-index: -1;
  transform: skewX(-6deg);
}
.h-italic {
  font-family: 'Lora', serif;
  font-weight: 500; font-style: italic;
  text-transform: none; letter-spacing: -.005em;
  color: var(--teal);
}
.h-italic-butter {
  font-family: 'Lora', serif;
  font-weight: 500; font-style: italic;
  text-transform: none; letter-spacing: -.005em;
  color: var(--butter);
}

/* Warm page header — replaces dark charcoal block headers */
.page-head-warm {
  background: var(--cream);
  color: var(--charcoal);
  padding: 80px 40px 90px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--warm-line);
}
.page-head-warm::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(20,122,104,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,122,104,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 100%, transparent 0%, black 70%);
          mask-image: radial-gradient(ellipse 70% 80% at 80% 100%, transparent 0%, black 70%);
}
.page-head-warm > * { position: relative; }
.page-head-warm .crumbs {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 18px;
}
.page-head-warm .crumbs a { color: var(--mid); }
.page-head-warm .crumbs a:hover { color: var(--teal); text-decoration: none; }
.page-head-warm .crumbs span { margin: 0 10px; color: var(--mid-2); }
.page-head-warm .page-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(44px, 5.6vw, 84px);
  font-weight: 900; text-transform: uppercase;
  color: var(--ink); line-height: .92;
  letter-spacing: -.025em; margin-bottom: 22px;
  max-width: 980px;
}
.page-head-warm .page-title em {
  font-family: 'Lora', serif; font-weight: 500;
  font-style: italic; text-transform: none;
  letter-spacing: -.005em; color: var(--teal);
}
.page-head-warm .page-lead {
  font-family: 'Lora', serif; font-style: italic;
  font-size: 20px; color: #4a5563;
  max-width: 680px; line-height: 1.55;
}

/* Reusable marquee */
.marquee-bar {
  background: var(--ink); color: white;
  padding: 22px 0; overflow: hidden;
}
.marquee-bar .marquee-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: leanai-marquee 50s linear infinite;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
  width: max-content;
}
.marquee-bar .marquee-track .y { color: var(--butter); }
.marquee-bar .marquee-track .dot {
  color: var(--teal); font-size: 28px; align-self: center;
}
@keyframes leanai-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.display { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -.015em; line-height: 1.0; }
.serif { font-family: 'Lora', serif; }

/* ═══════════════════════════════════════════
   ANNOUNCEMENT BANNER
═══════════════════════════════════════════ */
.banner {
  background: var(--coal);
  color: #c0ccd6;
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
}
.banner a { color: var(--teal); font-weight: 700; text-decoration: none; }
.banner a:hover { text-decoration: underline; }
.banner .dot { color: var(--teal); margin: 0 10px; }

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
.topbar {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
.topbar .logo-img { height: 36px; width: auto; display: block; }
nav { display: flex; align-items: center; height: 76px; }
.nav-item { position: relative; height: 76px; display: flex; align-items: center; }
.nav-item > a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 0 18px;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
  white-space: nowrap;
}
.nav-item > a:hover, .nav-item:hover > a { color: var(--teal); }
.nav-item.active > a { color: var(--teal); }
.nav-item.active > a::after {
  content: ''; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; background: var(--teal);
}

.nav-pun {
  font-size: 9.5px;
  background: var(--teal-lt);
  color: var(--teal-dk);
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: .08em;
}

.dropdown {
  display: none;
  position: absolute;
  top: 76px;
  left: 0;
  background: white;
  border-top: 2px solid var(--teal);
  min-width: 320px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  padding: 8px 0;
}
.dropdown-header {
  padding: 14px 22px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.dropdown a {
  display: flex;
  flex-direction: column;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  transition: background .15s;
  text-transform: none;
  letter-spacing: 0;
  height: auto;
}
.dropdown a:hover { background: var(--gray); text-decoration: none; }
.dropdown a span {
  font-size: 12px;
  font-weight: 400;
  color: var(--mid);
  margin-top: 3px;
}
.nav-item:hover .dropdown { display: block; }

.nav-cta {
  margin-left: 14px;
  background: var(--teal) !important;
  color: white !important;
  padding: 11px 22px !important;
  border-radius: 5px;
  height: auto !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--teal-dk) !important; color: white !important; }
.nav-cta::after { display: none; }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: 'Barlow', sans-serif;
}
.btn-teal { background: var(--teal); color: white; border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-dk); border-color: var(--teal-dk); transform: translateY(-1px); text-decoration: none; }
.btn-ghost { border-color: rgba(255,255,255,.25); color: white; }
.btn-ghost:hover { border-color: var(--teal); background: rgba(27,163,138,.1); text-decoration: none; }
.btn-outline { border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); text-decoration: none; }
.btn-dark { background: var(--charcoal); color: white; border-color: var(--charcoal); }
.btn-dark:hover { background: var(--coal); border-color: var(--coal); text-decoration: none; }

/* ═══════════════════════════════════════════
   COMMON
═══════════════════════════════════════════ */
.section { padding: 96px 40px; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--teal); }
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--charcoal);
  line-height: 1.0;
  margin-bottom: 18px;
}
.section-title em { font-style: normal; color: var(--teal); }
.section-lead {
  font-size: 17px;
  color: var(--mid);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 56px;
}
.section-dark { background: var(--charcoal); color: white; }
.section-dark .section-title { color: white; }
.section-dark .section-lead { color: #8fa0b0; }
.section-coal { background: var(--coal); color: white; }
.section-coal .section-title { color: white; }
.section-gray { background: var(--gray); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer { background: var(--coal); padding: 72px 40px 32px; }
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13.5px; color: #8190a0; line-height: 1.7; margin-top: 18px; max-width: 320px; }
.footer-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 18px;
}
.footer-col h4 {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6a7a88;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: #a8b4c0;
  text-decoration: none;
  font-size: 13.5px;
  padding: 5px 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #4a5563;
  letter-spacing: .03em;
}

/* hamburger button — desktop hidden */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  padding: 0;
}
.nav-toggle span {
  display: block; position: relative;
  width: 22px; height: 2px;
  background: var(--charcoal);
  transition: transform .25s, opacity .15s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 22px; height: 2px; background: var(--charcoal);
  transition: transform .25s, top .25s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* mobile drawer wrapper */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0; bottom: 0;
  background: white;
  z-index: 99;
  padding: 24px 24px 32px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}
.mobile-drawer a {
  padding: 16px 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 800;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-2);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-drawer a:hover { color: var(--teal); text-decoration: none; }
.mobile-drawer a.cta {
  background: var(--teal); color: white;
  border-radius: 6px;
  margin-top: 18px;
  border: none;
  padding: 18px 22px;
  justify-content: center;
  letter-spacing: .04em;
}
.mobile-drawer a.cta:hover { background: var(--teal-dk); color: white; }
.mobile-drawer .drawer-section {
  font-size: 10px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
  padding: 18px 8px 4px;
}
body.nav-open { overflow: hidden; }
body.nav-open .mobile-drawer { display: flex; }

@media (max-width: 980px) {
  nav .nav-item { display: none; }
  .nav-cta { display: none !important; }
  .nav-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 64px 24px; }
  .topbar { padding: 0 20px; }
}
