:root {
  --teal-900: #0E2A2B;
  --teal-700: #116762;
  --teal-600: #315A5B;
  --teal-400: #498687;
  --aqua-400: #70C1C5;
  --green-500: #7FA951;
  --green-200: #B4E5A2;
  --green-50: #E4F6DE;
  --gray-50: #F5F5F5;
  --gray-900: #313131;
  --gray-600: #5A5A5A;
  --gray-400: #8A8A8A;
  --slate-400: #A9ADB8;
  --gradient: linear-gradient(90deg, #315A5B 0%, #70C1C5 51%, #7FA951 100%);
  --shadow-card: 0 4px 24px rgba(49,90,91,0.08);
  --shadow-card-hover: 0 12px 28px rgba(49,90,91,0.14);
  --shadow-nav: 0 4px 20px rgba(49,90,91,0.14);
  --font-display: "Fraunces", "Iowan Old Style", ui-serif, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--gray-900);
  background: #FFFFFF;
}
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-600); }
img { max-width: 100%; }
main > section, footer { margin-top: -1px; }
button { font-family: inherit; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid var(--green-50);
  box-shadow: none;
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-nav); }
.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; padding: 16px 32px;
}
.logo-link img { height: 52px; width: auto; display: block; }
.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 15px; font-weight: 400; color: var(--gray-600);
  padding-bottom: 4px; border-bottom: 2px solid transparent;
}
.nav-link.active { font-weight: bold; color: var(--teal-700); border-bottom-color: var(--green-500); }
.btn-pill {
  cursor: pointer; display: inline-block;
  padding: 11px 22px; border-radius: 999px;
  background: var(--gradient); color: #FFFFFF !important;
  font-size: 14px; font-weight: bold; white-space: nowrap; border: none;
}
.btn-pill.large { padding: 16px 32px; font-size: 16px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--teal-700); display: block; }
.nav-mobile { display: none; flex-direction: column; padding: 8px 32px 20px; border-top: 1px solid var(--green-50); }
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { padding: 12px 0; }
.nav-mobile .btn-pill { margin-top: 8px; text-align: center; }

@media (max-width: 1060px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px,10vw,90px) clamp(20px,5vw,32px) clamp(44px,8vw,70px);
  overflow: hidden;
  text-align: center;
}
.hero.hero-home {
  padding: clamp(60px,10vw,100px) clamp(20px,5vw,32px) clamp(50px,8vw,90px);
  background: var(--teal-900);
}
.hero.hero-sub { background: var(--teal-700); }
/* Standard photo treatment (design review item 03): set background-image on .hero-bg
   and this brand-color duotone applies automatically via mix-blend-mode, instead of a
   flat opacity dim. No image set yet, so today this just tints the solid hero color. */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(14,42,43,0.9) 0%, rgba(17,103,98,0.55) 100%);
  mix-blend-mode: multiply;
}
/* Decorative "growing financial success" motif behind the home headline. Static (already
   fully grown) by default; motion only turns on for viewers who haven't asked for less of it. */
.hero-graphic {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; z-index: 0;
  overflow: visible; pointer-events: none;
}
.hero-graphic .bar {
  fill: var(--aqua-400); fill-opacity: 0.22;
  transform-origin: bottom center; transform-box: fill-box;
}
.hero-graphic .trend-line {
  fill: none; stroke: var(--green-200); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round; stroke-opacity: 0.5;
}
.hero-graphic .pulse-dot {
  fill: var(--green-200); opacity: 0.85;
  transform-origin: center; transform-box: fill-box;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-graphic .bar { animation: heroBarGrow 1.1s ease-out both, heroBarPulse 4.4s ease-in-out infinite; }
  .hero-graphic .trend-line {
    stroke-dasharray: 2000; stroke-dashoffset: 2000;
    animation: heroLineDraw 1.6s ease-out 0.2s forwards;
  }
  .hero-graphic .pulse-dot { animation: heroDotPulse 2.6s ease-in-out 1.8s infinite; }
}
@keyframes heroBarGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes heroBarPulse { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.06); } }
@keyframes heroLineDraw { to { stroke-dashoffset: 0; } }
@keyframes heroDotPulse { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.7); opacity: 0.35; } }

.hero-scrim {
  position: absolute; left: 0; right: 0; bottom: 0; height: 220px; z-index: 1;
  background: linear-gradient(180deg, rgba(14,42,43,0) 0%, var(--teal-900) 85%);
}
.hero.hero-sub .hero-scrim { display: none; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(10px); }
.hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.hero h1 { font-family: var(--font-display); font-weight: 700; color: #FFFFFF; margin: 0 0 24px; line-height: 1.1; letter-spacing: -0.01em; }
.hero-home h1 { font-size: clamp(30px,6vw,48px); }
.hero-sub h1 { font-size: clamp(28px,5.5vw,42px); }
.hero p { font-size: 19px; line-height: 1.6; color: #D7E8E6; max-width: 720px; margin: 0 auto 36px; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.hero-text-link { font-size: 16px; font-weight: bold; color: var(--green-200); cursor: pointer; }

/* ---------- sections ---------- */
section.fade { transition: opacity 0.1s linear; }
.section { padding: clamp(50px,9vw,80px) clamp(20px,5vw,32px); }
.section-home { padding: clamp(56px,10vw,88px) clamp(20px,5vw,32px); }
.section-white { background: #FFFFFF; }
.section-gray { background: var(--gray-50); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-inner.wide { max-width: 1180px; }
.section-inner.narrow { max-width: 1000px; }
.section-inner.prose { max-width: 760px; }
.section-inner.text-heavy { max-width: 900px; }
.eyebrow {
  font-size: 13px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--green-500); margin: 0 0 12px;
}
.section-title {
  font-family: var(--font-display); font-weight: 600; color: var(--teal-700); margin: 0 0 16px; letter-spacing: -0.005em;
}
.section-home .section-title { font-size: clamp(24px,4.5vw,32px); }
.section:not(.section-home) .section-title { font-size: clamp(22px,4vw,28px); }
.section-subtitle { font-size: 15px; line-height: 1.6; color: var(--gray-600); margin: 0 0 40px; max-width: 640px; }
.center { text-align: center; }
.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- stat bar ---------- */
.stat-bar-section { background: var(--teal-900); padding: 56px 32px; }
.stat-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 24px;
}
.stat-tile {
  text-align: center; padding: 8px 20px;
  border-left: 1px solid rgba(255,255,255,0.14);
}
.stat-tile:first-child { border-left: none; }
.stat-value {
  font-family: var(--font-display); font-size: clamp(28px,5vw,40px); font-weight: 600; color: #FFFFFF;
  margin-bottom: 6px; font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 14px; color: #E4F6DE; }
.stat-attribution { font-size: 12.5px; color: #8FAFAD; font-style: italic; margin-top: 6px; }

@media (max-width: 640px) {
  .stat-tile { border-left: none; border-top: 1px solid rgba(255,255,255,0.14); padding: 20px 0 0; }
  .stat-tile:first-child { border-top: none; padding-top: 0; }
}

/* ---------- familiar points ---------- */
.familiar-row {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--gray-50); padding: 16px 20px; border-radius: 10px; margin-bottom: 12px;
  font-size: 15px; line-height: 1.6;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); margin-top: 8px; flex-shrink: 0; }
.familiar-close { font-weight: bold; margin-top: 24px; font-size: 16px; }

/* ---------- comparison table ---------- */
/* Fixed 2-column grid with cells in row-major order (see components.py) — CSS Grid
   stretches every cell in a row to the tallest cell in that row automatically, so the
   "a"/"b" pairing holds even when one side's text wraps to more lines than the other. */
.comparison-table { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: 10px; overflow: hidden; }
.comparison-header { padding: 14px 18px; font-weight: bold; font-size: 15px; text-align: center; }
.comparison-header.a { background: var(--slate-400); color: #FFFFFF; }
.comparison-header.b { background: var(--green-50); color: var(--green-500); }
.comparison-cell { padding: 16px 18px; font-size: 14px; line-height: 1.5; }
.comparison-cell.a { background: rgba(169,173,184,0.12); color: var(--gray-600); }
.comparison-cell.b { background: rgba(180,229,162,0.18); color: var(--gray-900); }
.pull-quote {
  background: #FFFFFF; border-left: 4px solid var(--green-500);
  padding: 24px 28px; margin-top: 32px; border-radius: 6px;
  font-size: 17px; font-style: italic; color: var(--teal-700);
  box-shadow: var(--shadow-card);
}
.mini-note { text-align: center; font-size: 15px; color: var(--gray-600); margin: 28px 0 0; }
.mini-note a { font-weight: bold; }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 20px; }
.card-grid.narrow-min { grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.card {
  border-radius: 12px; padding: 24px; transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0; transform: translateY(18px);
}
.card.in-view { animation: fadeInUp 0.6s ease forwards; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.card.tinted { background: var(--green-50); }
.card.bordered { background: #FFFFFF; border: 1px solid var(--green-50); box-shadow: var(--shadow-card); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--teal-900);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--green-200); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-title { font-size: 17px; font-weight: bold; color: var(--teal-700); margin: 0 0 8px; }
.card-body { font-size: 14px; line-height: 1.6; color: var(--gray-600); margin: 0; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- timeline ---------- */
.timeline { max-width: 520px; margin: 0 auto; }
.timeline-step { display: flex; gap: 20px; }
.timeline-marker { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.timeline-circle {
  width: 40px; height: 40px; border-radius: 50%; background: var(--teal-700);
  color: #FFFFFF; font-weight: bold; font-size: 16px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.timeline-circle.small { width: 32px; height: 32px; font-size: 14px; }
.timeline-line { width: 2px; flex: 1; background: #E0E0E0; min-height: 24px; }
.timeline-content { padding-bottom: 24px; }
.timeline-content h4 { margin: 8px 0 4px; font-size: 16px; color: var(--gray-900); }
.timeline-content p { margin: 0; font-size: 14px; color: var(--gray-600); line-height: 1.5; }
.timeline-close { text-align: center; font-size: 15px; color: var(--gray-600); margin-top: 8px; }

/* ---------- testimonial ---------- */
.testimonial-card {
  background: var(--teal-700); border-radius: 14px; padding: 32px;
  margin-bottom: 24px;
}
.testimonial-quote { font-family: var(--font-display); font-weight: 500; font-size: 22px; font-style: italic; color: #FFFFFF; line-height: 1.5; margin: 0 0 16px; }
.testimonial-attribution { font-size: 14px; color: var(--green-200); }
.rep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
.rep-card { background: #FFFFFF; border: 1px solid var(--green-50); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-card); }
.rep-headline { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--teal-700); margin-bottom: 8px; }
.rep-detail { font-size: 14px; line-height: 1.6; color: var(--gray-600); margin: 0; }

/* ---------- insight cards ---------- */
.insight-card { background: #FFFFFF; border: 1px solid var(--green-50); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); }
.insight-thumb {
  height: 160px; background: var(--teal-700); position: relative;
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 13px;
}
.play-badge {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,0.5); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.insight-body { padding: 18px; }
.insight-title { font-size: 15px; font-weight: bold; color: var(--gray-900); margin: 0 0 8px; line-height: 1.4; }
.insight-summary { font-size: 13px; color: var(--gray-600); line-height: 1.5; margin: 0 0 10px; }
.insight-meta { font-size: 12px; color: var(--gray-400); }
.insight-topic { display: inline-block; font-size: 11px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.04em; color: var(--green-500); margin-bottom: 6px; }
.insights-link { display: block; text-align: center; margin-top: 32px; font-weight: bold; color: var(--teal-700); }
.topic-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.topic-pill { padding: 8px 16px; border-radius: 999px; background: var(--green-50); color: var(--teal-700); font-size: 13px; font-weight: bold; }

/* ---------- CTA ---------- */
.cta-section { background: var(--teal-900); padding: clamp(56px,10vw,88px) clamp(20px,5vw,32px); text-align: center; }
.cta-section h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px,4vw,30px); color: #FFFFFF; margin: 0 0 12px; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.9); margin: 0 0 28px; }
.cta-section .btn-pill { background: #FFFFFF; color: var(--teal-700) !important; }

/* ---------- rows (principles / value sections) ---------- */
.row-list { display: flex; flex-direction: column; gap: 24px; }
.value-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--green-50); }
.value-row:last-child { border-bottom: none; }
.value-row-main { flex: 1; min-width: 240px; }
.value-row-main h4 { margin: 0 0 8px; font-size: 17px; color: var(--teal-700); }
.value-row-main p { margin: 0; font-size: 14px; color: var(--gray-600); line-height: 1.6; }
.outcome-chip { background: #FFFFFF; border: 1px solid var(--green-50); border-radius: 10px; padding: 14px 18px; font-size: 13px; color: var(--teal-700); font-weight: bold; box-shadow: var(--shadow-card); max-width: 260px; }

.principle-row { display: flex; gap: 24px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--green-50); }
.principle-row:last-child { border-bottom: none; }
.principle-title { width: 150px; flex-shrink: 0; font-weight: bold; color: var(--green-500); font-size: 15px; }
.principle-desc { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ---------- fit page ---------- */
.fit-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--green-50); font-size: 15px; line-height: 1.6; }
.fit-row:last-child { border-bottom: none; }
.notfit-item { border-left: 3px solid var(--slate-400); padding: 12px 18px; margin-bottom: 12px; font-size: 14px; color: var(--gray-600); line-height: 1.5; }
.industry-pill { background: #FFFFFF; border: 1px solid var(--green-50); box-shadow: var(--shadow-card); border-radius: 999px; padding: 10px 20px; font-size: 14px; font-weight: bold; color: var(--teal-700); text-align: center; }
.industry-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- about ---------- */
.partner-card { background: #FFFFFF; border: 1px solid var(--green-50); border-radius: 14px; padding: 28px; box-shadow: var(--shadow-card); }
.partner-photo {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  display: block; margin-bottom: 16px;
  border: 3px solid var(--green-50); box-shadow: var(--shadow-card);
}
.partner-name { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--gray-900); margin: 0; }
.partner-role { font-size: 14px; color: var(--green-500); font-weight: bold; margin: 2px 0 16px; }
.partner-bio p { font-size: 14px; line-height: 1.6; color: var(--gray-600); margin: 0 0 12px; }
.partner-bio p:last-child { margin-bottom: 0; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 24px; }
.story-text p { font-size: 16px; line-height: 1.7; margin: 0 0 20px; }
.story-text .bold-teal { font-weight: bold; color: var(--teal-700); }

/* ---------- helpCapabilities panel ---------- */
.capabilities-panel { background: #FFFFFF; border: 1px solid var(--green-50); box-shadow: var(--shadow-card); border-radius: 14px; padding: 32px; }
.capabilities-list { columns: 2; column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.capabilities-list li { font-size: 14px; padding: 8px 0; break-inside: avoid; }
.capabilities-list li::before { content: "\2713"; color: var(--green-500); font-weight: bold; margin-right: 10px; }
.capabilities-disclaimer { font-style: italic; font-size: 13px; color: var(--gray-400); margin-top: 20px; }
@media (max-width: 600px) { .capabilities-list { columns: 1; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 40px; }
.form-panel { background: var(--gray-50); border-radius: 14px; padding: 32px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-field label { font-size: 13px; font-weight: bold; color: var(--gray-600); }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: 14px; padding: 12px 14px; border-radius: 8px;
  border: 1px solid #D8D8D8; background: #FFFFFF; color: var(--gray-900);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-status { font-size: 14px; margin-top: 12px; min-height: 20px; }
.form-status.success { color: var(--teal-700); }
.form-status.error { color: #B4413C; }
.faq-item { border-bottom: 1px solid var(--green-50); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font-weight: bold; font-size: 15px; color: var(--gray-900); background: none; border: none; width: 100%; text-align: left; }
.faq-icon { color: var(--green-500); font-size: 20px; font-weight: bold; flex-shrink: 0; margin-left: 12px; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { font-size: 14px; line-height: 1.6; color: var(--gray-600); margin: 0 0 18px; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-900); padding: 48px 32px 24px; color: #8FAFAD; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.footer-logo img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer-tagline { font-size: 14px; max-width: 280px; line-height: 1.5; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: #8FAFAD; font-size: 14px; }
.footer-links a.contact-link { color: var(--green-200); }
.footer-links a:hover { color: #FFFFFF; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 32px; padding-top: 20px; font-size: 13px; color: #6E9491; text-align: center; }

/* ---------- floating elements ---------- */
.floating-col { position: fixed; bottom: 24px; left: 24px; z-index: 40; display: none; flex-direction: column; gap: 12px; }
.floating-col.visible { display: flex; }
.floating-btn {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #FFFFFF; box-shadow: var(--shadow-card-hover); transition: transform 0.2s ease;
}
.floating-btn:hover { transform: scale(1.08); }
.floating-btn img { width: 40px; height: 40px; object-fit: contain; display: block; }
.floating-cta { position: fixed; bottom: 24px; right: 24px; z-index: 40; display: none; }
.floating-cta.visible { display: block; }

@media (max-width: 640px) {
  .floating-col { bottom: 16px; left: 16px; }
  .floating-cta { bottom: 16px; right: 16px; }
  .floating-btn { width: 46px; height: 46px; }
  .floating-btn img { width: 34px; height: 34px; }
}
