:root {
  --paper: #f8f5ef;
  --ink: #121212;
  --muted: #5e5e5e;
  --accent: #0f766e;
  --accent-deep: #115e59;
  --line: rgba(18, 18, 18, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.06), transparent 18%),
    var(--paper);
}

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

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

.hero,
.section,
.footer {
  padding-left: min(5vw, 2rem);
  padding-right: min(5vw, 2rem);
}

.hero {
  min-height: 82vh;
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 32rem);
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0 3rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 11rem;
  height: auto;
  object-fit: contain;
  display: block;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
}

.nav-cta {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.15rem;
  font-weight: 800;
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.3rem, 8vw, 5.8rem);
}

.hero-text,
.section-heading p,
.service-list p,
.steps p,
.booking-form label,
.footer {
  color: var(--muted);
}

.hero-text {
  max-width: 32rem;
  margin: 1.4rem 0 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-image-wrap {
  min-height: 28rem;
  overflow: hidden;
  border-radius: 0.4rem;
  animation: fadeLift 800ms ease-out both;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-deep);
}

.button-secondary {
  border-color: var(--ink);
  color: var(--ink);
}

.section {
  max-width: 72rem;
  margin: 0 auto;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-heading {
  max-width: 46rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 13ch;
}

.section-heading p {
  max-width: 38rem;
  line-height: 1.8;
  font-size: 1.03rem;
}

.services {
  border-top: 1px solid var(--line);
}

.service-list,
.steps {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

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

.service-list article,
.steps article {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.service-list h3,
.steps h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
}

.service-list p,
.steps p {
  margin: 0;
  line-height: 1.7;
}

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

.steps span {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  color: var(--accent);
}

.booking {
  border-top: 1px solid var(--line);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin-top: 2.25rem;
  padding: 0;
}

.booking-form label {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid rgba(18, 18, 18, 0.18);
  background: white;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--ink);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 2px solid rgba(15, 118, 110, 0.22);
  border-color: var(--accent);
}

.full-width {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-status {
  margin: 0;
  min-height: 1.5rem;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: var(--accent-deep);
}

.form-status[data-state="error"] {
  color: #b42318;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.footer > div {
  text-align: center;
  margin: 0 auto;
}

.footer p {
  margin: 0;
}

.footer-logo {
  width: 10rem;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
}

.site-credit {
  margin-top: 0.35rem;
  font-size: 0.85rem;
}

.site-credit a {
  text-decoration: underline;
  text-underline-offset: 0.12rem;
}

.hero-copy,
.section-heading,
.service-list article,
.steps article,
.booking-form {
  animation: fadeLift 700ms ease-out both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-layout,
  .service-list,
  .steps,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 8.5rem;
  }

  .footer-logo {
    width: 8rem;
  }

  .hero-layout {
    padding-top: 2rem;
  }

  .hero-image-wrap {
    min-height: 20rem;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }
  .section,
  .footer {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .booking-form {
    padding: 0;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
