:root {
  --ink: #1c3034;
  --muted: #5c6f72;
  --sage: #6e9a8a;
  --sage-dark: #174851;
  --clay: #a34c2d;
  --sand: #e7f0ed;
  --cream: #f6faf8;
  --white: #fffefd;
  --line: #cfded9;
  --shadow: 0 22px 70px rgba(23, 72, 81, 0.13);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

:focus-visible { outline: 3px solid #a34c2d; outline-offset: 5px; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 30; padding: 12px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.hero-name { margin-bottom: 12px; color: var(--sage-dark); font-size: 24px; font-weight: 700; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgba(246, 250, 248, 0.88);
  border-bottom: 1px solid rgba(207, 222, 217, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--sage-dark);
  border-radius: 50%;
  font-family: "Lora", serif;
  font-size: 15px;
  font-weight: 600;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: #31484b;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--sage-dark);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: var(--sage-dark);
  box-shadow: 0 10px 28px rgba(23, 72, 81, 0.22);
}

.button.secondary {
  color: var(--sage-dark);
  background: rgba(255, 254, 253, 0.88);
  border-color: rgba(23, 72, 81, 0.22);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(23, 72, 81, 0.24);
}

.button.compact {
  min-height: 40px;
  padding: 10px 16px;
}

.button.full {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.section {
  padding: clamp(70px, 9vw, 112px) clamp(20px, 5vw, 56px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding-top: 150px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(246, 250, 248, 0.9), rgba(246, 250, 248, 0.08) 58%),
    url("assets/peter-lowden-treatment-hero.jpg") center right / min(100vw, 1280px) auto no-repeat;
  background-color: #dfe9e8;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(246, 250, 248, 0.98) 0%, rgba(246, 250, 248, 0.84) 43%, rgba(246, 250, 248, 0.16) 76%),
    linear-gradient(0deg, rgba(246, 250, 248, 1) 0%, rgba(246, 250, 248, 0) 26%);
}

.hero-content,
.split,
.feature-panel,
.section-heading,
.service-grid,
.credentials-card,
.contact,
.site-footer {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-content {
  align-self: center;
  max-width: 720px;
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1,
h2 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
}

h1 {
  max-width: 760px;
  font-size: 56px;
}

h2 {
  font-size: 42px;
}

h3 {
  font-size: 21px;
}

p {
  margin: 0;
}

.hero-lede {
  max-width: 640px;
  margin-top: 26px;
  color: #425b5f;
  font-size: 19px;
}

.hero-actions,
.inline-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-details span {
  padding: 8px 12px;
  color: #365257;
  background: rgba(255, 254, 253, 0.74);
  border: 1px solid rgba(207, 222, 217, 0.8);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.intro,
.services,
.credentials {
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.split.reverse {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
}

.prose p + p {
  margin-top: 18px;
}

.prose,
.quiet,
.feature-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.appointment-form { margin-top: 36px; scroll-margin-top: 95px; }
.appointment-form h3 { font-size: 24px; }
.appointment-form .form-note { margin-top: 12px; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid #9fb7b1; border-radius: 6px; color: var(--ink); background: var(--white); font: inherit; font-size: 16px; }
.form-grid textarea { resize: vertical; }
.form-wide { grid-column: 1 / -1; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0; font-size: 14px; color: var(--muted); }
.form-consent input { flex: 0 0 20px; width: 20px; height: 20px; accent-color: var(--sage-dark); }
.appointment-form button { cursor: pointer; font: inherit; font-weight: 700; }
.request-confirmation { max-width: 800px; margin: 10vh auto; }
.request-confirmation h1 { font-size: 42px; }
.request-confirmation p, .request-confirmation .button { margin-top: 24px; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .request-confirmation h1 { font-size: 32px; }
}

.text-link {
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.feature {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 34px;
  padding: clamp(28px, 5vw, 56px);
  background: transparent;
}

.feature-copy p {
  max-width: 720px;
  margin-top: 20px;
}

.feature-visual {
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(207, 222, 217, 0.9);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 72% center;
}

.feature-stats {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-stats div {
  padding: 22px;
  background: rgba(255, 254, 253, 0.8);
  border: 1px solid rgba(207, 222, 217, 0.92);
  border-radius: var(--radius);
}

.feature-stats strong,
.feature-stats span {
  display: block;
}

.feature-stats strong {
  color: var(--sage-dark);
  font-size: 22px;
}

.feature-stats span {
  margin-top: 6px;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 720px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 240px;
  padding: 26px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card h3 {
  color: var(--sage-dark);
}

.service-card p {
  margin-top: 16px;
  color: var(--muted);
}

.accent-card {
  background: #e0ece9;
  border-color: rgba(23, 72, 81, 0.22);
}

.for-you {
  background:
    linear-gradient(rgba(18, 60, 70, 0.91), rgba(18, 60, 70, 0.91)),
    url("assets/peter-lowden-treatment-hero.jpg") center / cover no-repeat;
  color: var(--white);
}

.for-you .section-kicker {
  color: #efb27f;
}

.for-you .quiet {
  max-width: 560px;
  margin: 22px 0 28px;
  color: rgba(255, 254, 253, 0.78);
}

.condition-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.condition-list li {
  padding: 14px 16px;
  background: rgba(255, 254, 253, 0.1);
  border: 1px solid rgba(255, 254, 253, 0.18);
  border-radius: var(--radius);
  font-weight: 700;
}

.credentials-card {
  padding: clamp(28px, 5vw, 52px);
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.credential-grid span {
  padding: 18px;
  color: #365257;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.contact-copy p {
  max-width: 620px;
  margin-top: 22px;
}

.contact-panel {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-panel p {
  margin-top: 8px;
  color: var(--muted);
}

dl {
  margin: 28px 0 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
  font-weight: 800;
}

.questions-inner { max-width: 900px; margin: auto; }
.questions-inner h2 { margin-bottom: 28px; }
.questions-inner details { border-top: 1px solid var(--line); padding: 20px 0; }
.questions-inner details:last-child { border-bottom: 1px solid var(--line); }
.questions-inner summary { cursor: pointer; font-size: 18px; font-weight: 600; }
.questions-inner details p { margin-top: 14px; color: var(--muted); }
.for-you .button.primary { color: var(--sage-dark); background: var(--white); }
.feature-copy .button { margin-top: 24px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 56px);
  color: #53686b;
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 75px 16px auto 16px;
    display: grid;
    gap: 4px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .split,
  .split.reverse,
  .feature-panel,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .credential-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 870px;
    padding-top: 118px;
    align-items: start;
  }

  .hero-media {
    background-size: auto 50%;
    background-position: center bottom;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(246, 250, 248, 0.99) 0%, rgba(246, 250, 248, 0.96) 54%, rgba(246, 250, 248, 0.38) 100%),
      linear-gradient(0deg, rgba(246, 250, 248, 1) 0%, rgba(246, 250, 248, 0) 24%);
  }

  h1 {
    font-size: 38px;
  }

  h2 { font-size: 31px; }
  .feature-stats { grid-template-columns: 1fr; }
  .brand strong { white-space: normal; }

  .hero-actions,
  .inline-actions,
  .section-heading,
  .site-footer,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .service-grid,
  .credential-grid,
  .condition-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .feature-panel,
  .credentials-card,
  .contact-panel {
    padding: 24px;
  }

  dl div {
    display: block;
  }

  dd {
    margin-top: 4px;
    text-align: left;
  }
}
