/*
Theme Name: Maven Insights
Theme URI: https://maveninsights.org/
Author: Maven Insights
Description: Maven Insights — Insight. Integrity. Impact.
Version: 2.0.0
*/

:root {
  --navy: #0a2342;
  --navy-deep: #061525;
  --navy-mid: #16345a;
  --ink: #14202e;
  --muted: #5c6b7a;
  --paper: #f6f3ec;
  --paper-2: #efebe3;
  --cream: #fffdf8;
  --amber: #e87712;
  --amber-hover: #cf680d;
  --line: #d9d3c7;
  --max: 1120px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.35em;
}
.italic { font-style: italic; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker:before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--amber);
  transform: rotate(45deg);
}
.kicker.light { color: var(--amber); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 211, 199, 0.9);
}
body.admin-bar .site-header { top: 32px; }
.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 18px;
  color: var(--navy);
  line-height: 1;
}
.brand .tag {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: Outfit, sans-serif;
  font-weight: 550;
}
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 550;
  color: rgba(10, 35, 66, 0.82);
}
.nav a:hover { background: rgba(10, 35, 66, 0.05); color: var(--navy); }
.nav a.active { color: var(--amber); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid transparent;
  transition: background 180ms var(--ease), transform 180ms var(--ease), color 180ms;
}
.btn:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: var(--navy-deep); }
.btn-amber:hover { background: var(--amber-hover); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(246, 243, 236, 0.45);
}
.btn-ghost:hover { background: rgba(246, 243, 236, 0.1); }
.btn-navy { background: var(--navy); color: var(--paper); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--navy);
  font-size: 20px;
}

.hero { background: var(--navy-deep); color: var(--paper); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 72px); align-items: stretch; }
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px 56px 72px;
}
.hero h1 {
  color: var(--paper);
  font-size: clamp(56px, 6vw, 84px);
  font-weight: 500;
}
.hero h1 .amber { color: var(--amber); }
.hero .lede { max-width: 42ch; color: rgba(246, 243, 236, 0.75); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-photo { position: relative; min-height: 100%; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; position: absolute; inset: 0; }
.hero-photo figcaption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  margin: 0;
  color: rgba(246, 243, 236, 0.9);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); color: var(--paper); }
.stats div { padding: 32px 22px; border-left: 1px solid rgba(246, 243, 236, 0.1); }
.stats strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-size: 36px;
  font-weight: 500;
  color: var(--amber);
}
.stats span { color: rgba(246, 243, 236, 0.72); font-size: 14px; }

.section { padding: 80px 0; }
.section h2 { font-size: clamp(36px, 4vw, 52px); font-style: italic; color: var(--navy); max-width: 16ch; }
.muted { color: var(--muted); }
.split-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 28px; }
.split-head p { max-width: 38ch; margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gallery figure { position: relative; overflow: hidden; border-radius: 14px; min-height: 220px; margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 500ms var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  color: var(--paper);
  background: linear-gradient(to top, rgba(6, 21, 37, 0.82), transparent);
  font-size: 14px;
}
.g1 { grid-column: span 8; grid-row: span 2; min-height: 460px; }
.g2 { grid-column: span 4; grid-row: span 2; min-height: 460px; }
.g3, .g4, .g5 { grid-column: span 4; min-height: 220px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.svc {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border-radius: 14px;
  color: var(--paper);
}
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.svc:hover img { transform: scale(1.06); }
.svc .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,21,37,0.92), rgba(6,21,37,0.35) 55%, rgba(6,21,37,0.08)); }
.svc .body { position: relative; z-index: 1; height: 100%; min-height: 290px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.svc h3 { color: var(--paper); font-size: 26px; }
.svc p { color: rgba(246,243,236,0.78); font-size: 14px; }
.svc .more { color: var(--amber); font-weight: 650; font-size: 14px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.stack-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stack-photos img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; }
.stack-photos img:last-child { margin-top: 28px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; margin: 28px 0 0; }
.steps li { border-top: 1px solid rgba(246,243,236,0.2); padding-top: 18px; }
.steps b { display: block; font-family: Fraunces, Georgia, serif; font-style: italic; font-size: 32px; color: var(--amber); font-weight: 500; }
.band { background: var(--navy); color: var(--paper); }
.band h2, .band h3 { color: var(--paper); }

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 28px; }
.reasons article { border-top: 2px solid var(--amber); padding-top: 16px; }
.reasons h3 { font-size: 22px; color: var(--navy); }
.reasons p { color: var(--muted); font-size: 14px; }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person {
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  border-radius: 14px;
  padding: 22px;
}
.person .who { display: flex; gap: 14px; align-items: center; }
.avatar {
  width: 56px; height: 56px; border-radius: 10px;
  background: var(--navy); color: var(--amber);
  display: grid; place-items: center;
  font-family: Fraunces, Georgia, serif;
  font-style: italic; font-size: 18px;
}
.person h3 { color: var(--navy); font-size: 22px; margin: 0; }
.person .role { color: var(--amber); font-size: 14px; font-weight: 650; margin: 2px 0 0; }
.person p { color: var(--muted); font-size: 14px; }

.donors { background: var(--paper); padding: 48px 0 56px; }
.donors ul { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 12px 0 0; }
.donors li { font-family: Fraunces, Georgia, serif; font-style: italic; font-size: 22px; color: var(--navy); }

.cta {
  position: relative;
  overflow: hidden;
  color: var(--paper);
}
.cta img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta .veil { position: absolute; inset: 0; background: rgba(6, 21, 37, 0.72); }
.cta .inner { position: relative; padding: 72px 0; display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.cta h2 { color: var(--paper); font-style: italic; font-size: clamp(36px, 4vw, 56px); max-width: 14ch; }

.page-hero { position: relative; min-height: 420px; color: var(--paper); display: flex; align-items: flex-end; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,21,37,0.88), rgba(6,21,37,0.45)); }
.page-hero .inner { position: relative; padding: 80px 0 48px; }
.page-hero h1 { color: var(--paper); font-size: clamp(42px, 5vw, 68px); font-style: italic; max-width: 16ch; }

.detail { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; background: var(--cream); border-radius: 18px; overflow: hidden; margin-bottom: 18px; }
.detail img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.detail div { padding: 28px; }
.detail h2 { font-style: italic; font-size: 34px; }
.num { color: var(--amber); font-family: Fraunces, Georgia, serif; font-style: italic; }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.industry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.industry article { position: relative; min-height: 180px; border-radius: 14px; overflow: hidden; color: white; }
.industry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.industry .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,21,37,0.85), rgba(6,21,37,0.2)); }
.industry .body { position: relative; z-index: 1; height: 100%; min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.industry h3 { color: white; font-size: 22px; }

.form { display: grid; gap: 12px; background: var(--cream); border-radius: 16px; padding: 24px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 650; }
input, textarea { width: 100%; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 12px 14px; font: inherit; }
textarea { min-height: 140px; }
.notice { background: #e7f6ea; border-radius: 10px; padding: 12px 14px; }
.hp { position: absolute; left: -9999px; }

.site-footer { background: var(--navy-deep); color: var(--paper); }
.foot-photos { display: grid; grid-template-columns: repeat(6, 1fr); }
.foot-photos img { height: 120px; width: 100%; object-fit: cover; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 28px; padding: 56px 0 32px; }
.site-footer a:hover { color: var(--amber); }
.site-footer h3, .foot-label { color: var(--amber); font-family: Outfit, sans-serif; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.site-footer li, .site-footer p { color: rgba(246,243,236,0.75); font-size: 14px; }
.legal { border-top: 1px solid rgba(246,243,236,0.12); padding: 16px 0 28px; color: rgba(246,243,236,0.55); font-size: 13px; }
.brand.invert strong { color: var(--paper); }
.brand.invert .tag { color: rgba(246,243,236,0.65); }

.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  background: var(--amber);
  color: var(--navy-deep);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(6, 21, 37, 0.25);
}
.wa:hover { background: var(--amber-hover); color: white; }

@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .hero-grid, .stats, .two, .steps, .reasons, .people, .cards, .detail, .team-grid, .industry, .foot-grid, .split-head, .cta .inner {
    grid-template-columns: 1fr;
    display: grid;
  }
  .gallery { grid-template-columns: 1fr 1fr; }
  .g1, .g2, .g3, .g4, .g5 { grid-column: span 1; grid-row: auto; min-height: 180px; }
  .g1 { grid-column: span 2; min-height: 240px; }
  .foot-photos { grid-template-columns: repeat(3, 1fr); }
  .hero-copy { padding: 48px 22px; }
  .hero-photo { min-height: 280px; }
  .stack-photos img:last-child { margin-top: 0; }
}
