/* Condor Outcomes — warm, institutional, not a SaaS template */
:root {
  --paper: #F3EEE4;
  --cream: #FAF7F0;
  --card: #FFFcf6;
  --ink: #2A241F;
  --muted: #5C554C;
  --moss: #4F7340;
  --moss-hover: #3E5C32;
  --lime: #8ABB59;
  --soil: #2A3226;
  --line: #DDD4C4;
  --shadow: 0 1px 0 rgba(42, 36, 31, 0.06), 0 12px 32px -16px rgba(42, 36, 31, 0.18);
}

html { color-scheme: light; }

body {
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif !important;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.heading {
  font-family: Newsreader, "Source Serif 4", Georgia, serif !important;
  font-weight: 550;
  letter-spacing: -0.018em !important;
  line-height: 1.18 !important;
}

/* Calm the template greens */
.bg-emerald-600, .hero-bg { background: var(--moss) !important; }
.hover\:bg-emerald-700:hover, .bg-emerald-700 { background: var(--moss-hover) !important; }
.text-emerald-600, .text-emerald-700 { color: var(--moss) !important; }
.hover\:text-emerald-600:hover { color: var(--moss-hover) !important; }
.bg-emerald-100 { background: #E7EEDC !important; }
.bg-emerald-50 { background: #F3F6EE !important; }
.text-emerald-100, .text-emerald-200 { color: #E4EDD4 !important; }
.shadow-emerald-200 { --tw-shadow-color: transparent !important; box-shadow: none !important; }

.bg-slate-50 { background: var(--paper) !important; }
.bg-white { background: var(--cream) !important; }
.text-slate-900 { color: var(--ink) !important; }
.text-slate-700, .text-slate-600 { color: var(--muted) !important; }
.text-slate-500, .text-slate-400 { color: #7A7268 !important; }
.border-slate-200 { border-color: var(--line) !important; }

/* Human radii — stop the super-pill */
.rounded-3xl { border-radius: 10px !important; }
.rounded-2xl { border-radius: 8px !important; }

/* Nav: paper, hairline, no floating shadow */
nav.sticky {
  background: var(--cream) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
}

/* Footer: soil, not generic slate-900 */
footer.bg-slate-900 {
  background: var(--soil) !important;
  color: #C9C2B5 !important;
}
footer .text-white, footer h4 { color: #F3EEE4 !important; }
footer a:hover { color: var(--lime) !important; }

/* Cards: paper, not hovering spaceships */
.card-hover {
  background: var(--card) !important;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card-hover:hover {
  transform: none !important;
  border-color: #C9BEA8;
  box-shadow: var(--shadow);
}

.icon-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 6px;
  background: #E7EEDC;
  color: var(--moss);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Home hero: soft moss wash + clear separation from body */
.hero-quiet {
  position: relative;
  color: var(--ink) !important;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(138, 187, 89, 0.22) 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(79, 115, 64, 0.14) 0%, transparent 50%),
    linear-gradient(180deg, #E8F0DC 0%, #F2EDE3 72%, #F3EEE4 100%) !important;
  border-bottom: 1px solid #C9D4B8;
  box-shadow: inset 0 -1px 0 rgba(255, 252, 246, 0.7);
}
.hero-quiet::after {
  content: "";
  display: block;
  height: 12px;
  margin-bottom: -12px;
  background: linear-gradient(180deg, rgba(42, 36, 31, 0.06), transparent);
  pointer-events: none;
}
.hero-quiet .text-slate-300,
.hero-quiet p { color: var(--muted) !important; }
.hero-quiet .opacity-90 { opacity: 1; color: var(--muted); }
.hero-quiet figure {
  background: rgba(255, 252, 246, 0.92) !important;
  border-color: #C5D2B4 !important;
  box-shadow: 0 1px 0 rgba(42, 36, 31, 0.04), 0 18px 40px -24px rgba(42, 50, 38, 0.35) !important;
}

.page-hero {
  background: var(--cream) !important;
  color: var(--ink) !important;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { color: var(--ink) !important; }
.page-hero p,
.page-hero .text-emerald-100 { color: var(--muted) !important; }
.page-hero .bg-white\/10,
.page-hero .backdrop-blur-md {
  background: #E7EEDC !important;
  color: var(--moss) !important;
  backdrop-filter: none !important;
}

.btn-primary {
  background: var(--moss) !important;
  color: #fff !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-weight: 600;
}
.btn-primary:hover { background: var(--moss-hover) !important; }

.btn-on-dark {
  background: var(--cream) !important;
  color: var(--ink) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.final-cta {
  background: var(--soil) !important;
  color: var(--cream) !important;
}
.final-cta h2, .final-cta p { color: var(--cream) !important; }

img { box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}


/* Editorial photo treatments (human-services comps) */
.photo-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--card);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-band {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(42,50,38,.82) 0%, rgba(42,50,38,.45) 55%, rgba(42,50,38,.2) 100%);
}
.photo-band-inner {
  position: relative;
  z-index: 1;
  color: #F3EEE4;
}
.audience-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.audience-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.audience-card .body {
  padding: 1.25rem 1.35rem 1.5rem;
}
.split-story {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .split-story { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .split-story.reverse { direction: rtl; }
  .split-story.reverse > * { direction: ltr; }
}
