/* Longbow Advisory Group — brand stylesheet
   Palette (exactly three hues): hunter green, cream, charcoal.
   Flat. No gradients, no shadows. */

:root {
  --green: #1F3D2B;
  --cream: #F5F0E6;
  --charcoal: #2B2B2B;
  --rule: 1px solid var(--green);
  --serif-display: "EB Garamond", Georgia, "Times New Roman", serif;
  --serif-body: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --measure: 62ch;
  --pad: 1rem;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--serif-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--serif-display);
  font-weight: 600;
  color: var(--green);
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); font-weight: 500; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: var(--measure); }
ul, ol { padding-left: 1.25rem; max-width: var(--measure); }
li { margin-bottom: 0.4em; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
strong { color: var(--green); font-weight: 600; }
hr { border: 0; border-top: var(--rule); margin: 0; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.on-green :focus-visible, .on-green:focus-visible { outline-color: var(--cream); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green); color: var(--cream); padding: 0.5rem 1rem;
  font-family: var(--serif-display); letter-spacing: 0.08em; text-transform: uppercase;
}
.skip-link:focus { left: 0; z-index: 100; }

.wrap { width: min(100% - 2rem, 68rem); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2rem, 46rem); margin-inline: auto; }

section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section + section { border-top: var(--rule); }

.on-green {
  background: var(--green);
  color: var(--cream);
}
.on-green h1, .on-green h2, .on-green h3, .on-green a, .on-green strong { color: var(--cream); }
.on-green hr { border-top-color: var(--cream); }

.eyebrow {
  font-family: var(--serif-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--green);
  margin: 0 0 1rem;
}
.on-green .eyebrow { color: var(--cream); }

.lede { font-size: 1.2rem; line-height: 1.5; }

/* ---------- Mark + wordmark ---------- */
.mark { display: block; width: 100%; height: auto; }
.wordmark {
  font-family: var(--serif-display);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--green);
  line-height: 1.05;
  text-decoration: none;
  display: inline-block;
}
.wordmark .l1 { display: block; letter-spacing: 0.32em; font-size: 1.15em; }
.wordmark .l2 { display: block; letter-spacing: 0.26em; font-size: 0.62em; font-weight: 500; margin-top: 0.25em; }
.on-green .wordmark { color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  border-bottom: var(--rule);
  background: var(--cream);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand .mark { width: 2.6rem; flex: none; }
.brand .wordmark { font-size: 0.95rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; align-items: center; }
.site-nav a {
  font-family: var(--serif-display); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem;
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .site-nav li:not(.nav-cta) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--serif-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  padding: 0.95rem 1.5rem;
  border: 2px solid var(--green);
  background: var(--green);
  color: var(--cream);
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
}
.btn:hover { background: var(--cream); color: var(--green); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--cream); }
.on-green .btn { background: var(--cream); color: var(--green); border-color: var(--cream); }
.on-green .btn:hover { background: var(--green); color: var(--cream); }
.on-green .btn--ghost { background: transparent; color: var(--cream); }
.on-green .btn--ghost:hover { background: var(--cream); color: var(--green); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3rem, 8vw, 6rem); }
.hero .wrap {
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: 1fr;
}
.hero-seal { text-align: center; }
.hero-seal .mark { width: min(220px, 55vw); margin: 0 auto 1.25rem; }
.hero-seal .wordmark { font-size: 1.5rem; }
.hero h1 { margin-top: 0.5rem; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-top: 1.5rem; }
.hero .cta-note { font-size: 0.95rem; margin: 0; }
@media (min-width: 860px) {
  .hero .wrap { grid-template-columns: 2fr 3fr; gap: 4rem; }
  .hero-seal { border-right: var(--rule); padding-right: 3rem; }
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-top: 2rem;
}
.card {
  border: var(--rule);
  padding: 1.5rem 1.4rem;
}
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; font-size: 1rem; }
.on-green .card { border-color: var(--cream); }

/* ---------- Services table ---------- */
.table-wrap { margin-top: 2rem; }
table.services { width: 100%; border-collapse: collapse; border: var(--rule); }
table.services th, table.services td {
  text-align: left; vertical-align: top;
  padding: 1rem 1rem;
  border-bottom: var(--rule);
}
table.services thead th {
  font-family: var(--serif-display); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem;
  color: var(--green);
  border-bottom: 2px solid var(--green);
}
table.services tbody th {
  font-family: var(--serif-display); font-weight: 600; color: var(--green);
  font-size: 1.1rem; width: 24%;
}
table.services tbody th small {
  display: block; font-family: var(--serif-body); font-weight: 400;
  color: var(--charcoal); font-size: 0.85rem; letter-spacing: 0; text-transform: none; margin-top: 0.25rem;
}
table.services td.fee { white-space: nowrap; font-weight: 600; color: var(--green); width: 22%; }
table.services td p { margin: 0; font-size: 1rem; }
table.services tbody tr:last-child th, table.services tbody tr:last-child td { border-bottom: 0; }
table.services tr.retainer th, table.services tr.retainer td { border-top: 2px solid var(--green); }

@media (max-width: 720px) {
  table.services thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.services, table.services tbody, table.services tr, table.services th, table.services td { display: block; width: 100%; }
  table.services tr { border-bottom: 2px solid var(--green); padding: 0.25rem 0; }
  table.services tr:last-child { border-bottom: 0; }
  table.services tbody th, table.services td, table.services td.fee { width: 100%; border-bottom: 0; padding: 0.75rem 1rem; }
  table.services td.fee { white-space: normal; padding-top: 0; }
  table.services td.fee::before { content: "Fee: "; font-weight: 400; color: var(--charcoal); }
  table.services td.what { padding-top: 0; }
  table.services tr.retainer th, table.services tr.retainer td { border-top: 0; }
  table.services tr.retainer { border-top: 2px solid var(--green); }
}

.callout {
  border: var(--rule);
  border-left-width: 6px;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  font-family: var(--serif-display);
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--green);
  max-width: 54rem;
}
.callout p { margin: 0; max-width: none; }

/* ---------- Pledge ---------- */
.pledge-list { list-style: none; padding: 0; margin: 2rem 0 0; max-width: none; }
.pledge-list li {
  border-top: 1px solid var(--cream);
  padding: 1.1rem 0;
  display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: baseline;
  margin: 0;
}
.pledge-list li:last-child { border-bottom: 1px solid var(--cream); }
.pledge-list .num { font-family: var(--serif-display); font-size: 1.4rem; font-weight: 500; }
.pledge-list p { margin: 0; }

/* ---------- Founder ---------- */
.founder .wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
.founder-photo { display: block; width: min(100%, 22rem); border: var(--rule); padding: 0.5rem; background: var(--cream); }
.founder-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-placeholder {
  aspect-ratio: 4 / 5;
  width: min(100%, 22rem);
  border: var(--rule);
  display: grid; place-items: center;
  font-family: var(--serif-display);
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8rem;
  color: var(--green);
  background: var(--cream);
}
.founder blockquote {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--green);
  font-family: var(--serif-display);
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--green);
  max-width: 40ch;
}
.founder blockquote p { max-width: none; margin: 0; }
.credentials { list-style: none; padding: 0; margin: 1rem 0 0; }
.credentials li { padding: 0.45rem 0; border-top: var(--rule); margin: 0; }
.credentials li:last-child { border-bottom: var(--rule); }
@media (min-width: 760px) { .founder .wrap { grid-template-columns: 22rem 1fr; gap: 3rem; } }

/* ---------- Forms ---------- */
form { max-width: 40rem; }
.field { margin-bottom: 1.1rem; }
label { display: block; font-family: var(--serif-display); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 0.35rem; color: var(--green); }
.on-green label { color: var(--cream); }
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--charcoal);
  background: var(--cream);
  border: var(--rule);
  border-radius: 0;
  padding: 0.75rem 0.85rem;
}
textarea { min-height: 7.5rem; resize: vertical; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%231F3D2B' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat; background-position: right 0.9rem center; }
.on-green input, .on-green select, .on-green textarea { border-color: var(--cream); }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 0.9rem; margin-top: 0.75rem; }

/* Lead magnet */
.magnet .wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
.magnet .guide-title {
  font-family: var(--serif-display); font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.2; margin: 0.5rem 0 1rem;
  font-style: italic;
}
.magnet form { display: grid; gap: 0.75rem; grid-template-columns: 1fr; max-width: none; }
.magnet .field { margin: 0; }
@media (min-width: 860px) {
  .magnet .wrap { grid-template-columns: 3fr 2fr; gap: 4rem; }
}

/* ---------- FAQ accordion ---------- */
.faq { max-width: 46rem; margin-top: 1.5rem; border-top: var(--rule); }
.faq-item { border-bottom: var(--rule); }
.faq-q {
  all: unset;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  width: 100%; box-sizing: border-box;
  cursor: pointer;
  padding: 1.1rem 0;
  font-family: var(--serif-display); font-weight: 600; font-size: 1.15rem;
  color: var(--green);
}
.faq-q:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.faq-q .icon {
  flex: none; width: 1.1rem; height: 1.1rem; position: relative;
}
.faq-q .icon::before, .faq-q .icon::after {
  content: ""; position: absolute; background: var(--green);
  top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%);
}
.faq-q .icon::after { transform: translateY(-50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .icon::after { display: none; }
.faq-a { padding: 0 0 1.25rem; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a[hidden] { display: none; }

/* ---------- Contact ---------- */
.contact .wrap { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.contact-details { font-size: 1.05rem; }
.contact-details dt { font-family: var(--serif-display); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem; margin-top: 1.25rem; }
.contact-details dd { margin: 0.2rem 0 0; }
.contact-details a { font-size: 1.15rem; }
@media (min-width: 860px) { .contact .wrap { grid-template-columns: 3fr 2fr; gap: 4rem; } }

/* ---------- Footer ---------- */
.site-footer {
  border-top: var(--rule);
  padding: 3rem 0 2.5rem;
  background: var(--cream);
}
.site-footer .wrap { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center; text-align: center; }
.site-footer .mark { width: 4.5rem; margin: 0 auto; }
.site-footer .wordmark { font-size: 1rem; }
.site-footer p { margin: 0.25rem auto; font-size: 0.95rem; max-width: none; }
.site-footer nav ul { list-style: none; padding: 0; margin: 0.75rem 0 0; display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
.site-footer nav a { font-family: var(--serif-display); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .fine { font-size: 0.82rem; margin-top: 1rem; }

/* ---------- Utilities ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-2 { margin-top: 2rem; }
.sub-rule { width: 4rem; border-top: 2px solid var(--green); margin: 0 0 1.5rem; }
.on-green .sub-rule { border-top-color: var(--cream); }

/* ---------- GoHighLevel inline form ---------- */
.ghl-embed { max-width: 40rem; border: var(--rule); background: var(--cream); }
.ghl-embed iframe { display: block; min-height: 711px; }

/* ---------- Legal pages ---------- */
.legal { padding-top: clamp(2.5rem, 6vw, 4rem); }
.legal .meta { font-family: var(--serif-display); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem; color: var(--green); margin: 0 0 2rem; }
.legal h2 { font-size: 1.45rem; font-weight: 600; margin-top: 2.5rem; padding-top: 1.5rem; border-top: var(--rule); }
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.5rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal p, .legal li { max-width: 68ch; }
.legal ul, .legal ol { margin-bottom: 1.25rem; }
.legal .toc { border: var(--rule); padding: 1.25rem 1.5rem; margin: 0 0 2rem; }
.legal .toc p { margin: 0 0 0.5rem; font-family: var(--serif-display); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; color: var(--green); }
.legal .toc ol { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 2rem; }
.legal .toc li { margin-bottom: 0.25rem; break-inside: avoid; font-size: 0.95rem; }
@media (max-width: 600px) { .legal .toc ol { columns: 1; } }
.legal address { font-style: normal; }
