:root {
  --paper: #fbf7f0;
  --soft: #f0e7dc;
  --ink: #17252a;
  --text: #32464b;
  --muted: #687b7f;
  --line: rgba(23, 37, 42, 0.16);
  --blue: #527f89;
  --clay: #b47d62;
  --white: #fffdf8;
  --display: Georgia, "Times New Roman", serif;
  --body: "Segoe UI", Arial, sans-serif;
  --nav: Tahoma, Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(18px, 4vw, 56px);
  align-items: center;
  min-height: 70px;
  padding: 10px clamp(18px, 5vw, 72px);
  background: rgba(251, 247, 240, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.mark {
  font-family: var(--display);
  font-size: 20px;
  color: var(--blue);
}

.site-head nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  font-family: var(--nav);
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
}

.head-link {
  font-family: var(--nav);
  font-size: 13px;
  color: var(--blue);
  border-bottom: 1px solid currentColor;
}

.hero {
  position: relative;
  min-height: calc(100svh - 70px);
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 92px);
  padding: clamp(56px, 8vw, 112px) clamp(18px, 6vw, 90px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(0deg, rgba(240, 231, 220, 0.9), transparent);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-image {
  position: relative;
  z-index: 1;
  order: 2;
  width: min(680px, 100%);
  justify-self: end;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 4% 6% -5% -6%;
  border: 1px solid rgba(82, 127, 137, 0.38);
  transform: rotate(-2deg);
  pointer-events: none;
}

.hero-image img {
  min-height: 640px;
  object-fit: cover;
  object-position: 54% 48%;
  filter: saturate(0.92) contrast(1.02);
}

.eyebrow {
  margin: 0;
  font-family: var(--nav);
  color: var(--blue);
  font-size: 13px;
  line-height: 1.4;
}

h1,
h2 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(48px, 6.9vw, 92px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(36px, 4.7vw, 68px);
  line-height: 1.03;
}

p {
  color: var(--text);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.48;
}

.lead {
  max-width: 680px;
  margin-top: 24px;
  color: var(--text);
  font-size: clamp(20px, 1.9vw, 28px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
}

.primary-action,
.visit-form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--nav);
  font-size: 14px;
  cursor: pointer;
}

.text-action {
  color: var(--blue);
  font-size: 16px;
  border-bottom: 1px solid rgba(82, 127, 137, 0.55);
}

.quiet-note {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 6vw, 86px);
  bottom: clamp(24px, 6vh, 68px);
  max-width: 250px;
  color: var(--text);
}

.quiet-note span,
.quiet-note small {
  display: block;
  font-family: var(--nav);
  font-size: 13px;
  color: var(--muted);
}

.quiet-note strong {
  display: block;
  margin: 6px 0;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 500;
}

.route-section,
.face-section,
.doctor-section,
.after-section,
.visit-section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 6vw, 90px);
}

.route-section {
  background: var(--soft);
}

.route-copy {
  max-width: 960px;
}

.route-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 62px);
  margin-top: clamp(40px, 6vw, 76px);
  border-top: 1px solid var(--line);
}

.route-line article {
  padding-top: 26px;
}

.route-line span,
.after-steps span,
.visit-form span {
  display: block;
  font-family: var(--nav);
  color: var(--blue);
  font-size: 13px;
}

.route-line p {
  margin: 14px 0 0;
  max-width: 390px;
}

.face-section {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(320px, 0.8fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: center;
  background: var(--paper);
}

.face-photo img {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: 48% 42%;
}

.face-copy {
  max-width: 620px;
}

.plain-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.plain-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: clamp(18px, 1.5vw, 23px);
}

.doctor-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(30px, 6vw, 96px);
  background: #fffdf8;
}

.doctor-text {
  align-self: end;
}

.doctor-text p + p {
  margin-top: 24px;
}

.after-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(340px, 1fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: center;
  background: var(--soft);
}

.after-image img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
}

.after-steps {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.after-steps p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(360px, 1fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: end;
  background: var(--ink);
  color: var(--white);
}

.visit-section p,
.visit-section .eyebrow {
  color: rgba(255, 253, 248, 0.72);
}

.visit-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: end;
}

.visit-form label {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.visit-form input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.45);
  background: transparent;
  color: var(--white);
  padding: 10px 0;
}

.visit-form input::placeholder {
  color: rgba(255, 253, 248, 0.52);
}

.visit-form button {
  grid-column: 1 / -1;
  justify-self: start;
  background: var(--white);
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 4px;
}

@media (max-width: 1060px) {
  .site-head {
    grid-template-columns: auto 1fr;
  }

  .head-link {
    display: none;
  }

  .hero,
  .face-section,
  .doctor-section,
  .after-section,
  .visit-section,
  .visit-form,
  .route-line {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: 0;
    justify-self: stretch;
  }

  .quiet-note {
    position: static;
    margin: 8px clamp(18px, 6vw, 90px) 40px;
  }
}

@media (max-width: 640px) {
  .site-head {
    position: relative;
    min-height: auto;
    align-items: start;
  }

  .site-head nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 9px 16px;
    font-size: 12px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-image img {
    min-height: 430px;
    object-position: 55% 50%;
  }

  h1 {
    font-size: clamp(42px, 12vw, 62px);
  }

  h2 {
    font-size: clamp(34px, 9vw, 50px);
  }

  p,
  .lead {
    font-size: 18px;
  }

  .primary-action,
  .visit-form button {
    width: 100%;
  }

  .face-photo img,
  .after-image img {
    aspect-ratio: 4 / 3;
  }
}
