/* ============================================
   B RESILIENT — Design System
   Forest Green / Burgundy / Antique Gold / Warm Cream
   ============================================ */

:root {
  --forest: #6B1D2A;
  --forest-dark: #4E1420;
  --forest-tint: #F3E8E9;
  --burgundy: #1E3D2B;
  --burgundy-dark: #142A1D;
  --gold: #D4AF37;
  --gold-light: #E7CE7B;
  --cream: #F7F3E9;
  --cream-dark: #EEE6D3;
  --charcoal: #2B2A26;
  --white: #FFFFFF;

  --font-heading: 'Cinzel', 'Playfair Display', serif;
  --font-body: 'Montserrat', 'Segoe UI', sans-serif;
  --font-script: 'Great Vibes', cursive;

  --max-width: 1160px;
  --radius: 4px;
  --shadow: 0 12px 30px rgba(20, 42, 29, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--forest);
  line-height: 1.25;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.9em;
}

.eyebrow.on-dark { color: var(--gold-light); }

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

.section {
  padding: 88px 0;
}

.section--tight { padding: 60px 0; }

.section--cream-dark { background: var(--cream-dark); }
.section--forest {
  background: var(--forest);
  color: var(--cream);
}
.section--forest h2, .section--forest h3 { color: var(--white); }
.section--burgundy {
  background: var(--burgundy);
  color: var(--cream);
}
.section--burgundy h2, .section--burgundy h3 { color: var(--white); }

.section-head {
  max-width: 720px;
  margin: 0 0 44px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.divider {
  width: 64px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: 0 0 28px;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--gold {
  background: var(--gold);
  color: var(--forest-dark);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn--outline-cream {
  background: transparent;
  color: var(--cream);
  border-color: var(--gold);
}
.btn--outline-cream:hover { background: rgba(212, 175, 55, 0.15); }

.btn--outline-forest {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn--outline-forest:hover { background: var(--forest); color: var(--cream); }

.btn--forest {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.btn--forest:hover { background: var(--forest-dark); border-color: var(--forest-dark); }

.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--forest);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}
.logo__mark { height: 42px; width: auto; flex-shrink: 0; display: block; }
.logo__word {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  color: var(--cream);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--gold-light);
  border-color: var(--gold);
}

.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__cta .btn { padding: 12px 22px; font-size: 0.74rem; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
}

@media (max-width: 900px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--forest);
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav__links.is-open { max-height: 420px; }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    border-left: 2px solid transparent;
  }
  .nav__links a:hover, .nav__links a[aria-current="page"] {
    border-left-color: var(--gold);
    border-bottom-color: rgba(212,175,55,0.15);
  }
  .nav__cta .btn--outline-cream { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: var(--cream);
  overflow: hidden;
  padding: 110px 0 100px;
}
.hero__watermark {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 480px;
  height: auto;
  opacity: 0.08;
  pointer-events: none;
}
.hero__content { position: relative; max-width: 760px; }
.hero__content h1 { color: var(--white); }
.hero__content p {
  font-size: 1.1rem;
  color: rgba(247, 243, 233, 0.88);
  max-width: 640px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
@media (max-width: 860px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 34px 30px;
}

.card--dark {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
}

.card--equal {
  background: var(--white);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
}
.card--equal h3 { margin-bottom: 14px; }
.card--equal p { flex-grow: 1; color: #4a4740; }
.card--equal .btn { margin-top: 22px; align-self: flex-start; }

.badge-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--forest-tint);
  border: 1.5px solid var(--gold);
  color: var(--forest);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.badge-circle svg { width: 22px; height: 22px; }

.badge-circle--dark {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
  color: var(--gold-light);
}

.badge-circle--num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.pillar {
  text-align: left;
}
.pillar h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pillar p { color: #4a4740; font-size: 0.95rem; margin: 0; }

.list-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.list-card span { font-weight: 600; color: var(--forest); font-size: 0.95rem; }

.topic-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 28px;
}
.topic-card__num {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.topic-card h3 { margin: 8px 0 10px; }
.topic-card p { color: #4a4740; font-size: 0.95rem; margin: 0; }

.quote-block {
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  max-width: 640px;
}

.script {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--gold);
  display: block;
}

/* ---------- Journey / steps ---------- */
.journey {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  counter-reset: step;
}
.journey__step {
  flex: 1 1 140px;
  text-align: center;
  padding: 0 14px;
  position: relative;
}
.journey__step .badge-circle { margin: 0 auto 14px; }
.journey__step h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 6px;
}
.journey__step p { font-size: 0.85rem; color: #4a4740; margin: 0; }

/* ---------- Founder ---------- */
.founder {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 40px;
}
.founder__photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--forest-tint);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
}
.founder__name { font-family: var(--font-script); font-size: 2rem; color: var(--burgundy); display: block; margin-bottom: 2px; }
.founder__title { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
@media (max-width: 640px) {
  .founder { flex-direction: column; text-align: center; padding: 32px 24px; }
}

/* ---------- Form ---------- */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 14px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--charcoal);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: #6b675e; margin-top: 14px; }

.form-success {
  margin-top: 8px;
  padding: 18px 20px;
  background: var(--forest-tint);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  color: var(--forest);
  font-weight: 600;
}

.form-error {
  margin-top: 14px;
  padding: 14px 16px;
  background: #FBEAEA;
  border: 1.5px solid #C0392B;
  border-radius: var(--radius);
  color: #7a2318;
  font-size: 0.9rem;
}
.form-error a { color: #7a2318; text-decoration: underline; font-weight: 700; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-info__item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__item h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }
.contact-info__item a, .contact-info__item span { color: var(--cream); font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-dark);
  color: rgba(247, 243, 233, 0.75);
  padding: 56px 0 26px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  margin-bottom: 22px;
}
.footer__brand .logo__word { color: var(--cream); }
.footer__tagline { margin-top: 10px; max-width: 320px; font-size: 0.92rem; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h4 {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.footer__col a, .footer__col span { display: block; font-size: 0.9rem; margin-bottom: 10px; color: rgba(247,243,233,0.8); }
.footer__col a:hover { color: var(--gold-light); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--forest-dark);
  padding: 10px 16px;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

.page-hero {
  background: var(--forest);
  color: var(--cream);
  padding: 72px 0 56px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(247,243,233,0.85); max-width: 620px; margin: 0 auto; }
