/* ============================================================
   The Vital Press — Shared stylesheet
   Responsive design with fluid typography (clamp-based scale)
   Breakpoints: 640 / 1024 / 1440 px
   ============================================================ */

:root {
  /* ── Brand colors ── */
  --forest-dk: #1F3A2E;
  --forest:    #2D4F3F;
  --sage:      #97A78F;
  --sage-soft: #C5CFBE;
  --cream:     #F5EEE1;
  --cream-2:   #FAF6EC;
  --tan:       #C9B99B;
  --ink:       #1A1A1A;
  --gray:      #6C757D;
  --paper:     #FAF7F1;
  --error:     #B6534A;

  /* ── Fluid type scale (clamp(min, preferred, max)) ──
     Scales smoothly between 320px and 1440px viewports.   */
  --fs-xs:   clamp(0.75rem,  0.7rem + 0.2vw, 0.875rem);   /* 12 → 14 */
  --fs-sm:   clamp(0.875rem, 0.85rem + 0.15vw, 1rem);     /* 14 → 16 */
  --fs-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem); /* 16 → 18 */
  --fs-md:   clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);     /* 17 → 20 */
  --fs-lg:   clamp(1.25rem,  1.1rem + 0.6vw, 1.5rem);     /* 20 → 24 */
  --fs-xl:   clamp(1.5rem,   1.25rem + 1.2vw, 2rem);      /* 24 → 32 */
  --fs-2xl:  clamp(1.875rem, 1.4rem + 2.2vw, 2.75rem);    /* 30 → 44 */
  --fs-3xl:  clamp(2.25rem,  1.6rem + 3vw, 3.5rem);       /* 36 → 56 */
  --fs-4xl:  clamp(2.5rem,   1.75rem + 4vw, 5rem);        /* 40 → 80 */
  --fs-5xl:  clamp(2.75rem,  1.9rem + 4.5vw, 5.5rem);     /* 44 → 88 */

  /* ── Fluid space scale ── */
  --sp-1: clamp(0.25rem,  0.25rem, 0.25rem);
  --sp-2: clamp(0.5rem,   0.5rem, 0.5rem);
  --sp-3: clamp(0.75rem,  0.7rem + 0.2vw, 1rem);
  --sp-4: clamp(1rem,     0.9rem + 0.5vw, 1.25rem);
  --sp-5: clamp(1.25rem,  1.1rem + 0.7vw, 1.75rem);
  --sp-6: clamp(1.5rem,   1.25rem + 1.2vw, 2.25rem);
  --sp-8: clamp(2rem,     1.5rem + 2.5vw, 3.5rem);
  --sp-10: clamp(2.5rem,  1.75rem + 3.5vw, 5rem);
  --sp-12: clamp(3rem,    2rem + 5vw, 6rem);
  --sp-16: clamp(4rem,    2.5rem + 7vw, 8rem);
  --sp-20: clamp(5rem,    3rem + 10vw, 10rem);

  /* ── Layout ── */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 3.5rem);
  --section-pad-y: clamp(4rem, 4rem + 4vw, 8rem);
  --radius: 4px;
  --radius-lg: 8px;
}

/* ── Reset ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
*:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 2px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--forest); color: var(--cream); }

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ── Typography utility classes ── */
.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 1.125rem;
}
.h-display {
  font-family: Lora, Georgia, serif;
  font-weight: 700;
  font-size: var(--fs-5xl);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.h-display em { font-style: italic; font-weight: 400; color: var(--forest); }

/* ===================== NAV ===================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: clamp(0.875rem, 1vw + 0.5rem, 1.375rem) 0;
  background: rgba(245, 238, 225, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: padding 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled { padding: clamp(0.625rem, 0.7vw + 0.4rem, 0.875rem) 0; border-bottom-color: var(--tan); }
/* Nav spans the full viewport so the CTA sits flush right.
   Inner container padding only — no max-width constraint here. */
.nav > .container {
  max-width: none;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}
.nav-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
}
.logo {
  grid-column: 2;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.logo svg { width: clamp(200px, 18vw, 300px); height: auto; }
.nav-links {
  grid-column: 1;
  display: flex; gap: clamp(0.625rem, 1.4vw, 1.375rem); align-items: center;
  justify-self: start;
}
.nav-cta { grid-column: 3; justify-self: end; }
.nav-toggle { grid-column: 3; justify-self: end; }
.nav-link {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--ink);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta {
  background: var(--forest); color: var(--cream);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.625rem 1.125rem;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--forest-dk); transform: translateY(-1px); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none; border: none;
  width: 44px; height: 44px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--forest); margin: 4px auto;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.625rem;
  border-radius: 999px; border: none;
  font-family: Inter, sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none;
  min-height: 44px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: var(--forest-dk); }
.btn-ghost { background: transparent; color: var(--forest); border: 1px solid var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--forest); }
.btn-light:hover { background: var(--cream-2); }
.btn-arrow { transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ===================== HERO ===================== */
.hero {
  padding: var(--sp-16) 0 var(--sp-12);
  position: relative;
  overflow: hidden;
}
.hero-pulse {
  position: absolute;
  right: clamp(-80px, -5vw, -40px);
  top: clamp(140px, 18vw, 220px);
  width: clamp(320px, 50vw, 640px);
  opacity: 0.55;
  pointer-events: none;
}
.hero h1 {
  font-family: Lora, Georgia, serif;
  font-weight: 700;
  font-size: var(--fs-5xl);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
  max-width: 1080px;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--forest); }
.hero .lede {
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--ink);
  max-width: 65ch;
  margin-top: var(--sp-5);
}
.hero .ctas {
  margin-top: var(--sp-6);
  display: flex; gap: 0.875rem;
  flex-wrap: wrap;
}

/* ===================== SECTIONS ===================== */
.section { padding: var(--section-pad-y) 0; }
.section-cream2 { background: var(--cream-2); }
.section-dark { background: var(--forest); color: var(--cream); }
.section-darker { background: var(--forest-dk); color: var(--cream); }

.section-head {
  max-width: 880px;
  margin-bottom: var(--sp-10);
}
.section-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--forest);
  margin-bottom: 0.875rem;
}
.section-dark .section-eyebrow,
.section-darker .section-eyebrow { color: var(--sage); }
.section-head h2 {
  font-family: Lora, Georgia, serif;
  font-weight: 700;
  font-size: var(--fs-3xl);
  line-height: 1.1;
  letter-spacing: -0.012em;
}
.section-head h2 em { font-style: italic; font-weight: 400; color: var(--forest); }
.section-dark .section-head h2 em,
.section-darker .section-head h2 em { color: var(--sage); }
.section-head .deck {
  margin-top: var(--sp-4);
  font-size: var(--fs-md);
  color: var(--ink); line-height: 1.65;
  max-width: 65ch;
}
.section-dark .section-head .deck,
.section-darker .section-head .deck { color: var(--cream); opacity: 0.88; }

/* Centered section variants */
.section-center > .container { text-align: center; }
.section-center .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.section-center .section-head .deck { margin-left: auto; margin-right: auto; }
.section-center .pull-quote { margin-left: auto; margin-right: auto; text-align: center; }

/* ===================== STATS ===================== */
.stats {
  border-top: 1px solid var(--tan);
  border-bottom: 1px solid var(--tan);
  padding: var(--sp-8) 0;
  background: var(--cream-2);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.stat-num {
  font-family: Lora, Georgia, serif;
  font-weight: 700;
  font-size: var(--fs-4xl);
  line-height: 1;
  color: var(--forest);
  letter-spacing: -0.022em;
}
.stat-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 0.625rem;
  line-height: 1.4;
}

/* ===================== GRIDS / CARDS ===================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }

.card {
  padding: var(--sp-6);
  background: var(--cream-2);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none; color: inherit; display: block;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(31,58,46,.08); }
.card .num {
  font-family: Lora, Georgia, serif;
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--sage);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.card h3 {
  font-family: Lora, Georgia, serif;
  font-size: var(--fs-xl);
  font-weight: 700;
  margin: 0.25rem 0 0.75rem;
  line-height: 1.2;
}
.card p {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--ink);
}
.card .read {
  display: inline-block;
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
  text-decoration: none;
}
.card .read:hover { color: var(--forest-dk); }

/* Dark variant (used inside section-dark) */
.card-dark {
  background: transparent;
  border-color: var(--sage);
  cursor: default;
}
.card-dark .num { color: var(--sage); }
.card-dark h3 { color: var(--cream); }
.card-dark p { color: var(--cream); opacity: 0.85; }
.card-dark:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,.20); }

/* Specialty tile */
.specialty-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: clamp(1rem, 2vw, 1.375rem) clamp(0.875rem, 1.5vw, 1.25rem);
  background: var(--cream-2);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.specialty-tile::after {
  content: "→";
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-weight: 400;
}
.specialty-tile:hover {
  background: var(--forest); color: var(--cream);
  border-color: var(--forest);
  transform: translateY(-2px);
}
.specialty-tile:hover::after { opacity: 1; transform: translateX(0); }

/* Service row (services page) */
.service-row {
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--tan);
  display: grid;
  grid-template-columns: clamp(70px, 8vw, 100px) 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}
.service-row:last-child { border-bottom: 1px solid var(--tan); }
.service-row .num {
  font-family: Lora, Georgia, serif;
  font-style: italic;
  font-size: var(--fs-2xl);
  color: var(--sage);
  line-height: 1;
}
.service-row h3 {
  font-family: Lora, Georgia, serif;
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 0.625rem;
  line-height: 1.2;
}
.service-row .row-summary {
  font-size: var(--fs-sm);
  margin-bottom: 0.875rem;
  font-weight: 500;
}
.service-row .row-detail {
  font-size: var(--fs-sm);
  line-height: 1.65;
}
.service-row .row-list { list-style: none; }
.service-row .row-list li {
  padding: 0.5rem 0 0.5rem 1.125rem;
  position: relative;
  font-size: var(--fs-sm);
  line-height: 1.45;
  border-top: 1px solid var(--tan);
}
.service-row .row-list li::before {
  content: ""; position: absolute; left: 0; top: 0.875rem;
  width: 0.625rem; height: 1px; background: var(--forest);
}

/* Approach step layout */
.approach-step {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-10);
  align-items: start;
  margin-bottom: var(--sp-16);
}
.approach-step:last-child { margin-bottom: 0; }
.approach-step .step-num {
  font-family: Lora, Georgia, serif;
  font-style: italic;
  font-size: var(--fs-3xl);
  color: var(--sage);
  line-height: 1;
}
.approach-step .step-title {
  font-family: Lora, Georgia, serif;
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-top: 0.875rem;
  line-height: 1.1;
}
.approach-step .step-body {
  font-size: var(--fs-md);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.approach-step .step-list {
  list-style: none;
  margin-top: var(--sp-4);
}
.approach-step .step-list li {
  padding: 0.625rem 0 0.625rem 1.375rem;
  position: relative;
  font-size: var(--fs-sm);
  line-height: 1.5;
  border-top: 1px solid var(--tan);
}
.approach-step .step-list li:last-child { border-bottom: 1px solid var(--tan); }
.approach-step .step-list li::before {
  content: ""; position: absolute; left: 0; top: 1.125rem;
  width: 0.75rem; height: 1px; background: var(--forest);
}

/* Two-column about layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
}
.two-col h2 {
  font-family: Lora, Georgia, serif;
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--sp-5);
  letter-spacing: -0.012em;
}
.two-col h2 em { font-style: italic; color: var(--forest); }
.two-col p {
  font-size: var(--fs-base);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
}
.portrait-card {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--sage) 0%, var(--forest) 100%);
  border-radius: var(--radius);
  padding: var(--sp-6);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.portrait-card .credit {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.portrait-card .credit-line {
  font-family: Lora, Georgia, serif;
  font-size: var(--fs-lg);
  margin-top: 0.5rem;
}

/* Quote */
.pull-quote {
  font-family: Lora, Georgia, serif;
  font-style: italic;
  font-size: var(--fs-2xl);
  line-height: 1.32;
  color: var(--ink);
  max-width: 60ch;
  margin: var(--sp-5) auto var(--sp-6);
}

/* Contact info column */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-10);
  align-items: end;
}
.contact-info h3 {
  font-family: Lora, Georgia, serif;
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--sp-5);
}
.contact-info .info-item {
  border-top: 1px solid var(--tan);
  padding: var(--sp-4) 0;
}
.contact-info .info-item:last-child { border-bottom: 1px solid var(--tan); }
.contact-info .info-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.375rem;
}
.contact-info .info-value {
  font-family: Lora, Georgia, serif;
  font-size: var(--fs-md);
  line-height: 1.4;
}
.contact-info .info-value small {
  display: block;
  font-size: var(--fs-sm);
  color: var(--gray);
  font-family: Inter, sans-serif;
  margin-top: 0.25rem;
  opacity: 0.85;
}

/* ===================== FORM ===================== */
.form-card {
  background: var(--cream-2);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  padding: var(--sp-8);
}
/* Typeform-embedded variant: transparent background so the page shows through
   above the form's progress bar; thin border frames the area cleanly */
.form-card.typeform-wrapper {
  background: transparent;
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  padding: 28px 0 0 0;
  overflow: hidden;
}
.field { margin-bottom: var(--sp-5); }
.field label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.5rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--cream);
  color: var(--ink);
  border: none;
  border-bottom: 1px solid var(--tan);
  padding: 0.75rem 0;
  font-family: inherit;
  font-size: var(--fs-base);
  transition: border-color 0.2s ease;
  min-height: 44px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-bottom-color: var(--forest);
}
.field textarea { min-height: 100px; resize: vertical; }
.field-error {
  color: var(--error);
  font-size: var(--fs-xs);
  margin-top: 0.375rem;
  display: none;
}
.field.error .field-error { display: block; }
.field.error input,
.field.error textarea,
.field.error select { border-bottom-color: var(--error); }
.form-success {
  display: none;
  padding: var(--sp-5);
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  border-radius: var(--radius);
}
.form-success.shown { display: block; }
.form-success h4 {
  font-family: Lora, Georgia, serif;
  font-size: var(--fs-lg);
  margin-bottom: 0.375rem;
}

/* ===================== ENGAGEMENT PRICING CARDS ===================== */
.pricing-card {
  padding: var(--sp-7);
  background: var(--cream-2);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pricing-card.featured {
  background: var(--forest); color: var(--cream); border-color: var(--forest);
}
.pricing-card.featured .num,
.pricing-card.featured h3,
.pricing-card.featured .pricing-value,
.pricing-card.featured .pricing-term,
.pricing-card.featured ul,
.pricing-card.featured p { color: var(--cream); }
.pricing-card.featured .pricing-term,
.pricing-card.featured .num { color: var(--sage); }
.pricing-card.featured li { border-color: var(--sage) !important; }
.pricing-card .num {
  font-family: Lora, Georgia, serif;
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--sage);
  font-weight: 700;
}
.pricing-card h3 {
  font-family: Lora, Georgia, serif;
  font-size: var(--fs-xl);
  font-weight: 700;
  margin: 0.25rem 0 0.75rem;
}
.pricing-card .lead {
  font-size: var(--fs-sm);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
  opacity: 0.92;
}
.pricing-value {
  font-family: Lora, Georgia, serif;
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--forest);
  margin: 0.5rem 0;
  line-height: 1;
}
.pricing-value small {
  font-size: var(--fs-base);
  font-weight: 500;
}
.pricing-term {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: var(--sp-5);
}
.pricing-list { list-style: none; margin-bottom: var(--sp-6); }
.pricing-list li {
  padding: 0.625rem 0;
  font-size: var(--fs-sm);
  border-top: 1px solid var(--tan);
}
.pricing-list li:last-child { border-bottom: 1px solid var(--tan); }
.pricing-card .btn { margin-top: auto; }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--forest-dk);
  color: var(--cream);
  padding: var(--sp-12) 0 var(--sp-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-10);
}
.footer-grid h5 {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.875rem;
}
.footer-grid a,
.footer-grid .footer-meta {
  display: block;
  color: var(--cream);
  text-decoration: none;
  font-size: var(--fs-sm);
  padding: 0.3rem 0;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.footer-grid a:hover { opacity: 1; }
.footer-grid .footer-meta { opacity: 0.6; cursor: default; }
.footer-grid p {
  font-size: var(--fs-sm);
  line-height: 1.65;
  opacity: 0.72;
  max-width: 360px;
}
.footer-fine {
  border-top: 1px solid rgba(245,238,225,0.15);
  padding-top: var(--sp-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}
.footer-fine a { color: var(--sage); text-decoration: none; }
.footer-fine a:hover { color: var(--cream); }

/* ===================== LEGAL PAGES ===================== */
.legal-body h2 {
  font-family: Lora, Georgia, serif;
  font-size: var(--fs-xl);
  font-weight: 700;
  margin: var(--sp-8) 0 var(--sp-4);
}
.legal-body p {
  font-size: var(--fs-base);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
  max-width: 70ch;
}

/* ===================== REVEAL ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Pulse line subtle animation */
@keyframes pulseBeat {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.pulse-line { animation: pulseBeat 1.6s ease-in-out infinite; }

/* ===================== BREAKPOINTS ===================== */

/* Tablet (< 1024px) */
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .approach-step { grid-template-columns: 1fr; gap: var(--sp-4); }
  .approach-step .step-title { margin-top: 0.25rem; }
  .two-col { grid-template-columns: 1fr; gap: var(--sp-8); }
  .portrait-card { aspect-ratio: 16 / 10; max-width: 480px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 60px 1fr; }
  .service-row .row-list {
    grid-column: 1 / -1;
    padding-top: var(--sp-2);
  }
}

/* Hide hero pulse decoration on narrower screens so it doesn't overlap headline */
@media (max-width: 900px) {
  .hero-pulse { display: none; }
}

/* Tighten section spacing on tablet+ */
@media (max-width: 768px) {
  :root { --section-pad-y: clamp(3rem, 2.5rem + 4vw, 5rem); }
  .section-head { margin-bottom: var(--sp-6); }
}

/* Mobile (< 640px) */
@media (max-width: 640px) {
  /* Mobile nav */
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 1.5rem 2rem;
    gap: 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 99;
    height: 100vh;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links .nav-link {
    padding: 1rem 0;
    font-size: var(--fs-md);
    border-bottom: 1px solid var(--tan);
  }
  .nav-toggle { display: block; z-index: 100; position: relative; }
  .nav-cta { display: none; }

  /* Stats: 2 cols on mobile */
  .stats-row { grid-template-columns: repeat(2, 1fr); }

  /* Grids collapse to 1 col */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  /* Service rows stack */
  .service-row { grid-template-columns: 1fr; gap: var(--sp-4); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer-fine { flex-direction: column; align-items: flex-start; }

  /* Hero buttons stack */
  .hero .ctas .btn { width: 100%; justify-content: center; }
}

/* Small mobile (< 380px) — tighten further */
@media (max-width: 380px) {
  .stats-row { grid-template-columns: 1fr; }
  .stat-num { font-size: 2.5rem; }
}

/* Large desktop (> 1440px) — keep things readable, prevent over-stretching */
@media (min-width: 1441px) {
  :root { --container-max: 1320px; }
}

/* Print */
@media print {
  .nav, .footer, .hero-pulse, .form-card, .nav-cta { display: none; }
  body { background: white; color: black; }
  .section { padding: 1rem 0; }
}
