@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap");

:root {
  --paper: #f4f1e9;
  --paper2: #ebe6da;
  --ink: #1d2923;
  --muted: #667169;
  --green: #29483a;
  --dark: #183126;
  --light: #dce6dd;
  --line: rgba(29, 41, 35, 0.15);
  --max: 1180px;
  --header: 82px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.72;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 12px 4vw;
  background: rgba(244, 241, 233, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(15px);
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.92rem;
}

.brand-claim {
  color: var(--muted);
  font-size: 0.68rem;
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
}

.main-nav .nav-legal {
  color: var(--muted);
  font-size: 0.7rem;
}

.nav-divider {
  width: 1px;
  height: 22px;
  background: var(--line);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 7px;
}

.container {
  width: min(var(--max), calc(100% - 8vw));
  margin: auto;
}

.narrow {
  max-width: 850px;
  margin: auto;
}

.section-pad,
.section {
  padding: clamp(72px, 9vw, 130px) 0;
}

.hero {
  min-height: calc(100vh - var(--header));
  display: flex;
  align-items: center;
}

.hero-grid,
.about-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(45px, 7vw, 105px);
}

.hero-grid > img,
.image-side img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: 2px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(3.3rem, 6.5vw, 6.7rem);
  letter-spacing: -0.045em;
}

h1 em {
  color: var(--green);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.035em;
  margin: 0 0 28px;
}

h3 {
  font-size: 1.55rem;
}

.rule {
  width: 70px;
  height: 3px;
  background: var(--green);
  margin: 28px 0;
}

.lead {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.prose p {
  margin: 0 0 1.1em;
}

.prose ul {
  padding-left: 1.2rem;
}

.highlight {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--green);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--green);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button-primary {
  background: var(--green);
  color: white;
}

.button-outline {
  color: var(--green);
}

.section-dark {
  background: var(--dark);
  color: white;
}

.section-accent {
  background: var(--light);
}

.light h2 {
  color: white;
}

.hero-grid > *,
.about-grid > *,
.split-grid > * {
  min-width: 0;
}

.slider-track {
  position: relative;
  overflow: hidden;
}

.slide {
  display: none;
}

.slider {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.slider-track {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.slide.is-active {
  display: block;
}

.slide img {
  width: 100%;
  height: 600px;
  object-fit: contain;
  border-radius: 2px;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.slider-controls button {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 0.95rem;
}

.slider-controls button:first-child {
  margin-left: 12px;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex: 1;
}

.slider-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(29, 41, 35, 0.25);
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--green);
}
.section-dark .prose {
  color: rgba(255, 255, 255, 0.9);
}

.goals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.goal {
  padding: clamp(26px, 3.5vw, 44px);
  background: var(--paper);
}

.goal:last-child {
  grid-column: 1 / -1;
}

.goal > span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.goal h3 {
  margin-bottom: 18px;
}

.promise {
  padding-block: clamp(90px, 12vw, 160px);
}

.promise-list {
  margin: 38px 0;
  padding: 28px 0 28px 28px;
  border-left: 3px solid rgba(255, 255, 255, 0.65);
}

.promise-list p {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  line-height: 1.25;
}

.closing {
  background: var(--paper2);
  text-align: center;
}

.closing h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.closing h2 span {
  color: var(--green);
  font-style: italic;
}

.closing-lead {
  max-width: 720px;
  margin: 0 auto 55px;
}

.signature {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
}

.contact-lines {
  display: flex;
  justify-content: center;
  gap: 8px 22px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.contact-lines a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.footer {
  padding: 24px 0;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer a {
  margin-left: 18px;
  color: white;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 820px) {
  :root {
    --header: 70px;
  }

  .site-header {
    padding: 11px 5vw;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .brand-claim {
    font-size: 0.61rem;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .main-nav {
    position: fixed;
    inset: var(--header) 0 auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header));
    padding: 12px 5vw 28px;
    overflow: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-115%);
    opacity: 0;
    visibility: hidden;
    transition: 0.28s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .nav-legal {
    font-size: 0.9rem;
  }

  .nav-divider {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .about-grid,
  .split-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-grid > img,
  .image-side {
    order: 2;
  }

  .hero-copy,
  .about-copy {
    order: 1;
  }

  .image-side img {
    max-height: none;
  }

  .goals {
    grid-template-columns: 1fr;
  }

  .goal:last-child {
    grid-column: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer a {
    margin: 0 9px;
  }
}

@media (max-width: 520px) {
  .container {
    width: 90%;
  }

  .section-pad,
  .section {
    padding: 62px 0;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

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

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .contact-lines {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.appointments {
  width: 100%;
  overflow-x: auto;
}

.appointments-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.appointments-table th,
.appointments-table td {
  padding: 1rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.appointments-table th {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.appointments-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.appointments-table td:nth-child(2),
.appointments-table td:nth-child(3) {
  white-space: nowrap;
}

.appointments-note {
  max-width: 900px;
  margin-top: 2.5rem;
}

.appointments-note p {
  margin-bottom: 1rem;
}

.appointments-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 1.5rem;
}

.appointments-contact a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .appointments-table th,
  .appointments-table td {
    padding: 0.8rem 0.6rem;
  }

  .appointments-table {
    min-width: 680px;
  }

  .appointments-note {
    margin-top: 2rem;
  }

  .appointments-contact {
    flex-direction: column;
    gap: 0.75rem;
  }
}
