/* MGA Growth Partners — Mission · Goals · Action */

:root {
  --navy: #000d20;
  --navy-2: #0a1a33;
  --navy-3: #102442;
  --gold: #c79447;
  --gold-bright: #c79447;
  --cream: #f3f2f2;
  --white: #ffffff;
  --ink: #14202e;
  --muted: #5a6572;
  --line: #e0dedb;
  --line-dark: #223448;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16.5px;
}

img { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }

h1 em, h2 em {
  font-style: italic;
  color: var(--gold-bright);
}

p { color: var(--muted); }

a { color: var(--gold-bright); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* faint gold constellation texture on dark surfaces, site-wide */
.page-hero, .section.dark, .cta-band, .site-footer { position: relative; }
.page-hero::before, .section.dark::before, .cta-band::before, .site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/constellation-bg-full.jpg") center / 430px auto repeat;
  opacity: 0.55;
  pointer-events: none;
}

/* kicker: gold, letterspaced, with leading rule */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-bright);
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

/* section index label: "01 / THE MODEL" */
/* section heading hierarchy: small gold index → bold label → serif headline */
.sec-index {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 14px;
}

.sec-label {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--navy);
  margin-bottom: 14px;
}

.dark .sec-label { color: var(--white); }
.dark .sec-index { color: var(--gold); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

/* Actual logo artwork, edges faded into the navy header */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 4px 0;
}

.brand-img {
  height: 62px;
  width: auto;
  display: block;
}

.site-footer .brand-img { height: 84px; }

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

.nav-links a {
  color: #b9c4d0;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover { color: var(--white); }

.nav-links a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--gold-bright);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 12px 22px !important;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--gold-bright); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-dark);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  padding: 8px 14px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  padding: 16px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-bright); }

.btn-outline { border-color: #43566c; color: var(--white); background: transparent; }
.btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.btn-outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 85% 30%, rgba(199, 148, 71, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 60% at 70% 80%, rgba(199, 148, 71, 0.07), transparent 60%),
    linear-gradient(135deg, #000d20 0%, #04152c 55%, #081d3a 100%);
  color: var(--white);
  padding: 110px 0 96px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 1.5px at 78% 22%, rgba(215,160,61,.8) 99%, transparent),
    radial-gradient(circle 1px at 85% 40%, rgba(215,160,61,.6) 99%, transparent),
    radial-gradient(circle 1.5px at 92% 30%, rgba(215,160,61,.5) 99%, transparent),
    radial-gradient(circle 1px at 70% 55%, rgba(215,160,61,.5) 99%, transparent),
    radial-gradient(circle 1.5px at 88% 68%, rgba(215,160,61,.7) 99%, transparent),
    radial-gradient(circle 1px at 96% 55%, rgba(215,160,61,.45) 99%, transparent),
    radial-gradient(circle 1px at 74% 78%, rgba(215,160,61,.4) 99%, transparent);
  pointer-events: none;
}

.hero .kicker { margin-bottom: 22px; }
/* home hero: lead the Mission · Goals · Action kicker with the brand cross instead of a dash */
.hero .kicker::before {
  content: "";
  width: 0.77rem;
  height: 1.11rem;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 32'%3E%3Cg fill='%23c79447'%3E%3Crect x='9.5' y='0' width='3' height='32'/%3E%3Crect x='0' y='8' width='22' height='3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.hero h1 { color: var(--white); max-width: 800px; }

.hero .lede {
  max-width: 620px;
  margin-top: 24px;
  font-size: 1.12rem;
  color: #b9c4d0;
}

.hero-actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }

/* hero with portrait background (home) */
.hero.photo-hero {
  background:
    linear-gradient(90deg, rgba(0, 13, 32, 0.96) 0%, rgba(0, 13, 32, 0.88) 40%, rgba(0, 13, 32, 0.3) 62%, rgba(0, 13, 32, 0) 82%),
    url("../img/michael-hero.jpg") right bottom / contain no-repeat,
    var(--navy);
  min-height: 540px;
  display: flex;
  align-items: center;
}
.hero.photo-hero::after { display: none; }
.hero.photo-hero .container { width: 100%; }
.hero.photo-hero h1 { max-width: 640px; }
.hero.photo-hero .lede { max-width: 560px; }

.photo-mobile { display: none; }

/* interior page hero */
.page-hero {
  background:
    radial-gradient(ellipse 55% 90% at 88% 40%, rgba(199, 148, 71, 0.12), transparent 60%),
    linear-gradient(135deg, #000d20 0%, #051631 60%, #081d3a 100%);
  color: var(--white);
  padding: 84px 0 72px;
}
.page-hero .kicker { margin-bottom: 18px; font-size: 1.05rem; font-weight: 800; }
.page-hero .kicker::before { display: none; }

/* light gold page-hero variant */
.page-hero.light {
  background: #f0e5d0;
  color: var(--ink);
}
.page-hero.light::before { display: none; }
.page-hero.light .kicker { color: #9c7130; }
.page-hero.light h1 { color: var(--navy); }
.page-hero.light p { color: var(--muted); }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 820px; }
.page-hero p { color: #b9c4d0; max-width: 640px; margin-top: 18px; font-size: 1.08rem; }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section.dark { background: var(--navy); color: var(--white); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark p { color: #a8b4c2; }
.section.paper { background: var(--white); }
.section.gold { background: #f0e5d0; }
.section.gold .sec-index { color: #9c7130; }
/* M·G·A path lettering on any light section */
.section:not(.dark) .mga-path .word { color: var(--navy); }
.section:not(.dark) .mga-path .letter { color: #9c7130; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { margin-top: 10px; font-weight: 700; }
.section-head .sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-bright);
  margin-top: 10px;
}
.section-head p.body { margin-top: 16px; font-size: 1.04rem; }

.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* numbered card */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 30px;
}
.dark .card {
  background: var(--navy-2);
  border-color: var(--line-dark);
}
.card .num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}
.card .num::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
  margin-top: 10px;
}
.card h3 { margin-bottom: 10px; font-size: 1.45rem; }
.dark .card h3 { color: var(--white); }
.card p { font-size: 0.97rem; }
.card ul { margin: 12px 0 0 18px; color: var(--muted); font-size: 0.95rem; }
.card li { margin-bottom: 7px; }

/* pillar rows (services) */
.pillar {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.pillar:last-of-type { border-bottom: none; }
.pillar .p-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.pillar h3 { font-size: 1.75rem; }
.pillar .tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 700;
  color: #9c7130;
  margin: 6px 0 12px;
}
.pillar ul { margin: 8px 0 0 18px; color: var(--muted); }
.pillar li { margin-bottom: 7px; }

/* partner section with portrait (team) */
.partner-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.partner-grid .section-head { margin-bottom: 28px; }
.partner-photo img {
  width: 100%;
  display: block;
  border: 1px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0, 13, 32, 0.18);
}

/* MGA monogram strip (values/about) */
.mga-path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
  text-align: center;
}

/* faith foundation section */
.cross-mark {
  width: 28px;
  height: 40px;
  margin: 0 auto 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 32'%3E%3Cg fill='%23c79447'%3E%3Crect x='9.5' y='0' width='3' height='32'/%3E%3Crect x='0' y='8' width='22' height='3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.foundation .verse {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-bright);
  margin-top: 26px;
}
.foundation .verse-ref {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #8ea0b3;
  margin-top: 10px;
}
.mga-path .letter {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
}
.mga-path .word {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--white);
  margin-top: 8px;
}
.mga-path p { margin-top: 12px; font-size: 0.95rem; }

/* stats / ecosystem strip — beige with brand accents */
.strip {
  background: var(--cream);
  color: var(--ink);
  padding: 64px 0 68px;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
.strip .kicker {
  justify-content: center;
  margin-bottom: 38px;
  color: #9c7130;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.3em;
}
.strip .kicker::before { display: none; }
.strip-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  grid-auto-flow: column;
  column-gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
/* each column contributes its number, title, and description to shared rows
   so all three line up across the strip */
.strip-items > div { display: contents; }
.strip-items .num {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  color: #9c7130;
  letter-spacing: 0.12em;
  line-height: 1;
}
.strip-items .stat {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 10px;
  align-self: start;
  white-space: nowrap;
}
.strip-items .label {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 12px;
  align-self: start;
  padding: 0 16px;
  line-height: 1.55;
}

/* CTA band — "THE NEXT MOVE" */
.cta-band {
  background:
    radial-gradient(ellipse 50% 90% at 80% 50%, rgba(194, 159, 92, 0.13), transparent 60%),
    var(--navy);
  color: var(--white);
  padding: 92px 0;
  text-align: center;
}
.cta-band .kicker { justify-content: center; margin-bottom: 18px; }
.cta-band .kicker::before { display: none; }
.cta-band h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 30px;
}
.cta-band h2 em { color: var(--gold-bright); }
.cta-band .phone {
  display: block;
  margin-top: 26px;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: #8ea0b3;
}
.cta-band .phone a { color: var(--gold-bright); text-decoration: none; font-weight: 700; }

/* ---------- Contact page ---------- */

.contact-cards { margin-bottom: 56px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
  text-align: center;
}
.contact-card .label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--gold-bright);
  margin-bottom: 10px;
}
.contact-card a {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

/* phone: plain, traditional numerals; email: sized to fit on one line */
.contact-card a[href^="tel"] {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.contact-card a[href^="mailto"] {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.contact-card a:hover { color: var(--gold-bright); }

.form-wrap { max-width: 720px; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 44px 40px;
}

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-weight: 800;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--navy);
  margin-bottom: 8px;
}

.field .optional { font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 13px 15px;
  border: 1px solid #ccc9c5;
  background: var(--cream);
  border-radius: 0;
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(199, 148, 71, 0.2);
  background: var(--white);
}

.field .error-msg {
  display: none;
  color: #b03a2e;
  font-size: 0.85rem;
  margin-top: 6px;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #b03a2e; }

.field.invalid .error-msg { display: block; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-status { margin-top: 16px; font-weight: 700; }
.form-status.error { color: #b03a2e; }

.thank-you { display: none; text-align: center; padding: 56px 24px; }
.thank-you h2 { margin-bottom: 12px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: #8ea0b3;
  padding: 84px 0 30px;
  font-size: 0.9rem;
}

/* merged CTA + footer */
.cta-footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.cta-side .kicker { margin-bottom: 16px; }
.cta-side .kicker::before { display: none; }
.cta-side h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 28px;
}
.cta-side h2 em { color: var(--gold-bright); }
.cta-side .phone {
  display: block;
  margin-top: 20px;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: #8ea0b3;
}
.cta-side .phone a { color: #f3f2f2; text-decoration: none; font-weight: 700; }
.cta-side .phone.email { margin-top: 10px; letter-spacing: 0.06em; }

.logo-side { text-align: center; }
.logo-side .brand { display: inline-flex; padding: 0; }
.site-footer .logo-side .brand-img { height: 175px; }
.logo-side .footer-contact { margin-top: 8px; }

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.site-footer a { color: #b9c4d0; text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer a.btn-primary, .site-footer a.btn-primary:hover { color: var(--navy); }

.footer-links {
  list-style: none;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.footer-contact { font-size: 0.9rem; line-height: 2; }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 20px;
  font-size: 0.78rem;
  color: #62748a;
  letter-spacing: 0.06em;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 18px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-2);
    padding: 10px 24px 22px;
    border-bottom: 2px solid var(--gold);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-cta { margin-top: 12px; text-align: center; }

  .grid-3, .grid-2, .form-row, .mga-path, .partner-grid { grid-template-columns: 1fr; }
  .hero.photo-hero {
    background:
      linear-gradient(180deg, rgba(0, 13, 32, 0.9), rgba(0, 13, 32, 0.96)),
      url("../img/michael-hero.jpg") 78% center / cover no-repeat,
      var(--navy);
    min-height: 0;
  }
  .photo-mobile { display: block; width: 100%; }
  .brand-tag { display: none; }
  .strip-items {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-flow: row;
    gap: 22px;
  }
  .strip-items > div { display: block; }
  .strip-items .stat { white-space: normal; }
  .pillar { grid-template-columns: 1fr; gap: 10px; }
  .form-card { padding: 28px 20px; }
  .section { padding: 60px 0; }
  .hero { padding: 76px 0 64px; }
  .brand-tag { display: none; }
}
