@font-face {
  font-family: 'Newsreader';
  src: url(/fonts/newsreader-400-normal.woff2) format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url(/fonts/newsreader-400-italic.woff2) format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url(/fonts/dm-sans-400-normal.woff2) format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #1f3d34;
  --forest-deep: #172f28;
  --moss: #5d7a5f;
  --sage: #e6ece2;
  --paper: #f7f7f2;
  --ink: #1b2622;
  --muted: #4c5c55;
  --line: #cfd8cc;
  --gold: #d9a441;
  --gold-deep: #9a6d1c;
  --on-forest: #f1efe6;
  --on-forest-muted: #bccabe;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 500 1rem/1.2 var(--sans); text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-small { min-height: 40px; padding: 8px 18px; font-size: .9375rem; white-space: nowrap; }
.btn-gold { background: var(--gold); color: var(--forest-deep); }
.btn-gold:hover { background: #e6b65a; }
.btn-forest { background: var(--forest); color: var(--on-forest); }
.btn-forest:hover { background: var(--moss); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--on-forest); }
.btn-light { border-color: rgba(241, 239, 230, .45); color: var(--on-forest); }
.btn-light:hover { background: var(--on-forest); color: var(--forest); }
.text-link { font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.text-link-light { color: var(--on-forest); }
.prose a:not(.btn), .path a:not(.btn), .hero-status a { text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* Header */
.site-header { background: var(--forest); color: var(--on-forest); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.wordmark { font: 400 1.4rem/1 var(--serif); text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--on-forest-muted); }
nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .9375rem; color: var(--on-forest-muted); }
.nav-links a:hover { color: var(--on-forest); }

/* Hero */
.hero { background: var(--forest); color: var(--on-forest); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: clamp(32px, 6vw, 88px);
  padding-top: clamp(40px, 6vw, 80px);
}
.hero-copy { padding-bottom: clamp(48px, 8vw, 112px); }
.hero-role { font: italic 400 1.35rem/1.3 var(--serif); color: var(--gold); margin-bottom: 18px; }
.hero h1 { font-size: clamp(3.4rem, 9vw, 7.6rem); line-height: .95; letter-spacing: -0.025em; }
.hero-lede { font: 400 clamp(1.25rem, 2vw, 1.55rem)/1.45 var(--serif); color: var(--on-forest); max-width: 30ch; margin: 28px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

.hero-portrait { position: relative; margin: 0; align-self: end; }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; background: var(--moss); }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.hero-portrait .arch { border: 10px solid var(--forest-deep); border-bottom: 0; }
.hero-sprig {
  position: absolute; width: 44%; left: -22%; bottom: 8%;
  transform: rotate(-18deg); pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .18));
}

.hero-status { background: var(--forest-deep); }
.hero-status p { margin: 0; padding: 18px 0; font-size: .9875rem; color: var(--on-forest-muted); }
.hero-status a { color: var(--on-forest); }

/* Areas of focus */
.focus { padding: var(--section) 0; }
.focus-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.focus-intro p { color: var(--muted); font-size: 1.125rem; max-width: 32ch; margin-top: 18px; }
.focus-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.focus-list li {
  font: 400 clamp(1.4rem, 2.3vw, 1.85rem)/1.2 var(--serif);
  padding: 20px 0 20px 34px; border-top: 1px solid var(--line);
  background: url(/images/favicon.png) no-repeat 0 calc(20px + .3em) / 20px 20px;
}

/* About */
.about { background: var(--sage); padding: var(--section) 0; }
.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-portrait { margin: 0; position: sticky; top: 32px; }
.prose { max-width: 66ch; }
.prose h2 { margin-bottom: 28px; }
.about-copy p, .story-body p { font: 400 1.1875rem/1.65 var(--serif); }
.story { margin: 4px 0 8px; }
.story summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  font: 500 1rem var(--sans); color: var(--forest);
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.story summary::-webkit-details-marker { display: none; }
.story summary::after { content: ''; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
.story[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.story .when-open, .story[open] .when-closed { display: none; }
.story[open] .when-open { display: inline; }
.story[open] summary { margin-top: 8px; order: 2; }
.story-body { padding-top: 12px; }
.story[open] { display: flex; flex-direction: column; align-items: flex-start; }
.pull {
  margin: 44px 0 40px; padding-left: 24px; border-left: 3px solid var(--gold);
  font: italic 400 clamp(1.5rem, 2.6vw, 2rem)/1.3 var(--serif); color: var(--forest);
}

/* Become a patient */
.patient { padding: var(--section) 0; }
.patient-intro .lead { font: 400 clamp(1.3rem, 2.2vw, 1.6rem)/1.45 var(--serif); }
.patient-intro p:not(.lead) { color: var(--muted); }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.path {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: 20px; background: #fff;
}
.path:first-child { background: var(--forest); color: var(--on-forest); border-color: var(--forest); }
.path:first-child .btn-forest { background: var(--gold); color: var(--forest-deep); }
.path:first-child .btn-forest:hover { background: #e6b65a; }
.path h3 { margin-bottom: 16px; }
.path p { color: inherit; opacity: .92; }
.path-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.path p:last-of-type { margin-bottom: 28px; }

/* Roles */
.roles { padding: var(--section) 0 calc(var(--section) * .8); border-bottom: 1px solid var(--line); }
.roles-title { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1; letter-spacing: -0.02em; margin-bottom: clamp(40px, 6vw, 72px); }
.roles-title span { display: block; }.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.role { display: flex; flex-direction: column; align-items: flex-start; padding: 8px clamp(20px, 3vw, 40px) 8px; border-left: 1px solid var(--line); }
.role:first-child { padding-left: 0; border-left: 0; }
.role h3 { font-size: clamp(1.9rem, 3vw, 2.4rem); color: var(--forest); }
.role-fact { font-weight: 600; color: var(--gold-deep); margin: 10px 0 14px; }
.role p:not(.role-fact) { color: var(--muted); }
.role .text-link { margin-top: auto; padding-top: 8px; color: var(--forest); }

/* Doctor Notes */
.dn { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--section) 0; }
.dn-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.dn-logo { width: 190px; margin-bottom: 28px; }
.dn .lead { font: italic 400 clamp(1.3rem, 2.2vw, 1.6rem)/1.4 var(--serif); color: var(--forest); }
.leaf-list { list-style: none; padding: 0; margin: 8px 0 36px; }
.leaf-list li { padding: 12px 0 12px 34px; border-top: 1px solid var(--line); background: url(/images/favicon.png) no-repeat 0 16px / 18px 18px; }
.leaf-list li:last-child { border-bottom: 1px solid var(--line); }
.dn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.dn-actions .text-link { color: var(--forest); }
.dn-phone { margin: 0; justify-self: center; width: min(100%, 300px); }
.dn-phone img { border-radius: 36px; border: 10px solid var(--forest-deep); box-shadow: 0 30px 60px rgba(23, 47, 40, .18); }
.dn-phone figcaption { font-size: .875rem; color: var(--muted); text-align: center; margin-top: 14px; }

/* Contact */
.contact { background: var(--sage); padding: var(--section) 0; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-intro p { color: var(--muted); max-width: 40ch; margin-top: 18px; }
.contact-intro .contact-phone { color: var(--ink); font-weight: 500; }
.contact-intro .contact-phone a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.contact-intro .contact-note { font-size: .9375rem; }
.lead-form, .form-success { background: #fff; border-radius: 20px; padding: clamp(24px, 4vw, 44px); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field[hidden] { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label { font-weight: 500; font-size: .9375rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid #b9c5b6; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--forest); }
.hint { font-size: .875rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fbeaea; color: #8a1f1f; border-radius: 10px; padding: 12px 14px; font-weight: 500; }
.lead-form .btn { min-width: 200px; }
.lead-form .btn:disabled { opacity: .7; cursor: progress; }
.consent { font-size: .8125rem; color: var(--muted); margin: 14px 0 0; }
.form-success h3 { margin-bottom: 10px; color: var(--forest); }
.form-success p { margin: 0; color: var(--muted); }

/* Closing */
.closing { background: var(--forest); color: var(--on-forest); padding: clamp(64px, 9vw, 112px) 0; }
.closing-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.closing h2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); max-width: 14ch; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

/* Footer */
.site-footer { background: var(--forest-deep); color: var(--on-forest-muted); font-size: .9375rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; }
.footer-row p { margin: 0; }
.footer-name { font: 400 1.15rem var(--serif); color: var(--on-forest); }
.social { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.social a { text-decoration: none; }
.social a:hover { color: var(--on-forest); text-decoration: underline; text-underline-offset: 4px; }

/* Page-load moment: the hero only */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-portrait .arch { animation: arch-in 1.1s cubic-bezier(.2, .7, .2, 1) .1s both; }
  .hero-sprig { animation: sprig-in 1.2s cubic-bezier(.2, .7, .2, 1) .5s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes arch-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sprig-in { from { opacity: 0; transform: rotate(-40deg) translateY(20px); } }

/* Tablet and mobile */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-portrait { width: min(82%, 420px); margin: 0 auto; }
  .hero-sprig { left: -18%; width: 40%; }
  .focus-grid, .about-grid, .dn-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-portrait { position: static; width: min(72%, 360px); }
  .roles-grid { grid-template-columns: 1fr; }
  .role, .role:first-child { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .dn-phone { width: min(70%, 260px); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-row { min-height: 64px; }
  .wordmark { font-size: 1.15rem; }
  .wordmark span { display: none; }
  .header-row { gap: 12px; }
  .btn-small { padding: 8px 14px; font-size: .875rem; }
  .focus-list { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .lead-form .btn { width: 100%; }
  .about-copy p, .story-body p { font-size: 1.0625rem; }
}
