:root {
  --ink: #17211d;
  --muted: #5f6f68;
  --paper: #fbfaf6;
  --soft: #eef2ed;
  --sage: #5d7f6e;
  --pine: #254c42;
  --blue: #2f6f8f;
  --clay: #bc7458;
  --line: rgba(23, 33, 29, 0.14);
  --shadow: 0 24px 80px rgba(21, 37, 31, 0.15);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

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

body.nav-open {
  overflow: hidden;
}

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

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

.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;
}

.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: 18px clamp(18px, 4vw, 48px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.95);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  padding-block: 12px;
}

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

.brand-logo {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(12, 24, 20, 0.16);
}

.site-header.is-scrolled .brand-logo {
  width: clamp(124px, 13vw, 168px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 200px clamp(20px, 6vw, 72px) 64px;
  isolation: isolate;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 36, 32, 0.82), rgba(18, 36, 32, 0.46) 42%, rgba(18, 36, 32, 0.08)),
    linear-gradient(0deg, rgba(18, 36, 32, 0.35), rgba(18, 36, 32, 0.05));
}

.hero-content {
  max-width: 720px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c9b8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(3rem, 8vw, 6.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

.hero-content p:not(.eyebrow) {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--ink);
  background: #fff;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 64px);
  scroll-margin-top: 184px;
}

.section-grid,
.section-heading,
.visit-section,
.contact-layout {
  max-width: var(--max);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.copy-block p,
.section-heading p,
.visit-copy p,
.contact-layout p {
  color: var(--muted);
  font-size: 1.05rem;
}

.copy-block p:first-child,
.section-heading p,
.visit-copy p,
.practitioner-copy p,
.contact-layout p {
  margin-top: 22px;
}

.intro-band {
  background: var(--paper);
}

.practitioner-section {
  background: #eef2ed;
}

.practitioner-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.portrait-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #fff;
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(23, 33, 29, 0.12);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
}

.practitioner-copy {
  max-width: 660px;
}

.practitioner-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principles article {
  min-height: 290px;
  padding: clamp(24px, 4vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fffdf9;
}

.principle-number {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-weight: 800;
}

.principles p {
  margin: 14px 0 0;
  color: var(--muted);
}

.services-band {
  background: var(--pine);
  color: #fff;
}

.services-band .section-heading p {
  color: #f0cbbb;
}

.focus-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.2);
}

.focus-list span {
  min-height: 104px;
  display: flex;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.05rem;
  font-weight: 700;
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}

.visit-copy h2 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.visit-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.visit-details div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.visit-details strong,
.visit-details span {
  display: block;
}

.visit-details span {
  margin-top: 8px;
  color: var(--muted);
}

.map-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.map-panel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  min-width: min(280px, calc(100% - 40px));
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.map-card small {
  color: var(--muted);
}

.map-link {
  width: fit-content;
  margin-top: 10px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.map-link:hover {
  text-decoration: underline;
}

.map-pin {
  width: 18px;
  height: 18px;
  margin-bottom: 6px;
  border-radius: 50% 50% 50% 0;
  background: var(--clay);
  transform: rotate(-45deg);
}

.contact-band {
  background: #e9eee8;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.contact-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card a {
  display: grid;
  gap: 4px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-card a:last-child {
  border-bottom: 0;
}

.contact-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-card strong {
  color: var(--pine);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.74);
  background: #17211d;
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 142px;
  }

  .section {
    scroll-margin-top: 142px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 80px 16px auto;
    display: grid;
    gap: 0;
    padding: 8px;
    color: var(--ink);
    background: rgba(251, 250, 246, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    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: 14px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 116px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 36, 32, 0.86), rgba(18, 36, 32, 0.52)),
      linear-gradient(0deg, rgba(18, 36, 32, 0.42), rgba(18, 36, 32, 0.05));
  }

  .section-grid,
  .practitioner-layout,
  .visit-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .portrait-frame {
    max-width: 520px;
  }

  .practitioner-copy {
    order: -1;
  }

  .principles,
  .focus-list {
    grid-template-columns: 1fr;
  }

  .principles article {
    min-height: auto;
  }

  .principle-number {
    margin-bottom: 28px;
  }

  .visit-details {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: 138px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero {
    min-height: 94vh;
  }

  h1 {
    font-size: clamp(2.55rem, 16vw, 4.2rem);
  }
}
