/* ============================================================
   GuideSite Consulting — site styles
   Rebuilt 2026-08-10 from the design extracted off the previous
   builder. Tokens and type pairing are the ORIGINAL site's, not
   new choices — see Deliverables/2026-08-10-guidesite-site-archive/DESIGN.md
   ============================================================ */

:root {
  /* Palette — lifted verbatim from the previous site's CSS variables */
  --brown:        #6E3219;   /* primary — buttons, rules, accents */
  --brown-dark:   #552613;   /* button hover */
  --copper:       #B87440;   /* secondary accent */
  --green:        #2A6053;   /* BRAND GREEN — buttons, nav hover, statement bands */
  --green-dark:   #265044;   /* green hover */
  --green-deep:   #1F4239;   /* footer — deepest green, separates it from a green band above */
  --cream:        #EFEBE0;   /* light type on dark, button text */
  --bg:           #F8F6EE;   /* page background */
  --bg-alt:       #FFFFFF;
  --ink:          #1C1C1C;   /* body text */
  --ink-soft:     #4A4340;
  --rule:         rgba(110, 50, 25, 0.16);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --radius: 9px;             /* original button radius */
}

*, *::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: var(--sans);
  font-weight: 300;          /* original body weight */
  font-size: 1.0625rem;
  line-height: 1.7;
}

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- Type ---------- */

h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--brown-dark);
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.75rem); }   /* original 60px */
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }       /* original 48px */

h3 {
  font-family: var(--sans);
  font-size: 1.375rem;                              /* original 24px */
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 .5em;
  color: var(--brown-dark);
}

h4 {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin: 0 0 .4em;
}

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

a { color: var(--brown); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brown-dark); }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 1rem;
}

.lede { font-size: 1.1875rem; line-height: 1.65; color: var(--ink-soft); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--green);
  color: #FFFFFF;
  font-family: var(--sans);
  font-size: .9375rem;        /* original 15px */
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  padding: 16px 30px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--green-dark); color: #FFFFFF; transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

.btn-ghost {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 1.5px var(--green);
}
.btn-ghost:hover { background: var(--green); color: #FFFFFF; }

/* Inverse button — for use ON the green statement bands and the dark hero,
   where a green button would vanish into its own background. */
.btn-light { background: #FFFFFF; color: var(--green-dark); }
.btn-light:hover { background: var(--cream); color: var(--green-dark); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 246, 238, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 82px;
}
.brand img { width: 220px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: .9375rem; font-weight: 500; color: var(--ink);
  text-decoration: none; letter-spacing: .01em;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.nav a[aria-current="page"] { font-weight: 700; }

/* The button in the nav must beat `.nav a` on specificity, or it inherits
   the nav's dark link color and renders with black text on the green fill.
   `.nav a` (0,1,1) outranks `.btn` (0,1,0) — this rule (0,2,1) wins. */
.nav a.btn,
.nav a.btn:hover,
.nav a.btn[aria-current="page"] { color: #FFFFFF; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 10px; color: var(--brown-dark);
}

@media (max-width: 860px) {
  .brand img { width: 176px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    padding: 8px 24px 20px;
  }
  .nav:not(.open) { display: none; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: 14px; width: 100%; border-bottom: 0; }
}

/* ---------- Sections ---------- */

section { padding: 84px 0; }
section.tight { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--brown-dark); color: var(--cream); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark .lede { color: rgba(239, 235, 224, .86); }
.section-dark a { color: var(--cream); }

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 108px 0 96px;
  background:
    linear-gradient(rgba(85, 38, 19, .82), rgba(85, 38, 19, .88)),
    url("../img/hero-texture.jpeg") center/cover no-repeat;
  color: var(--cream);
}
.hero h1 { color: var(--cream); max-width: 16ch; }
.hero .lede { color: rgba(239, 235, 224, .9); max-width: 62ch; }
.hero .actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

.page-hero {
  padding: 72px 0 44px;
  border-bottom: 1px solid var(--rule);
}

/* ---------- Statement band ---------- */

.statement { background: var(--green); color: var(--cream); }
.statement h2 { color: var(--cream); }
.statement p { color: rgba(239, 235, 224, .92); }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 26px; }

/* Exactly two columns, so four cards land 2×2.
   `auto-fit` was fitting three across at desktop widths and orphaning the
   fourth card on its own row — that is why Scope of Services broke 3+1. */
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.card h3 { margin-bottom: .6em; }
.card ul { margin: 0; padding-left: 1.1em; }
.card li { margin-bottom: .55em; }
.card li:last-child { margin-bottom: 0; }

.card-num {
  font-family: var(--serif);
  font-size: 2.25rem; font-weight: 600;
  color: var(--copper); line-height: 1; margin-bottom: .35em;
}

/* ---------- Evidence base ---------- */

.evidence { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

.study {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
}
.study h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.4; color: var(--brown-dark); }
.study p { font-size: .9375rem; line-height: 1.65; color: var(--ink-soft); }
.study .src {
  display: inline-block; margin-top: .35em;
  font-size: .8125rem; font-weight: 500; letter-spacing: .01em;
}

/* ---------- Leadership ---------- */

.person { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.person + .person { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--rule); }
.person img { border-radius: var(--radius); width: 100%; }
.person .role {
  font-family: var(--sans); font-size: .95rem; font-weight: 600;
  color: var(--copper); letter-spacing: .01em; margin: -.3em 0 1.1em;
}
.person h2 { margin-bottom: .15em; }

@media (max-width: 720px) {
  .person { grid-template-columns: 1fr; gap: 24px; }
  .person img { max-width: 260px; }
}

/* ---------- Form ---------- */

.form-card {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: .875rem; font-weight: 600;
  letter-spacing: .01em; margin-bottom: 7px;
}
.field .req { color: var(--brown); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--ink);
  background: var(--bg);
  border: 1px solid rgba(110, 50, 25, .28);
  border-radius: 6px;
  padding: 13px 14px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brown); box-shadow: 0 0 0 3px rgba(110, 50, 25, .12);
}
.field .hint { font-size: .8125rem; color: var(--ink-soft); margin-top: 6px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--green-deep);
  color: rgba(239, 235, 224, .82);
  padding: 60px 0 34px;
  font-size: .9375rem;
}
.site-footer a { color: rgba(239, 235, 224, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer img { width: 190px; margin-bottom: 18px; }
.footer-grid {
  display: grid; gap: 34px;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-bottom: 30px;
}
.footer-grid h4 { color: var(--cream); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .55em; }
.footer-bottom {
  border-top: 1px solid rgba(239, 235, 224, .18);
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .875rem; color: rgba(239, 235, 224, .62);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Legal pages ---------- */

.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); }

/* ---------- Utility ---------- */

.skip {
  position: absolute; left: -9999px;
  background: var(--brown); color: var(--cream);
  padding: 12px 18px; border-radius: 0 0 var(--radius) 0; z-index: 100;
}
.skip:focus { left: 0; top: 0; }

.center { text-align: center; }
.mt-0 { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
