/* =====================================================================
   Law Office of Laura E. Brown — Design System
   Palette: mauve / plum + fern / sage green on warm paper
   ===================================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body,
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}

ul[class], ol[class] { list-style: none; }

img, svg, picture { display: block; max-width: 100%; }

input, button, textarea, select { font: inherit; color: inherit; }

@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 {
  /* plum / mauve */
  --plum-900: #241A28;
  --plum-800: #33253A;
  --plum-700: #45324F;
  --plum-600: #5C4368;
  --mauve-500: #7E5F88;
  --mauve-400: #9B7BA4;
  --mauve-300: #BFA3C6;
  --mauve-200: #DCC8E0;
  --mauve-100: #F0E6F2;

  /* forest — buttons + display accents */
  --forest-900: #16341F;
  --forest-800: #1C4229;
  --forest-700: #245239;
  --forest-600: #2E6544;

  /* fern / sage */
  --fern-800: #2E4634;
  --fern-700: #3C5A43;
  --fern-600: #4F7457;
  --fern-500: #67916F;
  --sage-400: #8FAE93;
  --sage-300: #AEC6B1;
  --sage-200: #CFDFCF;
  --sage-100: #E7F0E6;

  /* neutrals */
  --paper: #FFFFFF;
  --cream: #FBF8F7;
  --cream-2: #F5EFF2;
  --ink: #241F29;
  --ink-soft: #574F60;
  --ink-mute: #7E7688;
  --line: #E4D9E4;
  --gilt: #B0904F;

  /* type */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
           "Times New Roman", ui-serif, serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;

  /* space + shape */
  --wrap: 1160px;
  --wrap-narrow: 760px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* elevation */
  --sh-sm: 0 1px 2px rgba(36, 26, 40, .06), 0 2px 8px rgba(36, 26, 40, .05);
  --sh-md: 0 2px 6px rgba(36, 26, 40, .06), 0 14px 34px rgba(36, 26, 40, .09);
  --sh-lg: 0 4px 12px rgba(36, 26, 40, .07), 0 28px 60px rgba(36, 26, 40, .13);

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

/* ---------- 3. Base ---------- */
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background-color: var(--cream);
  background-image:
    radial-gradient(60rem 40rem at 88% -12%, rgba(191, 163, 198, .22), transparent 62%),
    radial-gradient(52rem 40rem at 2% 8%, rgba(174, 198, 177, .20), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--plum-800);
  line-height: 1.15;
  letter-spacing: -.012em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p { max-width: 68ch; }

a { color: var(--mauve-500); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fern-600); }

strong { color: var(--plum-700); font-weight: 650; }

:focus-visible {
  outline: 3px solid var(--fern-600);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--mauve-200); color: var(--plum-900); }

/* ---------- 4. Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--paper { background: var(--paper); }
.section--mist {
  background: linear-gradient(180deg, rgba(231, 240, 230, .55), rgba(240, 230, 242, .5));
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--plum-800);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 5. Section heading ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fern-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gilt);
}

.sec-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 62ch; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gilt);
}
.sec-head p { font-size: 1.1rem; margin-top: 1rem; }
.sec-head--center p { margin-inline: auto; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--forest-700);
  color: #fff;
  box-shadow: 0 2px 6px rgba(22, 52, 31, .16), 0 10px 26px rgba(22, 52, 31, .14);
}
.btn--primary:hover {
  color: #fff;
  background: var(--forest-800);
  box-shadow: 0 4px 10px rgba(22, 52, 31, .2), 0 18px 40px rgba(22, 52, 31, .18);
}

.btn--leaf {
  background: var(--fern-600);
  color: #fff;
  box-shadow: var(--sh-sm);
}
.btn--leaf:hover { background: var(--fern-700); color: #fff; box-shadow: var(--sh-md); }

.btn--ghost {
  background: rgba(255, 255, 255, .42);
  border-color: rgba(36, 82, 57, .3);
  color: var(--forest-800);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--forest-700);
  color: var(--forest-900);
  background: rgba(255, 255, 255, .8);
}

.btn--wide { width: 100%; }

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

/* text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 650;
  font-size: .95rem;
  text-decoration: none;
  color: var(--fern-600);
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 7. Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 248, 247, .82);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease),
              background-color .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(36, 26, 40, .06);
  background: rgba(251, 248, 247, .94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--plum-800);
}
.brand__mark { flex: none; width: 40px; height: 40px; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .01em;
  display: block;
}
.brand__sub {
  display: block;
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 650;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--fern-600);
  margin-top: .2rem;
}

/* header wears the El Capitan logo lockup; the footer keeps the leaf mark */
.brand--img { display: inline-flex; align-items: center; }
.brand--img img { display: block; height: 54px; width: auto; }
@media (max-width: 640px) { .brand--img img { height: 42px; } }
/* footer uses the same lockup, white-text variant, slightly smaller */
.site-footer .brand--img { margin-bottom: 1.15rem; }
.site-footer .brand--img img { height: 48px; }

/* header wears a stripped-back wordmark; the footer keeps the leaf mark */
.site-header .brand { gap: .75rem; align-items: baseline; }
.site-header .brand__mark { display: none; }
.site-header .brand > span {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  flex-wrap: wrap;
}
.site-header .brand__name { font-size: 1.3rem; font-weight: 500; }
.site-header .brand__sub {
  margin-top: 0;
  font-size: .64rem;
  letter-spacing: .2em;
  color: var(--ink-mute);
}
@media (max-width: 520px) {
  .site-header .brand__sub { display: none; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
}
.nav__links a {
  position: relative;
  display: block;
  padding: .55rem .95rem;
  border-radius: var(--r-pill);
  font-size: .95rem;
  font-weight: 550;
  color: var(--plum-700);
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__links a:hover { background: var(--mauve-100); color: var(--plum-800); }
.nav__links a[aria-current="page"] {
  color: var(--fern-700);
  background: var(--sage-100);
}

.nav__cta { display: flex; align-items: center; gap: .75rem; }

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .7);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--plum-700);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after { transform: translateY(4px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-2px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta .btn { display: none; }
  .nav__links {
    position: fixed;
    inset: 82px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: 1rem var(--gut) 1.75rem;
    background: rgba(251, 248, 247, .98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__links a { padding: .9rem 1rem; font-size: 1.05rem; }
  .nav__links .nav__mobile-cta { margin-top: .75rem; }
  .nav__links .nav__mobile-cta .btn { display: inline-flex; }
}
@media (min-width: 901px) {
  .nav__links .nav__mobile-cta { display: none; }
}

/* ---------- 8. Hero — full-bleed ridge landscape ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(86vh, 800px);
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2.5rem, 6vw, 4.5rem);
}

/* the layered San Joaquin ridgeline */
.hero__art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  /* depth-of-field: the landscape sits behind the type, not next to it */
  filter: blur(3px) saturate(.9) opacity(.85);
}

/* readability wash so the headline never fights the art */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(252, 249, 251, .78) 0%,
    rgba(252, 249, 251, .46) 32%,
    rgba(252, 249, 251, .06) 62%,
    rgba(252, 249, 251, 0) 100%);
}

.hero .wrap { width: 100%; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 3.5rem); }
  .hero__scene { max-width: 23rem; margin-inline: auto; }
}

.hero__inner { max-width: 40rem; }
.hero__scene {
  margin: 0;
  position: absolute;
  right: clamp(0.5rem, 3vw, 3.5rem);
  top: clamp(1.5rem, 5vw, 3.5rem);
  bottom: calc(-1 * clamp(1.5rem, 4vw, 3rem));
  z-index: 1;
  pointer-events: none;
}
.hero__scene img {
  display: block;
  height: 100%;
  width: auto;
  filter: drop-shadow(0 14px 26px rgba(60, 40, 70, .24));
}
@media (max-width: 980px) {
  .hero__scene { position: static; inset: auto; margin-top: 1rem; text-align: center; }
  .hero__scene img { height: auto; max-height: 24rem; margin-inline: auto; }
}

.hero .eyebrow { color: var(--plum-800); margin-bottom: 1.35rem; }
.hero .eyebrow::before { width: 44px; background: var(--gilt); }

.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.024em;
  font-weight: 500;
  color: var(--plum-900);
  max-width: 16ch;
}
.hero h1 em {
  display: block;
  font-style: italic;
  color: var(--forest-700);
}

.hero__tagline {
  margin-top: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--forest-700);
}

.hero__lead {
  margin-top: 1.75rem;
  max-width: 31ch;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero .btn-row { margin-top: 2.4rem; }

/* credential row under a hairline */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.75rem, 5vw, 4.5rem);
  max-width: 56rem;
  margin-top: clamp(2.25rem, 4.5vw, 3.5rem);
  padding-top: 1.65rem;
  border-top: 1px solid rgba(36, 26, 40, .18);
}
.hero__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--plum-900);
}
.hero__stat span {
  display: block;
  margin-top: .45rem;
  font-size: .71rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 2.25rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .95rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 600;
  color: var(--plum-700);
}
.pill svg { color: var(--fern-600); flex: none; }

/* hero portrait card */
.hero__figure { position: relative; }
.portrait {
  position: relative;
  border-radius: 260px 260px var(--r-lg) var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(160deg, var(--mauve-200), var(--sage-200) 70%);
  box-shadow: var(--sh-lg);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .7);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__placeholder {
  text-align: center;
  padding: 2rem;
  color: var(--plum-700);
}
.portrait__placeholder svg { margin: 0 auto 1rem; opacity: .5; }
.portrait__placeholder span {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero__stamp {
  position: absolute;
  left: -1.25rem;
  bottom: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--sh-md);
  max-width: 15rem;
}
.hero__stamp strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--fern-700);
  line-height: 1;
}
.hero__stamp span {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--ink-mute);
  margin-top: .35rem;
}
@media (max-width: 940px) {
  .hero__figure { max-width: 26rem; margin-inline: auto; }
  .hero__stamp { left: -.5rem; }
}

/* decorative botanicals */
.botanical {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.botanical--tr { top: -4rem; right: -6rem; width: 30rem; opacity: .5; color: var(--sage-300); }
.botanical--bl { bottom: -7rem; left: -8rem; width: 32rem; opacity: .42; color: var(--mauve-300); }
.section > .wrap { position: relative; z-index: 1; }
@media (max-width: 700px) { .botanical { display: none; } }

/* arched illustration panel (El Capitan / valley oak scene) */
.scene { position: relative; }
.scene__frame {
  position: relative;
  border-radius: 300px 300px var(--r-lg) var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--mauve-200), var(--sage-200) 70%);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: var(--sh-lg);
}
.scene__frame img { width: 100%; height: 100%; object-fit: cover; }
.scene__frame::after {
  content: "";
  position: absolute;
  inset: .85rem;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 290px 290px calc(var(--r-lg) - 6px) calc(var(--r-lg) - 6px);
  pointer-events: none;
}
.scene__caption {
  display: block;
  margin-top: 1.1rem;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- 9. Page header (inner pages) ---------- */
.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-head::before {
  content: "";
  position: absolute;
  inset: -3%;
  z-index: 0;
  background: url("../img/el-capitan-landscape.svg") center 88% / cover no-repeat;
  filter: blur(5px) saturate(.9);
  opacity: .55;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg,
    rgba(252, 249, 251, .88) 0%,
    rgba(252, 249, 251, .56) 38%,
    rgba(252, 249, 251, .16) 70%,
    rgba(252, 249, 251, .04) 100%);
}
.page-head > .wrap { position: relative; z-index: 1; }
.page-head h1 { font-weight: 500; letter-spacing: -.02em; }
.page-head .eyebrow { color: var(--plum-800); }
.page-head h1 { max-width: 20ch; }
.page-head p { margin-top: 1.25rem; font-size: 1.12rem; }

.crumbs {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-mute);
  margin-bottom: 1.1rem;
}
.crumbs a { color: var(--fern-600); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- 10. Cards / grids ---------- */
.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 2.4vw, 2.1rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
}
/* hover glow sits above the card background but beneath all content */
.card::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% auto;
  z-index: -1;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(174, 198, 177, .30), transparent 68%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--sage-300); }
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .98rem; }
.card .link-arrow { margin-top: auto; padding-top: 1.25rem; }

/* Whole-card click target.
   The arrow link must stay `position: static` so its ::after resolves against
   the card, not against the link itself. */
.card:has(.link-arrow) { cursor: pointer; }
.card .link-arrow { position: static; }
.card .link-arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card:focus-within {
  outline: 3px solid var(--fern-600);
  outline-offset: 3px;
}
.card .link-arrow:focus-visible { outline: none; }
/* anything genuinely interactive sits above the stretched overlay */
.card p a,
.card h2 a,
.card h3 a,
.card .btn { position: relative; z-index: 2; }

.card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--mauve-100), var(--sage-100));
  border: 1px solid var(--line);
  color: var(--fern-600);
  margin-bottom: 1.15rem;
}

/* numbered steps */
.step { position: relative; padding-left: 4.25rem; }
.step__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(140deg, var(--fern-600), var(--mauve-500));
  box-shadow: var(--sh-sm);
}
.step h3 { margin-bottom: .45rem; }
.step p { font-size: .98rem; }

/* ---------- 11. Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--narrow-first { grid-template-columns: .85fr 1.15fr; }
@media (max-width: 900px) {
  .split, .split--narrow-first { grid-template-columns: 1fr; }
}

.frame {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(150deg, rgba(240, 230, 242, .9), rgba(231, 240, 230, .85));
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}
.frame::before {
  content: "";
  position: absolute;
  inset: .6rem;
  border: 1px solid rgba(176, 144, 79, .32);
  border-radius: calc(var(--r-lg) - 6px);
  pointer-events: none;
}

/* leaf-bulleted list — each item is its own hover target */
.leaf-list { list-style: none; display: grid; gap: .2rem; }
.leaf-list li {
  position: relative;
  /* negative margin cancels the new side padding, so text stays put */
  margin-left: -.9rem;
  padding: .5rem .9rem .5rem 2.9rem;
  border-radius: var(--r-sm);
  font-size: 1rem;
  transition: background-color .28s var(--ease), transform .28s var(--ease),
              box-shadow .28s var(--ease);
}
.leaf-list li::before {
  content: "";
  position: absolute;
  left: .9rem;
  top: calc(.48em + .5rem);
  width: 12px;
  height: 12px;
  background: var(--fern-500);
  border-radius: 12px 0 12px 0;
  transform: rotate(-12deg);
  transition: transform .35s var(--ease), background-color .28s var(--ease);
}
.leaf-list li:hover {
  background: var(--sage-100);
  transform: translateX(4px);
  box-shadow: var(--sh-sm);
}
.leaf-list li:hover::before {
  transform: rotate(22deg) scale(1.3);
  background: var(--fern-700);
}
.leaf-list--plum li::before { background: var(--mauve-400); }
.leaf-list--plum li:hover { background: var(--mauve-100); }
.leaf-list--plum li:hover::before { background: var(--mauve-500); }

/* on tinted panels a white lift reads better than a green one */
.frame .leaf-list li:hover,
.aside-card--accent .leaf-list li:hover {
  background: rgba(255, 255, 255, .75);
}
.cta-band .leaf-list li:hover { background: rgba(255, 255, 255, .14); }

@media (prefers-reduced-motion: reduce) {
  .leaf-list li,
  .leaf-list li::before { transition: none; }
  .leaf-list li:hover { transform: none; }
}

/* ---------- 12. Stat band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--paper); padding: clamp(1.4rem, 2.6vw, 2rem); text-align: center; }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--fern-700);
  line-height: 1;
  font-weight: 600;
}
.stat span {
  display: block;
  margin-top: .55rem;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- 13. Practice detail blocks ---------- */
.practice {
  scroll-margin-top: 110px;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.practice:first-of-type { border-top: 0; padding-top: 0; }
.practice__title { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.practice__title .card__icon { margin-bottom: 0; flex: none; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.tag {
  padding: .34rem .8rem;
  border-radius: var(--r-pill);
  background: var(--sage-100);
  border: 1px solid var(--sage-200);
  color: var(--fern-700);
  font-size: .8rem;
  font-weight: 600;
}
.tag--plum { background: var(--mauve-100); border-color: var(--mauve-200); color: var(--plum-700); }

/* jump nav */
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
}
.jump a {
  padding: .45rem 1rem;
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--plum-700);
  background: var(--cream-2);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.jump a:hover { background: var(--fern-600); color: #fff; }

/* ---------- 13b. Long-form prose ---------- */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.3rem; }
.prose p { font-size: 1.06rem; line-height: 1.78; max-width: none; }
.prose h2 {
  margin-top: clamp(2.75rem, 5vw, 4rem);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}
.prose h3 {
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  font-size: clamp(1.18rem, 1.8vw, 1.4rem);
}
.prose h2 + p, .prose h3 + p { margin-top: 1rem; }
.prose ul { margin-top: 1.15rem; }
.prose .frame,
.prose .note { margin-top: 2rem; }
.prose strong { color: var(--plum-700); }

/* wide two-column reading layout with a sticky aside */
.doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 1000px) { .doc { grid-template-columns: 1fr; } }
.doc__aside { position: sticky; top: 108px; display: grid; gap: 1.25rem; }
@media (max-width: 1000px) { .doc__aside { position: static; } }

.aside-card {
  padding: 1.6rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--sh-sm);
}
.aside-card h3 { font-size: 1.15rem; margin-bottom: .75rem; }
.aside-card p { font-size: .95rem; }
.aside-card .btn { margin-top: 1.1rem; }
.aside-card--accent {
  background: linear-gradient(150deg, rgba(240, 230, 242, .95), rgba(231, 240, 230, .9));
}
.aside-links { list-style: none; display: grid; gap: .55rem; margin-top: .9rem; }
.aside-links a {
  display: block;
  padding: .55rem .8rem;
  border-radius: var(--r-sm);
  background: var(--cream-2);
  font-size: .93rem;
  font-weight: 600;
  color: var(--plum-700);
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.aside-links a:hover { background: var(--forest-700); color: #fff; }
.aside-links a[aria-current="page"] {
  background: var(--sage-100);
  color: var(--fern-700);
  box-shadow: inset 2px 0 0 var(--fern-600);
}

/* ---------- 14. Callout / CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(2.25rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--plum-800), var(--plum-600) 55%, var(--fern-700));
  color: rgba(255, 255, 255, .88);
  box-shadow: var(--sh-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .82); margin-top: 1rem; }
.cta-band .btn--ghost {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}
.cta-band .btn--ghost:hover { background: #fff; color: var(--plum-800); border-color: #fff; }
.cta-band .btn--primary { background: #fff; color: var(--plum-800); }
.cta-band .btn--primary:hover { background: var(--sage-100); color: var(--plum-900); }
.cta-band .botanical { opacity: .16; color: #fff; }

.note {
  border-left: 3px solid var(--gilt);
  padding: .35rem 0 .35rem 1.15rem;
  font-size: .95rem;
  color: var(--ink-soft);
  background: transparent;
}

/* editable placeholder marker */
.placeholder {
  display: inline-block;
  padding: .08em .5em;
  border-radius: 4px;
  background: repeating-linear-gradient(
    45deg, rgba(176, 144, 79, .14), rgba(176, 144, 79, .14) 6px,
    rgba(176, 144, 79, .24) 6px, rgba(176, 144, 79, .24) 12px);
  border: 1px dashed rgba(176, 144, 79, .6);
  color: var(--plum-700);
  font-weight: 650;
  font-size: .92em;
  letter-spacing: .02em;
}

/* ---------- 15. FAQ ---------- */
.faq { display: grid; gap: .85rem; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq details[open] { border-color: var(--sage-300); box-shadow: var(--sh-md); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--plum-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--fern-600);
  border-bottom: 2px solid var(--fern-600);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .faq__body { padding: 0 1.35rem 1.35rem; }
.faq .faq__body p { font-size: .99rem; }

/* ---------- 16. Forms ---------- */
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .4rem; }
.field label {
  font-size: .85rem;
  font-weight: 650;
  letter-spacing: .04em;
  color: var(--plum-700);
}
.field .req { color: var(--gilt); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 9.5rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--fern-500);
  box-shadow: 0 0 0 3px rgba(103, 145, 111, .18);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); opacity: .75; }

.check {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .9rem;
  line-height: 1.55;
}
.check input { width: 1.1rem; height: 1.1rem; margin-top: .28rem; flex: none; accent-color: var(--fern-600); }

.form__status {
  display: none;
  padding: 1rem 1.15rem;
  border-radius: var(--r-sm);
  font-size: .95rem;
  border: 1px solid var(--sage-300);
  background: var(--sage-100);
  color: var(--fern-800);
}
.form__status.is-visible { display: block; }
.form__status--error {
  border-color: var(--mauve-300);
  background: var(--mauve-100);
  color: var(--plum-700);
}

/* contact info list */
.contact-list { display: grid; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item__icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--mauve-100);
  color: var(--plum-700);
}
.contact-item h4 { margin-bottom: .2rem; color: var(--plum-800); }
.contact-item p, .contact-item a { font-size: .98rem; margin: 0; }

.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  background: linear-gradient(150deg, var(--sage-100), var(--mauve-100));
  min-height: 18rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.map-frame--live { padding: 0; display: block; min-height: 0; }
.map-frame--live iframe {
  display: block;
  width: 100%;
  height: clamp(20rem, 42vw, 28rem);
  border: 0;
}

/* ---------- 17. Footer ---------- */
.site-footer {
  background: var(--plum-900);
  color: rgba(255, 255, 255, .68);
  position: relative;
  overflow: hidden;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fern-600), var(--mauve-400), var(--gilt));
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer p { font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: var(--sage-300); text-decoration: underline; }
.footer__links { display: grid; gap: .6rem; list-style: none; }
.footer__brand .brand { color: #fff; margin-bottom: 1.1rem; }
.footer__brand .brand__sub { color: var(--sage-300); }

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
}
.footer__bar p { font-size: .85rem; max-width: none; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.35rem;
  list-style: none;
}
.footer__legal a { font-size: .85rem; }
@media (max-width: 700px) {
  .footer__bar { justify-content: flex-start; gap: .75rem; }
}
.disclaimer {
  padding-block: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .5);
}
.disclaimer p { max-width: 90ch; font-size: .8rem; }
.disclaimer p + p { margin-top: .75rem; }

/* ---------- 17b. Floating call button ---------- */
.call-fab {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.45rem;
  border-radius: var(--r-pill);
  background: var(--forest-700);
  color: #fff;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(22, 52, 31, .24), 0 14px 34px rgba(22, 52, 31, .22);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease);
}
.call-fab:hover {
  background: var(--forest-800);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(22, 52, 31, .28), 0 22px 46px rgba(22, 52, 31, .26);
}
.call-fab:active { transform: translateY(0); }
.call-fab:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }
.call-fab svg { flex: none; }
.call-fab__short { display: none; }

/* stacked label: the 24/7 promise sits above the number */
.call-fab__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.call-fab__eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--sage-300);
}
.call-fab__number { font-size: 1rem; font-weight: 650; }

/* live dot — reinforces "someone is actually there" */
.call-fab__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7FE0A0;
  box-shadow: 0 0 0 0 rgba(127, 224, 160, .7);
  animation: fabDot 2.6s ease-out infinite;
}
@keyframes fabDot {
  0%   { box-shadow: 0 0 0 0 rgba(127, 224, 160, .65); }
  70%  { box-shadow: 0 0 0 7px rgba(127, 224, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 224, 160, 0); }
}

/* quiet attention pulse — three beats, then it leaves you alone */
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(22,52,31,.24), 0 14px 34px rgba(22,52,31,.22), 0 0 0 0 rgba(46,101,68,.45); }
  50%      { box-shadow: 0 4px 12px rgba(22,52,31,.24), 0 14px 34px rgba(22,52,31,.22), 0 0 0 12px rgba(46,101,68,0); }
}
.call-fab { animation: fabPulse 2.4s ease-out 1.5s 3; }
.call-fab:hover { animation: none; }

@media (max-width: 560px) {
  .call-fab { padding: .8rem 1.15rem; gap: .5rem; }
  .call-fab__full { display: none; }
  .call-fab__short { display: inline; font-size: .95rem; font-weight: 700; }
  .call-fab__text { display: none; }
}
/* keep the last footer line clear of the button on small screens */
@media (max-width: 760px) {
  .site-footer .disclaimer { padding-bottom: 5.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .call-fab, .call-fab__dot { animation: none; }
}

/* ---------- 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. Print ---------- */
@media print {
  .site-header, .site-footer, .btn, .botanical, .nav__toggle, .call-fab { display: none !important; }
  body { background: #fff; color: #000; }
}
