:root {
  --background: #f4f7f6;
  --ink: #12201c;
  --foreground: #1a2421;
  --mist: #e6eeeb;
  --lagoon: #0f6e56;
  --lagoon-deep: #0a4f3d;
  --muted: #4a5c55;
  --border: #c5d4cd;
  --white: #ffffff;
  --display: "Syne", sans-serif;
  --body: "Source Sans 3", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--foreground);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgb(15 110 86 / 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgb(61 122 106 / 0.1), transparent 50%),
    linear-gradient(180deg, #f7faf9 0%, #f4f7f6 40%, #eef3f1 100%);
}

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

img {
  max-width: 100%;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.brand-nav {
  font-family: var(--display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.9);
}

.nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.8);
}

.nav a:hover,
.brand-nav:hover {
  color: #fff;
}

.nav-cta {
  border: 1px solid rgb(255 255 255 / 0.35);
  background: rgb(255 255 255 / 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 0.375rem;
  color: #fff !important;
}

.nav-hide-sm,
.nav-hide-md {
  display: none;
}

@media (min-width: 640px) {
  .nav-hide-sm {
    display: inline;
  }
}

@media (min-width: 768px) {
  .nav-hide-md {
    display: inline;
  }
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken 22s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(10 28 24 / 0.55) 0%,
    rgb(10 28 24 / 0.35) 38%,
    rgb(10 28 24 / 0.78) 100%
  );
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgb(18 32 28 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(18 32 28 / 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mix-blend-mode: soft-light;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 7rem 0 4rem;
}

.brand-hero {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-line {
  width: 6rem;
  height: 1px;
  margin-top: 1.25rem;
  background: color-mix(in srgb, var(--lagoon) 70%, white);
  transform-origin: left;
  animation: line 1.2s ease-out 0.5s both;
}

.hero h1 {
  margin: 1.5rem 0 0;
  max-width: 40rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 600;
  line-height: 1.25;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero-lead {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.85);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.36s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--lagoon);
  color: #f4fbf8;
}

.btn-primary:hover {
  background: var(--lagoon-deep);
}

.btn-ghost {
  border-color: rgb(255 255 255 / 0.4);
  color: #fff;
  background: transparent;
}

.btn-ghost:hover {
  background: rgb(255 255 255 / 0.1);
}

.btn-outline {
  border-color: var(--border);
  background: transparent;
  color: var(--ink);
}

.section {
  border-top: 1px solid rgb(197 212 205 / 0.7);
  padding: 5rem 0;
}

.section-mist {
  position: relative;
  background: color-mix(in srgb, var(--mist) 70%, white);
}

.section-mist::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgb(18 32 28 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(18 32 28 / 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.section-mist > .wrap {
  position: relative;
}

.eyebrow {
  margin: 0;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lagoon);
}

h2 {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.offer-grid,
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .offer-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

.prose {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.prose p {
  margin: 0 0 1.25rem;
}

.steps {
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.steps span {
  font-family: var(--display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--lagoon);
}

.steps h3,
.services h3 {
  margin: 0.75rem 0 0;
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--ink);
}

.steps p,
.services p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.services {
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 0;
  border-top: 1px solid rgb(197 212 205 / 0.8);
  border-bottom: 1px solid rgb(197 212 205 / 0.8);
}

.services li {
  display: grid;
  gap: 0.75rem;
  padding: 2rem 0;
  border-top: 1px solid rgb(197 212 205 / 0.8);
}

.services li:first-child {
  border-top: 0;
}

@media (min-width: 768px) {
  .services li {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
  }
}

.section-contact {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--mist) 55%, white) 0%,
    var(--background) 100%
  );
}

.meta {
  margin: 2rem 0 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.meta dt {
  font-weight: 600;
  color: var(--ink);
}

.meta a {
  color: var(--lagoon-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-panel {
  border: 1px solid rgb(197 212 205 / 0.8);
  background: rgb(255 255 255 / 0.7);
  border-radius: 0.375rem;
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .form-panel {
    padding: 1.75rem;
  }
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

label {
  font-size: 0.875rem;
  font-weight: 600;
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: transparent;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--ink);
}

input:focus,
textarea:focus {
  outline: 3px solid rgb(15 110 86 / 0.25);
  border-color: var(--lagoon);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b42318;
}

.error {
  margin: 0;
  color: #b42318;
  font-size: 0.875rem;
}

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

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.success {
  border: 1px solid rgb(15 110 86 / 0.3);
  background: color-mix(in srgb, var(--lagoon) 8%, white);
  border-radius: 0.375rem;
  padding: 2rem 1.25rem;
}

.success h3 {
  margin: 0;
  font-family: var(--display);
  color: var(--ink);
}

.success p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.success .btn {
  margin-top: 1.5rem;
}

.site-footer {
  border-top: 1px solid rgb(197 212 205 / 0.7);
  background: var(--ink);
  color: rgb(255 255 255 / 0.88);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.footer-brand {
  margin: 0;
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.site-footer p {
  margin: 0.35rem 0 0;
  max-width: 24rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.7);
}

.copy {
  color: rgb(255 255 255 / 0.55) !important;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ken {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06) translate(-1.5%, -1%);
  }
}

@keyframes line {
  from {
    opacity: 0;
    transform: scaleX(0.4);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .brand-hero,
  .hero h1,
  .hero-lead,
  .hero-actions,
  .hero-line {
    animation: none !important;
  }
}
