/* ---------- Design tokens ---------- */
:root {
  --forest-900: #2e3b27;
  --forest-700: #47593b;
  --sage-500: #93a876;
  --sage-300: #c7d3ac;
  --sage-100: #eef2e4;
  --terracotta-600: #c96a3a;
  --terracotta-500: #de7f49;
  --terracotta-400: #f0ad73;
  --terracotta-200: #fbdcb8;
  --river-400: #7fada6;
  --river-200: #dceeec;
  --cream-50: #fbf7ee;
  --cream-100: #f3ecdd;
  --ink-900: #362f27;
  --ink-700: #5a5245;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1080px;
  --radius: 14px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--forest-700); }
h1, h2, h3 { font-family: var(--font-display); color: var(--forest-900); line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--forest-900); color: #fff;
  padding: 0.75em 1.25em; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--terracotta-600);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 2.4vw + 1rem, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--forest-900); color: #fff; }
.btn-primary:hover { background: var(--terracotta-600); }
.btn-ghost { background: transparent; border-color: var(--forest-700); color: var(--forest-700); }
.btn-ghost:hover { background: var(--forest-900); color: #fff; border-color: var(--forest-900); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 238, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--cream-100);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--forest-900); }
.brand-tag { font-size: 0.68rem; letter-spacing: 0.06em; color: var(--forest-700); text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; gap: 1.75rem; }
.primary-nav a { text-decoration: none; color: var(--ink-900); font-weight: 600; font-size: 0.95rem; }
.primary-nav a:hover { color: var(--terracotta-600); }
.nav-cta {
  background: var(--forest-900); color: #fff !important; padding: 0.55em 1.2em; border-radius: 999px;
}
.nav-cta:hover { background: var(--terracotta-600) !important; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { width: 100%; height: 2px; background: var(--forest-900); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 4.5rem; }
.hero-hills { position: absolute; inset: auto 0 0 0; height: 60%; z-index: 0; opacity: 0.9; }
.hero-hills svg { width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; z-index: 1; max-width: 740px; padding-bottom: 6rem; }
.hero .eyebrow { color: var(--terracotta-600); }
.hero .lede { font-size: 1.1rem; color: var(--ink-700); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--sage-100); }
.section-intro { max-width: 700px; color: var(--ink-700); font-size: 1.05rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 260px 1fr; gap: 3.5rem; align-items: start; }
.about-portrait { position: sticky; top: 6.5rem; }
.portrait-frame {
  width: 220px; height: 220px; border-radius: 50%;
  background: linear-gradient(160deg, var(--sage-300), var(--terracotta-200));
  display: flex; align-items: center; justify-content: center;
  border: 6px solid var(--cream-50);
  box-shadow: 0 12px 30px -14px rgba(46, 59, 39, 0.4);
}
.portrait-initials { font-family: var(--font-display); font-size: 3.2rem; color: var(--forest-900); font-weight: 600; }
.portrait-swoosh { width: 160px; margin: 1rem auto 0; display: block; }
.credential-badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--cream-100); border: 1px solid var(--sage-300);
  color: var(--forest-700); font-weight: 600; font-size: 0.9rem;
  padding: 0.5em 1em; border-radius: 999px; margin-bottom: 1.2em;
}
.credential-badge svg { width: 16px; height: 16px; }
.about-copy p { color: var(--ink-700); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin-top: 3rem; max-width: 780px; }
.timeline li {
  display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem;
  padding-bottom: 2.5rem; position: relative;
}
.timeline li:not(:last-child)::before {
  content: ""; position: absolute; left: 31px; top: 50px; bottom: -4px; width: 2px;
  background: var(--sage-300);
}
.timeline-index {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  color: var(--terracotta-600); background: #fff; border: 2px solid var(--sage-300);
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.timeline h3 { margin-bottom: 0.3em; }
.timeline p { color: var(--ink-700); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: #fff; border: 1px solid var(--cream-100); border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; font-family: var(--font-display); font-size: 1.05rem;
  color: var(--forest-900); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--terracotta-600); flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 0.9rem; color: var(--ink-700); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
.contact-details { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-details li { display: flex; flex-direction: column; gap: 0.15em; }
.contact-details strong { color: var(--forest-900); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-details a { color: var(--ink-900); text-decoration: none; border-bottom: 1px solid var(--sage-300); }
.contact-details a:hover { color: var(--terracotta-600); border-color: var(--terracotta-600); }

.contact-form {
  background: #fff; border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--cream-100);
}
.form-row { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label, .contact-form legend { font-weight: 700; font-size: 0.9rem; color: var(--forest-900); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font: inherit; padding: 0.7em 0.9em; border-radius: 8px;
  border: 1.5px solid var(--cream-100); background: var(--cream-50);
  color: var(--ink-900);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--terracotta-400); outline-offset: 1px; background: #fff;
}
.contact-form fieldset { border: none; padding: 0; }
.radio { display: flex; align-items: center; gap: 0.5em; font-weight: 500; margin-top: 0.5em; color: var(--ink-700); }
.form-note { font-size: 0.82rem; color: var(--ink-700); margin-top: 0.8rem; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-900); color: var(--sage-100); padding: 3rem 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-brand { color: #fff; }
.site-footer p { margin: 0.3em 0 0; color: var(--sage-300); font-size: 0.92rem; }
.footer-note { max-width: 420px; text-align: right; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-portrait { position: static; margin-bottom: 1rem; }
  .footer-inner { flex-direction: column; }
  .footer-note { text-align: left; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream-50); flex-direction: column; align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem; gap: 1rem;
    border-bottom: 1px solid var(--cream-100);
    display: none;
  }
  .primary-nav.open { display: flex; }
  .nav-cta { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
