/* Dr. Chippy P. R. — mirrors design-system/tokens.json */
:root {
  --green-900: #1F3B2D;
  --green-800: #2B4D3B;
  --green-line: #4F6B5B;
  --sage: #B9C9B9;
  --paper: #F7F3EC;
  --paper-2: #EFE8DB;
  --card: #FCF5EB;
  --line: #DDD5C6;
  --line-2: #E5DCCB;
  --ink: #1C2A22;
  --ink-2: #3E4E44;
  --ink-3: #4E5E54;
  --brass: #9A7838;
  --brass-light: #D8B878;
  --on-green: #F3EEE4;
  --on-green-2: #C9D3CA;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
  --gutter: clamp(20px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-900); }
a:hover { color: var(--green-800); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--green-900); color: var(--on-green); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Headings */
.serif { font-family: var(--serif); }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 46px); line-height: 1.05; color: var(--green-900); }
.on-dark .h2, .on-dark .h3 { color: var(--on-green); }
.h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; color: var(--green-900); }
.lead { color: var(--ink-2); }
.muted { color: var(--ink-3); }
.divider-orn { width: 120px; height: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; font-weight: 600; text-decoration: none; border: 1px solid var(--green-900); }
.btn-primary { background: var(--green-900); color: var(--on-green); }
.btn-primary:hover { background: var(--green-800); color: var(--on-green); }
.btn-secondary { background: transparent; color: var(--green-900); }
.btn-secondary:hover { background: var(--paper-2); }
.on-dark .btn-primary { background: var(--on-green); color: var(--green-900); border-color: var(--on-green); }
.on-dark .btn-secondary { color: var(--on-green); border-color: var(--on-green); }
.on-dark .btn-secondary:hover { background: var(--green-800); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Today strip */
.today { background: var(--green-900); color: var(--on-green); font-size: 14px; }
.today .wrap { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; justify-content: center; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.today strong { font-weight: 600; }
.today .leave { color: var(--brass-light); }
.today a { color: var(--on-green); }

/* Header */
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); padding: 4px 0; }
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-name { font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1; }
.brand-sub { font-size: 12.5px; line-height: 1.2; color: var(--ink-3); }
.nav { display: flex; gap: 2px 24px; font-size: 15px; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.header-tools { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: 14px; }
.lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--ink); }
.lang-current { font-weight: 600; }
.lang-soon { color: var(--ink-3); cursor: default; }
.lang-soon small { font-size: 11px; margin-left: 4px; padding: 1px 6px; border: 1px solid var(--line); }
.header-contact { display: flex; gap: 8px; }
.header-contact .btn { min-height: 44px; padding: 0 18px; }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 32px 72px; align-items: center; padding-top: 28px; padding-bottom: 72px; }
.hero-photo { flex: 0 1 440px; display: flex; justify-content: center; min-width: 0; }
.hero-photo img { height: min(540px, 110vw); width: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; background: #E6DED0; }
.hero-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 7vw, 92px); line-height: 0.95; letter-spacing: -0.01em; color: var(--green-900); }
.hero .degrees { margin-top: -6px; font-size: 15px; font-weight: 600; color: var(--ink-3); }
.hero .tagline { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; font-weight: 500; }
.hero .role { max-width: 32em; color: var(--ink-2); }
.facts { display: flex; flex-wrap: wrap; gap: 14px 30px; font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.facts li { display: flex; gap: 10px; align-items: center; }

/* Care */
.care .wrap { padding-top: 16px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 36px; }
.care-intro { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.care-intro img { flex: none; width: min(200px, 44vw); height: auto; mix-blend-mode: multiply; }
.care-intro div { flex: 1 1 380px; min-width: 0; max-width: 40em; display: flex; flex-direction: column; gap: 10px; }
.cards { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); }
.card { flex: 1 0 min(240px, 66vw); scroll-snap-align: start; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-link:hover .card-title { text-decoration: underline; text-underline-offset: 4px; }
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.card-body { padding: 4px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.card-title { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.15; color: var(--green-900); }
.card-text { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.care-foot { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 22px; }

/* In her own words (home) */
.words { background: var(--paper-2); }
.words .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 32px; }
.words-grid { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: stretch; }
.words-left { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.words-left img { width: 100%; flex: 1 1 auto; height: 0; min-height: 280px; object-fit: cover; object-position: 30% 60%; }
.quote { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.45; color: var(--green-900); }
.words-right { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 20px; color: var(--ink-2); line-height: 1.75; }
.words-right .btn { align-self: flex-start; margin-top: 4px; }

.strip { width: 100%; height: clamp(120px, 15vw, 200px); object-fit: cover; }

/* First visit */
.visit .wrap { padding-top: 80px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; align-items: center; }
.steps { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 0; }
.steps li { padding: 0 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps h3 { font-size: 17px; font-weight: 600; }
.steps p { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.before { width: 100%; background: var(--paper-2); padding: 28px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 40px; }
.before div { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.before svg { flex: none; }
.before strong { font-weight: 600; display: block; }
.before span { color: var(--ink-3); }

/* Where */
.where { background: var(--green-900); color: var(--on-green); }
.where .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.where-head { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; justify-content: space-between; }
.where-head p { font-size: 14px; color: var(--on-green-2); }
.where-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 40px; border-top: 1px solid var(--green-line); }
.where-col { padding: 28px 0; border-bottom: 1px solid var(--green-line); display: flex; flex-direction: column; gap: 12px; }
.where .hours { font-size: 18px; font-weight: 600; color: var(--brass-light); }
.where .sub { color: var(--on-green-2); }
.week { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; }
.week dd { margin: 0; }
.week .closed { color: var(--on-green-2); }
.week .is-today { font-weight: 600; color: var(--brass-light); }
.note { font-size: 14px; color: var(--on-green-2); }
.map-panel { margin: 28px 0; min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--green-800); border: 1px solid var(--green-line); color: var(--on-green); text-decoration: none; text-align: center; padding: 24px; }
.map-panel:hover { color: var(--on-green); background: #315642; }
.map-panel strong { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.map-panel span { font-size: 14px; color: var(--on-green-2); }
.leave-box { padding: 14px 18px; border: 1px solid var(--green-line); font-size: 15px; }

/* Care page */
.page-intro .wrap { padding-top: 32px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: center; }
.page-intro img { flex: 0 1 320px; width: min(320px, 56vw); mix-blend-mode: multiply; }
.page-intro div { flex: 1 1 400px; min-width: 0; max-width: 38em; display: flex; flex-direction: column; gap: 16px; }
.page-title { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5.4vw, 72px); line-height: 1; color: var(--green-900); }
.stage { padding: 40px 0; display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center; border-top: 1px solid var(--line); }
.stage:first-child { border-top: 0; }
.stage-img { flex: 0 0 min(300px, 46vw); min-width: 0; }
.stage-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--line-2); }
.stage-body { flex: 1 1 380px; min-width: 0; max-width: 36em; display: flex; flex-direction: column; gap: 14px; }
.stage-body .h3 { font-size: clamp(28px, 3.2vw, 38px); }
.stage-body p { font-size: 17px; color: var(--ink-2); }
.bring { font-size: 15px !important; padding: 12px 16px; background: var(--paper-2); color: var(--ink) !important; }
.bring strong { font-weight: 600; }
.alert { background: var(--paper-2); }
.alert .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline; }
.alert strong { font-weight: 600; }
.cta-band { background: var(--green-900); color: var(--on-green); }
.cta-band .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }

/* About page */
.profile { background: var(--paper-2); }
.profile .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.profile img { flex: none; width: 240px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; background: #E6DED0; }
.profile-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles li { padding: 6px 14px; border: 1px solid #D3C8B4; background: #FCF8F1; font-size: 14px; }
.profile-facts { padding-top: 18px; border-top: 1px solid #D3C8B4; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px 28px; }
.profile-facts dt { font-size: 13px; color: #6B6455; }
.profile-facts dd { font-size: 15px; font-weight: 600; line-height: 1.4; }
.bio .wrap { padding-top: 72px; padding-bottom: 96px; }
.bio article { max-width: 40em; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.bio strong { font-weight: 600; color: var(--ink); }
.bio .philosophy { margin: 8px 0; padding: 28px 0; border-top: 1px solid #D3C8B4; border-bottom: 1px solid #D3C8B4; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.45; color: var(--green-900); }

/* Footer */
.site-footer { background: var(--green-900); color: var(--on-green); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 32px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; font-size: 14px; }
.footer-cols h2 { font-size: 15px; font-weight: 600; color: var(--brass-light); margin-bottom: 4px; }
.footer-cols div { display: flex; flex-direction: column; gap: 6px; }
.footer-cols a { color: var(--on-green); }
.footer-name { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.footer-small { padding-top: 20px; border-top: 1px solid var(--green-line); font-size: 13px; line-height: 1.6; color: var(--on-green-2); display: flex; flex-direction: column; gap: 6px; }

/* Mobile contact bar */
.contact-bar { display: none; }
@media (max-width: 719px) {
  .header-contact { display: none; }
  .nav { width: 100%; overflow-x: auto; gap: 2px 20px; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 6px; }
  .contact-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .contact-bar .btn { min-height: 48px; padding: 0 8px; }
  body { padding-bottom: 76px; }
  .steps li { border-right: 0; }
  .before { padding: 22px 20px; }
  .hero .wrap { padding-bottom: 48px; }
  .header-tools .lang { min-height: 36px; }
  .profile img { width: min(240px, 60vw); }
}
