/* ==========================================================================
   Tanz Wellness Solutions — styles.css
   One stylesheet for the whole site. Sections, in order:
     1. Fonts            2. Design tokens       3. Base and typography
     4. Layout helpers   5. Buttons             6. Header and navigation
     7. Hero             8. Trust strip         9. Section patterns
    10. Conditions grid 11. Approach pillars   12. Meet Sherice
    13. Steps           14. FAQ                15. Inner page heroes
    16. Services page   17. About page         18. Contact page and form
    19. CTA band        20. Footer             21. Sticky bar (phones)
    22. Motion          23. Print
   Change the tokens in section 2 to restyle the whole site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted, SIL Open Font License)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Fonts */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Colors: deep jungle green, ocean blue, warm orange, sand */
  --green-950: #0b2a20;   /* darkest: dark sections, headings */
  --green-800: #123d2f;   /* brand green */
  --green-600: #1f6a4e;   /* mid green: small text accents */
  --blue-800: #0e4f63;    /* deep ocean */
  --blue-700: #146578;    /* ocean blue for text and links */
  --blue-600: #1b7f99;    /* ocean blue for gradients */
  --blue-100: #e2f0f3;    /* blue-tinted surface */
  --orange-500: #f28c3b;  /* accent: calls to action only */
  --orange-600: #d9752a;  /* accent hover */
  --orange-200: #ffd9b8;  /* accent highlight on dark */
  --sand-50: #fbf9f4;     /* lightest surface */
  --sand-100: #f5f0e6;    /* page background */
  --sand-200: #eae2d3;    /* lines on sand */
  --foam-100: #e6f0ea;    /* green-tinted surface */
  --foam-300: #9fd3c7;    /* light teal text on dark */
  --ink: #10261f;         /* body text */
  --muted: #4a5f57;       /* secondary text */
  --line: rgba(11, 42, 32, .1);

  /* Type scale (fluid) */
  --step--1: clamp(.875rem, .85rem + .15vw, .9375rem);
  --step-0: clamp(1rem, .95rem + .25vw, 1.125rem);
  --step-1: clamp(1.125rem, 1.05rem + .45vw, 1.375rem);
  --step-2: clamp(1.375rem, 1.2rem + .9vw, 1.875rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --step-4: clamp(2rem, 1.5rem + 2.4vw, 3.25rem);
  --step-5: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);

  /* Shape, depth, space */
  --radius-s: .75rem;
  --radius: 1.25rem;
  --radius-l: 2rem;
  --arch: 999px 999px var(--radius-l) var(--radius-l);
  --shadow-s: 0 1px 2px rgba(11, 42, 32, .05), 0 4px 14px rgba(11, 42, 32, .06);
  --shadow: 0 2px 4px rgba(11, 42, 32, .05), 0 16px 36px rgba(11, 42, 32, .12);
  --shadow-l: 0 30px 70px rgba(11, 42, 32, .24);
  --space-section: clamp(4rem, 3rem + 4vw, 7rem);
  --container: 72rem;
  --measure: 62ch;
  --header-h: 4.5rem;
}

/* --------------------------------------------------------------------------
   3. Base and typography
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--sand-100);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--green-950);
  margin: 0 0 .6em;
  overflow-wrap: anywhere;
}
h1 { font-size: var(--step-5); line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: var(--step-4); letter-spacing: -.015em; }
h3 { font-size: var(--step-2); line-height: 1.2; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
ul, ol { padding-left: 1.25rem; }
a { color: var(--blue-700); text-decoration-thickness: .08em; text-underline-offset: .15em; transition: color .2s ease; }
a:hover { color: var(--green-800); }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: .25rem; }
strong { font-weight: 700; }
blockquote { margin: 0; }

/* The signature highlight: an italic Fraunces phrase with a warm underline. */
.hl {
  font-style: italic;
  font-weight: 400;
  color: var(--green-800);
  background: linear-gradient(transparent 74%, rgba(242, 140, 59, .55) 74%, rgba(242, 140, 59, .55) 92%, transparent 92%);
  padding: 0 .06em;
  border-radius: .15em;
}
.section-dark .hl, .cta-band .hl, .page-hero .hl { color: var(--orange-200); background: linear-gradient(transparent 74%, rgba(242, 140, 59, .45) 74%, rgba(242, 140, 59, .45) 92%, transparent 92%); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.eyebrow::before { content: ""; flex: none; width: 1.75rem; height: 2px; border-radius: 2px; background: var(--orange-500); }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: .75rem; z-index: 100;
  padding: .6rem 1rem; border-radius: 999px; background: var(--green-950); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: .75rem; }

/* --------------------------------------------------------------------------
   4. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}
.section { padding-block: var(--space-section); overflow: clip; }
.section-tint { background: var(--foam-100); }
.section-blue { background: var(--blue-100); }
.section-light { background: var(--sand-50); }
.section-dark { background: var(--green-950); color: var(--sand-100); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--sand-50); }
.section-dark p { color: rgba(251, 249, 244, .84); }
.section-dark .eyebrow { color: var(--foam-300); }
.section-dark a { color: var(--sand-50); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head h2 { margin-bottom: .5em; }
.section-head .lead { margin-bottom: 0; }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 48rem) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split-reverse > :first-child { order: 2; }
}
@media (min-width: 64rem) { .split { gap: 5rem; } }

/* Arched photo with a warm sun behind it: the site's signature image treatment. */
.arch-figure { position: relative; max-width: 30rem; width: 100%; margin: 0 auto; padding-top: 1.5rem; }
.arch {
  position: relative; z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--foam-100);
  box-shadow: var(--shadow-l);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.sun {
  position: absolute; z-index: 0;
  top: -.5rem; right: -2rem;
  width: 44%; aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffb267, var(--orange-500) 55%, var(--orange-600));
  box-shadow: 0 20px 50px rgba(242, 140, 59, .35);
}
.sun-left { right: auto; left: -2rem; }
.arch-figure figcaption {
  position: absolute; z-index: 2; left: 1rem; bottom: 1rem;
  max-width: calc(100% - 2rem);
  padding: .7rem 1rem;
  border-radius: var(--radius-s);
  background: rgba(251, 249, 244, .94);
  color: var(--green-950);
  font-size: var(--step--1);
  font-weight: 600;
  box-shadow: var(--shadow-s);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .8rem 1.5rem;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-text); font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.button-primary { background: var(--orange-500); color: var(--green-950); box-shadow: 0 6px 18px rgba(242, 140, 59, .35); }
.button-primary:hover { background: var(--orange-600); color: var(--green-950); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(242, 140, 59, .4); }
.button-secondary { background: transparent; color: var(--green-800); border-color: rgba(18, 61, 47, .35); }
.button-secondary:hover { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.button-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.button-light:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.button-large { min-height: 3.5rem; padding: 1rem 2rem; font-size: 1.0625rem; }
.button-block { width: 100%; }
.button:active { transform: translateY(1px); }

/* --------------------------------------------------------------------------
   6. Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 244, .9);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem 1.5rem; min-height: var(--header-h); }

/* The wordmark. A logo image can replace .brand-mark and .brand-text later:
   <a class="brand" href="/"><img src="/images/logo.svg" alt="Tanz Wellness Solutions" width="…" height="…"></a>
   keeps the same 2.75rem height, so the header layout does not change. */
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  height: 2.75rem; margin-right: auto;
  color: var(--green-950); text-decoration: none; white-space: nowrap;
}
.brand:hover { color: var(--green-800); }
.brand img { height: 100%; width: auto; }
.brand-mark {
  position: relative; flex: none; overflow: hidden;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #ffb267, var(--orange-500) 55%, var(--orange-600));
}
.brand-mark::after {
  content: ""; position: absolute; left: -25%; right: -25%; bottom: -34%; height: 62%;
  border-radius: 50%; background: var(--blue-700);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -.01em; }
.brand-sub { margin-top: .22rem; font-size: .58rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--green-600); }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; }
.site-nav a {
  position: relative; display: inline-block; padding: .5rem 0;
  color: var(--green-950); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 2px; border-radius: 2px;
  background: var(--orange-500); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: none; }
.nav-toggle { display: none; }

@media (min-width: 48rem) {
  .header-cta { display: inline-flex; }
}

/* Phones and small tablets: the nav folds behind the Menu button (only once the
   approved script has added html.js; without it the links wrap in a row). */
@media (max-width: 47.99rem) {
  .header-inner { flex-wrap: wrap; }
  .site-nav { order: 3; width: 100%; padding: 0 0 .75rem; }
  .js .nav-toggle {
    position: relative;
    display: inline-flex; align-items: center;
    min-height: 2.75rem; padding: .5rem .9rem .5rem 2.6rem;
    border: 1.5px solid rgba(11, 42, 32, .18); border-radius: 999px;
    background: #fff; color: var(--green-950);
    font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
  }
  .nav-toggle::before, .nav-toggle::after {
    content: ""; position: absolute; left: 1rem; width: 1.1rem; height: 2px; border-radius: 2px;
    background: currentColor; transition: transform .2s ease, box-shadow .2s ease, top .2s ease;
  }
  .nav-toggle::before { top: calc(50% - 5px); box-shadow: 0 5px 0 currentColor; }
  .nav-toggle::after { top: calc(50% + 4px); }
  .nav-toggle[aria-expanded="true"]::before { top: calc(50% - 1px); box-shadow: none; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"]::after { top: calc(50% - 1px); transform: rotate(-45deg); }
  .js .site-nav:not(.is-open) { display: none; }
  .js .site-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    padding: .25rem 1.25rem 1.25rem;
    background: var(--sand-50); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .js .site-nav.is-open a { padding: .95rem 0; border-top: 1px solid var(--line); font-size: 1.1rem; }
  .js .site-nav.is-open a::after { display: none; }
}

/* --------------------------------------------------------------------------
   7. Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--sand-100);
  background-image:
    radial-gradient(60rem 40rem at 90% 0%, rgba(27, 127, 153, .16), transparent 60%),
    radial-gradient(40rem 30rem at 0% 100%, rgba(31, 106, 78, .14), transparent 60%);
}
.hero-inner {
  display: grid; gap: 3rem;
  padding-top: clamp(2.5rem, 2rem + 3vw, 5rem);
  padding-bottom: clamp(6rem, 5rem + 4vw, 9rem);
}
.hero h1 { max-width: 15ch; margin-bottom: .5em; }
.hero-lead { max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.hero-visual .arch-figure { max-width: 32rem; }
@media (min-width: 64rem) {
  .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; align-items: center; }
  .hero-visual .arch-figure { margin-right: 0; }
}

/* --------------------------------------------------------------------------
   8. Trust strip: lifted over the hero's bottom edge
   -------------------------------------------------------------------------- */
.trust-strip { position: relative; z-index: 2; margin-top: -3.75rem; padding-inline: 0; }
.trust-list {
  display: grid; gap: 1.25rem;
  margin: 0; padding: 1.5rem; list-style: none;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid rgba(11, 42, 32, .05);
}
.trust-list li { display: flex; flex-direction: column; gap: .2rem; }
.trust-list strong { font-family: var(--font-display); font-weight: 500; font-size: var(--step-2); line-height: 1.1; color: var(--green-800); }
.trust-list span { font-size: var(--step--1); color: var(--muted); }
@media (min-width: 40rem) { .trust-list { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; padding: 1.75rem 2rem; } }
@media (min-width: 64rem) {
  .trust-list { grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 2rem 2.5rem; }
  .trust-list li + li { padding-left: 2rem; border-left: 1px solid var(--sand-200); }
}
.after-strip { padding-top: calc(var(--space-section) - 1rem); }

/* --------------------------------------------------------------------------
   9. Section patterns
   -------------------------------------------------------------------------- */
.prose p:last-child { margin-bottom: 0; }
.prose h3 { margin-top: 1.75rem; }
.text-list { margin: 1rem 0 0; padding-left: 1.25rem; max-width: var(--measure); }
.text-list li { margin-bottom: .5rem; }
.text-list li::marker { color: var(--orange-600); }

/* Photo card with a tinted block behind it (depth without a heavy frame). */
.photo-card-wrap { position: relative; padding: 0 1.5rem 1.5rem 0; }
.photo-card-wrap::before {
  content: ""; position: absolute; z-index: 0;
  top: 1.5rem; right: 0; bottom: 0; left: 1.5rem;
  border-radius: var(--radius-l); background: var(--blue-600); opacity: .18;
}
.photo-card {
  position: relative; z-index: 1;
  aspect-ratio: 3 / 2; border-radius: var(--radius-l); overflow: hidden;
  box-shadow: var(--shadow); background: var(--foam-100);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   10. Conditions grid (home: what we treat)
   -------------------------------------------------------------------------- */
.conditions { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.condition-card {
  position: relative; display: flex; flex-direction: column; gap: .5rem; height: 100%;
  padding: 1.5rem 1.5rem 1.4rem;
  background: #fff; border-radius: var(--radius); border: 1px solid rgba(11, 42, 32, .06);
  box-shadow: var(--shadow-s); color: inherit; text-decoration: none; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.condition-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--orange-500), var(--blue-600));
  opacity: 0; transition: opacity .2s ease;
}
.condition-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.condition-card:hover::before { opacity: 1; }
.condition-num { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--blue-700); line-height: 1; }
.condition-card h3 { font-size: var(--step-1); margin: 0; }
.condition-card p { flex: 1; margin: 0; font-size: var(--step--1); color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; font-weight: 700; font-size: var(--step--1); color: var(--green-800); }
.card-link svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s ease; }
.condition-card:hover .card-link svg { transform: translateX(3px); }
@media (min-width: 40rem) { .conditions { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 64rem) { .conditions { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------------------------
   11. Approach pillars
   -------------------------------------------------------------------------- */
.pillars { display: grid; gap: 0; margin: 1.5rem 0 0; padding: 0; list-style: none; max-width: 36rem; }
.pillars li {
  display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start;
  padding: 1.1rem 0; border-top: 1px solid var(--line);
}
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillar-num { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); line-height: 1; color: var(--blue-700); padding-top: .1rem; }
.pillars h3 { font-size: var(--step-1); margin: 0 0 .25rem; }
.pillars p { margin: 0; font-size: var(--step--1); color: var(--muted); }
.section-dark .pillars li { border-color: rgba(255, 255, 255, .14); }
.section-dark .pillar-num { color: var(--foam-300); }

/* --------------------------------------------------------------------------
   12. Meet Sherice (home) and the pull quote
   -------------------------------------------------------------------------- */
.clinician .arch-figure { max-width: 24rem; }
.pull-quote {
  margin: 1.5rem 0; padding-left: 1.25rem;
  border-left: 3px solid var(--orange-500);
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: var(--step-2); line-height: 1.3; color: var(--green-950);
}
.pull-quote p { margin: 0; color: inherit; font-size: inherit; }
.pull-quote cite { display: block; margin-top: .75rem; font-family: var(--font-text); font-style: normal; font-size: var(--step--1); font-weight: 700; color: var(--muted); }
.section-dark .pull-quote { color: var(--sand-50); }
.section-dark .pull-quote cite { color: var(--foam-300); }

/* --------------------------------------------------------------------------
   13. Steps (how online visits work)
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; max-width: 34rem; }
.step { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; }
.step-num {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--green-800); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
}
.step h3 { font-size: var(--step-1); margin: .55rem 0 .3rem; }
.step p { margin: 0; color: var(--muted); }

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: .75rem; max-width: 48rem; }
.faq details { background: #fff; border-radius: var(--radius); border: 1px solid rgba(11, 42, 32, .06); box-shadow: var(--shadow-s); }
.faq summary {
  position: relative; min-height: 3rem; padding: 1.1rem 3.25rem 1.1rem 1.5rem;
  font-weight: 700; font-size: var(--step-0); color: var(--green-950); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.6rem; top: 50%; width: .6rem; height: .6rem;
  border-right: 2px solid var(--green-800); border-bottom: 2px solid var(--green-800);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-answer { padding: 0 1.5rem 1.25rem; color: var(--muted); }
.faq-answer p { margin: 0 0 .75em; }
.faq-answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   15. Inner page heroes
   -------------------------------------------------------------------------- */
/* Photo hero (services): a full-bleed photo under a deep green wash. */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--green-950); color: var(--sand-50); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11, 42, 32, .94) 0%, rgba(11, 42, 32, .78) 45%, rgba(14, 79, 99, .55) 100%);
}
.page-hero-inner { padding-block: clamp(4rem, 3rem + 5vw, 8rem); max-width: 46rem; }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: var(--foam-300); }
.page-hero .lead { color: rgba(251, 249, 244, .86); margin-bottom: 2rem; }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }

/* Split hero (about, contact): sand background with an arched photo. */
.intro-hero {
  position: relative; overflow: hidden;
  background: var(--sand-100);
  background-image: radial-gradient(50rem 30rem at 100% 0%, rgba(27, 127, 153, .14), transparent 60%);
}
.intro-hero .split { padding-top: clamp(2.5rem, 2rem + 3vw, 5rem); padding-bottom: clamp(3rem, 2.5rem + 3vw, 6rem); }
.intro-hero h1 { max-width: 16ch; }
.intro-hero .lead { margin-bottom: 2rem; }
.intro-hero .arch-figure { max-width: 26rem; }
.intro-hero.has-strip .split { padding-bottom: clamp(6rem, 5rem + 4vw, 9rem); }

/* --------------------------------------------------------------------------
   16. Services page
   -------------------------------------------------------------------------- */
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.pill-list a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.1rem;
  border-radius: 999px; background: #fff; border: 1px solid rgba(11, 42, 32, .12);
  color: var(--green-800); font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pill-list a:hover { background: var(--green-800); color: #fff; border-color: var(--green-800); }

.condition-detail {
  display: grid; gap: 1rem;
  padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  border-top: 1px solid rgba(11, 42, 32, .12);
  scroll-margin-top: 5.5rem;
}
.condition-detail:last-child { border-bottom: 1px solid rgba(11, 42, 32, .12); }
.condition-detail h2 { font-size: var(--step-3); margin: .25rem 0 0; }
.condition-detail .condition-num { display: block; }
@media (min-width: 48rem) {
  .condition-detail { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; }
}

.pay-methods { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.pay-methods li {
  padding: 1.25rem 1.5rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s);
  border: 1px solid rgba(11, 42, 32, .06);
}
.pay-methods strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: var(--step-2); line-height: 1.1; color: var(--green-800); }
.pay-methods span { font-size: var(--step--1); color: var(--muted); }
@media (min-width: 40rem) { .pay-methods { grid-template-columns: repeat(3, 1fr); } }

/* --------------------------------------------------------------------------
   17. About page
   -------------------------------------------------------------------------- */
.credentials { margin: 1.75rem 0 0; padding: 0; list-style: none; display: grid; gap: .75rem; max-width: 36rem; }
.credentials li { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1.1rem; background: #fff; border-radius: var(--radius-s); box-shadow: var(--shadow-s); }
.credentials li::before { content: ""; flex: none; width: .6rem; height: .6rem; margin-top: .5rem; border-radius: 50%; background: var(--orange-500); }
.facts { display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.facts li { padding: 1.5rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.facts h3 { font-size: var(--step-1); margin: 0 0 .4rem; }
.facts p { margin: 0; font-size: var(--step--1); }
@media (min-width: 48rem) { .facts { grid-template-columns: repeat(3, 1fr); } }

/* --------------------------------------------------------------------------
   18. Contact page and the contact form
   -------------------------------------------------------------------------- */
.info-cards { display: grid; gap: 1rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.info-card { padding: 1.5rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); border-top: 3px solid var(--orange-500); }
.info-card h2 { font-size: var(--step-1); margin: 0 0 .5rem; }
.info-card p { margin: 0; font-size: var(--step--1); color: var(--muted); }
@media (min-width: 48rem) { .info-cards { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.form-layout { display: grid; gap: 2.5rem; align-items: start; }
.form-card { padding: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow); }
.form-card h2 { font-size: var(--step-3); margin-bottom: .4em; }
.form-card .lead { font-size: var(--step-0); margin-bottom: 1.25rem; }
.form-privacy-note {
  margin: 0 0 1.5rem; padding: .9rem 1.1rem;
  border-left: 3px solid var(--green-600); border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: var(--foam-100); color: var(--green-950); font-weight: 600; font-size: var(--step--1);
}
.form-aside { display: none; }
@media (min-width: 64rem) {
  .form-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
  .form-aside { display: block; position: sticky; top: 6rem; }
}

/* The contact form (keeps the field names and the message-sent box). */
.bt-form-sent { display: none; scroll-margin-top: 6rem; margin: 0 0 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius-s); background: var(--foam-100); color: var(--green-950); border: 1px solid var(--foam-300); }
.bt-form-sent:target { display: block; }
.bt-form-sent p { margin: 0; }
.bt-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bt-form label { display: block; font-weight: 700; font-size: var(--step--1); margin: 1.1rem 0 .4rem; color: var(--green-950); }
.bt-form fieldset > label:first-of-type { margin-top: 0; }
.bt-form input:not([type="hidden"]), .bt-form select, .bt-form textarea {
  display: block; width: 100%; box-sizing: border-box; min-height: 48px; padding: .75rem .95rem;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--sand-50);
  border: 1.5px solid rgba(11, 42, 32, .2); border-radius: var(--radius-s);
  transition: border-color .2s ease, background-color .2s ease;
}
.bt-form input:not([type="hidden"]):hover, .bt-form select:hover, .bt-form textarea:hover { border-color: rgba(11, 42, 32, .4); }
.bt-form textarea { min-height: 9rem; resize: vertical; }
.bt-form input:focus-visible, .bt-form select:focus-visible, .bt-form textarea:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; background: #fff; }
.bt-form :user-invalid { border-color: #b3261e; }
.bt-form-hint { margin: .5rem 0 0; font-size: var(--step--1); color: var(--muted); }
.bt-form-optional { font-weight: 400; color: var(--muted); }
.bt-form button[type="submit"] { margin-top: 1.5rem; min-height: 48px; }
.form-note { margin: 1rem 0 0; font-size: var(--step--1); color: var(--muted); }
.bt-form-privacy { margin: .5rem 0 0; font-size: var(--step--1); color: var(--muted); }

/* --------------------------------------------------------------------------
   19. Call-to-action band (before the footer on every page)
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--blue-800); }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("/images/ocean-aerial.webp") center / cover no-repeat; opacity: .5;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11, 42, 32, .94) 0%, rgba(11, 42, 32, .82) 50%, rgba(14, 79, 99, .72) 100%);
}
.cta-inner { display: grid; gap: 1.75rem; align-items: center; padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); }
.cta-band h2 { color: #fff; max-width: 18ch; margin-bottom: .4em; }
.cta-band p { color: rgba(255, 255, 255, .86); margin-bottom: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
@media (min-width: 64rem) {
  .cta-inner { grid-template-columns: minmax(0, 1.2fr) auto; gap: 3rem; }
  .cta-actions { justify-content: flex-end; }
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--green-950); color: rgba(251, 249, 244, .8); padding: 3.5rem 0 2rem; border-top: 4px solid var(--orange-500); }
.site-footer a { color: #fff; }
.footer-inner { display: grid; gap: 2.25rem; }
.footer-brand .brand { color: #fff; height: auto; margin-bottom: 1rem; }
.footer-brand .brand-sub { color: var(--foam-300); }
.footer-brand p { margin: 0; font-size: var(--step--1); max-width: 34rem; }
.footer-heading { margin: 0 0 .75rem; font-size: var(--step--1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--foam-300); }
.footer-links { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-areas { margin: 0; font-size: var(--step--1); }
.footer-note { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: var(--step--1); color: rgba(251, 249, 244, .7); max-width: none; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; margin-top: 1.25rem; font-size: var(--step--1); color: rgba(251, 249, 244, .7); }
.footer-bottom p { margin: 0; }
.bt-privacy-link { margin: .75rem 0 0; font-size: var(--step--1); }
@media (min-width: 48rem) {
  .footer-inner { grid-template-columns: 1.5fr 1fr 1.2fr; gap: 3rem; }
}

/* --------------------------------------------------------------------------
   21. Sticky "Request a free consultation" bar on phones (no JavaScript)
   -------------------------------------------------------------------------- */
.sticky-cta { display: none; }
@media (max-width: 47.99rem) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 3.5rem; padding: .75rem 1rem;
    padding-bottom: calc(.75rem + env(safe-area-inset-bottom));
    background: var(--green-800); color: #fff;
    font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; text-decoration: none;
    box-shadow: 0 -4px 20px rgba(11, 42, 32, .22);
  }
  .sticky-cta::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--orange-500); }
  .sticky-cta:hover, .sticky-cta:focus-visible { color: #fff; background: var(--green-950); }
  body { padding-bottom: calc(3.5rem + env(safe-area-inset-bottom)); }
}

/* --------------------------------------------------------------------------
   22. Motion (the approved script handles scroll reveals and counters)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .sun { animation: sunrise 1.4s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes sunrise {
    from { opacity: 0; transform: translateY(14%) scale(.92); }
    to { opacity: 1; transform: none; }
  }
}

/* --------------------------------------------------------------------------
   23. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .sticky-cta, .cta-band, .nav-toggle, .skip-link { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  a { color: #000; }
}

/* Privacy page */
.bt-privacy-page { padding: 3rem 0 4rem; }
.bt-privacy-wrap { box-sizing: border-box; width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.bt-privacy { max-width: 46rem; overflow-wrap: break-word; }
.bt-privacy h1 { margin-top: 0; }
.bt-privacy-link { margin: 1rem 0 0; }
