@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --ink: #332E2A;
  --white: #FFFFFF;
  --sand: #FAF6F0;
  --sand-deep: #EFE5D6;
  --blush: #F3E1DB;
  --red: #C1604F;
  --red-deep: #9C4B3D;
  --max-width: 780px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  color: var(--red-deep);
}

h1 { font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; font-weight: 600; font-family: 'Work Sans', sans-serif; color: var(--ink); }

p { max-width: none; }

a { color: var(--red-deep); }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red-deep);
  color: var(--white);
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

header.site-header {
  padding: 10px 0 0 0;
  background: var(--white);
  border-bottom: 1px solid var(--sand-deep);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 10px;
  padding-left: 8px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { display: block; height: 128px; width: auto; margin-left: -4px; }

nav.tabs {
  display: flex;
  gap: 2px;
  overflow-x: auto;
}

nav.tabs a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.97rem;
  font-weight: 500;
  padding: 14px 18px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease;
}

nav.tabs a:hover,
nav.tabs a:focus-visible {
  color: var(--red-deep);
  border-bottom-color: var(--red);
}

nav.tabs a[aria-current="page"] {
  color: var(--red-deep);
  border-bottom-color: var(--red-deep);
  font-weight: 600;
}

.hero {
  padding: 40px 0 8px 0;
}

.hero p.lede {
  font-size: 1.15rem;
  color: var(--red-deep);
  max-width: 58ch;
}

.hero-simple {
  padding: 48px 0 8px 0;
  max-width: 760px;
}
.hero-simple .eyebrow {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
  color: var(--ink);
}
.hero-simple h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 14px;
  white-space: nowrap;
}
.hero-simple p:not(.eyebrow) {
  color: var(--ink);
  font-size: 1.05rem;
  max-width: 58ch;
}
@media (max-width: 560px) {
  .hero-simple h1 { white-space: normal; }
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-actions .btn {
  margin-top: 10px;
  min-width: 200px;
  text-align: center;
}

.section-photo-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
}
.section-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
}
@media (max-width: 760px) {
  .section-photo-row { grid-template-columns: 1fr; }
  .section-photo { max-width: 320px; }
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 40px 0;
}
@media (max-width: 640px) {
  .photo-row { grid-template-columns: 1fr; }
}

.photo-placeholder {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--sand-deep);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-placeholder.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9A8F7E;
  font-size: 0.85rem;
  text-align: center;
  padding: 16px;
}
.photo-placeholder figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(255,255,255,0.9);
  color: var(--red-deep);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 3px;
}
.photo-placeholder.empty figcaption {
  position: static;
  background: none;
  padding: 0;
  margin-top: 8px;
}

.btn-outline {
  background: transparent;
  color: var(--red-deep);
  border: 1.5px solid var(--red-deep);
}
.btn-outline:hover, .btn-outline:focus-visible { background: var(--blush); }

.care-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 32px;
  margin-top: 24px;
  align-items: start;
}
@media (max-width: 860px) {
  .care-row { grid-template-columns: 1fr; }
}

.care-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 640px) {
  .care-cards { grid-template-columns: 1fr; }
}

.care-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 6px;
  padding: 22px;
  transition: border-color 0.15s ease;
}
.care-card:hover, .care-card:focus-visible { border-color: var(--red); }

.care-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blush);
  margin-bottom: 14px;
}

.care-card h3 { color: var(--red-deep); margin-bottom: 6px; }
.care-card p { font-size: 0.92rem; margin: 0 0 12px 0; }

.more-link {
  color: var(--red-deep);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
}

.info-panel {
  background: var(--blush);
  border-radius: 6px;
  padding: 24px;
}
.info-panel h3 { color: var(--red-deep); margin-bottom: 14px; }
.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

section.block {
  padding: 48px 0;
  border-top: 1px solid var(--sand-deep);
}

section.block.tinted {
  background: var(--blush);
  border-top: none;
  border-bottom: 1px solid var(--sand-deep);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
}

.doctor-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 640px) {
  .doctor-row { grid-template-columns: 1fr; }
}

.contact-icon-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}
.contact-icon-list li {
  list-style: none;
}
.contact-icon-list a,
.contact-icon-list li > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}
.contact-icon-list a:hover { color: var(--red-deep); }

.doctors-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 560px;
}
@media (max-width: 560px) {
  .doctors-row { grid-template-columns: 1fr; }
}

.doctor-card { text-align: center; }

.portrait {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  background: var(--sand-deep);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9A8F7E;
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.doctor-name {
  margin-top: 12px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--red-deep);
}

.appt-row { margin-top: 24px; }

.btn {
  display: inline-block;
  background: var(--red-deep);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 3px;
  margin-top: 18px;
  transition: background 0.15s ease;
}
.btn:hover, .btn:focus-visible { background: var(--red); }

.btn.disabled {
  background: var(--sand-deep);
  color: #9A8F7E;
  pointer-events: none;
}

ul.task-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: grid;
  gap: 12px;
}
ul.task-list li {
  padding-left: 26px;
  position: relative;
}
ul.task-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 8px;
}
@media (max-width: 720px) { .info-grid { grid-template-columns: 1fr; } }

.map-frame {
  width: 100%;
  border: 0;
  aspect-ratio: 4/3;
  border-radius: 4px;
}

.access-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0 0;
  display: grid;
  gap: 10px;
  font-size: 0.97rem;
}

.todo {
  display: inline-block;
  background: var(--blush);
  border: 1px dashed var(--red);
  color: var(--red-deep);
  font-size: 0.85rem;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 6px;
}

footer {
  padding: 40px 0 60px 0;
  color: #8A8074;
  font-size: 0.9rem;
}

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

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
