/* ============================================================
   Baobab Solutions — site styles
   Earth-toned, editorial, conversion-focused.
   ============================================================ */

/* --- 1. Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* `clip`, not `hidden`: it stops stray horizontal scroll without
     creating a scroll container, so position: sticky keeps working. */
  overflow-x: clip;
}
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
:target { scroll-margin-top: 6rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --- 2. Tokens ----------------------------------------------- */
:root {
  --bark:    #23281F;
  --bark-2:  #2F3A2C;
  --bark-3:  #3C4838;
  --soil:    #4A3F30;
  --clay:    #B85C38;
  --clay-dk: #9C4A2B;
  --sun:     #E0A03C;
  --sun-lt:  #F2CE8C;
  --sand:    #F3EDE2;
  --paper:   #FCFAF6;
  --bone:    #E7DCC8;
  --stone:   #6E6559;
  --stone-lt: #726A5D;
  --leaf:    #5C7A5E;
  --white:   #FFFFFF;

  --shadow-sm: 0 1px 2px rgba(35,40,31,.06), 0 2px 6px rgba(35,40,31,.05);
  --shadow-md: 0 2px 4px rgba(35,40,31,.05), 0 10px 26px -8px rgba(35,40,31,.14);
  --shadow-lg: 0 4px 8px rgba(35,40,31,.05), 0 26px 60px -18px rgba(35,40,31,.24);

  --r-sm: .5rem;
  --r-md: .875rem;
  --r-lg: 1.25rem;
  --r-xl: 2rem;

  --ff-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --- 3. Base ------------------------------------------------- */
body {
  font-family: var(--ff-body);
  font-size: clamp(1rem, .97rem + .16vw, 1.0625rem);
  line-height: 1.65;
  color: var(--bark);
  background: var(--paper);
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }

.display {
  font-family: var(--ff-display);
  font-weight: 600;
  font-variation-settings: 'SOFT' 40, 'WONK' 1, 'opsz' 40;
  line-height: 1.08;
  letter-spacing: -.02em;
}

h1.display  { font-size: clamp(2.4rem, 1.5rem + 4.2vw, 4.4rem); }
h2.display  { font-size: clamp(1.95rem, 1.4rem + 2.4vw, 3rem); }
h3.display  { font-size: clamp(1.2rem, 1.08rem + .5vw, 1.45rem); line-height: 1.25; }

.lede { font-size: clamp(1.075rem, 1rem + .4vw, 1.3rem); line-height: 1.6; color: var(--stone); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: var(--clay);
}
.eyebrow::before { content: ''; width: 1.6rem; height: 1px; background: currentColor; opacity: .5; }
.eyebrow--light { color: var(--sun); }

/* Section heading block */
.sec-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head .eyebrow { margin-bottom: 1.1rem; }
.sec-head p { margin-top: 1.15rem; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow::before { display: none; }

section { padding-block: var(--section-y); }

/* --- 4. Buttons ---------------------------------------------- */
.btn {
  --btn-bg: var(--bark); --btn-fg: var(--paper); --btn-bd: var(--bark);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem;
  font-size: .975rem; font-weight: 600; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: 100px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary { --btn-bg: var(--clay); --btn-bd: var(--clay); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--clay-dk); --btn-bd: var(--clay-dk); }
.btn--sun     { --btn-bg: var(--sun); --btn-bd: var(--sun); --btn-fg: var(--bark); }
.btn--sun:hover { --btn-bg: var(--sun-lt); --btn-bd: var(--sun-lt); }
.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--bark); --btn-bd: rgba(35,40,31,.22); }
.btn--ghost:hover { --btn-bd: var(--bark); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--sand); --btn-bd: rgba(243,237,226,.3); }
.btn--ghost-light:hover { --btn-bd: var(--sand); --btn-bg: rgba(243,237,226,.08); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* --- 5. Header ----------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(35,40,31,0);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header.is-stuck {
  background: rgba(252,250,246,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(35,40,31,.09), 0 8px 28px -18px rgba(35,40,31,.35);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 4.75rem;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand__mark { width: 2.5rem; height: 2.5rem; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--ff-display); font-weight: 600; font-size: 1.185rem;
  font-variation-settings: 'SOFT' 40, 'WONK' 1, 'opsz' 20;
  letter-spacing: -.015em; color: var(--sand);
}
.brand__sub {
  font-size: .655rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(243,237,226,.6); margin-top: .18rem;
}
.is-stuck .brand__name { color: var(--bark); }
.is-stuck .brand__sub  { color: var(--stone-lt); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; gap: 1.85rem; list-style: none; padding: 0; }
.nav__links a {
  position: relative; text-decoration: none; font-size: .935rem; font-weight: 500;
  color: rgba(243,237,226,.82); transition: color .2s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -.35rem; height: 1.5px;
  background: var(--sun); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover { color: var(--sand); }
.nav__links a:hover::after { transform: scaleX(1); }
.is-stuck .nav__links a { color: var(--stone); }
.is-stuck .nav__links a:hover { color: var(--bark); }

.nav__cta { flex: none; }
.is-stuck .nav__cta.btn--ghost-light { --btn-fg: var(--bark); --btn-bd: rgba(35,40,31,.22); }
.is-stuck .nav__cta.btn--ghost-light:hover { --btn-bd: var(--bark); --btn-bg: rgba(35,40,31,.05); }

.nav-toggle { display: none; }

/* --- 6. Hero ------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: -4.75rem; padding-top: calc(4.75rem + clamp(4rem, 8vw, 7rem));
  padding-bottom: clamp(4rem, 8vw, 7rem);
  background: var(--bark);
  color: var(--sand);
}
.hero::before { /* warm horizon glow */
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 78% at 76% 108%, rgba(224,160,60,.42) 0%, rgba(224,160,60,0) 58%),
    radial-gradient(90% 70% at 12% 4%, rgba(92,122,94,.30) 0%, rgba(92,122,94,0) 60%),
    linear-gradient(168deg, #262C21 0%, #23281F 46%, #1C2019 100%);
}
.hero::after { /* fine grain */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}
.hero__silhouette {
  position: absolute; right: -6%; bottom: -4%; z-index: -1;
  width: min(52rem, 62vw); opacity: .11; pointer-events: none;
  color: var(--sun-lt);
}

.hero__grid { display: grid; gap: clamp(3rem, 6vw, 4.5rem); align-items: center; }
@media (min-width: 62rem) { .hero__grid { grid-template-columns: 1.15fr .85fr; } }

.hero h1 { margin-top: 1.4rem; color: var(--sand); }
.hero h1 em {
  font-style: normal; color: var(--sun);
  background: linear-gradient(103deg, var(--sun) 12%, var(--sun-lt) 88%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__lede {
  margin-top: 1.6rem; max-width: 34rem;
  font-size: clamp(1.075rem, 1rem + .42vw, 1.28rem); line-height: 1.62;
  color: rgba(243,237,226,.8);
}
.hero .btn-row { margin-top: 2.4rem; }
.hero__note {
  margin-top: 1.5rem; font-size: .875rem; color: rgba(243,237,226,.55);
  display: flex; align-items: center; gap: .5rem;
}
.hero__note svg { width: 1.05rem; height: 1.05rem; color: var(--sun); flex: none; }

/* Proof card in hero */
.proof-card {
  background: rgba(243,237,226,.055);
  border: 1px solid rgba(243,237,226,.14);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 3.4vw, 2.4rem);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.6);
}
.proof-card__title {
  font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--sun); margin-bottom: 1.6rem;
}
.proof-list { list-style: none; padding: 0; display: grid; gap: 1.4rem; }
.proof-list li { display: grid; grid-template-columns: 4.6rem 1fr; gap: .95rem; align-items: start; }
.proof-list .stat {
  font-family: var(--ff-display); font-weight: 600;
  font-variation-settings: 'SOFT' 40, 'WONK' 0, 'opsz' 30;
  font-size: 1.85rem; line-height: 1; color: var(--sand);
  letter-spacing: -.02em;
}
.proof-list .stat-label { font-size: .935rem; line-height: 1.45; color: rgba(243,237,226,.72); padding-top: .18rem; }
.proof-list .stat-label b { display: block; color: var(--sand); font-weight: 600; }

/* --- 7. Marquee / trust strip -------------------------------- */
.trust-strip {
  background: var(--bark-2); color: rgba(243,237,226,.82);
  padding-block: 1.15rem; border-top: 1px solid rgba(243,237,226,.09);
}
.trust-strip ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem clamp(1.5rem, 4vw, 3rem);
  font-size: .885rem; font-weight: 500;
}
.trust-strip li { display: flex; align-items: center; gap: .55rem; }
.trust-strip svg { width: 1.05rem; height: 1.05rem; color: var(--sun); flex: none; }

/* --- 8. Sections: light / sand ------------------------------- */
.sec--sand { background: var(--sand); }
.sec--paper { background: var(--paper); }
.sec--bark { background: var(--bark); color: var(--sand); }
.sec--bark h2, .sec--bark h3 { color: var(--sand); }
.sec--bark .lede { color: rgba(243,237,226,.75); }

/* --- 9. Problem cards ---------------------------------------- */
.pain-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.pain {
  padding: 2rem 1.85rem; background: var(--paper);
  border: 1px solid rgba(35,40,31,.09); border-radius: var(--r-lg);
}
.pain h3 { margin: .9rem 0 .6rem; }
.pain p { color: var(--stone); font-size: .95rem; }
/* Must out-specify `.pain p` above — this number is itself a <p>. */
.pain .pain__num {
  font-family: var(--ff-display); font-size: 2.4rem; line-height: 1; color: #9A8D74;
  font-variation-settings: 'SOFT' 40, 'WONK' 1, 'opsz' 40; font-weight: 600;
}

/* --- 10. Service cards --------------------------------------- */
.svc-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.svc {
  position: relative; display: flex; flex-direction: column;
  padding: 2.1rem 1.9rem 2.2rem;
  background: var(--paper); border: 1px solid rgba(35,40,31,.09);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.svc::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--clay), var(--sun));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(35,40,31,.05); }
.svc:hover::before { transform: scaleX(1); }
.svc__icon {
  width: 3rem; height: 3rem; display: grid; place-items: center; flex: none;
  border-radius: var(--r-md); background: var(--sand); color: var(--bark-2);
  margin-bottom: 1.35rem;
}
.svc__icon svg { width: 1.5rem; height: 1.5rem; }
.svc h3 { margin-bottom: .6rem; }
.svc p { color: var(--stone); font-size: .95rem; }
.svc__tag {
  align-self: flex-start; margin-top: 1.2rem;
  font-size: .715rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 100px;
  background: rgba(184,92,56,.1); color: var(--clay-dk);
}

/* --- 11. Steps ----------------------------------------------- */
.steps { display: grid; gap: 2rem; counter-reset: step; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.step { position: relative; padding-top: 2.9rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--ff-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .04em;
  color: var(--bark); background: var(--sun);
  width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center;
}
.step::after {
  content: ''; position: absolute; top: 1.05rem; left: 2.6rem; right: -1.5rem; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(243,237,226,.32) 0 5px, transparent 5px 11px);
}
@media (max-width: 51.99rem) { .step::after { display: none; } }
.steps .step:last-child::after { display: none; }
.step h3 { margin-bottom: .65rem; }
.step p { color: rgba(243,237,226,.72); font-size: .95rem; }

/* --- 12. Pricing --------------------------------------------- */
.price-wrap { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 58rem) { .price-wrap { grid-template-columns: .95fr 1.05fr; gap: clamp(2.5rem, 5vw, 4.5rem); } }

.price-card {
  position: relative; overflow: hidden;
  background: var(--bark); color: var(--sand);
  border-radius: var(--r-xl); padding: clamp(2.1rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
}
.price-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(110% 70% at 88% 0%, rgba(224,160,60,.28), transparent 62%);
}
.price-card > * { position: relative; }
.price-card__fee {
  display: flex; align-items: baseline; gap: .6rem; margin: 1.2rem 0 .35rem;
  font-family: var(--ff-display); font-weight: 600;
  font-variation-settings: 'SOFT' 40, 'WONK' 1, 'opsz' 60;
  font-size: clamp(3.4rem, 2rem + 6vw, 5rem); line-height: 1; letter-spacing: -.03em;
  color: var(--sun);
}
.price-card__fee span {
  font-family: var(--ff-body); font-size: .95rem; font-weight: 500; letter-spacing: 0;
  color: rgba(243,237,226,.7);
}
.price-card__sub { color: rgba(243,237,226,.72); font-size: .95rem; }
.price-card hr { border: 0; border-top: 1px solid rgba(243,237,226,.15); margin: 1.9rem 0; }
.price-card .btn { margin-top: 1.9rem; }
.price-card__fine { margin-top: 1.1rem; font-size: .8rem; color: rgba(243,237,226,.5); }

.incl { list-style: none; padding: 0; display: grid; gap: .95rem; }
.incl li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-size: .95rem; }
.incl svg { width: 1.25rem; height: 1.25rem; color: var(--sun); flex: none; margin-top: .12rem; }
.incl--dark li { color: rgba(243,237,226,.85); }
.incl--light svg { color: var(--leaf); }

.compare { display: grid; gap: 1rem; margin-top: 2rem; }
.compare__row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
  padding: 1.05rem 1.3rem; border-radius: var(--r-md);
  background: var(--paper); border: 1px solid rgba(35,40,31,.09);
  font-size: .95rem;
}
.compare__row--ours { background: var(--bark); color: var(--sand); border-color: var(--bark); }
.compare__val { font-family: var(--ff-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.compare__row--ours .compare__val { color: var(--sun); }

/* --- 13. Founder -------------------------------------------- */
.founder { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 58rem) { .founder { grid-template-columns: .8fr 1.2fr; } }

.founder__figure { position: relative; margin: 0; }
.founder__photo {
  /* height:auto is load-bearing — the img's height attribute is a presentational
     hint, and without this it beats aspect-ratio and object-fit crops the face. */
  width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--r-xl);
  background: var(--bone);
  box-shadow: var(--shadow-lg);
}
.founder__figure::before { /* warm plate behind the portrait */
  content: ''; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; z-index: -1;
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--sun) 0%, var(--clay) 100%);
  opacity: .16;
}
.founder__badge {
  position: absolute; left: 50%; bottom: -1.4rem; transform: translateX(-50%);
  display: flex; align-items: center; gap: .6rem;
  /* SITE_AREA is client-editable, so let a long value wrap rather than overflow. */
  max-width: calc(100% - 1.5rem); text-align: center; line-height: 1.35;
  padding: .7rem 1.15rem; border-radius: 100px;
  background: var(--paper); box-shadow: var(--shadow-md);
  font-size: .82rem; font-weight: 600; color: var(--bark);
}
.founder__badge svg { width: 1.1rem; height: 1.1rem; color: var(--clay); flex: none; }

.founder__body blockquote {
  margin: 0 0 1.75rem; padding: 0;
  font-family: var(--ff-display); font-weight: 500;
  font-variation-settings: 'SOFT' 60, 'WONK' 1, 'opsz' 32;
  font-size: clamp(1.3rem, 1.1rem + .9vw, 1.72rem); line-height: 1.35; letter-spacing: -.015em;
}
.founder__body p + p { margin-top: 1.05rem; }
.founder__body p { color: var(--stone); }
.founder__sign { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.founder__sign-name { font-family: var(--ff-display); font-weight: 600; font-size: 1.1rem; color: var(--bark); }
.founder__sign-role { font-size: .875rem; color: var(--stone-lt); }

.founder__creds { list-style: none; padding: 0; margin-top: 2.2rem; display: grid; gap: .8rem; }
.founder__creds li { display: grid; grid-template-columns: auto 1fr; gap: .75rem; font-size: .95rem; color: var(--stone); }
.founder__creds svg { width: 1.2rem; height: 1.2rem; color: var(--leaf); flex: none; margin-top: .18rem; }

/* --- 14. FAQ ------------------------------------------------- */
.faq { max-width: 52rem; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid rgba(35,40,31,.12);
}
.faq details:first-of-type { border-top: 1px solid rgba(35,40,31,.12); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem .25rem; cursor: pointer; list-style: none;
  font-family: var(--ff-display); font-weight: 600; font-size: 1.1rem; line-height: 1.35;
  font-variation-settings: 'SOFT' 40, 'WONK' 0, 'opsz' 24;
  letter-spacing: -.01em; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--clay); }
.faq summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: var(--r-sm); }
.faq__icon {
  flex: none; width: 1.45rem; height: 1.45rem; margin-top: .12rem;
  border-radius: 50%; border: 1.5px solid rgba(35,40,31,.25);
  display: grid; place-items: center; position: relative;
  transition: transform .3s var(--ease), background-color .3s, border-color .3s;
}
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; background: currentColor; border-radius: 2px;
}
.faq__icon::before { width: .68rem; height: 1.5px; }
.faq__icon::after  { width: 1.5px; height: .68rem; transition: opacity .25s var(--ease); }
.faq details[open] .faq__icon { transform: rotate(180deg); background: var(--bark); border-color: var(--bark); color: var(--sand); }
.faq details[open] .faq__icon::after { opacity: 0; }
.faq__answer { padding: 0 3rem 1.7rem .25rem; color: var(--stone); }
.faq__answer p + p { margin-top: .8rem; }
.faq details[open] .faq__answer { animation: fadeSlide .35s var(--ease); }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

/* --- 15. Contact / form -------------------------------------- */
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 58rem) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }

.contact-card {
  background: var(--paper); border-radius: var(--r-xl);
  padding: clamp(1.85rem, 3.6vw, 2.75rem);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(35,40,31,.07);
}

.field { display: grid; gap: .45rem; margin-bottom: 1.15rem; }
.field label { font-size: .855rem; font-weight: 600; color: var(--bark); }
.field label .opt { font-weight: 400; color: var(--stone-lt); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem;
  background: var(--white); color: var(--bark);
  border: 1px solid rgba(35,40,31,.18); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(184,92,56,.14);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--clay-dk); }
.field-row { display: grid; gap: 0 1.15rem; }
@media (min-width: 30rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-fine { margin-top: 1rem; font-size: .8rem; color: var(--stone-lt); }
.form-fine a { color: var(--stone); }
.hp {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.contact-card form { position: relative; }

.form-alert {
  padding: .95rem 1.15rem; border-radius: var(--r-sm); margin-bottom: 1.5rem; font-size: .92rem;
  border: 1px solid; 
}
.form-alert--err { background: rgba(184,92,56,.08); border-color: rgba(184,92,56,.35); color: var(--clay-dk); }
.form-alert--ok  { background: rgba(92,122,94,.1); border-color: rgba(92,122,94,.4); color: #3F5A41; }
.form-alert ul { margin: .5rem 0 0; padding-left: 1.1rem; }

.contact-side h2 { margin-bottom: 1.2rem; }
.contact-methods { list-style: none; padding: 0; margin-top: 2.2rem; display: grid; gap: 1.35rem; }
.contact-methods .cm { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
.contact-methods .ico {
  width: 2.6rem; height: 2.6rem; border-radius: var(--r-md); flex: none;
  display: grid; place-items: center; background: rgba(224,160,60,.14); color: var(--sun);
}
.contact-methods .ico svg { width: 1.25rem; height: 1.25rem; }
.contact-methods dt { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: rgba(243,237,226,.55); font-weight: 600; }
.contact-methods dd { margin: .15rem 0 0; font-size: 1.02rem; font-weight: 500; }
.contact-methods a { text-decoration: none; border-bottom: 1px solid rgba(243,237,226,.25); transition: border-color .2s; }
.contact-methods a:hover { border-color: var(--sun); }

/* --- 16. Footer ---------------------------------------------- */
.site-footer { background: #1C2019; color: rgba(243,237,226,.62); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .92rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 46rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.site-footer .brand__name { color: var(--sand); }
.site-footer h4 {
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sun);
  margin-bottom: 1.1rem; font-weight: 700;
}
.footer-links { list-style: none; padding: 0; display: grid; gap: .7rem; }
.footer-links a { text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--sand); }
.footer-blurb { margin-top: 1.2rem; max-width: 26rem; line-height: 1.6; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(243,237,226,.1);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .82rem; color: rgba(243,237,226,.45);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--sand); }

/* --- 17. CTA band -------------------------------------------- */
.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; margin-top: 2.2rem; }
.cta-band__note { margin-top: 1.4rem; font-size: .875rem; color: rgba(243,237,226,.55); }

/* --- 18. Reveal on scroll ------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --- 19. Utilities ------------------------------------------- */
.visually-hidden {
  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; top: .5rem; left: .5rem; z-index: 200;
  padding: .7rem 1.1rem; background: var(--sun); color: var(--bark);
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
  transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* --- 20. Mobile nav ------------------------------------------ */
@media (max-width: 61.99rem) {
  .nav__links { display: none; }
  .nav { gap: .75rem; }
  .nav__cta { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-left: auto;
    border-radius: var(--r-sm); color: var(--sand);
  }
  .is-stuck .nav-toggle { color: var(--bark); }
  .nav-toggle svg { width: 1.5rem; height: 1.5rem; }
  .nav-toggle .icon-close { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }
  body.nav-open .nav-toggle .icon-open { display: none; }

  body.nav-open { overflow: hidden; }
  .mobile-nav {
    position: fixed; inset: 4.75rem 0 0; z-index: 99;
    background: var(--bark); color: var(--sand);
    padding: 2rem var(--gutter) 3rem;
    display: flex; flex-direction: column; gap: .35rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    overflow-y: auto;
  }
  body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
  .mobile-nav a {
    padding: 1rem 0; text-decoration: none; font-family: var(--ff-display); font-size: 1.5rem;
    font-weight: 600; letter-spacing: -.015em;
    border-bottom: 1px solid rgba(243,237,226,.1);
  }
  .mobile-nav .btn { margin-top: 1.8rem; font-family: var(--ff-body); font-size: 1rem; border-bottom: 0; }
}
@media (min-width: 62rem) { .mobile-nav { display: none; } }

/* Small-screen tweaks */
@media (max-width: 30rem) {
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero .btn-row .btn { width: 100%; }
}
