:root {
  --pine: #0b6b4b;
  --pine-deep: #07513a;
  --leaf: #0c8054;
  --sand: #fcf8ef;
  --sand-deep: #f3e9d4;
  --ember: #ffbe0b;
  --ember-deep: #f5a800;
  --ink: #1d2a24;
  --muted: #55645c;
  --white: #ffffff;
  --radius: 14px;
  --radius-large: 22px;
  --shadow: 0 1px 2px rgba(14, 42, 32, 0.06), 0 10px 28px rgba(14, 42, 32, 0.08);
  --shadow-lift: 0 2px 4px rgba(14, 42, 32, 0.08), 0 20px 44px rgba(14, 42, 32, 0.16);
  --wrap: 1180px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* The second water line in the logo */
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 38C160 12 330 12 520 30S900 58 1200 22V60H0Z'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--pine);
  /* Even out line lengths so no heading ends with one word alone */
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--leaf);
}

:focus-visible {
  outline: 3px solid var(--pine-deep);
  outline-offset: 2px;
}

.topbar :focus-visible,
.hero :focus-visible,
.section--pine :focus-visible,
.tile :focus-visible,
.cta :focus-visible,
.stat :focus-visible,
.contact-layout .card :focus-visible,
.footer :focus-visible,
.callbar :focus-visible {
  outline-color: var(--ember);
}

.wrap {
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section--sand {
  background: var(--sand);
}

.section--pine {
  background: var(--pine);
  color: rgba(255, 255, 255, 0.88);
}

.section--pine h2,
.section--pine h3 {
  color: var(--white);
}

.section__intro {
  max-width: 680px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Header: the phone bar scrolls away and the nav stays */
#site-header {
  position: sticky;
  top: -38px;
  z-index: 30;
  min-height: 118px;
}

.topbar {
  background: var(--pine-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--wrap), 100% - 32px);
  min-height: 38px;
  margin-inline: auto;
}

.topbar__phones {
  display: flex;
  gap: 24px;
}

.topbar a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--ember);
}

.nav {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 var(--sand-deep), 0 8px 24px rgba(14, 42, 32, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(var(--wrap), 100% - 32px);
  min-height: 80px;
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pine);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.05;
  white-space: nowrap;
}

.brand img {
  width: 50px;
  height: 50px;
}

.brand small {
  display: block;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-top: 5px;
}

.nav__links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav__links a {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav__links a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--pine);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--pine);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav__toggle span {
  position: relative;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav__toggle span::before {
  top: -7px;
}

.nav__toggle span::after {
  top: 7px;
}

.nav__toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] span::before {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--ember);
  color: var(--pine-deep);
  box-shadow: 0 6px 18px rgba(255, 190, 11, 0.42);
}

.btn--primary:hover {
  background: var(--ember-deep);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn--line {
  border-color: var(--pine);
  color: var(--pine);
}

.btn--line:hover {
  background: var(--pine);
  color: var(--white);
}

.btn--small {
  padding: 10px 18px;
  font-size: 0.92rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero: a full-width photo under a scrim, finished with the logo's water line */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: clamp(480px, 66vh, 660px);
  padding: 88px 0 124px;
  background: var(--pine-deep);
  color: var(--white);
}

.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keeps a house on the right of the image in view on narrow screens */
.hero__img--right {
  object-position: 80% center;
}

/* Keeps a subject low in the image in view */
.hero__img--low {
  object-position: 80% 88%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 58, 41, 0.88) 0%, rgba(5, 58, 41, 0.74) 42%, rgba(5, 58, 41, 0.38) 62%, rgba(5, 58, 41, 0) 80%),
    linear-gradient(0deg, rgba(5, 58, 41, 0.18), transparent 30%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 56px;
  background: var(--after-hero, var(--white));
  -webkit-mask: var(--wave) center / 100% 100% no-repeat;
  mask: var(--wave) center / 100% 100% no-repeat;
}

.hero:has(+ .offer) {
  --after-hero: var(--ember);
}

.hero:has(+ .section--sand) {
  --after-hero: var(--sand);
}

.hero--home {
  min-height: clamp(560px, 84vh, 800px);
}

.hero--compact {
  min-height: 340px;
  padding: 64px 0 104px;
}

.hero--plain {
  min-height: 0;
  padding: 72px 0 104px;
  background:
    repeating-radial-gradient(circle at 88% 120%, transparent 0 46px, rgba(255, 255, 255, 0.05) 46px 48px),
    linear-gradient(135deg, var(--pine-deep), var(--pine) 60%, #0f7d57);
}

.hero--plain::before {
  content: none;
}

.hero h1 {
  max-width: 800px;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.hero__lede {
  max-width: 620px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero__lede a,
.hero__phones a {
  color: var(--white);
}

.hero__eyebrow {
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
}

.hero__phones {
  margin: 22px 0 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero__phones a {
  font-weight: 600;
  white-space: nowrap;
}

.hero__phones + .btn-row {
  margin-top: 24px;
}

.banner {
  background: var(--ember);
  color: var(--pine-deep);
  font-weight: 600;
  text-align: center;
}

.banner p {
  margin: 0;
  padding: 10px 0;
}

.banner a {
  color: inherit;
}

/* Cards */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Two seasonal services up top, four year-round services below */
.grid--services {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.grid--services .card {
  grid-column: span 3;
}

.grid--services .card--feature {
  grid-column: span 6;
}

.grid--services .card--feature .card__img {
  aspect-ratio: 16 / 9;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.grid .card h2 {
  font-size: 1.3rem;
}

.card p {
  color: var(--muted);
}

.card__link {
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
}

/* The non-breaking space keeps the arrow on the same line as the last word */
.card__link::after {
  content: "\00a0\2192";
}

.card--photo {
  overflow: hidden;
  padding: 0;
}

.card--photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

/* Makes the whole card clickable */
.card--photo .card__link::before {
  content: "";
  position: absolute;
  inset: 0;
}

.card__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card--photo:hover .card__img {
  transform: scale(1.04);
}

.card__body {
  position: relative;
  z-index: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
  background: var(--white);
}

/* Area tiles */
.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: 460px;
  padding: 32px;
  border-radius: var(--radius-large);
  background: var(--pine-deep);
  color: var(--white);
  box-shadow: var(--shadow);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(5, 58, 41, 0.96) 20%, rgba(5, 58, 41, 0.74) 55%, rgba(5, 58, 41, 0.04) 85%);
}

.tile__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tile:hover .tile__img {
  transform: scale(1.03);
}

.tile h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.tile p {
  color: rgba(255, 255, 255, 0.9);
}

.tile__phone a {
  color: var(--ember);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
}

/* Text beside a photo */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.split--flip .split__media {
  order: -1;
}

.split__media {
  margin: 0;
}

.split__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-large);
  box-shadow: 14px 14px 0 var(--sand-deep);
}

.section--sand .split__media img {
  box-shadow: 14px 14px 0 var(--white);
}

.section--pine .split__media img {
  box-shadow: 14px 14px 0 rgba(255, 255, 255, 0.12);
}

.split .prose {
  max-width: none;
}

/* Wide photo between sections */
.band {
  margin: 0;
}

.band img {
  display: block;
  width: 100%;
  height: clamp(240px, 40vw, 440px);
  object-fit: cover;
}

.reasons {
  display: grid;
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.reasons li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.reasons svg {
  width: 52px;
  height: 52px;
  padding: 13px;
  background: var(--ember);
  border-radius: 50%;
  fill: none;
  stroke: var(--pine-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.reasons h3 {
  margin-bottom: 2px;
}

.reasons p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 2px 0 26px 58px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pine);
  color: var(--white);
  font-weight: 600;
  line-height: 40px;
  text-align: center;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--sand-deep);
}

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding: 0 0 12px 34px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  background: rgba(12, 128, 84, 0.14);
  border-radius: 50%;
}

.checks li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 6px;
  height: 11px;
  border: solid var(--leaf);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cities li {
  padding: 7px 18px;
  background: var(--sand);
  border-radius: 999px;
  color: var(--pine);
  font-size: 0.95rem;
  font-weight: 500;
}

/* FAQ: heading on the left, answers on the right */
.faq.prose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  column-gap: 48px;
  align-items: start;
  max-width: none;
}

.faq h2 {
  grid-row: 1 / span 12;
  position: sticky;
  top: 100px;
}

.faq details {
  grid-column: 2;
  margin-bottom: 12px;
  background: var(--sand);
  border-radius: var(--radius);
}

.faq summary {
  position: relative;
  padding: 16px 52px 16px 20px;
  color: var(--pine);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  color: var(--leaf);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

/* Closing call to action: concentric rings for a sprinkler's arc */
.cta {
  background:
    repeating-radial-gradient(circle at 50% 150%, transparent 0 58px, rgba(255, 255, 255, 0.045) 58px 60px),
    linear-gradient(135deg, var(--pine-deep), var(--pine) 60%, #0f7d57);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  color: rgba(255, 255, 255, 0.88);
}

.cta .btn-row {
  justify-content: center;
}

.stat {
  padding: 28px;
  background:
    repeating-radial-gradient(circle at 100% 100%, transparent 0 30px, rgba(255, 255, 255, 0.05) 30px 32px),
    var(--pine);
  border-radius: var(--radius);
  color: var(--white);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ember);
}

.stat a {
  color: inherit;
}

.source {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
}

.section__note {
  margin: 28px 0 0;
  color: var(--muted);
}

/* $50 offer: reads like a coupon */
.offer {
  padding: 36px 0;
  background: var(--ember);
  color: var(--pine-deep);
}

.offer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 26px 32px;
  border: 2px dashed rgba(14, 42, 32, 0.45);
  border-radius: var(--radius);
}

.offer h2 {
  margin-bottom: 6px;
  color: var(--pine-deep);
}

.offer p {
  margin: 0;
}

.offer .offer__terms {
  margin-top: 8px;
  font-size: 0.85rem;
}

.offer .btn {
  flex: none;
  background: var(--pine-deep);
  color: var(--white);
}

.offer .btn:hover {
  background: var(--pine);
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.contact-layout aside {
  position: sticky;
  top: 100px;
}

.contact-layout .card {
  background: var(--pine-deep);
  border: 0;
  color: var(--white);
}

.contact-layout .card h2,
.contact-layout .card h3 {
  color: var(--white);
}

.contact-layout .card h3 {
  margin-bottom: 2px;
  font-size: 1.05rem;
}

.contact-layout .card a {
  color: var(--ember);
  font-weight: 600;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.form__full {
  grid-column: 1 / -1;
}

.form label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid #b9b3a3;
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--leaf);
  outline-offset: 1px;
}

.form__status {
  margin: 0;
  font-weight: 600;
}

.form__status:empty {
  display: none;
}

.form__status--error {
  color: #a3271c;
}

.form__status--ok {
  color: var(--leaf);
}

/* Calendly */
.book {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--sand-deep);
}

.book > p {
  max-width: 680px;
  color: var(--muted);
}

.book .btn[aria-pressed="true"] {
  background: var(--pine);
  color: var(--white);
}

.book__frame {
  position: relative;
  height: 720px;
  margin-top: 20px;
}

.book__frame[hidden] {
  display: none;
}

.book__widget,
.book__widget iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.book__loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: var(--sand);
  border-radius: var(--radius);
  text-align: center;
}

.book__loading p {
  max-width: 420px;
  margin: 0;
  color: var(--pine);
  font-weight: 600;
}

.book__bar {
  overflow: hidden;
  width: 220px;
  max-width: 80%;
  height: 6px;
  background: var(--sand-deep);
  border-radius: 999px;
}

.book__bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--ember);
  border-radius: 999px;
  animation: book-bar 1.3s ease-in-out infinite;
}

@keyframes book-bar {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(350%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .book__bar span {
    width: 100%;
    animation: none;
  }

  .btn,
  .card,
  .card__img,
  .tile__img {
    transition: none;
  }

  .btn:hover,
  .card--photo:hover,
  .card--photo:hover .card__img,
  .tile:hover .tile__img {
    transform: none;
  }
}

.prose {
  max-width: 760px;
}

/* Guides */
.article {
  margin-inline: auto;
}

.article h2 {
  margin-top: 1.6em;
}

.article h2:first-child {
  margin-top: 0;
}

.article .stat,
.article .table-wrap {
  margin: 24px 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
}

.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.article th,
.article td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--sand-deep);
  text-align: left;
  vertical-align: top;
}

.article tr:last-child td {
  border-bottom: 0;
}

.article th {
  background: var(--sand);
  color: var(--pine);
}

.article__sources {
  margin-top: 40px;
  padding-top: 8px;
  border-top: 1px solid var(--sand-deep);
  color: var(--muted);
  font-size: 0.92rem;
}

.article__sources h2 {
  margin-top: 0.8em;
  font-size: 1.25rem;
}

.article__sources ul {
  padding-left: 20px;
}

/* Photo credits */
.credits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.credits li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  font-size: 0.92rem;
}

.credits img {
  display: block;
  width: 112px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.credits strong {
  display: block;
  overflow-wrap: anywhere;
}

/* Footer */
.footer {
  position: relative;
  padding: 72px 0 28px;
  background: var(--pine-deep);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
}

.footer__logo {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
}

.footer__crew + .footer__crew {
  margin-top: 20px;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.footer a {
  display: block;
  padding: 3px 0;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer a:hover {
  color: var(--ember);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  width: min(var(--wrap), 100% - 32px);
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
}

.footer__legal a {
  display: inline;
  padding: 0;
}

/* Tap-to-call bar. Lives in each page's HTML so it never depends on includes.js */
.callbar {
  display: none;
}

@media (max-width: 1180px) {
  #site-header {
    top: 0;
    min-height: 72px;
  }

  .topbar {
    display: none;
  }

  .nav__inner {
    gap: 12px;
    min-height: 72px;
  }

  .nav__cta {
    margin-left: auto;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    margin: 0;
    padding: 8px 16px 16px;
    background: var(--white);
    box-shadow: 0 16px 28px rgba(14, 42, 32, 0.16);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--sand-deep);
    font-size: 1.02rem;
  }

  .nav__links a::after {
    content: none;
  }
}

@media (max-width: 1000px) {
  .grid--services .card,
  .grid--services .card--feature {
    grid-column: span 6;
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .offer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid--2,
  .contact-layout,
  .split,
  .credits {
    grid-template-columns: minmax(0, 1fr);
  }

  .split {
    gap: 36px;
  }

  .split__media,
  .split--flip .split__media {
    order: -1;
  }

  .faq.prose {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq h2 {
    grid-row: auto;
    position: static;
  }

  .faq details {
    grid-column: 1;
  }

  .contact-layout aside {
    position: static;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero::before {
    background: linear-gradient(0deg, rgba(5, 58, 41, 0.82), rgba(5, 58, 41, 0.5));
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 64px;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    min-height: 0;
    padding: 56px 0 88px;
  }

  .hero--home {
    min-height: 0;
    padding: 72px 0 96px;
  }

  .hero__lede {
    font-size: 1.08rem;
  }

  .hero::after {
    height: 32px;
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    margin-left: auto;
  }

  .brand {
    font-size: 1.2rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .grid--3,
  .grid--services {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid--services .card,
  .grid--services .card--feature {
    grid-column: auto;
  }

  .grid--services .card--feature .card__img {
    aspect-ratio: 3 / 2;
  }

  .tile {
    min-height: 400px;
    padding: 24px;
  }

  .split__media img {
    box-shadow: 8px 8px 0 var(--sand-deep);
  }

  .form {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }

  .book__frame {
    height: 860px;
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .callbar {
    position: fixed;
    inset: auto 0 0;
    z-index: 20;
    display: flex;
    background: var(--pine-deep);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
  }

  .callbar a {
    flex: 1;
    padding: 15px 6px;
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
  }

  .callbar a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .callbar a.callbar__primary {
    background: var(--ember);
    color: var(--pine-deep);
  }
}
