:root {
  --ink: #183b2d;
  --ink-soft: #5a6b62;
  --forest: #0f5a37;
  --forest-2: #347451;
  --sage: #8cad83;
  --sage-soft: #e9f2e5;
  --cream: #fbfcf9;
  --mist: #f4f8f1;
  --white: #ffffff;
  --line: #e1e9de;
  --shadow: 0 22px 55px rgba(26, 67, 45, .08);
  --radius: 32px;
  --max: 1390px;
  --sans: "Aptos", "Calibri Light", "Segoe UI Light", "Segoe UI", Arial, sans-serif;
  --display: "Aptos Display", "Segoe UI Variable Display", "Calibri Light", "Segoe UI Light", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background:
    radial-gradient(circle at 13% 11%, rgba(213, 232, 203, .48), transparent 24%),
    radial-gradient(circle at 91% 13%, rgba(232, 241, 227, .70), transparent 24%),
    linear-gradient(135deg, #fbfcf9 0%, #ffffff 58%, #f5f9f2 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus { left: 18px; top: 18px; z-index: 999; background: var(--forest); color: #fff; padding: 9px 13px; border-radius: 8px; }

.page-shell { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.site-header {
  width: min(var(--max), calc(100% - 84px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  width: 39px; height: 39px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #1d6945, #7fa275);
  color: #fff;
  box-shadow: 0 8px 20px rgba(15,81,50,.12);
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-copy strong {
  display: block;
  font-family: var(--display);
  font-size: 1.22rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .005em;
}
.brand-copy span {
  display: block;
  margin-top: 5px;
  font-size: .60rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #7a8880;
}
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: linear-gradient(135deg, #17613e, #397858);
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: .90rem;
  font-weight: 500;
  letter-spacing: .025em;
  box-shadow: 0 10px 24px rgba(15,81,50,.12);
}
.header-call svg { width: 16px; height: 16px; }

.hero {
  width: min(var(--max), calc(100% - 84px));
  margin: 5px auto 18px;
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(440px, 1.36fr) minmax(315px, .82fr);
  gap: clamp(34px, 3vw, 54px);
  align-items: center;
}

/* Portrait: deliberately organic and airy, rather than a rectangular photo card. */
.photo-panel {
  position: relative;
  min-height: 610px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}
.photo-panel::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 4% -3% 6% 2%;
  border-radius: 48% 52% 44% 56% / 22% 33% 67% 78%;
  background: linear-gradient(155deg, #edf5e9 3%, #dcecd5 48%, #bed5b4 100%);
  transform: rotate(-2.5deg);
}
.photo-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 72%;
  aspect-ratio: 1;
  right: -10%;
  top: 7%;
  border: 1px solid rgba(40, 100, 62, .18);
  border-radius: 50%;
  transform: rotate(18deg);
}
.photo-panel picture {
  position: absolute;
  inset: 0 4% 0 0;
  overflow: hidden;
  border-radius: 47% 53% 46% 54% / 20% 25% 75% 80%;
  background: #fff;
  box-shadow: 0 24px 52px rgba(29, 73, 48, .09);
}
.doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transform: scale(1.015);
}
.photo-fade {
  position: absolute;
  z-index: 2;
  left: -1%;
  right: 11%;
  bottom: 0;
  height: 36%;
  border-radius: 0 100% 0 0 / 0 70% 0 0;
  background: linear-gradient(145deg, rgba(241,248,237,.97), rgba(216,235,208,.92));
  pointer-events: none;
}
.photo-caption {
  position: absolute;
  z-index: 3;
  left: 25px;
  right: 46px;
  bottom: 30px;
  font-family: var(--display);
  font-size: clamp(1.26rem, 1.55vw, 1.66rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.22;
  letter-spacing: .005em;
  color: #20543a;
}

.profile-panel { align-self: center; padding: 20px 0 18px; }
.eyebrow {
  margin: 0 0 14px;
  color: #849087;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.75rem, 3.55vw, 4.15rem);
  line-height: 1.01;
  font-weight: 300;
  letter-spacing: -.035em;
  color: #123f2b;
}
.role {
  margin: 9px 0 0;
  font-size: clamp(1.45rem, 1.8vw, 1.85rem);
  color: #5d8a69;
  font-weight: 300;
  letter-spacing: -.015em;
}
.rule { width: 66px; height: 2px; margin: 17px 0 18px; background: #4b8a63; border-radius: 3px; }
.summary {
  margin: 0;
  max-width: 690px;
  font-size: clamp(.94rem, 1.03vw, 1.05rem);
  line-height: 1.62;
  font-weight: 300;
  letter-spacing: .004em;
  color: #53635b;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 13px;
  font-family: var(--display);
  font-size: clamp(1.20rem, 1.32vw, 1.40rem);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: .01em;
  color: #184b33;
}
.section-title::after { content: ""; width: 42px; height: 1px; background: #98b39d; }
.consult-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 28px; }
.consult-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #42544b;
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.25;
}
.consult-icon {
  width: 30px; height: 30px; flex: 0 0 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #eaf3e6;
  color: #4a815b;
}
.consult-icon svg { width: 17px; height: 17px; }
.location-card {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
.location { display: flex; gap: 10px; align-items: center; min-width: 0; }
.pin {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #17613e;
  position: relative;
}
.pin svg {
  width: 16px;
  height: 16px;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.location-text { display: block; min-width: 0; text-decoration: none; color: inherit; }
.location-text:hover strong, .location-text:focus-visible strong { text-decoration: underline; text-underline-offset: 3px; }
.pin:hover { background: #26774f; }
.pin:focus-visible, .location-text:focus-visible { outline: 2px solid #317f56; outline-offset: 5px; }
.location strong { display:block; font-size: .92rem; font-weight: 500; }
.location span { display:block; margin-top: 3px; color: #67736c; font-size: .80rem; font-weight: 300; }
.phone-inline {
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  white-space:nowrap;
  font-size:.96rem;
  font-weight:500;
  color:#1b4c35;
}
.phone-inline svg { width: 18px; height: 18px; }

.contact-panel {
  align-self: center;
  background: rgba(243, 248, 240, .78);
  border: 1px solid rgba(151, 181, 143, .20);
  border-radius: 34px;
  padding: 28px 28px 24px;
  box-shadow: 0 20px 48px rgba(44,82,56,.055);
  backdrop-filter: blur(10px);
}
.contact-panel h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 2.4vw, 2.65rem);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: -.025em;
  color: #174b33;
}
.contact-panel .lead {
  margin: 9px 0 17px;
  color: #5f6f66;
  font-size: .86rem;
  line-height: 1.45;
  font-weight: 300;
}
.form-grid { display: grid; gap: 9px; }
.field label {
  display:block;
  font-size:.69rem;
  font-weight:500;
  letter-spacing:.02em;
  margin:0 0 5px 2px;
  color:#53645a;
}
.field input, .field textarea {
  width:100%;
  border:1px solid #dfe7dc;
  background:rgba(255,255,255,.95);
  color:#223b2e;
  padding:11px 13px;
  border-radius:12px;
  outline:none;
  font-size:.84rem;
  font-weight:300;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
.field input { min-height: 43px; }
.field textarea { min-height: 106px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color:#85a88d; box-shadow:0 0 0 3px rgba(96,149,109,.09); }
.honeypot { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.submit-btn {
  border:0;
  cursor:pointer;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:9px;
  width:100%;
  padding:12px 16px;
  border-radius:14px;
  color:#fff;
  font-size:.86rem;
  font-weight:500;
  letter-spacing:.025em;
  background:linear-gradient(135deg,#327852,#195f3c);
  box-shadow:0 11px 23px rgba(20,86,52,.11);
  transition:transform .18s ease, box-shadow .18s ease;
}
.submit-btn:hover { transform:translateY(-1px); box-shadow:0 14px 27px rgba(20,86,52,.16); }
.submit-btn:focus-visible { outline:3px solid rgba(31,112,67,.25); outline-offset:3px; }
.submit-btn svg { width:16px; height:16px; }
.form-note { display:flex; gap:7px; margin:10px 2px 0; font-size:.66rem; line-height:1.45; color:#78837d; }
.form-note svg { flex:0 0 auto; width:13px; height:13px; margin-top:2px; }
.form-status { min-height: 14px; margin:7px 0 0; font-size:.72rem; color:#2b6543; }

.site-footer {
  background: linear-gradient(90deg,#114c31,#19573a 60%,#12482f);
  color:rgba(255,255,255,.92);
  min-height: 58px;
}
.footer-inner {
  width:min(var(--max),calc(100% - 84px));
  margin:0 auto;
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.footer-values { display:flex; align-items:center; gap:34px; font-family:var(--display); font-size:.84rem; font-weight:300; }
.footer-values span + span { border-left:1px solid rgba(255,255,255,.22); padding-left:34px; }
.footer-meta { text-align:right; font-size:.67rem; font-weight:300; letter-spacing:.02em; color:rgba(255,255,255,.68); }
.footer-meta a { color:white; text-underline-offset:3px; }

.thankyou { min-height:70vh; display:grid; place-items:center; padding:40px 24px; text-align:center; }
.thankyou-card { max-width:680px; background:white; border-radius:28px; padding:44px; box-shadow:var(--shadow); }
.thankyou h1 { font-family: var(--display); font-size:clamp(2.2rem,4vw,3.8rem); font-weight:300; }
.thankyou p { color:#5d6c64; line-height:1.7; }
.back-link { display:inline-block; margin-top:10px; padding:11px 18px; border-radius:999px; background:var(--forest); color:white; text-decoration:none; font-weight:500; }

.privacy { width:min(860px,calc(100% - 40px)); margin:40px auto 70px; background:white; border-radius:28px; padding:clamp(24px,5vw,50px); box-shadow:var(--shadow); }
.privacy h1 { font-family:var(--display); font-size:clamp(2.2rem,4vw,3.6rem); font-weight:300; }
.privacy h2 { margin-top:28px; font-family:var(--display); font-weight:400; }
.privacy p, .privacy li { line-height:1.7; color:#52635a; font-weight:300; }

@media (max-width: 1240px) {
  .site-header, .hero, .footer-inner { width: min(var(--max), calc(100% - 48px)); }
  .hero { grid-template-columns: minmax(265px,.75fr) minmax(405px,1.25fr) minmax(300px,.8fr); gap:26px; }
  .photo-panel { min-height:585px; }
  h1 { font-size:clamp(2.55rem,3.3vw,3.75rem); }
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(270px,.78fr) minmax(430px,1.22fr); }
  .contact-panel { grid-column:1 / -1; display:grid; grid-template-columns:.7fr 1.3fr; gap:26px; align-items:start; }
  .contact-panel .lead { margin-bottom:0; }
  .contact-panel form { grid-column:2; grid-row:1 / span 2; }
  .photo-panel { min-height:600px; }
}

@media (max-width: 820px) {
  .site-header { width:min(100% - 30px,var(--max)); min-height:68px; }
  .brand-copy span { display:none; }
  .header-call { padding:9px 12px; font-size:.82rem; }
  .hero { width:min(100% - 24px,var(--max)); grid-template-columns:1fr; gap:20px; }
  .photo-panel { min-height:auto; aspect-ratio:4/4.75; max-width:560px; width:100%; margin:0 auto; }
  .photo-panel picture { inset:0 2% 0 2%; border-radius:42% 58% 45% 55% / 19% 25% 75% 81%; }
  .photo-panel::before { inset:3% 0 6% 0; }
  .photo-fade { left:1%; right:8%; }
  .doctor-photo { object-position:50% 19%; }
  .photo-caption { font-size:1.42rem; }
  .profile-panel { padding:12px 8px 6px; }
  h1 { font-size:clamp(2.7rem,11vw,4rem); }
  .summary { font-size:.98rem; }
  .contact-panel { grid-column:auto; display:block; margin-bottom:6px; }
  .contact-panel .lead { margin-bottom:17px; }
  .location-card { grid-template-columns:1fr; }
  .footer-inner { width:min(100% - 30px,var(--max)); padding:15px 0; align-items:flex-start; flex-direction:column; }
  .footer-values { width:100%; justify-content:space-between; gap:12px; }
  .footer-values span + span { padding-left:12px; }
  .footer-meta { text-align:left; }
}

@media (max-width: 520px) {
  .site-header { min-height:64px; }
  .brand-mark { width:36px; height:36px; }
  .brand-copy strong { font-size:1rem; }
  .header-call span { display:none; }
  .header-call { width:39px; height:39px; padding:0; justify-content:center; }
  .photo-panel { aspect-ratio:4/5; }
  .photo-caption { left:20px; bottom:22px; right:20px; font-size:1.24rem; }
  .eyebrow { font-size:.60rem; letter-spacing:.18em; }
  .role { font-size:1.42rem; }
  .consult-grid { grid-template-columns:1fr; gap:9px; }
  .contact-panel { padding:23px 18px; border-radius:26px; }
  .footer-values { display:grid; grid-template-columns:1fr; gap:8px; }
  .footer-values span + span { border-left:0; padding-left:0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { transition:none !important; animation:none !important; }
}
