:root {
  --bg: #e4d6c5;
  --accent: #9a4214;

  --container-width: 70rem;
  --spacing: clamp(1rem, 2vw, 2rem);

  --mountain-height: 125px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inria Serif", serif;
  background: var(--bg);
  color: #222;
  line-height: 1.6;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
}

h2 {
  margin-top: 3rem;
}

.hero {
  position: relative;
}

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

.mountain-divider {
  position: absolute;
  bottom: -1px;
  left: 0;

  width: 100%;
  height: var(--mountain-height);
  display: block;
}

.container {
  width: min(calc(100% - 2rem), var(--container-width));

  margin-inline: auto;
  padding-bottom: 2rem;
}

.container p {
  max-width: 75ch;
}

.split {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.profile-image,
.appointment-image {
  width: 320px;
  flex-shrink: 0;
}

.footer {
  margin-top: 6rem;
  background-color: var(--accent);
}

.footer-content {
  background-color: var(--accent);
  color: var(--bg);
  margin-top: -2px;
}

.mountain-divider-footer {
  position: static;
  display: block;
  width: 100%;
  height: var(--mountain-height);
  background-color: var(--bg);
}

@media (max-width: 768px) {
  :root {
    --mountain-height: 60px;
  }
  .hero-img {
    height: 45vh;
  }

  .split {
    flex-direction: column;
  }

  .profile-image,
  .appointment-image {
    width: 100%;
  }

  .container {
    width: min(95%, var(--container-width));
  }
}
