/* ---------- Tokens ---------- */
:root {
  --rock-dark: #6B4226;
  --rock: #A9713D;
  --rock-light: #C9925C;
  --sand: #FAF3E7;
  --sand-deep: #F0E4D0;
  --sunset: #E3A857;
  --water-deep: #116590;
  --water: #289dcf;
  --water-light: #69c4ee;
  --cactus: #3F7D4F;
  --money-green: #4C9A5B;
  --light-green: #5dbc70;
  --ink: #2B2420;
  --ink-soft: #5A4F45;
  --white: #FFFFFF;

  --font-display: "Merriweather", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 10px;
  --shadow: 0 8px 24px rgba(107, 66, 38, 0.12);
}

/* ---------- Reset-ish ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--water-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0 0 0.5em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { margin: 0 0 1em; padding-left: 1.2em; color: var(--ink-soft); }
li { margin-bottom: 0.35em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 640px; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--water);
  outline-offset: 2px;
}

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

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cactus);
  margin-bottom: 0.6em;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--sand-deep);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand-mark { height: 56px; width: auto; }
.primary-nav { display: flex; gap: 28px; }
.primary-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav a.is-active {
  text-decoration: none;
  border-bottom-color: var(--money-green);
  color: var(--rock-dark);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--sand-deep);
    padding: 8px 24px 16px;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--sand-deep); }
  .brand-mark { height: 42px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 64px;
  background: linear-gradient(180deg, var(--sand) 0%, var(--sand-deep) 100%);
}
.hero-inner { max-width: 760px; }
.hero-sub { font-size: 1.15rem; max-width: 620px; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.hero-sub span {
  display: block;
  padding: 16px 64px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--money-green);
  color: var(--white);
}
.btn-primary:hover { background: var(--cactus); }
.btn-ghost {
  background: transparent;
  border-color: var(--rock);
  color: var(--rock-dark);
}
.btn-ghost:hover { background: var(--rock); color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--sand-deep); }
.section-quote { background: var(--water-deep); color: var(--white); text-align: center; }
.section-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 500;
  max-width: 780px;
  margin: 0 auto 20px;
  line-height: 1.4;
}
.section-quote .quote-attr { color: var(--water-light); margin-bottom: 24px; }
.section-quote a { color: var(--sunset); font-weight: 600; }
.section-cta { margin-top: 8px; }
.section-cta a { font-weight: 600; }

.page-hero { padding: 56px 0 24px; }

.prose p { max-width: 700px; }
.callout {
  border-left: 4px solid var(--sunset);
  background: var(--sand-deep);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 700px;
  margin: 1.5em 0;
}
.callout p { margin: 0; color: var(--ink); }

/* ---------- Wave divider (signature element) ---------- */
.wave-divider { line-height: 0; }
.wave-divider svg { width: 100%; height: 44px; display: block; }

/* ---------- Tier cards (home snapshot) ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.tier-card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.tier-card-featured { border-color: var(--money-green); border-width: 2px; }
.tier-price { color: var(--water-deep); font-weight: 600; margin-bottom: 14px; }

@media (max-width: 860px) {
  .tier-grid { grid-template-columns: 1fr; }
}

/* ---------- Accordion (services page) ---------- */
.accordion { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }
.accordion-item {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-body);
}
.accordion-title { display: flex; flex-direction: column; gap: 4px; }
.tier-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.accordion-title .tier-price { margin-bottom: 0; font-weight: 500; font-size: 0.92rem; }
.accordion-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
}
.accordion-icon::before, .accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--rock-dark);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.accordion-icon::before { width: 14px; height: 2px; }
.accordion-icon::after { width: 2px; height: 14px; transition: transform 0.2s ease; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.accordion-panel {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
}
.accordion-item[data-open="true"] .accordion-panel {
  padding: 0 24px 22px;
}

/* ---------- Contact form ---------- */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; color: var(--ink); }
.form-row input, .form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--rock-light);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row-split { grid-template-columns: 1fr; } }
.contact-form .btn { align-self: flex-start; }

.flash-wrap { padding-top: 20px; }
.flash { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 12px; font-weight: 500; }
.flash-success { background: #E4F3E7; color: var(--cactus); border: 1px solid var(--money-green); }
.flash-error { background: #FBEAE5; color: #A6402B; border: 1px solid #E3A857; }


/* ---------- About Page Layout ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.headshot-card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
}

.headshot-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 4px);
  object-fit: cover;
}

.headshot-caption {
  font-size: 0.88rem;
  text-align: center;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-weight: 500;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .headshot-card {
    position: static;
    max-width: 380px;
    margin: 0 auto;
  }
}


/* ---------- Footer ---------- */
.site-footer { background: var(--water-deep); color: var(--white); padding: 40px 0 16px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 2px; }
.footer-brand span:nth-of-type(1) { color: var(--rock-light); }
.footer-brand span:nth-of-type(2) { color: var(--light-green); }
.footer-brand span:nth-of-type(3) { color: var(--water); }
.footer-tagline { color: var(--water-light); margin: 0; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: var(--white); opacity: 0.9; }
.footer-nav a:hover { opacity: 1; }
.footer-copy { text-align: center; font-size: 0.8rem; color: var(--water-light); margin: 28px 0 0; }
