/* ============================================================
   Site-wide chrome and base tokens

   Shared by every page. The header and footer markup itself is repeated
   in each page's HTML on purpose: this site is a search and AI-crawler
   play, and a nav injected by JavaScript is invisible to crawlers that
   do not run it. The design lives here so it is still defined once.

   Logged as tech debt alongside the index/poster duplication: revisit
   when a third sector page lands and the repetition starts to cost.
   ============================================================ */

:root {
  --forest: #152E21;
  --cream:  #F0EDE6;
  --sage:   #B8D4C4;
  --gold:   #E8C96A;

  --ink:      #152E21;
  --ink-soft: #5A6B60;
  --rule:     rgba(21, 46, 33, 0.14);
  --paper:    #FBFAF7;

  --wrap: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

a { color: var(--forest); }

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

.eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 10px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid var(--forest);
  border-radius: 4px;
  background: transparent;
  color: var(--forest);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: rgba(21, 46, 33, 0.06); }

.btn.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest);
}

.btn.primary:hover { background: #DFBE55; border-color: #DFBE55; }

.btn.light { border-color: var(--sage); color: var(--cream); }
.btn.light:hover { background: rgba(240, 237, 230, 0.12); }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }

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

   Deliberately not sticky. The sector page already pins a WhatsApp and
   call bar to the bottom on mobile, and a second fixed strip at the top
   would eat the small viewport from both ends. Static also removes any
   chance of the header covering content, which the brief rules out.     */

.site-header {
  background: var(--forest);
  color: var(--cream);
}

.site-header .inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-header .logo {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font: 400 20px/1 Georgia, "Times New Roman", serif;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
}

.site-header .logo b { color: var(--gold); font-weight: 400; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-left: auto;
}

.site-nav a {
  color: var(--sage);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a:hover { color: var(--cream); text-decoration: underline; }

.site-nav a[aria-current="page"] { color: var(--cream); }

.site-header .phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.site-header .phone:hover { text-decoration: underline; }

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

.site-footer {
  background: var(--forest);
  color: var(--sage);
  font-size: 14px;
  padding: 34px 0 26px;
  margin-top: 10px;
}

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

.site-footer .cols {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}

.site-footer h2 {
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(184, 212, 196, 0.7);
  margin: 0 0 12px;
}

.site-footer .blurb {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(240, 237, 230, 0.88);
  max-width: 42ch;
  margin: 0;
}

.site-footer .brandline {
  font: 400 19px/1 Georgia, "Times New Roman", serif;
  color: var(--cream);
  margin: 0 0 12px;
}

.site-footer .brandline b { color: var(--gold); font-weight: 400; }

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }

.site-footer .legal {
  border-top: 1px solid rgba(184, 212, 196, 0.22);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 13px;
  color: rgba(184, 212, 196, 0.75);
}

@media (min-width: 720px) {
  .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
}

/* Logo, nav and phone stop fitting on one line well before the usual
   mobile breakpoint, so the header switches to two rows at 900px: logo
   and phone on top, nav underneath. Left to wrap on its own the phone
   dropped below the logo and sat there looking stranded. */
@media (max-width: 899px) {
  .site-header .inner { gap: 10px 14px; padding-top: 12px; padding-bottom: 12px; }

  .site-header .phone { order: 2; margin-left: auto; font-size: 13.5px; }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 12px 18px;
    padding-top: 2px;
  }

  .site-nav a { font-size: 13px; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .site-header .logo { font-size: 18px; }
  .site-nav { gap: 10px 14px; }
  .site-nav a { font-size: 12.5px; }
}
