/* ==========================================================================
   Brad Hogan — bradleyhogan.com
   Plain, dependency-free stylesheet. No frameworks, no webfonts, no CDN.
   System font stacks only.

   Palette: "advisory" — cool charcoal base, fog-white paper, a single
   claret (deep oxblood-red) accent for emphasis/CTAs, and a muted brass
   for secondary highlights and structure. Deliberately NOT the roofing
   cluster's graphite/amber, NOT the real-estate cluster's teal/pine/navy,
   NOT a bartending warm palette, and NOT cream+serif+terracotta or a
   purple-blue gradient.
   ========================================================================== */

:root {
  --ink-950: #14161b;      /* near-black cool charcoal, primary dark bg */
  --ink-800: #1d2027;      /* card / panel bg on dark sections */
  --ink-700: #2b2f38;      /* borders on dark sections */
  --ink-050: #f0efec;      /* off-white text on dark bg */

  --fog-050: #f5f4f1;      /* cool neutral paper bg */
  --fog-100: #ebe9e4;
  --fog-300: #cac6bd;

  --graphite-700: #34363c; /* body text on paper */
  --graphite-500: #61636b;

  --claret: #7c2d34;       /* deep oxblood — CTAs, emphasis, accent rule */
  --claret-dark: #5c2126;
  --claret-tint: #f6e9e9;
  --brass: #96773c;        /* muted brass — secondary emphasis, numerals */
  --brass-dark: #715a2c;

  --line: #ddd9d0;         /* hairline border on paper */
  --line-dark: #33363e;    /* hairline border on ink */

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --max: 1140px;
  --radius: 2px;
}

/* -- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--graphite-700);
  background: var(--fog-050);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--claret); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--claret-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink-950);
  line-height: 1.14;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.015em;
}
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* -- Utility: eyebrow labels ------------------------------------------ */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--claret);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1em;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--brass);
}
.eyebrow--on-dark { color: var(--brass); }
.eyebrow--on-dark::before { background: var(--claret); }

.placeholder {
  color: var(--claret-dark);
  background: var(--claret-tint);
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 0.88em;
  font-weight: 700;
  border: 1px solid #e6cfcf;
}

/* -- Skip link -------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brass);
  color: var(--ink-950);
  padding: 10px 16px;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* -- Header / nav ------------------------------------------------------ */
.site-header {
  background: var(--ink-950);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 20px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--brass);
  color: var(--brass);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}
.brand-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink-050);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a9fa8;
}
.brand:hover .brand-name { color: var(--ink-050); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 26px;
}
.site-nav a {
  color: var(--ink-050);
  opacity: 0.8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
  border-bottom-color: var(--claret);
}
.nav-cta {
  background: var(--claret);
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: var(--radius);
  border-bottom: none !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--claret-dark); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #4a4e58;
  color: var(--ink-050);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: var(--radius);
  cursor: pointer;
}

/* -- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-sans);
}
.btn-primary {
  background: var(--claret);
  color: #fff;
}
.btn-primary:hover { background: var(--claret-dark); color: #fff; }
.btn-outline {
  background: transparent;
  border-color: #4a4e58;
  color: var(--ink-050);
}
.btn-outline:hover { border-color: var(--brass); color: var(--brass); }
.btn-outline-light {
  background: transparent;
  border-color: var(--fog-300);
  color: var(--ink-950);
}
.btn-outline-light:hover { border-color: var(--claret); color: var(--claret); }
.btn-block { display: block; width: 100%; text-align: center; }

/* -- Hero --------------------------------------------------------------- */
.hero {
  background: var(--ink-950);
  color: var(--ink-050);
  padding: 68px 0 0;
  border-bottom: 4px solid var(--claret);
  overflow: hidden;
}
.hero .container {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  padding-bottom: 56px;
}
@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.15fr 0.85fr; align-items: end; }
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.15rem, 4.8vw, 3.3rem);
  max-width: 17ch;
}
.hero .lede {
  color: #c7cbd1;
  font-size: 1.14rem;
  max-width: 54ch;
  margin-bottom: 1.75em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-panel {
  background: var(--ink-800);
  border: 1px solid var(--line-dark);
  border-top: 3px solid var(--brass);
  padding: 26px 26px 22px;
}
.hero-panel h3 {
  color: #fff;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1em;
}
.hero-panel-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 0.92rem;
  color: #c7cbd1;
}
.hero-panel-row:first-of-type { border-top: none; padding-top: 0; }

/* -- Sections ---------------------------------------------------------- */
section { padding: 60px 0; }
.section-alt { background: var(--fog-100); }
.section-head { max-width: 64ch; margin-bottom: 2.4em; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); }
.section-head .lede { color: var(--graphite-500); font-size: 1.05rem; }

.two-col {
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .two-col { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .two-col.reverse { grid-template-columns: 0.85fr 1.15fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card + .card { margin-top: 16px; }
.card h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.card .eyebrow { margin-bottom: 0.5em; }
.card-dark {
  background: var(--ink-950);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--ink-050);
}
.card-dark h3 { color: #fff; }
.card-dark a { color: var(--brass); }

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card-num {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--brass-dark);
  display: block;
  margin-bottom: 0.6em;
}

.pull-quote {
  border-left: 3px solid var(--claret);
  padding: 4px 0 4px 24px;
  font-size: 1.22rem;
  color: var(--ink-950);
  font-weight: 600;
  margin: 1.8em 0;
}

.headshot-frame {
  border: 1px solid var(--line);
  background: var(--fog-100);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.headshot-frame span {
  font-size: 0.9rem;
  color: var(--graphite-500);
}

.cta-band {
  background: var(--claret-dark);
  color: #fff;
  padding: 58px 0;
}
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #eed8d8; max-width: 60ch; }
.cta-band .hero-actions { margin-bottom: 0; }
.cta-band .btn-outline { border-color: #a15b60; color: #fff; }
.cta-band .btn-outline:hover { border-color: #fff; color: #fff; }

/* -- Numbered list (approach page) ---------------------------------------- */
.numbered-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: item;
}
.numbered-list li {
  counter-increment: item;
  position: relative;
  padding-left: 52px;
  margin-bottom: 26px;
}
.numbered-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: -2px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink-050);
  background: var(--ink-950);
  border: 1px solid var(--brass);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.numbered-list h3 { margin-bottom: 0.3em; font-size: 1.08rem; }
.numbered-list p:last-child { margin-bottom: 0; }

/* -- FAQ / details -------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item h3 {
  font-size: 1.04rem;
  margin-bottom: 0.5em;
}
.faq-item p:last-child { margin-bottom: 0; }

/* -- Forms ------------------------------------------------------------- */
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-950);
  margin-bottom: 6px;
}
.form-field .hint {
  font-size: 0.82rem;
  color: var(--graphite-500);
  margin-top: 4px;
}
.form-row.two {
  display: grid;
  gap: 0 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 12px 13px;
  border: 1px solid var(--fog-300);
  border-radius: var(--radius);
  background: #fff;
  color: var(--graphite-700);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--claret);
  outline-offset: 1px;
  border-color: var(--claret);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.required-mark { color: var(--claret); }

.form-status {
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.95rem;
  margin-bottom: 20px;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-error {
  background: var(--claret-tint);
  border: 1px solid var(--claret);
  color: var(--claret-dark);
}
.form-status.is-success {
  background: #f2ede1;
  border: 1px solid var(--brass);
  color: var(--brass-dark);
}

/* honeypot field — hidden from sighted users and screen readers */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* -- Global error banner (see js/site.js) ------------------------------ */
.global-error-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--ink-950);
  color: #fff;
  border-top: 3px solid var(--claret);
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-align: center;
}

/* -- Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--ink-950);
  color: #a7abb3;
  padding: 48px 0 30px;
  font-size: 0.9rem;
}
.site-footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 22px;
}
.site-footer h4 {
  color: var(--ink-050);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.site-footer a { color: #c2c6cd; text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.footer-disclaimer {
  max-width: 62ch;
  color: #82868f;
  font-size: 0.82rem;
  margin-top: 10px;
}

/* -- Misc ------------------------------------------------------------- */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--graphite-500);
  padding: 18px 0 0;
}
.breadcrumb a { color: var(--graphite-500); }
.page-header {
  padding: 44px 0 46px;
  background: var(--ink-950);
  color: var(--ink-050);
  border-bottom: 4px solid var(--claret);
}
.page-header h1 {
  color: #fff;
  font-size: clamp(1.95rem, 4.2vw, 2.6rem);
  max-width: 22ch;
}
.page-header .lede {
  max-width: 62ch;
  color: #c7cbd1;
  font-size: 1.06rem;
  margin-bottom: 0;
}

@media (min-width: 700px) {
  section { padding: 84px 0; }
}

@media (max-width: 760px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-block; }
  .site-header.is-open .site-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 14px;
    padding-top: 10px;
  }
}
