/* Apollo O'Neil, BCMA — apollooneil.com
   Static rebuild, 2026-09-21. Palette and type pulled from the previous site. */

:root {
  --forest: #273227;
  --forest-deep: #1d261d;
  --gold: #b89a5a;
  --gold-bright: #c9a86a;
  --cream: #f2ece1;
  --ink: #444;
  --ink-soft: #666;
  --rule: #e2d9c9;
  --white: #fff;
  --maxw: 1140px;
}

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

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

body {
  margin: 0;
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--white);
}

h1, h2, h3, h4, h5 {
  font-family: Rubik, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold);
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 5vw, 3.125rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.125rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.15rem; color: var(--forest); }
h5 { font-size: 1rem; color: var(--forest); }

p { margin: 0 0 1.15em; }
a { color: var(--gold); text-decoration: none; }
a:hover, a:focus-visible { color: var(--forest); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

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

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--forest); color: var(--white);
  padding: 12px 18px; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}
.brand {
  font-family: Rubik, sans-serif; font-weight: 700; font-size: 1.05rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--forest);
}
.brand:hover { color: var(--gold); text-decoration: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule);
  border-radius: 4px; padding: 9px 12px; cursor: pointer; color: var(--forest);
  font: inherit; line-height: 1;
}

.site-nav ul {
  display: flex; gap: 30px; list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600; color: var(--forest); padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--gold); border-bottom-color: var(--gold); text-decoration: none;
}

/* ---------- Hero ---------- */
.hero { background: var(--forest); color: #cfc9be; padding: 76px 0 0; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
}
.hero-copy { padding-bottom: 60px; }
.eyebrow {
  color: var(--gold); font-size: .95rem; letter-spacing: .04em;
  margin-bottom: .5em;
}
.hero h1 { margin-bottom: .5em; }
.hero p { color: #cfc9be; }
.hero-figure { align-self: end; }
.hero-figure img { margin: 0 auto; }

.credbar { background: var(--forest-deep); }
.credbar ul {
  display: flex; flex-wrap: wrap; gap: 14px 38px; justify-content: center;
  list-style: none; margin: 0; padding: 18px 20px;
}
.credbar li {
  color: var(--gold); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 600;
}

/* ---------- Page head (interior pages) ---------- */
.page-head { background: var(--forest); color: #cfc9be; padding: 60px 0; }
.page-head h1 { margin-bottom: .35em; }
.page-head p { color: #cfc9be; max-width: 70ch; margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--gold); color: var(--forest-deep);
  font-family: Rubik, sans-serif; font-weight: 600; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 40px; border: 2px solid var(--gold);
  transition: background .15s ease, color .15s ease;
}
.btn:hover, .btn:focus-visible {
  background: transparent; color: var(--gold); text-decoration: none;
}
.btn-ghost { background: transparent; color: var(--gold); }
.btn-ghost:hover { background: var(--gold); color: var(--forest-deep); }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-cream { background: var(--cream); }
.section-forest { background: var(--forest); color: #cfc9be; }
.section-forest h2, .section-forest h3 { color: var(--gold); }
.section-forest p { color: #cfc9be; }

.lede { font-size: 1.15rem; max-width: 72ch; }
.prose { max-width: 74ch; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--white); border: 1px solid var(--rule); border-radius: 6px;
  padding: 32px 28px; display: flex; flex-direction: column;
}
.card h3 { color: var(--forest); font-size: 1.2rem; }
.card p { flex: 1; font-size: .96rem; }
.card .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Definition-style lists (credentials, awards) ---------- */
.deflist { list-style: none; margin: 0; padding: 0; }
.deflist li {
  padding: 14px 0; border-bottom: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 4px 14px;
}
.deflist li:last-child { border-bottom: 0; }
.deflist .term { font-weight: 600; color: var(--forest); }
.section-forest .deflist li { border-bottom-color: rgba(255,255,255,.12); }
.section-forest .deflist .term { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { max-width: 78ch; }
.faq details {
  border-bottom: 1px solid var(--rule); padding: 6px 0;
}
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--forest);
  font-family: Rubik, sans-serif; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > *:not(summary) { margin-bottom: 1em; }

/* ---------- Split (image + copy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; }
.contact-card {
  background: var(--cream); border-radius: 6px; padding: 32px;
}
.contact-card h3 { color: var(--forest); margin-top: 0; }
.contact-line { display: block; margin-bottom: .5em; }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; color: var(--forest); margin-bottom: 6px; font-size: .95rem; }
form input, form select, form textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  border: 1px solid var(--rule); border-radius: 4px; background: var(--white);
}
form input:focus, form select:focus, form textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
form textarea { min-height: 150px; resize: vertical; }
.req { color: #a8443a; }
.form-note { font-size: .9rem; margin-top: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: #a9a496; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-family: Rubik, sans-serif; font-size: 1.05rem; margin-bottom: .9em; }
.site-footer h4::after {
  content: ""; display: block; width: 52px; height: 2px; background: var(--gold); margin-top: 10px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5em; }
.site-footer a { color: #cfc9be; font-size: .92rem; }
.site-footer a:hover { color: var(--gold); }
.footer-brand { font-family: Rubik, sans-serif; font-weight: 700; color: var(--white); letter-spacing: .1em; text-transform: uppercase; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .85rem;
}

/* ---------- 410 / error ---------- */
.gone { padding: 100px 0; text-align: center; }
.gone .prose { margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .hero-grid, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-copy { padding-bottom: 36px; }
  .hero-figure { display: none; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--rule);
    padding: 12px 20px 18px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--rule); }
  .header-inner { position: relative; }
  .section { padding: 52px 0; }
}

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

/* Single-child grids (e.g. before images are in place) go full width. */
.hero-grid > :only-child,
.split > :only-child { grid-column: 1 / -1; }
.hero-grid:has(> :only-child),
.split:has(> :only-child) { grid-template-columns: 1fr; }
.hero-grid > :only-child .hero-copy,
.split > :only-child.prose { max-width: 74ch; }

/* ---------- Header click-to-call ---------- */
.header-call {
  font-family: Rubik, sans-serif; font-weight: 600; font-size: .95rem;
  color: var(--forest); white-space: nowrap;
  border: 2px solid var(--gold); border-radius: 40px; padding: 9px 20px;
}
.header-call:hover, .header-call:focus-visible {
  background: var(--gold); color: var(--forest-deep); text-decoration: none;
}

/* ---------- Call-or-form band ---------- */
.cta-band { background: var(--forest-deep); color: #cfc9be; padding: 54px 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 36px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--gold); margin-bottom: .35em; }
.cta-band p { color: #cfc9be; margin: 0; max-width: 52ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-lg { padding: 17px 34px; font-size: .85rem; }

@media (max-width: 900px) {
  /* Phone stays visible on mobile: it is the likeliest action on a phone. */
  .header-call { padding: 8px 14px; font-size: .88rem; order: 2; }
  .nav-toggle { order: 3; }
  .brand { font-size: .92rem; }
  .header-inner { gap: 10px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; text-align: center; }
}
