/* Speer Business Operations — sbo.speerlife.com
   Mockup stylesheet. Tokens follow live speerlife.com values. */

:root {
  --navy: #002240;
  --navy-link: #1d2233;
  --gold: #BF9B30;
  --rust: #8A4A2F;
  --cta: #C57200;
  --cta-hover: #A85F00;
  --text: #333333;
  --muted: #555555;
  --gray: #F2F2F2;
  --line: #DDD8CC;
  --white: #FFFFFF;

  --font-head: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;

  /* 8px spacing scale */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --gutter: 20px;
  --measure: 66ch;
  --wide: 1120px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-link); text-underline-offset: 3px; }
a:hover { color: var(--cta-hover); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--s4);
  letter-spacing: -0.01em;
}
h1 { font-weight: 700; font-size: clamp(2.25rem, 7.5vw, 3.75rem); line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 4.6vw, 2.125rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 var(--s4); max-width: var(--measure); }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: var(--s3) var(--s4); z-index: 100; }
.skip:focus { left: var(--s3); top: var(--s3); }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--s8) 0; }
.section--gray { background: var(--gray); }
.section--tight { padding: var(--s7) 0; }

/* Thin gold rule accent */
.rule { width: 56px; height: 3px; background: var(--gold); border: 0; margin: 0 0 var(--s5); }
.rule--center { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); min-height: 68px; padding-top: var(--s2); padding-bottom: var(--s2);
}
.wordmark {
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  text-decoration: none; font-size: 1.05rem; line-height: 1.15; letter-spacing: 0.01em;
  max-width: 11.5em;
}
.wordmark:hover { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: var(--s2); }

.nav-desktop { display: none; }
.nav-desktop a {
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  color: var(--navy); text-decoration: none; padding: var(--s2) var(--s3);
}
.nav-desktop a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); }
.nav-desktop a:hover { color: var(--cta-hover); }

/* Mobile disclosure menu (no JS) */
.nav-mobile { position: relative; }
.nav-mobile summary {
  list-style: none; cursor: pointer; width: 46px; height: 46px;
  display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--navy);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary .bars { width: 20px; height: 14px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.nav-mobile summary .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid currentColor; }
.nav-mobile[open] summary { background: var(--gray); }
.nav-mobile ul {
  position: absolute; right: 0; top: 54px; margin: 0; padding: var(--s2) 0; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  min-width: 200px; box-shadow: 0 10px 30px rgba(0,34,64,.12);
}
.nav-mobile li a {
  display: block; padding: var(--s3) var(--s5); font-family: var(--font-head); font-weight: 600;
  color: var(--navy); text-decoration: none; font-size: 1.05rem;
}
.nav-mobile li a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }

/* ---------- Buttons ----------
   White on #C57200 = 3.6:1, so labels are always "large text" (>=18.67px bold). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1875rem; line-height: 1.25;
  color: var(--white); background: var(--cta); border: 2px solid var(--cta);
  border-radius: var(--radius); text-decoration: none; cursor: pointer;
  padding: 16px 24px; min-height: 56px; width: 100%;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover, .btn:focus-visible { background: var(--cta-hover); border-color: var(--cta-hover); color: var(--white); }
.btn--header { width: auto; min-height: 46px; padding: 8px 14px; font-size: 1.1875rem; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { padding: var(--s7) 0 var(--s8); }
.hero__grid { display: grid; gap: var(--s7); align-items: center; }
.hero .subhead {
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  font-size: clamp(1.25rem, 4.2vw, 1.6rem); line-height: 1.3; margin-bottom: var(--s5); max-width: 30ch;
}
.hero .intro { font-size: 1.125rem; }
.cta-group { margin-top: var(--s6); max-width: 520px; }
.cta-group .cta-note { margin-top: var(--s4); font-size: 1rem; color: var(--muted); }

/* Sunday week-strip accent */
.week { width: 100%; max-width: 420px; margin: 0 auto; color: var(--navy); }
.week text { font-family: var(--font-head); font-weight: 600; }

/* ---------- Two reasons ---------- */
.reasons__lead { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: clamp(1.5rem, 4.6vw, 2.125rem); line-height: 1.2; max-width: 26ch; margin-bottom: var(--s6); }
.cards { display: grid; gap: var(--s5); }
.card {
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy);
  border-radius: var(--radius); padding: var(--s6) var(--s5);
}
.card h3 { display: flex; align-items: center; gap: var(--s3); font-size: 1.5rem; }
.card h3 svg { width: 32px; height: 32px; flex: none; }
.card p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #E9EDF2; padding: var(--s8) 0; }
.cta-band h2 { color: var(--white); }
.cta-band .rule { background: var(--gold); }
.cta-band p { color: #E9EDF2; font-size: 1.125rem; }
.cta-band .btn { margin-top: var(--s4); max-width: 520px; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: var(--s7) 0 var(--s5); }
.page-head .lead { font-size: 1.1875rem; }

/* ---------- Services ---------- */
.services { display: grid; gap: var(--s5); }
.service {
  border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s6) var(--s5);
  background: var(--white);
}
.service h2 { font-size: 1.5rem; }
.service p:last-child { margin-bottom: 0; }
.service__tag {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8125rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--navy);
  border-bottom: 2px solid var(--gold); padding-bottom: 2px; margin-bottom: var(--s4);
}
.service--featured {
  background: var(--navy); border-color: var(--navy); color: #E9EDF2;
  border-top: 6px solid var(--gold);
}
.service--featured h2 { color: var(--white); font-size: 1.75rem; }
.service--featured p { color: #E9EDF2; }
.service--featured .btn { margin-top: var(--s5); }

/* ---------- About personal bio (About-only scope) ---------- */
.about-bio { padding: var(--s7) 0 var(--s8); }
.about-bio h1 { margin-bottom: var(--s6); }
.about-bio__grid { display: grid; gap: var(--s6); align-items: start; }
.about-bio__portrait {
  width: 216px; max-width: 100%; aspect-ratio: 3 / 4;
  background: var(--gray); border: 1px solid rgba(0,34,64,.18);
  border-top: 3px solid var(--gold);
  overflow: hidden;
}
.about-bio__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.about-bio__copy { min-width: 0; }
.about-bio__intro {
  font: 600 clamp(1.625rem, 3.5vw, 2rem)/1.25 var(--font-head);
  color: var(--navy); margin-bottom: var(--s5);
}
.about-bio__copy > p:not(.about-bio__intro) { margin-bottom: var(--s5); }
.about-bio__copy > p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .about-bio { padding: var(--s8) 0 var(--s9); }
}
@media (min-width: 960px) {
  .about-bio h1 { margin-bottom: var(--s7); }
  .about-bio__grid { grid-template-columns: 288px minmax(0, 1fr); gap: var(--s8); }
  .about-bio__portrait { width: 288px; }
}

/* ---------- Form ---------- */
.checkup-grid { display: grid; gap: var(--s7); }
.lead { font-size: 1.1875rem; }
.email-alt { font-size: 1.0625rem; }
.form-card { background: var(--gray); border-radius: var(--radius); padding: var(--s6) var(--s5); }
.field { margin-bottom: var(--s5); }
.field label {
  display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy);
  font-size: 1rem; margin-bottom: var(--s2);
}
.field .optional { font-weight: 400; color: var(--muted); font-family: var(--font-body); font-style: italic; font-size: .9375rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1.0625rem; color: var(--text);
  background: var(--white); border: 1px solid #A9A9A9; border-radius: var(--radius);
  padding: 13px 14px; min-height: 52px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.form-legal { font-size: .9375rem; color: var(--muted); margin-top: var(--s4); margin-bottom: 0; }
.form-legal.placeholder { border: 1px dashed #A9A9A9; padding: var(--s2) var(--s3); border-radius: var(--radius); }

/* ---------- Thank you ---------- */
.thanks { padding: var(--s9) 0 var(--s8); text-align: center; }
.thanks h1 { font-size: clamp(2rem, 6.5vw, 3rem); }
.thanks p { margin-left: auto; margin-right: auto; font-size: 1.125rem; }
.thanks .check { width: 64px; height: 64px; margin: 0 auto var(--s5); }
.thanks .links { margin-top: var(--s6); font-family: var(--font-head); font-weight: 600; }
.thanks .links a { margin: 0 var(--s3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #D6DDE5; padding: var(--s7) 0 var(--s6); border-top: 4px solid var(--gold); }
.site-footer .wrap { display: grid; gap: var(--s5); }
.site-footer .f-name { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.125rem; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.site-footer nav a { color: var(--white); font-family: var(--font-head); font-weight: 600; text-decoration: none; }
.site-footer nav a:hover { color: var(--gold); }
.site-footer .legal { font-size: .9375rem; margin: 0; padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.18); max-width: none; }
.site-footer .legal a { color: var(--white); }
.site-footer .f-cta { color: var(--gold); font-family: var(--font-head); font-weight: 700; text-decoration: none; }
.site-footer .f-cta:hover { color: var(--white); }

/* ---------- Breakpoints ---------- */
@media (min-width: 560px) {
  .btn { width: auto; }
  .wordmark { max-width: none; font-size: 1.15rem; }
}
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  body { font-size: 19px; }
  .section { padding: var(--s9) 0; }
  .hero { padding: var(--s8) 0 var(--s9); }
  .cards { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .card { padding: var(--s7) var(--s6); }
  .service, .form-card { padding: var(--s7) var(--s6); }
  .page-head { padding: var(--s8) 0 var(--s6); }
  .site-footer .wrap { grid-template-columns: 1fr auto; align-items: center; }
  .site-footer .legal { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .nav-desktop { display: flex; align-items: center; gap: var(--s1); margin-right: var(--s3); }
  .nav-mobile { display: none; }
  .site-header .wrap { min-height: 76px; }
  .wordmark { font-size: 1.25rem; }
  .hero__grid { grid-template-columns: 1.35fr 1fr; gap: var(--s8); }
  .services { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .service--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s7); align-items: center; }
  .service--featured .btn { margin-top: 0; }
  .checkup-grid { grid-template-columns: 1fr 1.15fr; gap: var(--s8); align-items: start; }
  .about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s8); align-items: end; }
}
@media (max-width: 959px) { .week--desktop-only { display: none; } }
@media (max-width: 359px) { .btn--header { font-size: 1.1875rem; padding: 8px 10px; } .wordmark { font-size: .98rem; } }

/* ---------- Copy pass 2: scoped type-led components ---------- */
.copy-split { display: grid; gap: var(--s5); }
.copy-heading h2 { max-width: 26ch; margin-bottom: 0; }
.copy-content { min-width: 0; }
.copy-content > p:last-child { margin-bottom: 0; }
.copy-stack > .copy-heading { margin-bottom: var(--s6); }
.point-list { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; gap: var(--s5) var(--s7); }
.point-list li { border-top: 1px solid var(--line); padding-top: var(--s5); max-width: 48ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s6); }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: var(--s4); align-items: start; }
.step-number { font: 600 2rem/1.15 var(--font-head); color: var(--navy); border-top: 3px solid var(--gold); padding-top: var(--s3); }
.steps p { margin: 0; padding-top: var(--s3); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: var(--s5) var(--s7) var(--s5) 0; color: var(--navy); font: 600 1.1875rem/1.4 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: var(--s2); top: var(--s5); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--cta-hover); }
.faq-answer { padding: 0 var(--s5) var(--s5) 0; }
.faq-answer p { margin-bottom: 0; }
@media (min-width: 768px) {
  .point-list { grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s7); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s7); }
  .steps li { display: block; }
  .step-number { display: block; width: 56px; margin-bottom: var(--s4); }
  .steps p { padding-top: 0; }
}
@media (min-width: 960px) {
  .copy-split { grid-template-columns: 1fr 1.3fr; gap: var(--s8); }
  .copy-stack > .copy-heading { max-width: 720px; }
  .faq { max-width: 880px; }
}

/* ---------- Copy pass 3: atmospheric split, labeled points, four steps ---------- */
.image-copy { display: grid; gap: var(--s7); align-items: center; }
.image-copy .copy-heading { margin-bottom: var(--s5); }
.image-copy__text { min-width: 0; }
.jobsite-art { border-top: 3px solid var(--gold); padding-top: var(--s4); }
.jobsite-art img { width: 100%; height: auto; border-radius: var(--radius); }
.labeled-points h3 { margin-bottom: var(--s3); }
.labeled-points p { margin-bottom: 0; }
@media (min-width: 768px) {
  .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7); }
  .steps--four li { display: grid; grid-template-columns: 56px 1fr; gap: var(--s5); }
  .steps--four .step-number { margin: 0; }
  .steps--four p { padding-top: var(--s3); }
}
@media (min-width: 960px) {
  .image-copy { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s8); }
}


/* Legal pages + form consent (staging — keep with Legal pages) */
.legal-page { padding: var(--s7) 0 var(--s9); }
.legal-page h1 { margin: 0 0 var(--s4); }
.legal-page .updated { color: var(--muted); font-size: 0.9375rem; margin: 0 0 var(--s6); }
.legal-page h2 { font-family: Raleway, Helvetica Neue, Arial, sans-serif; font-weight: 600; font-size: clamp(1.25rem, 3.5vw, 1.5rem); line-height: 1.2; color: var(--navy); margin: var(--s7) 0 var(--s3); }
.legal-page p, .legal-page li { max-width: 66ch; }
.legal-page ul { margin: 0 0 var(--s5); padding-left: 1.25rem; }
.legal-page li { margin: 0 0 var(--s2); }
.field--consent { margin-top: var(--s4); }
.field--consent label { display: flex; gap: 12px; align-items: flex-start; font-family: Lora, Georgia, serif; font-weight: 400; font-size: 0.9375rem; line-height: 1.5; color: var(--text); cursor: pointer; }
.field--consent input[type="checkbox"] { width: 20px; height: 20px; min-width: 20px; margin-top: 3px; accent-color: var(--navy); flex-shrink: 0; }
.field--consent a { color: var(--navy-link); text-decoration: underline; }
.site-footer .legal-links { margin: var(--s4) 0 0; padding-top: var(--s4); border-top: 1px solid rgba(214,221,229,.25); font-size: 0.9375rem; }
.site-footer .legal-links a { color: #D6DDE5; text-decoration: none; }
.site-footer .legal-links a:hover { color: #BF9B30; }
.site-footer .legal-links .sep { color: #D6DDE5; margin: 0 0.35em; opacity: .7; }
