/* Approved October 4 palette: warm red-tinted surfaces; existing type and accents unchanged. */
body { background: #FCF8F6; }
main {
  --paper: #FCF8F6;
  --cream: #F3E2DD;
  --sand: #F8ECE7;
  --bg: var(--paper);
  --bg-soft: var(--cream);
  --bg-sand: var(--sand);
}
.section--cream { background: #F3E2DD; }
.section--sand, .home-quizzes { background: #F8ECE7; }
/* The first-screen composition and its video treatment stay as they were. */
.home-hero {
  --paper: #F5F0E7;
  --cream: #E9DFD2;
  --sand: #E1D2C2;
  --bg: var(--paper);
  --bg-soft: var(--cream);
  --bg-sand: var(--sand);
}
.home-quizzes .quiz-entry__photo { aspect-ratio: 3 / 2; }
.quiz-cover { aspect-ratio: 3 / 2; height: auto; }
.quiz-entry__photo img { background: #fff; }
/* Full portrait with an AI-assisted clinic background, based on the original photo. */
.home-mission .media-frame:has(.founders-portrait) {
  aspect-ratio: 820 / 1062 !important;
  border-radius: 24px !important;
  background: transparent;
  box-shadow: none;
}
.home-mission .founders-portrait {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
@media (min-width: 1001px) {
  .home-comparison--glaucoma .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .home-comparison--glaucoma .split > :first-child { order: 2; }
}

/* Text identifies the neurologist independently of color, in cards and the profile. */
.doctor-specialty-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--brand-700);
  border-radius: 999px;
  background: var(--brand-700);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

/* Readability 2026-10-21 */
:root {
  --ink-900: #000;
  --ink-800: #111;
  --ink-700: #111;
  --ink-600: #1a1a1a;
  --ink-500: #222;
  --ink-400: #292929;
  --text: #000;
  --text-muted: #222;
  --text-soft: #292929;
  --text-invert: #fff;
}
body { color: var(--text); font-weight: 480; }
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .h1, .h2, .h3,
.home-hero h1, .direction-photo__title { font-weight: 600; }
.h4, .h5 { font-weight: 720; }
.h6, strong, b { font-weight: 840; }
.lead { color: #1a1a1a; font-weight: 480; }
.home-hero h1 em { color: #000; }
.nav__link, .nav__link:hover, .nav__link.is-active,
.nav__item.is-open > .nav__link { color: #000; font-weight: 720; }
.mega__title { color: #000; font-weight: 720; }
.mega__desc { color: #222; font-weight: 480; }
.drawer__link, .btn, .arrow-link, .quiz-entry__action,
.hero-clinic__name, .home-hero--video .hero-clinic__name,
.hero-clinic__explore { font-weight: 720; }
.doc__role { font-weight: 600; }
.direction-card__top > span { color: #222; }
input::placeholder, textarea::placeholder { color: #444; opacity: 1; }
/* Light text remains light on solid dark surfaces and photo overlays. */
.footer, .footer__bottom, .footer .micro,
.footer .muted, .footer .caption,
.card--ink .muted, .card--ink .caption,
.section--contrast .muted,
.hero-clinic--1 .hero-clinic__services,
.hero-clinic--1 .hero-clinic__eyebrow,
.hero-clinic--1 .hero-clinic__eyebrow > span { color: #fff; }

/* Keep the Zamostyanska sign visible in the homepage branch card. */
#filiyi .branch-card__photo[href$="/zamostyanska-37"] img {
  object-position: center top;
  transform-origin: center top;
}

/* Lift the original clinic photo without altering the sign or architecture. */
.hero-clinic--khmelnytske-shose-53 .hero-clinic__photo img {
  filter: brightness(1.55) contrast(.88) saturate(1.06);
}
