:root {
  --ink: #111417;
  --ink-2: #1b2328;
  --paper: #f8f6ef;
  --paper-quiet: #ece8de;
  --line: rgba(17, 20, 23, 0.15);
  --muted: #5f6665;
  --green: #2f6f62;
  --blue: #2b5876;
  --coral: #bb5d46;
  --yellow: #d6a642;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 64px);
  color: var(--white);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(17, 20, 23, 0.22);
  font-size: 0.86rem;
}

.site-nav {
  gap: clamp(14px, 2.8vw, 28px);
  font-size: 0.88rem;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.9;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 7px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  color: var(--white);
  isolation: isolate;
}

.hero {
  min-height: min(820px, 82svh);
  padding: 128px clamp(20px, 5vw, 64px) 70px;
}

.page-hero {
  min-height: 54svh;
  padding: 128px clamp(20px, 5vw, 64px) 58px;
  background:
    radial-gradient(circle at 20% 10%, rgba(214, 166, 66, 0.32), transparent 28%),
    linear-gradient(135deg, var(--ink) 0%, #19313a 56%, #254d47 100%);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 48%;
  z-index: -3;
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(17, 20, 23, 0.82) 0%, rgba(17, 20, 23, 0.54) 48%, rgba(17, 20, 23, 0.1) 100%),
    linear-gradient(0deg, rgba(17, 20, 23, 0.58) 0%, rgba(17, 20, 23, 0) 48%);
}

.hero-content,
.page-hero-content {
  width: min(860px, 100%);
}

.kicker,
.section-label {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .kicker,
.page-hero .kicker {
  color: #d7eadf;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 9vw, 8.7rem);
  font-weight: 500;
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(3.4rem, 8vw, 7rem);
}

.hero-copy,
.page-copy {
  width: min(700px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2.1vw, 1.52rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
}

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

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.intro-band {
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 34px clamp(20px, 5vw, 64px);
  background: var(--blue);
  color: var(--white);
}

.intro-band p {
  width: min(1020px, 100%);
  margin: 0;
  font-size: clamp(1.06rem, 2vw, 1.36rem);
}

.section {
  display: grid;
  grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.22fr);
  gap: clamp(34px, 7vw, 94px);
  padding: clamp(72px, 11vw, 132px) clamp(20px, 5vw, 64px);
}

.split-section {
  background: var(--paper);
}

.section-heading h2,
.contact-copy h2 {
  max-width: 14ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 5.1rem);
  font-weight: 500;
}

.section-body {
  display: grid;
  gap: 24px;
  align-content: start;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.section-body p,
.section-body ul {
  margin: 0;
  max-width: 720px;
}

.section-body ul {
  display: grid;
  gap: 12px;
  padding-left: 1.2rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.proof-strip span {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  font-weight: 800;
}

.cards-section,
.listing-section {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-quiet) 100%);
}

.card-grid,
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.listing-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.52);
  text-decoration: none;
}

.feature-card:hover,
.feature-card:focus-visible {
  border-color: rgba(47, 111, 98, 0.7);
}

.card-index {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.feature-card h3,
.listing-card h3 {
  font-size: 1.3rem;
}

.feature-card p,
.listing-card p {
  margin: 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 0.28fr 0.78fr 1.2fr;
  gap: 24px;
  padding: 28px;
  background: var(--paper);
}

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

.status-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47, 111, 98, 0.12);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 850;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 0.82fr);
  gap: clamp(34px, 7vw, 86px);
  padding: clamp(72px, 10vw, 118px) clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: var(--white);
}

.contact-actions {
  display: grid;
  align-content: center;
  gap: 12px;
}

.contact-link {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  text-decoration: none;
  font-size: clamp(1.08rem, 2.1vw, 1.72rem);
  font-weight: 800;
}

.contact-link::after {
  content: "→";
  color: var(--yellow);
  flex: 0 0 auto;
}

.contact-link.muted {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
    padding-top: 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 16px;
    max-width: 290px;
  }

  .hero {
    min-height: 84svh;
    padding-top: 132px;
    padding-bottom: 46px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(17, 20, 23, 0.85) 0%, rgba(17, 20, 23, 0.52) 72%, rgba(17, 20, 23, 0.22) 100%),
      linear-gradient(0deg, rgba(17, 20, 23, 0.64) 0%, rgba(17, 20, 23, 0.08) 60%);
  }

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

  .section-heading h2,
  .contact-copy h2 {
    max-width: 16ch;
  }

  .proof-strip,
  .card-grid,
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .site-nav a {
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .page-hero h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .button,
  .contact-link {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-row,
  .feature-card,
  .listing-card {
    padding: 22px;
  }
}
