/* 2026-11-04: clinic brand refresh; load after typography.css. */
:root {
  --brand-main:#35866e;
  --brand-action:#2f7d66;
  --brand-dark:#285f50;
  --brand-secondary:#3f6e60;
  --brand-soft:#8abda9;
  --brand-pale:#ddefe8;
  --brand-surface:#eaf5f1;
  --brand-paper:#f6faf8;
  --ink:#344a42;
  --muted:#52685f;
  --bronze:var(--brand-action);
  --bronze-deep:var(--brand-dark);
  --sand:#a7c6b8;
  --line:#ceded6;
  --cream:var(--brand-paper);
  --cream-deep:var(--brand-pale);
  --heading-primary:var(--brand-dark);
  --heading-secondary:var(--brand-secondary);
  --body-copy:#344a42;
  --label-copy:var(--brand-secondary);
}
.home {
  --home-ink:var(--brand-dark);
  --home-green:var(--brand-action);
}
::selection { background:#c9e6d9; color:var(--brand-dark); }

/* Shared controls and surfaces retain their existing dimensions and hierarchy. */
.site-header { border-bottom-color:var(--line); }
.site-footer { background:#fff; }
.visit-section { background:var(--brand-paper); }
.section-kicker::before { background:var(--brand-soft); }
.side-actions button,
.side-actions .side-booking,
.mobile-actions button { background:var(--brand-action); color:#fff; }
.side-actions a,
.mobile-actions a { background:var(--brand-surface); color:var(--brand-dark); }
.side-actions a { box-shadow:inset 0 0 0 1px #658c79,0 6px 20px rgb(40 95 80 / 12%); }
.side-actions a .icon,
.mobile-actions a .icon,
.sidebar-consult .icon,
.header-phone .icon,
.footer-phone .icon { filter:brightness(0); opacity:.72; }
.side-actions button .icon,
.mobile-actions button .icon { filter:brightness(0) invert(1); opacity:1; }
.button-primary { background:var(--brand-action); border-color:var(--brand-action); color:#fff; }
.onaga-hours th,
.onaga-hours td { border-bottom-color:var(--line); }
.onaga-hours thead,
.entry-content .onaga-hours thead { background:var(--brand-pale); }
.onaga-hours tbody td { color:var(--brand-dark); }
.booking-dialog .notice-text,
.notice-text { background:var(--brand-paper); border-left-color:var(--brand-soft); }
.article-booking .notice-text { background:#fff; }

/* Photographs, logo, illustrations and their existing crops are untouched. */
.home .hero-slideshow .hero-copy .hero-message .hero-text-surface {
  background:var(--brand-main);
  color:#fff;
}
.home .hero-slideshow .hero-copy .hero-eyebrow {
  background:rgb(246 250 248 / 96%);
  color:var(--brand-dark);
}
.home .hero-slideshow .hero-eyebrow::before { background:var(--brand-action); }
.home .hero-actions .hero-visit-link {
  background:var(--brand-action);
  border-color:var(--brand-action);
  color:#fff;
}
.home .hero-actions .hero-find-link {
  background:var(--brand-pale);
  border-color:#658c79;
  color:var(--brand-dark);
}
.home .hero-actions .circle-arrow { border-color:#a7cbbd; }
.home .hero-actions .hero-find-link .circle-arrow { border-color:#83ab99; }
.home .hero-actions .hero-find-link .icon { filter:brightness(0); opacity:.72; }
.home .hero-actions a:focus-visible { outline-color:var(--brand-dark); }
.home .hero-slideshow .hero-photo-rail { color:var(--brand-dark); }
.home .hero-slideshow .hero-count-total { color:var(--muted); }
/* Rail is 94% white: keep inactive controls legible even above a dark photo. */
.home .hero-slideshow .hero-slide-selector span { background:#658c79; }
.home .hero-slideshow .hero-slide-selector[aria-pressed=true] span { background:var(--brand-action); }
.home .hero-slideshow .hero-play-toggle { border-color:#aecabb; color:var(--brand-action); }

/* Reason 02 becomes a light panel instead of a large dark field. */
.home .home-features { --feature-ink:var(--brand-dark); --feature-sage:#6f9b86; }
.home .home-features .features-heading > .features-intro { border-left-color:#9ebdab; }
.home .home-features .feature-reasons li > .reason-body { color:var(--body-copy); }
.home .home-features .feature-reasons li:nth-child(2) > .reason-body {
  background:var(--brand-pale);
  color:var(--body-copy);
}
.home .home-features .feature-reasons li:nth-child(2) h3 { color:var(--brand-dark); }
.home .home-features .feature-reasons li:nth-child(2) p { color:var(--body-copy); }
.home .home-features .reason-number { color:#e1eee7; }
.home .home-features .feature-reasons li:nth-child(2) .reason-number { color:#b5d4c5; }
.home .home-features .reason-link,
.home .home-features .feature-reasons li:nth-child(2) .reason-link,
.home .home-features .feature-reasons li:nth-child(2) .text-link { color:var(--brand-dark); }
.home .home-features .reason-link .circle-arrow,
.home .home-features .feature-reasons li:nth-child(2) .reason-link .circle-arrow {
  background:var(--brand-action);
}
.home .home-features .feature-reasons li:nth-child(2) .reason-link .circle-arrow .icon {
  filter:brightness(0) invert(1);
}
.home .home-features .feature-reasons li:nth-child(2) .text-link:focus-visible {
  outline-color:var(--brand-dark);
}

/* Alternating white, quiet neutral and blue-green fields preserve section rhythm. */
.home .home-care { background:var(--brand-surface); }
.home .home-care .section-kicker { background:#fff; }
.home .care-pillar { background:#fff; border-top-color:#9abdad; }
.home .care-pillar-glaucoma { border-top-color:var(--brand-action); }
.home .care-pillar .text-link { color:var(--brand-dark); border-bottom-color:#a7c6b8; }
.home .home-directory { background:#f7f9f7; }
.home .home-family { background:#f7f9f7; }
.home .home-journal { background:var(--brand-paper); border-top-color:var(--line); }
.home .home-family .section-kicker,
.home .home-greeting .section-kicker,
.home main .section-kicker { background:var(--brand-pale); }
.home .home-features .features-heading .section-kicker { background:none; }
.home .home-care .section-kicker { background:#fff; }
.home .family-links .row-link { border-color:var(--line); }
.home .greeting-profile .doctor-sign { border-top-color:var(--line); }
.home .greeting-profile .doctor-sign small { color:var(--brand-secondary); }
.home .news-list .news-date,
.home .news-strip .news-date { color:var(--label-copy); }

/* Examinations remain a distinct full-width section with readable dark text. */
.home .home-examinations { background:#d1e5db; }
.home .home-examinations .exam-copy .section-heading { color:var(--brand-dark); }
.home .home-examinations .exam-copy > p.section-kicker {
  background:#edf6f1;
  color:var(--brand-secondary);
}
.home .home-examinations .exam-copy > p:not(.section-kicker) { color:var(--body-copy); }
.home .home-examinations .exam-copy .text-link { color:var(--brand-dark); border-bottom-color:#88af9c; }
.home .home-examinations .exam-copy .circle-arrow { background:var(--brand-action); }
.home .home-examinations .exam-copy .circle-arrow .icon { filter:brightness(0) invert(1); }
.home .home-examinations .exam-heading-phrase { display:inline-block; max-width:100%; }
/* Keep the desktop CTA gutter and give each examination heading phrase room. */
@media(min-width:1101px) {
  .home .home-examinations .split-feature {
    width:min(1200px,calc(100% - 240px));
    grid-template-columns:min(500px,45%) minmax(0,1fr);
  }
}

/* Search states use the same hue as the main actions. */
.home .home-directory .tab-buttons button {
  color:var(--brand-dark);
  border-color:#aecabb;
  box-shadow:0 3px 10px rgb(40 95 80 / 5%);
}
.home .home-directory .tab-buttons button[aria-selected=true] {
  background:var(--brand-action);
  border-color:var(--brand-action);
  color:#fff;
  box-shadow:0 4px 12px rgb(40 95 80 / 12%);
}
.home .home-directory .directory-group-title { color:var(--brand-secondary); }
.home .home-directory .directory-list a {
  color:var(--brand-dark);
  border-color:#ceded6;
  box-shadow:0 3px 10px rgb(40 95 80 / 5%);
}
.home .home-directory .directory-list .link-arrow { background:var(--brand-action); }
.home .home-directory .tab-buttons button:focus-visible,
.home .home-directory .directory-list a:focus-visible { outline-color:var(--brand-dark); }
.home .home-directory .directory-list a:focus-visible {
  background:var(--brand-surface);
  border-color:#80ac96;
}
.home .home-directory .directory-list a:focus-visible .link-arrow { background:var(--brand-dark); }
.home .home-directory .directory-list a:active {
  background:var(--brand-pale);
  border-color:#80ac96;
  box-shadow:inset 0 0 0 1px #80ac96;
}
.home .home-directory .tab-buttons button:active { box-shadow:inset 0 0 0 2px #a7cbbd; }

/* Article typography inherits the same palette without modifying copy or imagery. */
.page-hero-botanical .breadcrumb { color:var(--muted); }
.page-hero-botanical .page-title .eyebrow { color:var(--brand-secondary); }
.entry-content > h2 { background:var(--brand-surface); }
.entry-content > h2::before,
.entry-content .onaga-step-list > li::before { color:var(--brand-secondary); }
.entry-content .wp-block-table tbody tr:nth-child(even) { background:var(--brand-paper); }
.article-booking h2 { color:var(--brand-dark); }
.article-booking h2 .icon { filter:brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(202%) hue-rotate(113deg) brightness(88.4%); }

@media(hover:hover) {
  .button-primary:hover,
  .side-actions button:hover,
  .mobile-actions button:hover { background:var(--brand-dark); border-color:var(--brand-dark); color:#fff; }
  .side-actions a:hover,
  .mobile-actions a:hover { background:var(--brand-pale); color:var(--brand-dark); }
  .side-actions a:hover { box-shadow:inset 0 0 0 1px #527e69,0 6px 20px rgb(40 95 80 / 12%); }
  .home .hero-actions .hero-visit-link:hover { background:var(--brand-dark); border-color:var(--brand-dark); color:#fff; }
  .home .hero-actions .hero-find-link:hover { background:#cee6da; border-color:#527e69; color:var(--brand-dark); }
  .home .hero-slideshow .hero-play-toggle:hover { background:var(--brand-surface); }
  .home .hero-slideshow .hero-slide-selector:hover span { background:var(--brand-dark); }
  .home .home-features .reason-link:hover,
  .home .home-features .feature-reasons li:nth-child(2) .reason-link:hover,
  .home .home-features .feature-reasons li:nth-child(2) .text-link:hover { color:#326b59; }
  .home .home-features .feature-reasons li:nth-child(2) .text-link:hover .circle-arrow { background:var(--brand-dark); }
  .home .home-directory .directory-list a:hover {
    background:var(--brand-surface);
    color:var(--brand-dark);
    border-color:#80ac96;
    box-shadow:0 5px 14px rgb(40 95 80 / 9%);
  }
  .home .home-directory .directory-list a:hover .link-arrow { background:var(--brand-dark); }
  .home .home-directory .tab-buttons button:not([aria-selected=true]):hover {
    background:var(--brand-surface);
    border-color:#80ac96;
  }
  .row-link:hover,
  .family-links .row-link:hover,
  .entry-content .directory-list a:hover {
    background:var(--brand-surface);
    color:var(--brand-dark);
  }
}
@media(max-width:767px) {
  .home .home-hero.hero-slideshow { background:var(--brand-paper); }
}
