html {
  font-size: 16px;
}

:root {
  --dark-green: #064240;
  --green: #739e6f;
  --teal: #287d80;
  --cream: #e2d8c5;
  --frame: min(73.75rem, calc(100% - 7.5rem));
}

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

body {
  margin: 0;
  background: #fff;
  color: var(--dark-green);
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
}

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

p {
  margin: 0 0 1.375rem;
}

a {
  color: var(--green);
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.2s ease;
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 0.125rem solid var(--teal);
  outline-offset: 0.1875rem;
}

.accent {
  color: var(--green);
  font-weight: 700;
}

.site-header {
  position: relative;
  height: 16.25rem;
  overflow: hidden;
  background: var(--dark-green);
}

.site-header__inner {
  position: relative;
  height: 100%;
}

.logo {
  position: absolute;
  top: 3.625rem;
  left: max(3.75rem, calc((100% - var(--frame)) / 2));
  width: 16.25rem;
  height: auto;
}

.header-leaf {
  position: absolute;
  top: -1.75rem;
  right: 0;
  width: min(42.5rem, 48vw);
  height: auto;
  pointer-events: none;
}

.content {
  display: grid;
  grid-template-columns: minmax(17.5rem, 21.25rem) minmax(0, 1fr);
  column-gap: clamp(2.5rem, 5vw, 5rem);
  width: var(--frame);
  margin: 3.5rem auto 6rem;
}

.intro {
  grid-column: 2;
  grid-row: 1;
}

.booking {
  grid-column: 1;
  grid-row: 1;
}

h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
}

.tagline {
  margin: 0.5rem 0 1.75rem;
  color: var(--green);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.35;
}

.services-intro {
  margin-bottom: 0.5rem;
}

.services {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.services li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem 0.3rem;
  line-height: 1.4;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.services svg {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  color: var(--green);
}

.signature {
  position: relative;
  display: inline-block;
  margin: 1.25rem 0 0;
  color: var(--teal);
  font-family: Licorice, cursive;
  font-size: 4.5rem;
  line-height: 0.8;
  transform: rotate(-4.8deg);
  transform-origin: left center;
}

.signature span {
  position: absolute;
  top: 0.55em;
  left: 0.78em;
}

.booking__label {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.booking__phone {
  margin: 0.375rem 0 0.5rem;
  color: var(--dark-green);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.2;
}

.booking__phone a {
  font-size: inherit;
  font-weight: 300;
}

.booking__email {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}

.photo {
  width: 100%;
  aspect-ratio: 234 / 197;
  margin: 2.25rem 0 0;
  overflow: hidden;
  border-radius: 1.125rem;
}

.photo img {
  display: block;
  width: 126.67%;
  max-width: none;
  height: 100%;
  margin-left: -6.11%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  :root {
    --frame: min(73.75rem, calc(100% - 4rem));
  }

  .site-header {
    height: 12.5rem;
  }

  .logo {
    top: 2.9rem;
    left: max(2rem, calc((100% - var(--frame)) / 2));
    width: 12.75rem;
  }

  .content {
    grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
    column-gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  h1 {
    font-size: 2.15rem;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 1rem;
  }

  .site-header {
    height: 9.25rem;
  }

  .logo {
    top: 2.125rem;
    left: 1.5rem;
    width: 10rem;
  }

  .header-leaf {
    top: -1.875rem;
    right: -2.5rem;
    width: 17.5rem;
  }

  .content {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2.25rem;
    width: auto;
    margin: 0;
    padding: 2rem 1.5rem 4.5rem;
  }

  .intro,
  .booking {
    grid-column: 1;
    grid-row: auto;
  }

  .booking {
    order: -1;
    padding-bottom: 2rem;
    border-bottom: 1px solid color-mix(in srgb, var(--green) 50%, transparent);
  }

  h1 {
    font-size: 1.8rem;
    line-height: 1.25;
  }

  .tagline {
    font-size: 1.125rem;
  }

  .booking__label,
  .booking__email {
    font-size: 1rem;
  }

  .booking__phone {
    font-size: 1.8rem;
  }

  .photo {
    display: none;
  }

  .signature {
    font-size: 3.75rem;
  }
}
