/* ============================================
   GoalXpert Consulting — Design System
   Deep institutional green + muted gold
   ============================================ */

:root {
  --green-deep: #0F2B23;
  --green-mid: #1B4638;
  --green-line: #2C5C4A;
  --gold: #B8912F;
  --gold-light: #D8BC72;
  --gold-text: #8C6A1E; /* darker, AA-contrast variant of --gold for use as text on white/cream */
  --cream: #F7F4EC;
  --cream-dim: #EFEADC;
  --ink: #1C1F1B;
  --ink-soft: #4A4F47;
  --white: #FFFFFF;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

/* Consistent heading scale site-wide, so h2/h3 are the same size
   whether they sit inside .section-head, .pillar-card-head, a bare
   <h2> on Contact, or a closing CTA — regardless of viewport width. */
h2 { font-size: clamp(26px, 2.6vw, 34px); }
h3 { font-size: clamp(17px, 1.3vw, 19px); }
h4 { font-size: 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

p { color: var(--ink-soft); }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-deep);
  border-bottom: 1px solid var(--green-line);
}
.nav-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  flex-direction: column;
  color: var(--white);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
}
.brand-name span { color: var(--gold-light); }
.brand-tag {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}
nav.main-nav {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  margin-left: 56px;
}
nav.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--white); }
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}
.nav-cta {
  background: var(--gold);
  color: var(--green-deep) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 13.5px !important;
}
.nav-cta:hover { background: var(--gold-light); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-mid) 100%);
  color: var(--white);
  padding: 110px 0 130px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(184,145,47,0.08) 80px);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
.hero-mark {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 28px;
}
.hero h1.brand-hero {
  font-size: clamp(40px, 6vw, 68px);
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.hero h1.brand-hero span { color: var(--gold-light); }
.hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(19px, 2.2vw, 26px);
  color: rgba(255,255,255,0.88);
  max-width: 640px;
  margin: 18px 0 10px;
  font-weight: 400;
}
.hero .sub {
  color: rgba(255,255,255,0.62);
  max-width: 560px;
  font-size: 16px;
  margin-top: 14px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14.5px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn-outline-dark { border-color: rgba(15,43,35,0.35); color: var(--green-deep); }
.btn-outline-dark:hover { background: rgba(15,43,35,0.06); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-line { background: var(--cream-dim); }

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--cream-dim);
  padding: 32px 28px;
  border-radius: var(--radius);
}
.card .num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold-text);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; margin: 0; }

/* value pills */
.value-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.value-pill {
  border: 1px solid var(--green-line);
  color: var(--green-deep);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  background: var(--white);
}

/* approach steps */
.approach-row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 20px;
}
.approach-step {
  flex: 1;
  min-width: 130px;
  text-align: center;
  padding: 26px 14px;
}
.approach-step .step-label {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--green-deep);
  font-weight: 600;
}
.approach-arrow {
  color: var(--gold);
  font-size: 20px;
  padding: 0 8px;
}

/* ---------- Pillars (services page) ---------- */
.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 88px 0;
}
.pillar:not(:last-child) { border-bottom: 1px solid var(--cream-dim); }
.pillar.reverse .pillar-media { order: 2; }
.pillar.reverse .pillar-copy { order: 1; }
.pillar-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--cream-dim);
}
.pillar-media { position: relative; }
.pillar-tagline {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--green-deep);
  color: var(--white);
  padding: 12px 20px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.pillar-copy .eyebrow { margin-bottom: 8px; }
.pillar-copy h2 { font-size: 32px; margin-bottom: 16px; }
.service-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.service-list li {
  font-size: 14.5px;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 1px;
}

/* ---------- Industries ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.industry-tile {
  border: 1px solid var(--cream-dim);
  background: var(--white);
  padding: 20px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-deep);
  border-radius: var(--radius);
}

/* ---------- Impact stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  padding: 30px 26px;
  border-left: 3px solid var(--gold);
  background: var(--white);
}
.stat-card h3 { font-size: 17px; margin-bottom: 8px; }
.stat-card p { font-size: 14px; margin: 0; }

.impact-photo-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.impact-photo-row img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
}

.leadership-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}
.leadership-list li {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-deep);
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-dim);
}

.testimonial-note {
  background: var(--cream-dim);
  border: 1px dashed var(--green-line);
  padding: 28px 30px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--green-deep);
  font-size: 17px;
}

/* ---------- Contact ---------- */
.contact-hero {
  background: var(--green-deep);
  color: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--cream-dim);
  padding: 40px;
  border-radius: var(--radius);
}
.contact-row {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--cream-dim);
  font-size: 15px;
}
.contact-row:last-child { border-bottom: none; }
.contact-row .label {
  color: var(--ink-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-row .value { font-weight: 600; color: var(--green-deep); }
.social-row { display: flex; gap: 14px; margin-top: 24px; }
.social-chip {
  border: 1px solid var(--green-line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-deep);
}
.contact-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--green-line);
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand .brand-name { color: var(--white); font-size: 20px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 14px; margin-top: 8px; max-width: 320px; }
.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.footer-col h4 {
  color: var(--gold-light);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Pillar cards (no imagery) ---------- */
.pillar-card {
  padding: 56px 48px;
  border-radius: var(--radius);
  margin-bottom: 28px;
  border: 1px solid var(--cream-dim);
}
.pillar-card.tint { background: var(--cream-dim); }
.pillar-card.plain { background: var(--white); }
.pillar-card-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.pillar-card-head .pillar-index {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--gold-text);
  line-height: 1;
}
.pillar-card-head h2 { margin: 0; }
.pillar-card p.lead { max-width: 640px; font-size: 15.5px; }
.pillar-card .service-list { margin-top: 20px; max-width: 640px; }

/* ---------- Chart sections ---------- */
.chart-card {
  background: var(--white);
  border: 1px solid var(--cream-dim);
  border-radius: var(--radius);
  padding: 36px 40px 30px;
}
.chart-card-label {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 4px;
}
.chart-card svg { display: block; width: 100%; height: auto; margin-top: 10px; }

@media (max-width: 700px) {
  .pillar-card { padding: 36px 24px; }
  .pillar-card-head .pillar-index { font-size: 30px; }
}
@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: block; }
  .grid-3, .grid-2, .grid-4, .pillar, .impact-photo-row, .contact-grid {
    grid-template-columns: 1fr;
  }
  .pillar.reverse .pillar-media,
  .pillar.reverse .pillar-copy { order: unset; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .leadership-list { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
