:root {
  color-scheme: light;
  --ink: #162421;
  --muted: #5e6e69;
  --line: #d8e2dd;
  --paper: #f8fbf8;
  --panel: #ffffff;
  --soft: #edf5f1;
  --accent: #0f766e;
  --accent-strong: #0a5d57;
  --warm: #c37b4e;
  --focus: #1d4ed8;
  --shadow: 0 18px 45px rgba(22, 36, 33, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

button,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(248, 251, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--accent);
  color: white;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
  background: var(--soft);
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  padding: clamp(32px, 7vw, 92px) clamp(18px, 4vw, 56px);
  overflow: hidden;
  background: #dfeae5;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(248, 251, 248, 0.96) 0%, rgba(248, 251, 248, 0.87) 42%, rgba(248, 251, 248, 0.24) 74%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 58ch;
  margin: 24px 0 0;
  color: #33433f;
  font-size: 1.16rem;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid var(--accent);
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.68);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: clamp(18px, 5vw, 62px);
  z-index: 1;
  width: min(280px, calc(100% - 36px));
  padding: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(216, 226, 221, 0.85);
  box-shadow: var(--shadow);
}

.hero-panel span,
.result-label,
.handoff-note span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 3.8rem;
  line-height: 1;
}

.hero-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--panel);
}

.trust-strip div {
  min-height: 118px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

section:not(.hero) {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.finder-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.path-controls {
  display: grid;
  gap: 10px;
}

.path-card {
  min-height: 124px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.path-card span,
.path-card strong,
.path-card small {
  display: block;
}

.path-card span {
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.path-card strong {
  margin-top: 7px;
  font-size: 1.12rem;
}

.path-card small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.path-card.is-active {
  border-color: var(--accent);
  background: #e6f3ef;
  box-shadow: inset 5px 0 0 var(--accent);
}

.path-result {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.path-result img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.path-result > div {
  padding: 26px;
}

.path-result h3 {
  margin-top: 8px;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.path-result p {
  color: var(--muted);
  line-height: 1.65;
}

.safety-note {
  padding: 12px 14px;
  background: #fff7ed;
  border-left: 4px solid var(--warm);
  color: #5d3821;
  font-weight: 700;
}

.result-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 22px 0 0;
}

.result-facts div {
  padding: 16px;
  background: var(--soft);
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 8px 0 0;
  font-weight: 800;
}

.services,
.visit {
  background: var(--panel);
}

.service-grid,
.prep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-grid article,
.prep-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.number {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--warm);
  font-weight: 900;
}

.service-grid p,
.prep-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.handoff-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  padding: 24px;
  background: var(--ink);
  color: white;
}

.handoff-note,
.handoff-list {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.handoff-note span {
  color: #a8d8cf;
}

.handoff-note strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.5rem, 3vw, 2.7rem);
}

.handoff-note p,
.handoff-list {
  color: #d8e8e4;
  line-height: 1.65;
}

.handoff-table {
  display: grid;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.handoff-table div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #d8e8e4;
  line-height: 1.45;
}

.handoff-table div:last-child {
  border-bottom: 0;
}

.handoff-table strong {
  color: white;
}

.intake-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 980px;
}

.intake-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.field-help {
  color: #6c5a30;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.intake-form label:nth-child(3) {
  grid-column: 1 / -1;
}

select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    display: block;
    min-height: 0;
    align-items: start;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(248, 251, 248, 0.98) 0%, rgba(248, 251, 248, 0.9) 58%, rgba(248, 251, 248, 0.22) 100%);
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.75rem, 13vw, 4.4rem);
    line-height: 1;
  }

  .hero-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 1;
    margin-top: 28px;
    width: 100%;
  }

  .trust-strip,
  .finder-layout,
  .service-grid,
  .prep-grid,
  .handoff-card,
  .handoff-table div,
  .intake-form,
  .result-facts {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .nav a {
    padding-inline: 8px;
    font-size: 0.86rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
