:root {
  --sky: #dff7fb;
  --cream: #fff8ef;
  --mint: #dff7d0;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --panel-muted: rgba(26, 73, 98, 0.06);
  --ink: #163047;
  --ink-strong: #12293d;
  --muted: #527085;
  --muted-dark: #496879;
  --line: rgba(24, 75, 98, 0.12);
  --white: #ffffff;
  --copper: #ffad4d;
  --copper-deep: #bf6d24;
  --teal: #5cc8df;
  --teal-deep: #1596b1;
  --green: #97dc65;
  --shadow: 0 24px 60px rgba(43, 96, 121, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(92, 200, 223, 0.32), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(151, 220, 101, 0.26), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(255, 173, 77, 0.18), transparent 28%),
    linear-gradient(180deg, #f4fcff, #effaf5 45%, #fffaf0);
}

.site-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(24, 75, 98, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 75, 98, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.22));
  pointer-events: none;
  z-index: 0;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.8rem 0 6rem;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: contain;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.topnav a {
  color: var(--muted-dark);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
}

.hero-section {
  margin-bottom: 4.5rem;
}

.hero-copy-block {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
  display: grid;
  justify-items: center;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
}

.hero-copy {
  color: var(--muted-dark);
  font-family: "Fraunces", serif;
  font-size: clamp(1.65rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-cta-row {
  justify-content: center;
  margin-top: 1.6rem;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.primary-link {
  background: var(--ink-strong);
  color: var(--white);
}

.secondary-link {
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink-strong);
  border: 1px solid var(--line);
}

.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(43, 96, 121, 0.18);
}

.services-section,
.contact-section {
  margin-top: 5rem;
}

.site-footer {
  margin-top: 5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

.section-heading {
  margin-bottom: 1.6rem;
}

.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--teal-deep);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 16ch;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1.02;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-row {
  display: grid;
  gap: 0.75rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.9rem;
  background: rgba(255, 255, 255, 0.62);
}

.service-index {
  display: inline-block;
  color: var(--copper-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-row h3 {
  font-size: 1.4rem;
  line-height: 1.15;
}

.service-row p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.65;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.contact-section .section-heading {
  text-align: center;
}

.contact-section .section-heading h2 {
  margin-inline: auto;
}

.contact-copy p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 1.04rem;
  line-height: 1.8;
  max-width: 32rem;
  margin-inline: auto;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  max-width: 44rem;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field span {
  color: var(--ink-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink-strong);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(21, 150, 177, 0.45);
  box-shadow: 0 0 0 4px rgba(92, 200, 223, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 10rem;
}

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

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-submit {
  border: 0;
  cursor: pointer;
}

.form-submit:disabled {
  cursor: progress;
  opacity: 0.75;
}

.form-status {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.95rem;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(151, 220, 101, 0.42);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(151, 220, 101, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(151, 220, 101, 0);
  }
}

@media (max-width: 1080px) {
  .hero-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 3rem;
  }

  .page-shell {
    width: min(100% - 1.5rem, 100%);
    padding-bottom: 4rem;
  }
}

@media (max-width: 640px) {
  .hero-copy,
  .service-row p,
  .contact-copy p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-copy {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
    line-height: 1.12;
  }

  .topnav {
    gap: 0.8rem;
  }

  .section-heading h2 {
    max-width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .field-full,
  .form-actions {
    grid-column: auto;
  }
}
