:root {
  --ink: #171612;
  --ink-soft: #3a352a;
  --paper: #fbfaf6;
  --paper-deep: #f2ede1;
  --line: rgba(31, 29, 24, 0.14);
  --gold: #c99232;
  --gold-soft: #f1c466;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(45, 35, 18, 0.13);
  --radius: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 22, 18, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 22, 18, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 65%);
}

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

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-130%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
  z-index: 30;
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(31, 29, 24, 0.08);
}

.nav {
  max-width: 1400px;
  margin: 0 auto;
  min-height: 82px;
  padding: 12px clamp(18px, 4vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 60px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.brand-mark img {
  width: 60px;
  height: auto;
  object-fit: contain;
  transform: none;
}

.brand strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(23, 22, 18, 0.72);
  font-weight: 600;
  font-size: 0.94rem;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(201, 146, 50, 0.45);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-weight: 700;
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}

.nav-call:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-call:active,
.button:active,
.menu-button:active {
  transform: translateY(1px) scale(0.99);
}

.nav-call svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.menu-button {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 0;
  justify-self: end;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(40deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-40deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 82px);
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: -8vw;
  right: -8vw;
  bottom: -235px;
  height: 420px;
  background: var(--ink);
  border-radius: 50% 50% 0 0 / 42% 42% 0 0;
  border-top: 8px solid var(--gold);
}

.hero-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  opacity: 0.09;
}

.hero-bg img {
  position: absolute;
  width: min(720px, 72vw);
  right: -8vw;
  top: 6vh;
  filter: grayscale(1);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px) clamp(96px, 13vw, 150px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.58fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.hero-copy,
.hero-panel {
  min-width: 0;
}

.hero-copy,
.hero-panel,
.quick-list dd,
.contact-line strong {
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.1rem, 12vw, 10rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 34px;
  font-size: clamp(1.12rem, 1.55vw, 1.42rem);
  color: var(--ink-soft);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.button svg {
  width: 19px;
  height: 19px;
}

.button-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 18px 42px rgba(128, 88, 23, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
}

.hero-panel {
  align-self: stretch;
  max-width: 460px;
  justify-self: end;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
}

.panel-topline {
  width: 74px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 28px;
}

.panel-label {
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-weight: 600;
}

.hero-panel h2 {
  margin-bottom: 28px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.quick-list {
  display: grid;
  gap: 20px;
  margin: 0;
}

.quick-list div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.quick-list dt {
  color: rgba(23, 22, 18, 0.54);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.quick-list dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
}

.hours-item dd,
.hours-item strong {
  display: block;
  margin-top: 6px;
  text-align: left;
}

.hours-list {
  display: inline-grid;
  gap: 4px;
  text-align: left;
}

.hours-list > span {
  display: grid;
  grid-template-columns: 2ch minmax(0, 1fr);
  column-gap: 8px;
}

.hours-list > span > span:first-child {
  font-variant-numeric: tabular-nums;
}

.intro-strip {
  position: relative;
  z-index: 3;
  width: min(1220px, calc(100% - 36px));
  margin: -44px auto 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.92fr;
  background: #fffcf4;
  border: 1px solid rgba(201, 146, 50, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 24px 58px rgba(55, 41, 19, 0.14);
  overflow: hidden;
}

.intro-item {
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid rgba(201, 146, 50, 0.22);
}

.intro-item:last-child {
  border-right: 0;
}

.intro-item span {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.intro-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.intro-item p {
  margin: 0;
  color: var(--ink-soft);
}

.section {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: clamp(84px, 12vw, 150px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 790px;
  margin-bottom: clamp(34px, 5vw, 66px);
}

.section h2,
.doctor-band h2,
.request-section h2,
.visit-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.service-feature {
  position: sticky;
  top: 112px;
  padding: clamp(26px, 4vw, 40px);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 30px 70px rgba(23, 22, 18, 0.18);
}

.service-feature::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -120px;
  border: 1px solid rgba(201, 146, 50, 0.34);
  border-radius: 50%;
}

.icon-ring {
  position: absolute;
  top: 34px;
  left: 34px;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 146, 50, 0.45);
  border-radius: 50%;
  color: var(--gold-soft);
}

.icon-ring svg {
  width: 38px;
  height: 38px;
}

.service-feature h3 {
  position: relative;
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  line-height: 0.98;
}

.service-feature p {
  position: relative;
  margin: 0;
  color: rgba(251, 250, 246, 0.76);
  font-size: 1.05rem;
}

.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.45fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 36px);
  padding: clamp(24px, 4vw, 42px) 0;
  border-bottom: 1px solid var(--line);
}

.service-row span {
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.1;
}

.service-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.doctor-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(78px, 12vw, 144px) clamp(18px, 5vw, 78px);
  overflow: hidden;
}

.doctor-copy {
  max-width: 780px;
}

.doctor-copy p:not(.eyebrow) {
  max-width: 64ch;
  color: rgba(251, 250, 246, 0.74);
  font-size: 1.08rem;
}

.doctor-visual {
  position: relative;
  min-height: 450px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.doctor-visual::before {
  content: none;
}

.doctor-visual img {
  position: relative;
  z-index: 1;
  width: min(430px, 76vw);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 38px 78px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.precision-meter {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 12%;
  width: 190px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.precision-meter span {
  display: block;
  height: 7px;
  margin: 10px 0;
  background: linear-gradient(90deg, var(--gold), rgba(241, 196, 102, 0.18));
  border-radius: 999px;
  transform-origin: left;
  animation: scan 4s var(--ease) infinite;
}

.precision-meter span:nth-child(2) {
  width: 78%;
  animation-delay: 160ms;
}

.precision-meter span:nth-child(3) {
  width: 88%;
  animation-delay: 320ms;
}

.precision-meter span:nth-child(4) {
  width: 66%;
  animation-delay: 480ms;
}

.visit-grid,
.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.visit-copy p,
.request-copy p {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.contact-panel {
  display: grid;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-line {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: center;
  padding: clamp(22px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
  transition: background 220ms var(--ease);
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-line-static {
  cursor: default;
}

.contact-line-static:hover {
  background: transparent;
}

.contact-line:hover {
  background: #fff7e7;
}

.contact-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(201, 146, 50, 0.34);
  border-radius: 50%;
}

.contact-icon svg {
  width: 26px;
  height: 26px;
}

.contact-line small {
  display: block;
  color: rgba(23, 22, 18, 0.54);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.contact-line strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.18;
}

.request-section {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: clamp(82px, 12vw, 146px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.request-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: var(--shadow);
}

.form-status {
  min-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--ink);
  transition: min-height 240ms var(--ease), margin 240ms var(--ease), padding 240ms var(--ease);
}

.form-status.is-visible {
  min-height: 46px;
  margin-bottom: 18px;
  padding: 12px 14px;
  background: #fff8e8;
  border: 1px solid rgba(201, 146, 50, 0.3);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
}

.hidden-field {
  display: none;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(23, 22, 18, 0.18);
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--ink);
  min-height: 52px;
  padding: 12px 14px;
  outline: none;
  transition: border 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}

textarea {
  resize: vertical;
  min-height: 128px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(201, 146, 50, 0.78);
  box-shadow: 0 0 0 4px rgba(201, 146, 50, 0.12);
  background: var(--white);
}

label small {
  min-height: 18px;
  color: #9d482f;
  font-weight: 600;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-submit.is-loading {
  pointer-events: none;
  opacity: 0.78;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding: 42px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: var(--paper);
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.footer-brand span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.site-footer p {
  margin: 10px 0 0;
  color: rgba(251, 250, 246, 0.6);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(251, 250, 246, 0.72);
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes scan {
  0%,
  100% {
    transform: scaleX(0.45);
    opacity: 0.62;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .nav {
    grid-template-columns: auto 1fr auto;
  }

  .menu-button {
    display: block;
  }

  .nav-call {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    left: 18px;
    right: 18px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 16px;
    border-radius: var(--radius);
  }

  .nav-links a:hover {
    background: #fff7e7;
  }

  .nav-links a::after {
    display: none;
  }

  .hero-inner,
  .doctor-band,
  .visit-grid,
  .request-section,
  .service-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-self: stretch;
    max-width: none;
  }

  .service-feature {
    position: relative;
    top: auto;
    min-height: 340px;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 74px;
    padding: 10px 16px;
  }

  .brand strong {
    font-size: 1.24rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .brand-mark {
    width: 52px;
    height: 44px;
  }

  .brand-mark img {
    width: 52px;
    height: auto;
  }

  .nav-links {
    top: 74px;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    left: -26vw;
    right: -26vw;
    bottom: -185px;
    height: 260px;
    border-top-width: 5px;
  }

  .hero-inner {
    padding-top: 54px;
    padding-bottom: 86px;
  }

  h1 {
    font-size: clamp(3.55rem, 16vw, 4.45rem);
    line-height: 0.9;
  }

  .hero-panel {
    background: #fffdf8;
  }

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

  .intro-strip {
    grid-template-columns: 1fr;
    margin-top: -24px;
  }

  .intro-item {
    border-right: 0;
    border-bottom: 1px solid rgba(201, 146, 50, 0.22);
  }

  .intro-item:last-child {
    border-bottom: 0;
  }

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

  .doctor-visual {
    min-height: 310px;
  }

  .precision-meter {
    right: 0;
    bottom: 0;
    width: min(190px, 60vw);
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
    display: grid;
  }
}

@media (max-width: 430px) {
  .brand small {
    display: none;
  }

  .hero-panel,
  .request-form,
  .contact-panel,
  .service-feature {
    border-radius: 8px;
  }

  .contact-line {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
  }
}
