/* brucevissing.com — one stylesheet for every page.
   To change the brand color, edit --brand and --brand-dark below. Nothing else needs to change. */

@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #1d5c46;        /* deep green: buttons, links, accents */
  --brand-dark: #133d2f;   /* pressed / hover state */
  --brand-tint: #eef4f1;   /* pale green panels */
  --ink: #1a1a1a;          /* main text */
  --muted: #4d4d4d;        /* secondary text */
  --line: #dcdcd7;         /* hairlines */
  --paper: #fcfcfa;        /* page background */
  --measure: 68ch;
  --gap: clamp(1.25rem, 4vw, 2rem);
}

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

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

body {
  margin: 0;
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
}

::selection { background: var(--brand); color: #fff; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--brand-dark); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 0.75rem 1rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; z-index: 10; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 var(--gap); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.25rem 1.5rem; padding-top: 0.5rem; padding-bottom: 0.5rem;
}
.name {
  font-weight: 700; font-size: 1.125rem; color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px; letter-spacing: -0.01em;
}
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0; padding: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink); text-decoration: none; font-size: 0.975rem;
}
.site-nav a:hover { color: var(--brand); text-decoration: underline; }

/* Type */
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; margin: 0 0 0.75rem; }
h1 { font-size: clamp(1.35rem, 1rem + 2.4vw, 2.75rem); font-weight: 660; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 700; margin-top: 0; }
h3 { font-size: 1.25rem; font-weight: 650; }
p, li { max-width: var(--measure); }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.small { font-size: 0.95rem; color: var(--muted); }

/* Sections */
section { padding: clamp(3rem, 8vw, 5.5rem) 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
.hero { padding-top: clamp(2.5rem, 8vw, 5rem); }
.hero h1 { max-width: 30ch; }
.tint { background: var(--brand-tint); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.75rem 1.4rem;
  border: 2px solid var(--brand); border-radius: 6px;
  font-weight: 650; font-size: 1rem; text-decoration: none;
  background: var(--brand); color: #fff;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn:active { background: #0b2a20; border-color: #0b2a20; }
.btn.secondary { background: transparent; color: var(--brand); }
.btn.secondary:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn.secondary:active { background: #dce9e3; }

/* Audience list */
.who { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.25rem; }
.who li { padding-left: 0; }
.who strong { display: block; }

/* Offers: a ruled list, not a grid of identical cards */
.offers { margin-top: 2rem; border-top: 1px solid var(--line); }
.offer { display: grid; gap: 0.5rem 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.offer h3 { margin: 0; }
.offer .price { font-weight: 650; white-space: nowrap; }
.offer ul { margin: 0.25rem 0 0; padding-left: 1.2rem; }
.offer li { margin-bottom: 0.25rem; }
@media (min-width: 48rem) {
  .offer { grid-template-columns: 16rem 1fr; }
}

/* Case study */
.case h3 { margin-top: 2rem; }
.case ul { padding-left: 1.2rem; }
.case li { margin-bottom: 0.5rem; }
.win {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); font-weight: 650; line-height: 1.4;
  max-width: 48ch; margin: 1.5rem 0; padding: 1.25rem 1.5rem;
  background: var(--brand-tint); border: 1px solid #cfe0d8; border-radius: 6px;
}

/* Steps on /local */
.steps { padding-left: 1.4rem; }
.steps li { margin-bottom: 1rem; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.contact-list li { margin-bottom: 0.5rem; }

@media (max-width: 22.5rem) {
  .site-nav ul { gap: 0 0.9rem; }
  .site-nav a { font-size: 0.9rem; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: 0.95rem; }
.site-footer p { margin: 0; }

