:root {
  --green: #6a7a5b;
  --green-hover: #586a48;
  --green-text: #6b7b5b;
  --sage: #e8efd8;
  --soft: #f7f9f6;
  --accent: #c6da96;
  --white: #ffffff;
  --display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --shadow-green: 0 10px 15px -3px rgb(106 122 91 / 0.2), 0 4px 6px -4px rgb(106 122 91 / 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--green-text);
  background: #f7f9f5;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.text-nowrap {
  white-space: nowrap;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.container {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(12px);
  transition: box-shadow 300ms ease, background 300ms ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgb(106 122 91 / 0.08);
}

.header-inner {
  width: min(100%, 1280px);
  height: 80px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-button {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  color: var(--green);
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.logo {
  display: block;
  width: auto;
  height: 40px;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.desktop-nav button {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0;
  color: rgb(106 122 91 / 0.8);
  font-size: 15px;
  font-weight: 500;
  transition: color 200ms ease;
  white-space: nowrap;
}

.desktop-nav button:hover {
  color: var(--green);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  color: white;
  background: var(--green);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-green);
  transition: transform 250ms ease, background 250ms ease;
  white-space: nowrap;
}

.header-cta:hover,
.button-primary:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.mobile-menu {
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgb(198 218 150 / 0.5);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 24px;
}

.mobile-menu button {
  min-height: 44px;
  padding: 12px 0;
  text-align: left;
  color: var(--green);
  font-size: 18px;
  font-weight: 500;
}

.mobile-menu .mobile-cta {
  margin-top: 16px;
  min-height: 61px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 999px;
  color: white;
  background: var(--green);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg,
.hero-gradient-side,
.hero-gradient-bottom {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient-side {
  background: linear-gradient(to right, rgb(106 122 91 / 0.85), rgb(106 122 91 / 0.55), transparent);
}

.hero-gradient-bottom {
  background: linear-gradient(to top, rgb(106 122 91 / 0.4), transparent, transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 128px 24px 80px;
}

.hero-content {
  max-width: 672px;
}

.hero-kicker {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0 0 24px;
  color: white;
  font-family: var(--display);
  font-size: 36px;
  line-height: 1.25;
  font-weight: 700;
}

.hero h1 span {
  color: var(--accent);
}

.hero-copy {
  max-width: 576px;
  margin: 0 0 40px;
  color: rgb(255 255 255 / 0.85);
  font-size: 18px;
  line-height: 1.6;
}

.hero-copy strong {
  color: white;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 16px 32px;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.55;
  transition: transform 250ms ease, background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.button-light {
  color: var(--green);
  background: white;
  font-weight: 600;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.2), 0 8px 10px -6px rgb(0 0 0 / 0.2);
}

.button-light:hover {
  transform: translateY(-1px);
  background: rgb(255 255 255 / 0.9);
}

.button-outline {
  border: 2px solid rgb(255 255 255 / 0.4);
  color: white;
  font-weight: 500;
}

.button-outline:hover {
  border-color: rgb(255 255 255 / 0.7);
}

.button-primary {
  color: white;
  background: var(--green);
  font-weight: 600;
  box-shadow: var(--shadow-green);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  color: rgb(255 255 255 / 0.6);
  transform: translateX(-50%);
  animation: bob 1.6s ease-in-out infinite;
}

.scroll-cue:hover {
  color: white;
}

@keyframes bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.section {
  padding: 96px 0;
}

.section-sage {
  background: var(--sage);
}

.section-soft {
  background: var(--soft);
}

.section-white {
  background: white;
}

.section-heading {
  margin-bottom: 64px;
}

.section-heading.centered {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.left {
  max-width: 768px;
}

.section-heading.narrow {
  max-width: 768px;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgb(106 122 91 / 0.7);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 14px;
  font-weight: 700;
}

.section-heading h2,
.about-copy h2,
.thanks-card h1 {
  margin: 0 0 24px;
  color: var(--green);
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
}

.section-heading p:not(.eyebrow),
.about-copy > p,
.thanks-card p {
  margin: 0;
  color: rgb(107 123 91 / 0.85);
  font-size: 18px;
  line-height: 1.6;
}

.therapy-list {
  max-width: 620px;
  display: grid;
  gap: 10px;
  margin: 24px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.therapy-list li {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 52px;
  padding: 12px 16px 12px 42px;
  border: 1px solid rgb(106 122 91 / 0.13);
  border-radius: 14px;
  color: var(--green-text);
  background: rgb(255 255 255 / 0.64);
}

.therapy-list li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgb(198 218 150 / 0.22);
}

.therapy-list strong {
  color: var(--green);
  font-size: 16px;
  line-height: 1.35;
}

.therapy-list span {
  color: rgb(107 123 91 / 0.72);
  font-size: 15px;
  line-height: 1.4;
}

.stat-block {
  max-width: 576px;
  margin: 0 auto 64px;
  text-align: center;
}

.stat-number {
  color: var(--green);
  font-family: var(--display);
  font-size: 72px;
  line-height: 1;
  font-weight: 800;
}

.stat-block p {
  margin: 16px 0 0;
  color: rgb(107 123 91 / 0.8);
}

.why-grid {
  display: grid;
  gap: 24px;
}

.why-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.7);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  backdrop-filter: blur(4px);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.why-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgb(106 122 91 / 0.1);
}

.card-icon,
.small-icon,
.image-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--green);
  background: rgb(198 218 150 / 0.5);
}

.why-card h3 {
  margin: 16px 0 8px;
  color: var(--green);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.why-card p {
  flex: 1;
  margin: 0;
  color: rgb(107 123 91 / 0.65);
  font-size: 14px;
  line-height: 1.625;
}

.form-link {
  width: fit-content;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgb(198 218 150 / 0.5);
  color: var(--green);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  transition: background 200ms ease;
}

.form-link:hover {
  background: rgb(198 218 150 / 0.8);
}

.service-grid {
  display: grid;
  gap: 32px;
}

.service-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: rgb(255 255 255 / 0.7);
  box-shadow: 0 10px 15px -3px rgb(106 122 91 / 0.05), 0 4px 6px -4px rgb(106 122 91 / 0.05);
  backdrop-filter: blur(4px);
  transition: box-shadow 400ms ease, transform 400ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 32px rgb(106 122 91 / 0.1);
}

.service-image {
  position: relative;
  height: 224px;
  overflow: hidden;
}

.service-image > img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.service-card:hover .service-image > img,
.gallery-grid figure:hover img {
  transform: scale(1.05);
}

.service-image--einzel > img {
  object-position: 50% 50%;
}

.service-image--gruppe > img {
  object-position: 44% 56%;
}

.service-image--domizil > img {
  object-position: 50% 55%;
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(34 45 30 / 0.02), rgb(34 45 30 / 0.26));
  pointer-events: none;
}

.image-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgb(255 255 255 / 0.9);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  backdrop-filter: blur(8px);
}

.service-brand {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgb(255 255 255 / 0.75);
  border-radius: 18px;
  background: rgb(255 255 255 / 0.9);
  box-shadow: 0 12px 26px rgb(35 50 29 / 0.16);
  backdrop-filter: blur(10px);
  color: var(--green);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.service-brand img {
  flex: 0 0 auto;
  width: auto;
  height: 30px;
  max-width: 120px;
  object-fit: contain;
}

.service-brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-body {
  padding: 32px;
}

.service-body h3 {
  margin: 0 0 12px;
  color: var(--green);
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.service-body p {
  margin: 0;
  color: rgb(107 123 91 / 0.65);
  font-size: 16px;
  line-height: 1.625;
}

blockquote {
  margin: 24px 0 0;
  padding: 0 0 0 16px;
  border-left: 4px solid var(--accent);
  border-radius: 0;
  background: transparent;
  color: rgb(106 122 91 / 0.8);
  font-size: 14px;
  line-height: 1.625;
  font-style: italic;
}

blockquote footer {
  margin-top: 8px;
  color: rgb(106 122 91 / 0.6);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.center-action {
  margin-top: 64px;
  text-align: center;
}

.about-grid {
  display: grid;
  gap: 64px;
  align-items: center;
}

.portrait-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgb(106 122 91 / 0.1);
}

.portrait-wrap::before,
.portrait-wrap::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 24px;
}

.portrait-wrap::before {
  width: 80px;
  height: 80px;
  top: -16px;
  left: -16px;
  background: rgb(106 122 91 / 0.1);
}

.portrait-wrap::after {
  width: 128px;
  height: 128px;
  right: -16px;
  bottom: -16px;
  background: rgb(198 218 150 / 0.4);
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-copy .subtitle {
  margin: -8px 0 24px;
  color: rgb(106 122 91 / 0.75);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
}

.about-copy > p + p {
  margin-top: 24px;
}

.values-list {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.values-list article,
.info-list article {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.small-icon {
  width: 44px;
  height: 44px;
}

.values-list h3,
.info-list h3 {
  margin: 0;
  color: var(--green);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
}

.values-list p,
.info-list p {
  margin: 4px 0 0;
  color: rgb(107 123 91 / 0.75);
  font-size: 16px;
  line-height: 1.6;
}

.vita-grid {
  display: grid;
  gap: 48px;
}

.vita-panel {
  min-width: 0;
}

.vita-heading {
  margin-bottom: 80px;
}

.vita-intro {
  max-width: 768px;
  margin: 0 auto 80px;
}

.vita-intro-card {
  padding: 32px;
  border-radius: 24px;
  background: rgb(255 255 255 / 0.7);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  backdrop-filter: blur(4px);
}

.vita-intro-card p {
  margin: 0;
  color: rgb(106 122 91 / 0.8);
  font-size: 18px;
  line-height: 1.625;
}

.vita-title {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}

.vita-title .card-icon {
  width: 44px;
  height: 44px;
  color: white;
  background: var(--green);
}

.vita-title h3 {
  margin: 0;
  color: var(--green);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.33;
  font-weight: 700;
}

.timeline,
.education-grid {
  display: grid;
}

.timeline {
  position: relative;
  gap: 28px;
  padding-left: 24px;
  border-left: 2px solid rgb(198 218 150 / 0.65);
}

.timeline div {
  position: relative;
}

.timeline div::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -31px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--soft);
}

.timeline time {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.timeline p {
  margin: 0;
  color: rgb(107 123 91 / 0.8);
  font-size: 16px;
  line-height: 1.625;
}

.education-grid {
  gap: 16px 24px;
}

.education-grid div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.education-grid time {
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--green);
  background: rgb(198 218 150 / 0.5);
  font-size: 11px;
  line-height: 1.6;
  font-weight: 600;
  white-space: nowrap;
}

.education-grid p {
  margin: 0;
  color: rgb(107 123 91 / 0.75);
  font-size: 15px;
  line-height: 1.45;
}

.gallery-grid {
  display: grid;
  gap: 16px;
}

.gallery-grid figure {
  position: relative;
  min-height: 240px;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}

.gallery-grid .gallery-large {
  min-height: 436px;
}

.gallery-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(106 122 91 / 0);
  transition: background 500ms ease;
}

.gallery-grid figure:hover::after {
  background: rgb(106 122 91 / 0.1);
}

.contact-grid {
  display: grid;
  gap: 48px;
}

.contact-form {
  display: grid;
  gap: 24px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--green);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgb(106 122 91 / 0.18);
  border-radius: 16px;
  padding: 16px 18px;
  color: var(--green-text);
  background: white;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgb(198 218 150 / 0.28);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .button {
  width: fit-content;
  margin-top: 0;
  border: 0;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-error {
  margin: -8px 0 0;
  color: #9b3d2f;
  font-size: 14px;
  line-height: 1.5;
}

.form-error--success {
  color: var(--green);
}

.form-note {
  max-width: 520px;
  margin: -10px 0 0;
  color: rgb(107 123 91 / 0.68);
  font-size: 14px;
  line-height: 1.5;
}

.info-list {
  display: grid;
  gap: 24px;
}

.info-list a {
  color: var(--green);
  text-decoration: none;
}

.info-list a:hover {
  text-decoration: underline;
}

.contact-value,
.desktop-contact-value {
  color: var(--green);
}

.mobile-contact-link {
  display: none;
}

.site-footer .desktop-contact-value,
.site-footer .contact-value {
  color: rgb(255 255 255 / 0.6);
}

.site-footer .mobile-contact-link {
  color: rgb(255 255 255 / 0.6);
}

@media (max-width: 767px) {
  .desktop-contact-value {
    display: none;
  }

  .mobile-contact-link {
    display: inline-flex;
    width: auto;
    min-height: 0;
    align-items: center;
    color: var(--green);
    text-decoration: none;
  }
}

.static-map {
  --map-pin-x: 517.37px;
  --map-pin-y: 339.34px;
  --map-tile-left: clamp(calc(100% - 1024px), calc(50% - var(--map-pin-x)), 0px);
  --map-zoom: 1;
  position: relative;
  height: 256px;
  margin-top: 32px;
  overflow: hidden;
  border-radius: 16px;
  background: #ddd;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.map-tiles {
  position: absolute;
  left: var(--map-tile-left);
  top: calc(50% - 256px);
  width: 1024px;
  height: 512px;
  display: grid;
  grid-template-columns: repeat(4, 256px);
  transform: scale(var(--map-zoom));
  transform-origin: var(--map-pin-x) var(--map-pin-y);
  transition: transform 220ms ease;
  will-change: transform;
}

.map-tiles img {
  width: 256px;
  height: 256px;
}

.map-controls {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  width: 34px;
  overflow: hidden;
  border: 2px solid rgb(0 0 0 / 0.2);
  border-radius: 4px;
  background: white;
  font: 700 18px/30px Arial, Helvetica, sans-serif;
  text-align: center;
  color: #000;
}

.map-controls button {
  display: block;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  color: #000;
  background: white;
  text-align: center;
  font: inherit;
  cursor: pointer;
}

.map-controls button:hover {
  background: #f3f4ef;
}

.map-controls button:disabled {
  color: #999;
  cursor: default;
}

.map-controls button + button {
  border-top: 1px solid #ccc;
}

.map-marker {
  position: absolute;
  z-index: 2;
  left: calc(var(--map-tile-left) + var(--map-pin-x));
  top: calc(50% - 256px + var(--map-pin-y));
  width: 26px;
  height: 26px;
  border: 3px solid white;
  border-radius: 999px 999px 999px 0;
  background: #c94b33;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.25);
  transform: translate(-50%, -100%) rotate(-45deg);
}

.map-marker::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: white;
}

.map-address-card {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--green);
  background: rgb(255 255 255 / 0.92);
  box-shadow: 0 8px 20px rgb(35 50 29 / 0.16);
  font-size: 12px;
  line-height: 1.3;
}

.map-address-card strong {
  font-size: 13px;
}

.map-attribution {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0 5px;
  color: #333;
  background: rgb(255 255 255 / 0.8);
  font: 12px/17px Arial, Helvetica, sans-serif;
}

.site-footer {
  background: var(--green);
  color: white;
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.footer-brand img {
  display: block;
  width: min(190px, 100%);
  height: auto;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.94);
  filter: none;
}

.footer-brand p {
  max-width: 280px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 0.7);
  font-size: 16px;
  line-height: 1.6;
}

.site-footer h2 {
  margin: 0 0 20px;
  color: white;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

.site-footer button,
.site-footer a,
.site-footer p {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  color: rgb(255 255 255 / 0.6);
  text-align: left;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  transition: color 200ms ease;
}

.site-footer button:hover,
.site-footer a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

.footer-bottom p {
  min-height: 0;
  color: rgb(255 255 255 / 0.5);
  font-size: 14px;
}

.site-footer .mobile-contact-link {
  display: none;
  width: auto;
  min-height: 0;
  padding: 0;
}

@media (max-width: 767px) {
  .site-footer .mobile-contact-link {
    display: inline-flex;
  }
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(35 50 29 / 0.45);
  backdrop-filter: blur(6px);
}

.legal-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 34px;
  border-radius: 24px;
  color: var(--green-text);
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 24px 70px rgb(35 50 29 / 0.22);
  scrollbar-color: rgb(106 122 91 / 0.35) transparent;
}

.legal-modal-panel h2 {
  margin: 0 0 20px;
  color: var(--green);
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.2;
}

.legal-modal-panel p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.65;
}

.legal-modal-panel h3 {
  margin: 26px 0 8px;
  color: var(--green);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.35;
}

.legal-modal-panel h2 + h3,
.legal-modal-panel .eyebrow + h2 + h3 {
  margin-top: 0;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--green);
  background: rgb(198 218 150 / 0.35);
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: 0 0 auto;
  color: currentColor;
  background-color: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.icon-menu {
  width: 24px;
  height: 24px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16M4 6h16M4 18h16'/%3E%3C/svg%3E");
}

.icon-x {
  width: 24px;
  height: 24px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

.icon-phone {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.18 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.77.62 2.61a2 2 0 0 1-.45 2.11L8 9.7a16 16 0 0 0 6.3 6.3l1.26-1.27a2 2 0 0 1 2.11-.45c.84.29 1.72.5 2.61.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.icon-arrow-down {
  width: 24px;
  height: 24px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M19 12l-7 7-7-7'/%3E%3C/svg%3E");
}

.icon-heart {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M19 14c1.5-1.5 3-3.2 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.8 0-3 .5-4.5 2-1.5-1.5-2.7-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4 3 5.5l7 7Z'/%3E%3C/svg%3E");
}

.icon-sparkle {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m12 3-1.9 5.8L4 11l6.1 2.2L12 19l1.9-5.8L20 11l-6.1-2.2Z'/%3E%3C/svg%3E");
}

.icon-leaf {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M11 20A7 7 0 0 1 4 13c0-6 8-10 16-10 0 8-4 16-10 16a7 7 0 0 1-3.5-.9M4 21c4-4 7-7 13-10'/%3E%3C/svg%3E");
}

.icon-file {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E");
}

.icon-user {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2M12 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8'/%3E%3C/svg%3E");
}

.icon-users {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.icon-home {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m3 10 9-7 9 7v10a2 2 0 0 1-2 2h-4v-7H9v7H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
}

.icon-badge {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 15a6 6 0 1 0 0-12 6 6 0 0 0 0 12M9 14l-1 8 4-2 4 2-1-8'/%3E%3C/svg%3E");
}

.icon-hands {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M7 11V5a2 2 0 0 1 4 0v6M11 9V4a2 2 0 0 1 4 0v7M15 11V6a2 2 0 0 1 4 0v8a7 7 0 0 1-7 7h-1a6 6 0 0 1-6-6v-3a2 2 0 0 1 4 0v2'/%3E%3C/svg%3E");
}

.icon-briefcase {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16M2 9h20v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
}

.icon-graduation {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M22 10 12 5 2 10l10 5 10-5Z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5M22 10v6'/%3E%3C/svg%3E");
}

.icon-map {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 10c0 4.5-8 12-8 12S4 14.5 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.icon-mail {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E");
}

.icon-calendar {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M8 2v4M16 2v4M3 10h18M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E");
}

.icon-send {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E");
}

.thanks-page {
  min-height: 100vh;
  background: var(--sage);
}

.thanks-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
}

.thanks-logo {
  position: absolute;
  top: 24px;
  left: 24px;
}

.thanks-logo img {
  display: block;
  width: auto;
  height: 40px;
}

.thanks-card {
  width: min(100%, 640px);
  padding: 40px;
  border-radius: 24px;
  background: rgb(255 255 255 / 0.78);
  box-shadow: 0 20px 50px rgb(106 122 91 / 0.12);
  text-align: center;
}

.thanks-card .button {
  margin-top: 32px;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.16;
  }

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

  .education-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 16px;
  }
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 24px;
    min-height: 1070px;
  }

  .gallery-grid figure {
    min-height: 0;
  }

  .gallery-grid .gallery-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 0;
  }

  .gallery-grid figure:not(.gallery-large) {
    min-height: 0;
  }
}

@media (min-width: 1024px) {
  .container,
  .header-inner,
  .hero-inner {
    padding-left: 32px;
    padding-right: 32px;
  }

  .desktop-nav,
  .header-cta {
    display: flex;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .hero {
    min-height: 100vh;
  }

  .hero h1 {
    font-size: 60px;
    line-height: 1;
  }

  .hero-copy {
    font-size: 20px;
  }

  .scroll-cue {
    display: flex;
  }

  .section {
    padding: 128px 0;
  }

  .section-heading h2 {
    font-size: 48px;
    line-height: 1;
  }

  .about-copy h2 {
    font-size: 36px;
    line-height: 1.25;
  }

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

  .about-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px;
  }

  .contact-grid {
    gap: 64px;
  }

  .vita-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
  }

  .static-map {
    height: 288px;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .vita-intro-card {
    padding: 40px;
  }
}

@media (min-width: 1280px) {
  .hero-inner {
    padding-top: 128px;
    padding-bottom: 80px;
  }
}

@media (max-width: 420px) {
  body {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-content {
    max-width: 327px;
  }

  .service-body,
  .thanks-card {
    padding: 32px;
  }
}
