:root {
  --ink: #18231f;
  --muted: #5d6a64;
  --paper: #f7f4ed;
  --surface: #ffffff;
  --sage: #718775;
  --moss: #2d473d;
  --clay: #bd765d;
  --blue: #587487;
  --line: rgba(24, 35, 31, 0.14);
  --shadow: 0 22px 70px rgba(24, 35, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 17px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: white;
  background: rgba(45, 71, 61, 0.92);
  backdrop-filter: blur(18px);
}

.site-header.light {
  color: var(--ink);
  border-bottom-color: var(--line);
  background: rgba(247, 244, 237, 0.92);
}

.brand,
.nav,
.hero-actions,
.footer div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: currentColor;
  font-size: 0.78rem;
  opacity: 0.72;
}

.nav {
  gap: clamp(14px, 2.6vw, 30px);
  justify-content: center;
  font-size: 0.94rem;
}

.nav a {
  opacity: 0.78;
}

.nav a:hover,
.nav a[aria-current="page"] {
  opacity: 1;
}

.nav a[aria-current="page"] {
  font-weight: 800;
}

.header-action {
  justify-self: end;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 800;
}

.hero {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.hero-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  min-height: calc(100vh - 78px);
  background:
    radial-gradient(circle at 82% 24%, rgba(88, 116, 135, 0.18), transparent 32%),
    linear-gradient(135deg, #f7f4ed 0%, #efe8dc 52%, #e7eee9 100%);
}

.hero-copy {
  max-width: 850px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.5vw, 6.35rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.lead {
  max-width: 700px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.34rem);
}

.lead.dark {
  color: var(--muted);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

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

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.portrait-card {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 38%;
}

.portrait-card img.landing-portrait {
  object-position: center top;
}

.portrait-card figcaption {
  display: grid;
  gap: 4px;
  padding: 22px;
}

.portrait-card span,
.copy p,
.topics p,
.detail-grid p,
.cards-list p,
.section-heading p,
.form-note,
.contact-card span {
  color: var(--muted);
}

.notice {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 72px) 58px;
}

.notice p {
  margin: 0;
  padding: 20px 22px;
  border-left: 4px solid var(--clay);
  border-radius: 8px;
  background: var(--surface);
}

.section,
.page-hero,
.cta,
.footer {
  padding-inline: clamp(18px, 5vw, 72px);
}

.section {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.page {
  min-height: 72vh;
}

.page-hero {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: clamp(70px, 10vw, 124px);
  padding-bottom: clamp(50px, 8vw, 96px);
}

.page-hero.narrow {
  max-width: 980px;
}

.pricing-hero {
  padding-bottom: 28px;
}

.pricing-hero h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.two-col,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(32px, 7vw, 98px);
  align-items: start;
}

.two-col h2 {
  max-width: 17ch;
  font-size: clamp(1.9rem, 3.2vw, 3.15rem);
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.copy p {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.muted {
  max-width: none;
  background: #ffffff;
}

.muted > * {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.topics,
.detail-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.topics article,
.detail-grid article,
.steps article,
.faq-list article,
.cards-list article,
.contact-form,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.topics article {
  min-height: 230px;
  padding: 28px;
}

.topics span,
.steps span {
  display: block;
  margin-bottom: 36px;
  color: var(--blue);
  font-weight: 900;
}

.steps article {
  min-height: 250px;
  padding: 28px;
}

.steps p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding-top: clamp(58px, 9vw, 92px);
  padding-bottom: clamp(58px, 9vw, 92px);
  color: white;
  background: var(--moss);
}

.cta h2 {
  max-width: 780px;
}

.cta .section-kicker {
  color: #f0b7a3;
}

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

.profile-image {
  width: min(420px, 100%);
  justify-self: end;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.practice-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}

.practice-preview p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
}

.practice-preview img,
.practice-photos img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.practice-preview img {
  aspect-ratio: 4 / 3;
}

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

.practice-gallery img:first-child {
  aspect-ratio: 4 / 3;
}

.practice-gallery img:nth-child(2) {
  aspect-ratio: 16 / 9;
}

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

.photo-options figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.photo-options img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 38%;
}

.photo-options figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.cards-list {
  display: grid;
  gap: 18px;
}

.cards-list article {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  padding: clamp(24px, 4vw, 38px);
}

.cards-list h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.cards-list p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid article {
  min-height: 170px;
  padding: 30px;
  box-shadow: 0 16px 50px rgba(24, 35, 31, 0.08);
}

.detail-grid p {
  margin-bottom: 0;
  color: var(--moss);
  font-size: 1.28rem;
  font-weight: 850;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(360px, 1fr);
  gap: clamp(32px, 7vw, 98px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list article {
  padding: 24px;
}

.faq-list h3 {
  margin-bottom: 8px;
}

.crisis-note {
  padding-top: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form .consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted-text);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.contact-form .consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf6;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: clamp(24px, 4vw, 34px);
  font-style: normal;
}

.contact-card a {
  width: fit-content;
  margin: 12px 0;
  color: var(--moss);
  font-size: 1.45rem;
  font-weight: 900;
}

.map-wrap {
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #dfe8df;
  aspect-ratio: 16 / 7;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--moss);
  font-weight: 900;
}

.transit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto 26px;
}

.transit-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.transit-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.transit-note {
  max-width: 1320px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 0.98rem;
}

.practice-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1320px;
  margin: 34px auto 0;
}

.practice-photos img {
  aspect-ratio: 4 / 3;
}

.footer {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.footer div {
  gap: 22px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-action {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-profile,
  .two-col,
  .contact-layout,
  .cards-list article,
  .cta,
  .practice-preview,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .portrait-card,
  .profile-image {
    max-width: 520px;
    justify-self: start;
  }

  .topics,
  .detail-grid,
  .steps,
  .transit-grid,
  .photo-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .header-action {
    padding: 9px 14px;
  }

  .nav {
    gap: 18px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 3.05rem;
  }

  .hero {
    padding-top: 48px;
  }

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

  .topics,
  .detail-grid,
  .steps,
  .transit-grid,
  .photo-options,
  .practice-photos {
    grid-template-columns: 1fr;
  }

  .topics article,
  .detail-grid article,
  .steps article {
    min-height: auto;
    padding: 24px;
  }

  .map-wrap {
    aspect-ratio: 1 / 1;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .footer div {
    flex-wrap: wrap;
  }
}
