/* Central Funding & Equity Website
   GoDaddy-ready static/PHP site
*/

:root {
  --green: #0D2B1E;
  --green-2: #123A2A;
  --green-3: #071A12;
  --gold: #C9A34E;
  --gold-2: #D5B76A;
  --charcoal: #111111;
  --muted: #65726B;
  --off-white: #F7F5EF;
  --white: #FFFFFF;
  --line: rgba(13, 43, 30, 0.14);
  --shadow: 0 22px 70px rgba(0,0,0,0.14);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--green);
  color: var(--white);
  padding: 10px 14px;
  z-index: 9999;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand img {
  width: 245px;
  max-height: 72px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a:not(.btn):hover {
  color: var(--gold);
}

.nav-phone {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--green-3);
  min-height: 50px;
  padding: 0 24px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.btn-sm {
  min-height: 42px;
  padding: 0 17px;
  font-size: 12px;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

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

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}

.btn-full {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--green);
  margin: 6px 0;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  color: var(--white);
  background: radial-gradient(circle at 72% 25%, rgba(201, 163, 78, 0.18), transparent 30%),
              linear-gradient(135deg, var(--green-3) 0%, var(--green) 48%, #06110D 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -42%;
  width: 75%;
  height: 72%;
  border: 1px solid rgba(201, 163, 78, 0.22);
  transform: rotate(-9deg);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 400px;
  align-items: center;
  gap: 70px;
  min-height: 720px;
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.02;
  margin: 0;
}

h1 {
  font-size: clamp(48px, 7vw, 86px);
  letter-spacing: -0.045em;
  max-width: 800px;
}

h2 {
  font-size: clamp(34px, 4vw, 56px);
  color: var(--green);
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-notes span {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  padding: 8px 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.76);
}

.hero-card {
  background: rgba(255,255,255,0.94);
  color: var(--green);
  padding: 38px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201, 163, 78, 0.24);
}

.hero-card .seal {
  width: 240px;
  margin: 0 auto;
}

.card-divider {
  height: 1px;
  background: var(--line);
  margin: 28px 0;
}

.card-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
}

.card-stat {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--green);
  line-height: 1;
  margin: 10px 0;
}

.card-copy {
  margin-bottom: 0;
  color: var(--muted);
}

/* Metrics */

.metrics {
  background: var(--green-3);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metrics-grid > div {
  padding: 34px 30px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.metrics-grid > div:last-child {
  border-right: 0;
}

.metric-value {
  display: block;
  font-family: var(--serif);
  color: var(--white);
  font-size: 30px;
  line-height: 1;
}

.metric-label {
  display: block;
  color: var(--gold);
  margin-top: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Sections */

.section {
  padding: 105px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 28px;
  min-height: 280px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(13,43,30,0.12);
}

.icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 28px;
}

.program-card h3,
.feature-list h3,
.process-step h3,
.contact-card h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 19px;
}

.program-card p,
.feature-list p {
  color: var(--muted);
  margin: 0;
}

/* Split */

.split-section {
  padding: 105px 0;
  background: var(--off-white);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.architectural-panel {
  min-height: 540px;
  background:
    linear-gradient(135deg, rgba(13,43,30,0.88), rgba(7,26,18,0.96)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 42px);
  display: grid;
  place-items: center;
  padding: 50px;
  box-shadow: var(--shadow);
}

.architectural-panel img {
  width: 340px;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,0.25));
}

.split-copy > p:not(.eyebrow) {
  font-size: 18px;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.feature-list > div {
  border-left: 3px solid var(--gold);
  padding-left: 22px;
}

/* Process */

.dark-section {
  background: var(--green-3);
  color: var(--white);
}

.dark-section h2 {
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-step {
  padding: 30px 24px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.035);
}

.process-step span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  font-weight: 800;
  margin-bottom: 22px;
}

.process-step h3 {
  color: var(--white);
}

.process-step p {
  color: rgba(255,255,255,0.72);
  margin-bottom: 0;
}

/* Market */

.market-section {
  padding: 72px 0;
}

.market-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 52px;
  padding-bottom: 52px;
}

.market-grid p:last-child {
  color: var(--muted);
  font-size: 18px;
}

/* Inquiry */

.inquiry-section {
  background: var(--off-white);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 58px;
  align-items: start;
}

.inquiry-copy > p {
  color: var(--muted);
  font-size: 18px;
}

.inquiry-copy a {
  color: var(--green);
  font-weight: 800;
}

.contact-card {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}

.contact-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.inquiry-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px;
  box-shadow: 0 18px 50px rgba(13,43,30,0.08);
}

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

label {
  display: block;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(13,43,30,0.22);
  padding: 14px 13px;
  font: inherit;
  margin-top: 7px;
  background: #fff;
  color: var(--charcoal);
  border-radius: 0;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(201,163,78,0.34);
  border-color: var(--gold);
}

.honeypot {
  display: none;
}

.form-note {
  color: var(--muted);
  font-size: 12px;
  margin: 14px 0 0;
}

/* CTA/Footer */

.cta-strip {
  background:
    radial-gradient(circle at 20% 10%, rgba(201,163,78,0.16), transparent 30%),
    linear-gradient(135deg, var(--green), var(--green-3));
  color: var(--white);
  padding: 68px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 28px;
  align-items: center;
}

.cta-grid h2 {
  color: var(--white);
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer {
  background: #07110D;
  color: rgba(255,255,255,0.75);
  padding: 62px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
}

.footer-logo {
  width: 250px;
  margin-bottom: 20px;
  filter: brightness(1.3);
}

.site-footer h3 {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0;
}

.site-footer a {
  display: block;
  color: rgba(255,255,255,0.78);
  margin: 8px 0;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 46px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.legal-note {
  max-width: 520px;
  text-align: right;
}

/* Responsive */

@media (max-width: 1000px) {
  .site-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 24px 28px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .split-grid,
  .inquiry-grid,
  .market-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 30px;
    padding-top: 54px;
  }

  .metrics-grid,
  .program-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 200px;
  }

  .nav-wrap {
    min-height: 76px;
  }

  .site-nav {
    top: 76px;
  }

  h1 {
    font-size: 44px;
  }

  .hero,
  .hero-grid {
    min-height: unset;
  }

  .hero-card {
    padding: 26px;
  }

  .metrics-grid,
  .program-grid,
  .process-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .section,
  .split-section {
    padding: 72px 0;
  }

  .architectural-panel {
    min-height: 360px;
  }

  .architectural-panel img {
    width: 250px;
  }

  .inquiry-form {
    padding: 24px;
  }

  .footer-bottom {
    display: block;
  }

  .legal-note {
    text-align: left;
  }
}
