/* The Homeward Collective brand stylesheet
   Brand mark ochre sampled from the existing logo: #BB872E
   Type: Montserrat (display, carried over from the current site) + Lora (body) */

:root {
  --ochre: #BB872E;
  --ochre-deep: #96691F;
  --ochre-wash: #F5EDDD;
  --green: #33463A;
  --green-soft: #4C6353;
  --ink: #241F1A;
  --ink-soft: #5F564C;
  --ink-faint: #8A8074;
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --line: #E7DFD2;
  --line-soft: #F0E9DE;

  --shadow-sm: 0 1px 2px rgba(36, 31, 26, .04), 0 2px 8px rgba(36, 31, 26, .04);
  --shadow-md: 0 2px 4px rgba(36, 31, 26, .04), 0 12px 32px rgba(36, 31, 26, .07);
  --shadow-lg: 0 4px 8px rgba(36, 31, 26, .05), 0 24px 60px rgba(36, 31, 26, .10);

  --wrap: 1140px;
  --wrap-narrow: 760px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Lora, Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .font-display {
  font-family: Montserrat, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0 0 .6em;
  /* Even out the line lengths so a heading never strands its last word on a
     line by itself, which reads as a stray indent. Browsers without support
     just wrap the old way. */
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.025em; }
h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.02em; }
h3 { font-size: clamp(19px, 1.7vw, 23px); }
h4 { font-size: 17px; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--ochre-deep); text-decoration: none; }
a:hover { color: var(--ochre); text-decoration: underline; text-underline-offset: 3px; }

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

strong { font-weight: 600; color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
/* Narrow reading column. Sits on the same left edge as .wrap so sections
   stacked against each other line up instead of drifting to centre. */
.wrap-narrow { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow > * { max-width: var(--wrap-narrow); }
.wrap-narrow.center > * { margin-left: auto; margin-right: auto; }

.lede { font-size: clamp(19px, 1.9vw, 22px); line-height: 1.62; color: var(--ink-soft); }

.eyebrow {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ochre-deep);
  margin: 0 0 18px;
}

.muted { color: var(--ink-soft); }
.small { font-size: 15.5px; line-height: 1.6; }
.center { text-align: center; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, .88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-tag {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 10.5px;
  letter-spacing: .13em;
  color: var(--ochre-deep);
  margin-top: 3px;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a.active { color: var(--ink); font-weight: 600; }

.nav-cta {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  background: var(--green);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
}
.nav-cta:hover { background: #2A3B30; text-decoration: none !important; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 15px;
  color: var(--ink);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .005em;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--ochre); color: #fff !important; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--ochre-deep); box-shadow: var(--shadow-md); }

.btn-dark { background: var(--green); color: #fff !important; }
.btn-dark:hover { background: #2A3B30; }

.btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ochre); color: var(--ochre-deep) !important; background: var(--surface); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- sections ---------- */

section { padding: 84px 0; }
section.tight { padding: 58px 0; }
section.surface { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
section.wash { background: var(--ochre-wash); }
section.deep { background: var(--green); color: #EEE9E0; }
section.deep h1, section.deep h2, section.deep h3 { color: #fff; }
section.deep .lede, section.deep .muted { color: #CFD8D0; }
section.deep .eyebrow { color: var(--ochre); }

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

/* ---------- hero ---------- */

.hero { padding: 96px 0 76px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin-bottom: .45em; }
.hero .lede { max-width: 34em; }
.hero .btn-row { margin-top: 32px; }

.hero-mark {
  justify-self: center;
  width: min(320px, 100%);
  filter: drop-shadow(0 24px 48px rgba(36, 31, 26, .14));
}

.page-hero { padding: 76px 0 8px; }
.page-hero .lede { max-width: 40em; }

/* ---------- cards ---------- */

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
}
a.card:hover, .card.is-link:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #DCCFB6;
}
.card h3 { margin-bottom: .5em; }
.card p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.62; }
.card .card-more {
  margin-top: auto;
  padding-top: 20px;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ochre-deep);
}
.card-icon { width: 34px; height: 34px; margin-bottom: 18px; color: var(--ochre); }
.card-icon svg { width: 100%; height: 100%; display: block; }

/* ---------- numbered steps ---------- */

.steps { counter-reset: step; display: grid; gap: 30px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 22px; align-items: start; }
.step-num {
  counter-increment: step;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ochre-wash);
  border: 1px solid #E4D5B6;
  color: var(--ochre-deep);
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.step-num::before { content: counter(step); }
.step h3 { margin-bottom: .35em; }
.step p { color: var(--ink-soft); margin-bottom: 0; }

/* ---------- people ---------- */

.person {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.person:first-of-type { border-top: 0; padding-top: 8px; }
.person-photo {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--ochre-wash);
  border: 1px solid #E4D5B6;
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.person-monogram {
  width: 200px; height: 200px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 58px; font-weight: 500; letter-spacing: .02em;
}
.person h3 { margin-bottom: .1em; }
.person-role {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--ochre-deep);
  margin-bottom: 1em;
}
.person-links { margin-top: 18px; font-family: Montserrat, Helvetica, Arial, sans-serif; font-size: 14.5px; font-weight: 600; }
.person-links a + a { margin-left: 6px; }
.person-note { font-size: 15px; color: var(--ink-faint); margin-top: 14px; font-style: italic; }

/* ---------- specialty columns ---------- */

.col-list { columns: 3; column-gap: 40px; }
.col-list ul { list-style: none; margin: 0; padding: 0; }
.col-list li {
  break-inside: avoid;
  padding: 9px 0 9px 22px;
  position: relative;
  color: var(--ink-soft);
  font-size: 16.5px;
  border-bottom: 1px solid var(--line-soft);
}
.col-list li::before {
  content: '';
  position: absolute; left: 2px; top: 19px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ochre);
}

/* ---------- prose lists ---------- */

.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; }
.prose ul li {
  position: relative;
  padding: 0 0 0 26px;
  margin-bottom: .7em;
  color: var(--ink-soft);
}
.prose ul li::before {
  content: '';
  position: absolute; left: 4px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ochre);
}
.prose h3 { margin-top: 1.9em; }
.prose h3:first-child { margin-top: 0; }

/* ---------- pull stat ---------- */

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.stat-num {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ochre);
  line-height: 1;
  margin-bottom: 12px;
}
section.deep .stat-num { color: var(--ochre); }
.stat-label { font-size: 16.5px; color: var(--ink-soft); }
section.deep .stat-label { color: #CFD8D0; }

/* ---------- quote ---------- */

.pullquote {
  border-left: 3px solid var(--ochre);
  padding: 4px 0 4px 28px;
  margin: 34px 0;
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}

/* ---------- CTA band ---------- */

.cta-band { text-align: center; }
.cta-band h2 { max-width: 18em; margin-left: auto; margin-right: auto; }
.cta-band .lede { max-width: 34em; margin: 0 auto 30px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--green);
  color: #C6D0C7;
  padding: 66px 0 34px;
  font-size: 16px;
}
.site-footer a { color: #EDE5D6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 46px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 40px; }
.footer-brand span {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 17px; font-weight: 600; color: #fff;
}
.footer-mission { color: #B4C0B6; font-size: 15.5px; line-height: 1.65; max-width: 34em; }
.footer-col h4 {
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ochre); margin-bottom: 16px; font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; font-size: 15.5px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: 14.5px; color: #9FAEA2;
}

/* ---------- draft banner ---------- */

.draft-banner {
  background: var(--ink);
  color: #F3E9D2;
  text-align: center;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: .02em;
  padding: 9px 20px;
}
.draft-banner strong { color: var(--ochre); font-weight: 600; }

/* ---------- responsive ---------- */

@media (max-width: 940px) {
  body { font-size: 17px; }
  section { padding: 62px 0; }
  .hero { padding: 60px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-mark { width: 132px; order: -1; justify-self: start; margin-bottom: -8px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .col-list { columns: 2; }
  .stat-row { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }

  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px 24px 22px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .nav-cta { text-align: center; margin-top: 16px; border-bottom: 0 !important; }
  .nav-toggle { display: block; }
  .site-header .wrap { position: relative; }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .col-list { columns: 1; }
  .person { grid-template-columns: 1fr; gap: 24px; }
  .person-photo, .person-monogram { width: 148px; height: 148px; }
  .person-monogram { font-size: 44px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
  .btn-row { flex-direction: column; align-items: stretch; }
}
