:root {
  --ivory: #f7f4ed;
  --paper: #fffdf8;
  --green: #173d39;
  --muted: #536961;
  --sage: #dce9dd;
  --peach: #e8b79c;
  --line: #d7dfd5;
  --serif: 'Lora', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--ivory); color: var(--green); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #ad684b; outline-offset: 4px; }
::selection { background: #e8b79c; color: var(--green); }
.shell { width: min(100% - 40px, 1180px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 12px; padding: 12px 18px; background: var(--green); color: white; }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(23, 61, 57, .12); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; text-decoration: none; font: 500 clamp(17px, 4.7vw, 23px)/1 var(--serif); letter-spacing: -.045em; white-space: nowrap; }
.brand-mark { flex: none; position: relative; width: 26px; height: 26px; border: 2px solid var(--green); border-radius: 50% 50% 6px 50%; transform: rotate(-35deg); }
.brand-mark::after { content: ''; position: absolute; width: 11px; height: 11px; left: 7px; top: 6px; border: 2px solid var(--green); border-radius: 50%; }
.desktop-nav { display: none; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.desktop-nav a:hover, .text-link:hover, .site-footer a:hover { color: #a15f43; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 100px; font-size: 13px; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.arrow-icon { display: inline-block; flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 23px rgba(23, 61, 57, .13); }
.button:active { transform: translateY(0); }
.button-dark { background: var(--green); color: white; }
.button-dark:hover { background: #24544e; }
.button-light { background: var(--ivory); color: var(--green); }
.button-light:hover { background: white; }
.header-button { flex: none; min-height: 42px; padding: 10px 12px; font-size: 11px; }

.hero { display: grid; gap: 42px; padding-top: 52px; padding-bottom: 56px; }
.hero-copy { align-self: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 11px; margin: 0; color: #587367; font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 21px; height: 1px; background: var(--peach); }
.doctor-identity { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 13px; margin-top: 20px; }
.doctor-name { font: 500 25px/1.25 var(--serif); letter-spacing: -.04em; }
.doctor-degrees { color: var(--muted); font-size: 12px; }
h1, h2, h3, h4, p { overflow-wrap: break-word; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h1 { max-width: 650px; margin: 18px 0 22px; font-size: clamp(42px, 12vw, 68px); line-height: 1.08; }
h1 span { color: #a86b4f; }
.hero-lede { max-width: 510px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 22px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; text-underline-offset: 5px; transition: color .2s ease; }
.hero-art { position: relative; min-height: 340px; isolation: isolate; overflow: hidden; border-radius: 220px 220px 22px 22px; background: var(--sage); }
.art-sun { position: absolute; width: 58%; max-width: 250px; aspect-ratio: 1; top: 11%; left: 50%; transform: translate3d(-50%, var(--sun-shift, 0px), 0); border-radius: 50%; background: #f1cfb3; }
.art-arch { position: absolute; left: 50%; border: 2px solid rgba(23, 61, 57, .31); border-bottom: 0; border-radius: 50% 50% 0 0; transform: translate3d(-50%, var(--arch-shift, 0px), 0); }
.art-arch-one { width: 58%; height: 78%; bottom: -25%; }
.art-arch-two { width: 79%; height: 99%; bottom: -30%; opacity: .58; }
.art-caption { position: absolute; z-index: 1; right: 24px; bottom: 24px; left: 24px; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 14px; background: rgba(247, 244, 237, .93); box-shadow: 0 7px 30px rgba(35, 63, 50, .035); }
.art-caption span { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.art-caption p { margin: 7px 0 0; font: 400 clamp(20px, 5.4vw, 26px)/1.3 var(--serif); letter-spacing: -.04em; }

.section { padding-block: 64px; }
.section-heading h2, .appointment-section h2 { margin: 13px 0 0; font-size: clamp(36px, 8.5vw, 52px); line-height: 1.1; }
.section-intro { max-width: 570px; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.about-section { border-top: 1px solid rgba(23, 61, 57, .13); }
.timeline { position: relative; max-width: 675px; margin: 38px 0 0 6px; padding: 0; border-left: 1px solid #aebfb1; list-style: none; }
.timeline::after { content: ''; position: absolute; z-index: 0; top: 0; left: -2px; width: 3px; height: var(--timeline-progress, 0%); border-radius: 2px; background: linear-gradient(#d8a185, #6a9b87); }
.timeline li { position: relative; z-index: 1; padding: 0 0 31px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; top: 4px; left: -6px; width: 11px; height: 11px; border: 2px solid var(--green); border-radius: 50%; background: var(--ivory); }
.timeline li:first-child::before { background: var(--peach); }
.timeline-meta { color: #67786d; font-size: 10px; font-weight: 700; line-height: 1.4; letter-spacing: .11em; text-transform: uppercase; }
.timeline h3 { margin: 7px 0 5px; font-size: clamp(21px, 5.5vw, 26px); line-height: 1.25; }
.timeline p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.timeline-aside { white-space: normal; }

.care-section { background: #f1f0e9; }
.care-grid { display: grid; gap: 14px; margin-top: 30px; }
.care-card { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 164px; padding: 24px; border: 1px solid rgba(23, 61, 57, .045); border-radius: 17px; background: var(--paper); }
.care-number { color: #9a7969; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.care-card h3 { margin: 0 0 8px; font-size: clamp(22px, 5.7vw, 27px); line-height: 1.2; }
.care-card p { max-width: 280px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.guides-section { background: #e9eee6; }
.guides-intro { max-width: 500px; margin: 17px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.guide-grid { display: grid; gap: 16px; margin-top: 30px; }
.guide-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid rgba(23, 61, 57, .055); border-radius: 18px; background: var(--paper); }
.guide-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: #9a7969; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.round-arrow { display: grid; place-items: center; flex: none; width: 31px; height: 31px; border: 1px solid #c8d5ca; border-radius: 50%; color: var(--green); }
.guide-card h3 { margin: 25px 0 7px; font-size: clamp(26px, 7vw, 32px); line-height: 1.2; }
.guide-card-intro { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.choice-group button { min-height: 40px; padding: 8px 13px; border: 1px solid #c5d1c7; border-radius: 100px; background: transparent; color: var(--green); font-size: 12px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.choice-group button:hover { border-color: var(--green); }
.choice-group button[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: white; }
.guide-result { margin-top: 23px; padding: 20px 0 0; border-top: 1px solid #dfe7df; }
.result-kicker { margin: 0; color: #9a7969; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.guide-result h4 { margin: 7px 0 10px; font-size: 22px; line-height: 1.25; }
.guide-result p:not(.result-kicker) { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.guide-result strong { color: var(--green); font-weight: 700; }
.urgent-result .result-kicker { color: #a15f43; }
.guide-source { margin: auto 0 0; padding-top: 24px; color: #687b70; font-size: 11px; line-height: 1.6; }
.guide-source a { text-underline-offset: 3px; }
.guide-source a:hover { color: var(--green); }

.appointment-section { background: var(--green); color: var(--paper); }
.appointment-inner { display: grid; gap: 28px; padding-block: 64px; }
.appointment-section .eyebrow { color: #c8dacb; }
.appointment-section h2 { margin-top: 13px; }
.appointment-section p:not(.eyebrow) { max-width: 640px; margin: 17px 0 0; color: #d8e5da; font-size: 13px; line-height: 1.75; }
.appointment-section .button { justify-self: start; }
.site-footer { background: var(--ivory); }
.footer-inner { display: flex; flex-direction: column; gap: 13px; padding-block: 28px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.footer-inner div { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.footer-name { color: var(--green); font-family: var(--serif); font-size: 16px; }
.footer-inner a { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-weight: 700; text-underline-offset: 4px; transition: color .2s ease; }

@media (min-width: 600px) {
  .shell { width: min(100% - 64px, 1180px); }
  .header-inner { min-height: 82px; }
  .header-button { padding-inline: 18px; font-size: 12px; }
  .hero { padding-top: 64px; padding-bottom: 70px; }
  .hero-art { min-height: 430px; }
  .section { padding-block: 78px; }
  .care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .care-card { min-height: 210px; }
  .appointment-inner { padding-block: 78px; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
}

@media (min-width: 820px) {
  .desktop-nav { display: flex; }
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(28px, 4vw, 70px); min-height: 630px; }
  .hero-art { min-height: 450px; height: 100%; max-height: 550px; }
  .art-caption { right: 25px; bottom: 25px; left: 25px; }
  .guides-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
  .guides-intro { max-width: 295px; margin: 0; }
  .appointment-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
}

@media (min-width: 960px) {
  .section { padding-block: 94px; }
  .hero { padding-block: 75px 82px; }
  .hero-lede { font-size: 16px; }
  .care-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .care-card { min-height: 225px; padding: 27px; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-card { min-height: 490px; padding: 28px; }
  .appointment-inner { padding-block: 86px; }
}

@media (max-width: 365px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; gap: 8px; }
  .brand { gap: 6px; font-size: 16px; }
  .brand-mark { width: 23px; height: 23px; }
  .brand-mark::after { width: 10px; height: 10px; left: 6px; top: 5px; }
  .header-button { min-height: 38px; padding: 8px 9px; font-size: 10px; }
  .hero { padding-top: 42px; }
  h1 { font-size: 41px; }
  .hero-art { min-height: 300px; }
  .art-caption { right: 16px; bottom: 16px; left: 16px; padding: 17px; }
  .guide-card { padding: 20px; }
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
  .art-sun, .art-arch { transform: translateX(-50%); }
  .timeline::after { height: 0; }
}
