:root {
  --bg: #FAF7F2;
  --ink: #1F2E28;
  --sage: #7A9E7E;
  --sage-deep: #52705A;
  --gold: #C99A3D;
  --clay: #D8CFC3;
  --card: #FFFFFF;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

a { color: inherit; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 24px;
  top: 12px;
}

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

header {
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--clay);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo span { color: var(--sage-deep); }
nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
nav a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gold);
}

main { padding: 44px 0 60px; }

h1 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.lede { color: #4A5850; margin: 0 0 36px; max-width: 60ch; }

/* --- signature element: taped notice --- */
.notice-row { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 48px; }
.notice {
  background: #FFFDF8;
  border: 1px solid var(--clay);
  box-shadow: 0 6px 18px rgba(31, 46, 40, 0.08);
  padding: 22px 24px 24px;
  max-width: 340px;
  position: relative;
  transform: rotate(-1.2deg);
}
.notice.alt { transform: rotate(0.9deg); }
.notice::before, .notice::after {
  content: "";
  position: absolute;
  width: 46px; height: 16px;
  background: rgba(201, 154, 61, 0.35);
  top: -8px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08);
}
.notice::before { left: 14px; transform: rotate(-4deg); }
.notice::after { right: 14px; transform: rotate(3deg); }
.notice h2 { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 600; margin: 0 0 8px; }
.notice .dates {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  color: var(--sage-deep);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 8px;
}
.notice p { margin: 0; font-size: 0.92rem; color: #4A5850; }

/* --- cards --- */
.card {
  background: var(--card);
  border: 1px solid var(--clay);
  padding: 28px 30px;
  margin-bottom: 28px;
}
.card h2 { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 600; margin: 0 0 18px; }

table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table th {
  text-align: left;
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sage-deep);
  padding: 6px 8px 10px 0;
  border-bottom: 1px solid var(--clay);
}
table td {
  padding: 9px 8px;
  border-bottom: 1px solid #EFEAE1;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
}
table td.day { font-family: 'Inter', sans-serif; font-weight: 600; }

.urgent {
  margin-top: 16px;
  padding: 12px 14px;
  background: #F4EFE3;
  border-left: 3px solid var(--gold);
  font-size: 0.88rem;
}
.urgent strong { color: var(--sage-deep); }

.info-box {
  margin-top: 16px;
  padding: 12px 14px;
  background: #F1F5F1;
  border-left: 3px solid var(--sage);
  font-size: 0.88rem;
}
.info-box strong { color: var(--sage-deep); }

/* --- doctors / people --- */
.doctors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.doctor h3 { font-family: 'Fraunces', serif; font-size: 1.05rem; margin: 0 0 4px; }
.doctor .role { font-size: 0.85rem; color: var(--sage-deep); font-weight: 500; margin-bottom: 10px; }
.phone {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

.profile { margin-bottom: 28px; }
.profile h2 { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 600; margin: 0 0 4px; }
.profile .role { font-size: 0.9rem; color: var(--sage-deep); font-weight: 500; margin-bottom: 12px; }
.profile p { margin: 0 0 12px; }
.profile p:last-child { margin-bottom: 0; }

.nurses { list-style: none; margin: 0; padding: 0; }
.nurses li {
  padding: 10px 0;
  border-bottom: 1px solid #EFEAE1;
  font-weight: 500;
}
.nurses li:last-child { border-bottom: none; }

/* --- contact page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.contact-item h2 { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 600; margin: 0 0 10px; }
.contact-item p { margin: 0 0 6px; }
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.map-frame {
  border: 1px solid var(--clay);
  overflow: hidden;
}
.map-frame iframe { display: block; width: 100%; height: 300px; border: 0; }

footer {
  border-top: 1px solid var(--clay);
  padding: 26px 0;
  font-size: 0.85rem;
  color: #5A6A62;
}
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 640px) {
  .doctors, .contact-grid, .map-grid { grid-template-columns: 1fr; }
  nav ul { gap: 16px; }
  .card { padding: 22px 18px; }
  h1 { font-size: 1.6rem; }
}
