/* =========================================================
   Dr. Nancy Han, Psy.D, Practice Website
   Design system + global styles
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --cream: #F5EFE6;
  --cream-soft: #FBF8F3;
  --ink: #2A241F;
  --ink-soft: #4A413A;
  --ink-muted: #80766C;
  --sage: #7B8A6F;
  --sage-deep: #5E6B54;
  --clay: #C9A87C;
  --rose: #C68B7C;
  --line: rgba(42, 36, 31, 0.12);
  --line-soft: rgba(42, 36, 31, 0.06);

  /* Type */
  --font-serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 28px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.4s var(--ease);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }

/* ---------- Base ---------- */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--sage); color: var(--cream-soft); }

/* ---------- Type ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
h1 { font-size: clamp(2.75rem, 6.5vw, 5.25rem); letter-spacing: -0.02em; margin-bottom: 1.75rem; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: 1rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.serif { font-family: var(--font-serif); }
.italic { font-style: italic; }

p { color: var(--ink-soft); }
p + p { margin-top: 1em; }
p a { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color var(--transition); }
p a:hover { color: var(--ink); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--sage);
  vertical-align: middle;
  margin-right: 12px;
  margin-bottom: 3px;
}

.lead { font-size: 1.15rem; line-height: 1.7; color: var(--ink-soft); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

section { padding-block: clamp(4rem, 10vw, 8rem); position: relative; }
section.tight { padding-block: clamp(3rem, 6vw, 5rem); }
section.cream-soft { background: var(--cream-soft); }
section.ink { background: var(--ink); color: var(--cream-soft); }
section.ink h1, section.ink h2, section.ink h3 { color: var(--cream-soft); }
section.ink p { color: rgba(245, 239, 230, 0.78); }
section.sage { background: var(--sage); color: var(--cream-soft); }
section.sage h2, section.sage h3 { color: var(--cream-soft); }
section.sage p { color: rgba(245, 239, 230, 0.85); }

/* Decorative divider with botanical accent */
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto; opacity: 0.6; }
.divider::before, .divider::after { content: ""; flex: 1; max-width: 60px; height: 1px; background: var(--line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: var(--cream-soft); }
.btn--primary:hover { background: var(--sage-deep); }
.btn--sage { background: var(--sage); color: var(--cream-soft); }
.btn--sage:hover { background: var(--sage-deep); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--cream-soft); }
.btn--ghost-light { background: transparent; color: var(--cream-soft); border: 1px solid rgba(245, 239, 230, 0.4); }
.btn--ghost-light:hover { background: var(--cream-soft); color: var(--ink); }
.btn--text { padding: 0; background: transparent; color: var(--ink); border-bottom: 1px solid var(--ink); border-radius: 0; padding-bottom: 4px; }
.btn--text:hover { color: var(--sage-deep); border-color: var(--sage-deep); }

.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.1rem 0;
  /* Auto-hide via top, NOT transform — transform creates a containing block
     that breaks the position:fixed drawer inside the header. */
  transition: top 0.35s var(--ease), background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition), padding var(--transition);
}
.site-header.is-scrolled {
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
  padding: 0.7rem 0;
}
.site-header.is-hidden { top: -160px; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav__brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 0.45rem;
}
.nav__brand strong { font-weight: 500; }
.nav__brand .credential { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); font-family: var(--font-sans); }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color var(--transition);
}
.nav__menu a:hover { color: var(--sage-deep); }
.nav__menu a.is-active { color: var(--sage-deep); }
.nav__menu a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--sage-deep);
}
.nav__cta { margin-left: 0.5rem; }
.nav__toggle {
  display: none;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

@media (max-width: 880px) {
  .nav__menu, .nav__cta { display: none !important; }
  .nav__toggle {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    width: 42px; height: 42px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    flex-shrink: 0;
    position: relative;
    z-index: 51;
  }
  .nav__toggle span {
    width: 18px; height: 1.5px; background: var(--ink); position: relative;
    transition: background 0.2s;
  }
  .nav__toggle span::before, .nav__toggle span::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
    transition: transform 0.3s var(--ease), top 0.3s var(--ease);
  }
  .nav__toggle span::before { top: -6px; }
  .nav__toggle span::after { top: 6px; }
  .nav.is-open .nav__toggle span { background: transparent; }
  .nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
  .nav.is-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

  .nav__drawer {
    position: fixed; inset: 0;
    background: var(--cream);
    padding: 6rem 2rem 3rem;
    display: flex; flex-direction: column; gap: 0.5rem;
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease);
    z-index: 49;
  }
  .nav__drawer.is-open { transform: translateY(0); }
  .nav__drawer a:not(.btn) {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--ink);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__drawer .btn {
    margin-top: 1.5rem;
    align-self: flex-start;
    color: var(--cream-soft);
    font-size: 0.92rem;
    border-bottom: 0;
  }
}
@media (min-width: 881px) {
  .nav__drawer { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh;
  padding-top: 9rem;
  padding-bottom: 5rem;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}
.hero__copy h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero__copy h1 em { font-style: italic; color: var(--sage-deep); font-weight: 300; }
.hero__copy .lead { max-width: 30em; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.hero__meta {
  margin-top: 3rem;
  display: flex; flex-wrap: wrap; gap: 2rem; align-items: center;
  font-size: 0.85rem; color: var(--ink-muted); letter-spacing: 0.04em;
}
.hero__meta strong { color: var(--ink); font-weight: 500; }

.hero__art { position: relative; aspect-ratio: 4/5; }
.hero__art .placeholder { height: 100%; }
.hero__portrait {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

/* ---------- Image variants (mirror placeholder shapes) ---------- */
.img-tall, .img-square, .img-wide, .img-portrait, .img-cover {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.img-tall { aspect-ratio: 3/4; }
.img-square { aspect-ratio: 1; }
.img-wide { aspect-ratio: 16/10; }
.img-portrait { aspect-ratio: 4/5; }
.img-cover { aspect-ratio: 21/9; }

/* ---------- Lavender / botanical decorative overlay ---------- */
.lavender {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  mix-blend-mode: multiply;
  user-select: none;
}
.lavender--hero-tr   { top: 4%; right: -6%; width: 32%; max-width: 360px; transform: rotate(8deg); opacity: 0.45; }
.lavender--cta-tl    { top: -4%; left: -3%; width: 22%; max-width: 240px; transform: rotate(-12deg); opacity: 0.32; }
.lavender--cta-br    { bottom: -6%; right: -4%; width: 26%; max-width: 280px; transform: rotate(-14deg); opacity: 0.32; }
.lavender--welcome-r { top: 50%; right: -2%; width: 14%; max-width: 160px; transform: translateY(-50%) rotate(20deg); opacity: 0.4; }
.lavender--section-l { bottom: -4%; left: -3%; width: 14%; max-width: 180px; transform: rotate(-30deg); opacity: 0.35; }

/* Make sure section content stacks above decorative lavender */
section .container, section .container-narrow { position: relative; z-index: 1; }
.hero { z-index: 1; }
.hero__inner { position: relative; z-index: 1; }
section { overflow: hidden; }
.hero__art::before {
  content: ""; position: absolute; inset: -3% -8% auto auto; width: 38%; aspect-ratio: 1;
  background: var(--sage); border-radius: 999px; opacity: 0.18; z-index: -1;
}
.hero__art::after {
  content: ""; position: absolute; bottom: -6%; left: -6%; width: 28%; aspect-ratio: 1;
  background: var(--clay); border-radius: 999px; opacity: 0.22; z-index: -1;
}

@media (max-width: 880px) {
  .hero { min-height: auto; padding-top: 7.5rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__art { max-width: 420px; margin: 0 auto; }
}

/* ---------- Image placeholder (used until real photos arrive) ---------- */
.placeholder {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(at 20% 20%, rgba(123, 138, 111, 0.22), transparent 55%),
    radial-gradient(at 80% 80%, rgba(201, 168, 124, 0.32), transparent 50%),
    linear-gradient(135deg, #E8DFD2, #D9CFBE);
  display: flex; align-items: flex-end; justify-content: flex-start;
  min-height: 280px;
}
.placeholder::after {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/botanical.svg") center / 60% no-repeat;
  opacity: 0.16;
  mix-blend-mode: multiply;
}
.placeholder__label {
  position: relative; z-index: 1;
  padding: 1rem 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(251, 248, 243, 0.72);
  backdrop-filter: blur(6px);
  border-top-right-radius: var(--radius-sm);
  margin: 0;
}
.placeholder.tall { aspect-ratio: 3/4; }
.placeholder.square { aspect-ratio: 1; }
.placeholder.wide { aspect-ratio: 16/10; }
.placeholder.portrait { aspect-ratio: 4/5; }
.placeholder.cover { aspect-ratio: 21/9; }

/* ---------- Section heading block ---------- */
.section-head { max-width: 760px; margin-bottom: 3.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 1rem; }

/* ---------- Welcome strip ---------- */
.welcome {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.welcome__inner { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center; }
.welcome__inner .eyebrow { margin: 0; }
.welcome p { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.4; color: var(--ink); font-weight: 300; }
.welcome p em { color: var(--sage-deep); font-style: italic; }
@media (max-width: 720px) {
  .welcome__inner { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------- About preview / Two-column ---------- */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }
.two-col.top { align-items: start; }
.two-col h2 { margin-bottom: 1.5rem; }
.two-col h3 + ul { margin-top: 1rem; }
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.flip { direction: ltr; }
}

.signature {
  margin-top: 2rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--sage-deep);
}

/* ---------- Specialties / What I help with ---------- */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.specialty {
  padding: 2.25rem 1.75rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--cream-soft);
  transition: background var(--transition);
}
.specialty:hover { background: var(--cream); }
.specialty__num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--sage-deep);
  margin-bottom: 1rem;
}
.specialty h3 { font-size: 1.2rem; margin-bottom: 0.5rem; font-weight: 500; }
.specialty p { font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 880px) { .specialties-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .specialties-grid { grid-template-columns: 1fr; } }

/* ---------- Services cards (alternating) ---------- */
.service-row { padding-block: clamp(3rem, 6vw, 5rem); }
.service-row + .service-row { border-top: 1px solid var(--line); }
.service-row__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.service-row.reverse .service-row__grid { direction: rtl; }
.service-row.reverse .service-row__grid > * { direction: ltr; }
.service-row__copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 1rem; }
.service-row__copy ul { margin-top: 1.5rem; display: grid; gap: 0.45rem; }
.service-row__copy li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.97rem; color: var(--ink-soft);
}
.service-row__copy li::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 999px;
  background: var(--sage); margin-top: 0.65em;
}
.service-row__copy .btn { margin-top: 2rem; }
@media (max-width: 880px) {
  .service-row__grid, .service-row.reverse .service-row__grid { grid-template-columns: 1fr; direction: ltr; }
}

/* ---------- Who I work with chips ---------- */
.chip-list { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.chip {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--cream-soft);
}

/* ---------- Approach / Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.pillar { padding-top: 1.5rem; border-top: 1px solid rgba(245,239,230,0.25); }
.pillar h3 { color: var(--cream-soft); font-size: 1.2rem; margin-bottom: 0.6rem; font-weight: 500; }
.pillar p { font-size: 0.95rem; color: rgba(245,239,230,0.78); }
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Fees ---------- */
.fees { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.fee-card {
  padding: 2.25rem;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.fee-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; font-weight: 500; }
.fee-card .price {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--ink);
  margin-block: 0.6rem 0.2rem;
  font-feature-settings: "ss01";
}
.fee-card .price small { font-family: var(--font-sans); font-size: 0.85rem; color: var(--ink-muted); font-weight: 400; letter-spacing: 0.04em; margin-left: 0.4rem; }
.fee-card .meta { font-size: 0.88rem; color: var(--ink-muted); }
.fee-card p { margin-top: 1rem; font-size: 0.95rem; }
.insurance-bar {
  margin-top: 2.5rem; padding: 1.5rem 1.75rem;
  background: var(--ink); color: var(--cream-soft);
  border-radius: var(--radius);
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between;
}
.insurance-bar .label {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245,239,230,0.6);
}
.insurance-bar strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.15rem; }
@media (max-width: 720px) { .fees { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.final-cta {
  padding-block: clamp(5rem, 10vw, 8rem);
  text-align: center;
}
.final-cta h2 { max-width: 18ch; margin-inline: auto; margin-bottom: 1.25rem; }
.final-cta .lead { max-width: 38em; margin-inline: auto; margin-bottom: 2.5rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.65rem 0;
  cursor: pointer; list-style: none;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--ink);
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--sage-deep); }
.faq-item summary .icon {
  flex: none; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line);
  position: relative; transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.faq-item summary .icon::before, .faq-item summary .icon::after {
  content: ""; position: absolute; inset: 50% 25%; height: 1px; background: var(--ink);
}
.faq-item summary .icon::after { transform: rotate(90deg); transition: transform var(--transition); }
.faq-item[open] summary .icon { background: var(--ink); border-color: var(--ink); }
.faq-item[open] summary .icon::before, .faq-item[open] summary .icon::after { background: var(--cream-soft); }
.faq-item[open] summary .icon::after { transform: rotate(0deg); }
.faq-item__body { padding: 0 0 1.75rem; max-width: 65ch; }

/* ---------- Resources ---------- */
.resource-section + .resource-section { margin-top: 3rem; }
.resource-section h3 {
  font-size: 1.45rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 0.75rem;
}
.resource-section h3 .count {
  font-family: var(--font-sans);
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 400;
}
.resource-list { display: grid; gap: 0.2rem; }
.resource-list li a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color var(--transition), padding var(--transition);
}
.resource-list li a:hover { color: var(--sage-deep); padding-left: 0.5rem; }
.resource-list .source {
  flex: none;
  font-size: 0.78rem; letter-spacing: 0.06em;
  color: var(--ink-muted);
  font-style: italic;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-card { padding: 2.5rem; background: var(--cream-soft); border-radius: var(--radius); border: 1px solid var(--line); }
.contact-card dt { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.4rem; }
.contact-card dd { font-family: var(--font-serif); font-size: 1.4rem; color: var(--ink); margin-bottom: 1.5rem; }
.contact-card dd a { transition: color var(--transition); }
.contact-card dd a:hover { color: var(--sage-deep); }
.contact-card dd:last-child { margin-bottom: 0; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Welcoming contact section ---------- */
.contact-warm { position: relative; padding-block: clamp(3rem, 6vw, 5rem); }
.contact-warm__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.contact-warm__image { position: relative; aspect-ratio: 4/5; }
.contact-warm__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.contact-warm__panel {
  position: relative;
  background: var(--cream-soft);
  border-radius: 36px;
  padding: clamp(2rem, 4vw, 3.25rem);
  box-shadow: 0 1px 0 var(--line-soft), 0 30px 80px -40px rgba(42, 36, 31, 0.18);
}
.contact-warm__panel .eyebrow { margin-bottom: 1rem; }
.contact-warm__panel h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.contact-warm__panel > p { margin-bottom: 1.75rem; max-width: 30em; }
.contact-warm__panel .form input,
.contact-warm__panel .form textarea,
.contact-warm__panel .form select {
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.contact-warm__panel .form input:focus,
.contact-warm__panel .form textarea:focus,
.contact-warm__panel .form select:focus {
  background: #fff;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(123, 138, 111, 0.12);
  outline: none;
}
.contact-warm__panel .form label {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}
@media (max-width: 880px) {
  .contact-warm__grid { grid-template-columns: 1fr; }
  .contact-warm__image { max-width: 480px; margin-inline: auto; }
}

/* Other ways to reach me, friendlier inline list */
.reach-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.reach-list dt {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.65rem;
}
.reach-list dd {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink);
}
.reach-list dd a:hover { color: var(--sage-deep); }
@media (max-width: 720px) {
  .reach-list { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------- Form ---------- */
.form { display: grid; gap: 1.25rem; }
.form .field { display: grid; gap: 0.4rem; }
.form label { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.form input, .form textarea, .form select {
  width: 100%; padding: 0.95rem 1.1rem;
  background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1rem; color: var(--ink);
  transition: border-color var(--transition), background var(--transition);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--sage-deep); background: #fff; }
.form textarea { min-height: 140px; resize: vertical; }
.form .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form .form__row { grid-template-columns: 1fr; } }
.form__note { font-size: 0.82rem; color: var(--ink-muted); margin-top: 0.5rem; }

/* Async submit states */
.form-success {
  padding: 2rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.form-success h3 { color: var(--ink); margin-bottom: 0.75rem; }
.form-error {
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  background: rgba(198, 139, 124, 0.12);
  border: 1px solid rgba(198, 139, 124, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--ink);
}
form[data-async] button[disabled] { opacity: 0.55; cursor: wait; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(245,239,230,0.78); padding-block: 5rem 2.5rem; }
.site-footer h4 { color: var(--cream-soft); font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; margin-bottom: 1.25rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 3rem; }
.site-footer a { transition: color var(--transition); }
.site-footer a:hover { color: var(--cream-soft); }
.site-footer ul { display: grid; gap: 0.6rem; }
.site-footer__brand { font-family: var(--font-serif); font-size: 1.5rem; color: var(--cream-soft); margin-bottom: 1rem; line-height: 1.2; }
.site-footer__brand .credential { display: block; font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(245,239,230,0.5); margin-top: 0.5rem; }
.site-footer__bar {
  margin-top: 3.5rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(245,239,230,0.12);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: rgba(245,239,230,0.5);
}
.site-footer__bar a:hover { color: var(--cream-soft); }
@media (max-width: 880px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 540px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Decorative botanical accents ---------- */
.botanical {
  position: absolute; pointer-events: none; opacity: 0.5;
}
.botanical--tl { top: 6%; left: 0; width: 110px; transform: rotate(-12deg); }
.botanical--br { bottom: 4%; right: 2%; width: 140px; transform: rotate(18deg); }
.botanical--cr { top: 50%; right: -40px; width: 90px; transform: translateY(-50%) rotate(4deg); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding-top: 10rem; padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); margin-bottom: 1rem; max-width: 18ch; }
.page-hero .lead { max-width: 38em; }
.breadcrumb { font-size: 0.82rem; color: var(--ink-muted); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 0.6rem; opacity: 0.5; }

/* =========================================================
   Polish pass, vintage indie texture, type, and micro-details
   ========================================================= */

/* Real watercolor paper texture overlay, sells the vintage feel */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.85;
  mix-blend-mode: multiply;
  background-image: url("/assets/paperTexture.png");
  background-size: 520px auto;
  background-repeat: repeat;
}

/* Headline rhythm, tighter tracking, bigger italic warmth */
h1 { letter-spacing: -0.025em; }
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 300;
  color: var(--sage-deep);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero__copy h1 em {
  font-size: 1.05em;
  letter-spacing: -0.02em;
}

/* Vintage italic numbers (specialties grid) */
.specialty__num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 300;
  color: var(--sage-deep);
  line-height: 1;
  margin-bottom: 1.25rem;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* Bigger, italic eyebrow option for marquee headings */
.eyebrow--vintage {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sage-deep);
}
.eyebrow--vintage::before { display: none; }

/* Service row & approach: italic accent on h3 */
.service-row__copy h3 em,
.specialty h3 em,
.pillar h3 em { font-style: italic; color: var(--sage-deep); font-weight: 300; }

/* Polaroid tilt utilities (no hover straightening — feels more confident) */
.tilt-l  { transform: rotate(-1.4deg); }
.tilt-r  { transform: rotate(1.4deg); }
.tilt-l2 { transform: rotate(-0.7deg); }
.tilt-r2 { transform: rotate(0.7deg); }

/* Subtle photo frame (faint border slightly off-axis, pinned-photo feel) */
.photo-frame { position: relative; isolation: isolate; }
.photo-frame::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.4;
  transform: rotate(-1.2deg);
  pointer-events: none;
}

/* Hand-drawn underline on the "lead" italic words */
.lead em, p em {
  font-style: italic;
  background-image: linear-gradient(transparent 92%, rgba(123,138,111,0.35) 92%, rgba(123,138,111,0.35) 96%, transparent 96%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 0 0.06em;
}

/* Section sprig divider, uses your sprig.svg, with flanking lines */
.sprig-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  margin: 0;
}
.sprig-divider::before,
.sprig-divider::after {
  content: "";
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: rgba(123, 138, 111, 0.45);
}
.sprig-divider img {
  width: clamp(160px, 22vw, 260px);
  opacity: 0.9;
  flex: 0 0 auto;
}

/* Welcome strip, push the serif italic feel further */
.welcome p {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* Specialty card, looser, more index-like */
.specialty {
  padding: 2.75rem 1.85rem 2.25rem;
}
.specialty h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.3rem;
}

/* Service row eyebrow, italic vintage label */
.service-row__copy .eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sage-deep);
}
.service-row__copy .eyebrow::before {
  width: 36px;
  background: var(--sage);
  margin-right: 0.65rem;
  margin-bottom: 5px;
}

/* Pillar (sage section) headings, softer */
.pillar h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.35rem;
}

/* Buttons, gentler letterforms */
.btn { letter-spacing: 0.03em; font-weight: 500; }

/* Painterly shadow on the contact panel */
.contact-warm__panel { box-shadow: 0 1px 0 var(--line-soft), 0 40px 90px -45px rgba(42, 36, 31, 0.2); }

/* Page hero, italic h1 accent if used */
.page-hero h1 em { font-style: italic; color: var(--sage-deep); font-weight: 300; }

/* Page hero bloom — transparent pressed-flower accent (no frame, no shadow) */
.page-hero { position: relative; }
.page-hero__bloom {
  position: absolute;
  top: 50%;
  right: clamp(1.5rem, 5vw, 5rem);
  transform: translateY(-52%) rotate(-6deg);
  width: clamp(220px, 26vw, 360px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: multiply;
  user-select: none;
}
@media (max-width: 1080px) {
  .page-hero__bloom { display: none; }
}
.page-hero__bloom--flip { transform: translateY(-52%) rotate(6deg) scaleX(-1); }

/* Botanical accents — reusable corner & edge placements */
.lavender--corner-tr { top: -3%; right: -3%; width: 18%; max-width: 260px; transform: rotate(18deg); opacity: 0.4; }
.lavender--corner-tl { top: -2%; left: -3%; width: 16%; max-width: 220px; transform: rotate(-14deg); opacity: 0.4; }
.lavender--corner-br { bottom: -3%; right: -3%; width: 18%; max-width: 260px; transform: rotate(14deg); opacity: 0.4; }
.lavender--corner-bl { bottom: -2%; left: -3%; width: 16%; max-width: 220px; transform: rotate(-14deg); opacity: 0.4; }
.lavender--side-l    { top: 50%; left: -4%; width: 12%; max-width: 180px; transform: translateY(-50%) rotate(-12deg); opacity: 0.35; }
.lavender--side-r    { top: 50%; right: -4%; width: 12%; max-width: 180px; transform: translateY(-50%) rotate(12deg); opacity: 0.35; }
.lavender--peek-bl   { bottom: 2%; left: 3%; width: 14%; max-width: 200px; transform: rotate(-12deg); opacity: 0.42; }
.lavender--peek-tr   { top: 2%; right: 5%; width: 14%; max-width: 200px; transform: rotate(12deg); opacity: 0.42; }
.lavender--on-dark   { mix-blend-mode: normal; opacity: 0.18; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.muted { color: var(--ink-muted); }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-8 { margin-top: 4rem; }
.mb-0 { margin-bottom: 0 !important; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 1rem; }
.items-center { align-items: center; }
.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; }
