/* Brand colour refinements for page content and the shared footer.
   Header/navigation styling is intentionally owned by its own stylesheet. */
:root {
  --clinic-green: #235d49;
  --clinic-green-deep: #214b3b;
  --clinic-green-soft: #eef3e8;
  --clinic-orange: #f38a00;
  --clinic-orange-button: #eea044;
  --clinic-orange-deep: #a94b20;
  --clinic-orange-soft: #fff1df;
  --clinic-red: #b94435;
  --clinic-ivory: #fffdf7;
}

/* Quiet surfaces leave the logo colours room to be seen. */
main .section-title,
main .page-heading,
main .page-hero h1,
main .care-card h3,
main .info-card h3,
main .related-card h3 {
  color: var(--clinic-green);
}
main .eyebrow,
main .page-kicker {
  color: #5a7457;
}
main .page-wrap > .page-kicker::before,
main .editorial-copy > .page-kicker::before,
main .section-heading > div > .eyebrow::before,
main .about-copy > .eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  margin: 0 13px 3px 0;
  background: var(--clinic-orange);
}
main .button {
  background: var(--clinic-orange-button);
  color: #233d30;
  border: 1px solid #e19537;
  box-shadow: 0 3px 0 #d58a2e;
}
main .button:hover {
  background: #f4ad58;
  color: #233d30;
}
main .button:focus-visible,
main .page-link:focus-visible,
main .text-link:focus-visible,
.premium-contact a:focus-visible,
.premium-footer a:focus-visible {
  outline: 3px solid var(--clinic-orange);
  outline-offset: 5px;
}
main .text-link,
main .page-link {
  color: var(--clinic-green);
  border-bottom-color: var(--clinic-orange);
}
main .text-link:hover,
main .page-link:hover {
  color: var(--clinic-orange-deep);
  border-bottom-color: var(--clinic-orange-deep);
}
main .text-link > .icon:last-child,
main .page-link > span[aria-hidden],
main .archive-arrow,
main .sitemap-group a::after {
  color: var(--clinic-red);
}
main .page-outline {
  padding-block: 6px 3px;
}
main .page-outline a {
  border-bottom-color: #e8c394;
  color: var(--clinic-green);
}
main .page-outline a:hover,
main .page-outline a:focus-visible,
main .page-outline a[aria-current] {
  border-bottom-color: var(--clinic-orange);
  color: var(--clinic-orange-deep);
}
main .page-outline a > span {
  color: var(--clinic-red);
}
main .section-navigation > a[aria-current="page"] {
  background: var(--clinic-orange-soft);
  border-color: #eccb9f;
  color: var(--clinic-orange-deep);
}
main .section-navigation > a[aria-current="page"]::after {
  background: var(--clinic-orange);
}
.mobile-bottom .mobile-reserve {
  background: var(--clinic-orange-button);
  color: #233d30;
}
.mobile-bottom .mobile-reserve:hover {
  background: #f4ad58;
  color: #233d30;
}
.mobile-bottom .mobile-reserve:focus-visible {
  outline: 3px solid #233d30;
  outline-offset: -5px;
}

/* Home: the principal calls to action carry the orange. */
.home-page main .hero-copy > .eyebrow > span {
  height: 2px;
  background: var(--clinic-orange);
}
.home-page main .hero-accent::after {
  height: 3px;
  border-radius: 0;
  background: var(--clinic-orange);
}
.home-page main .hero-bottom > span > i {
  background: var(--clinic-red);
}
.home-page main .specialty-orbit {
  background: var(--clinic-green-deep);
  border-color: #f6c68d;
}
.home-page main .orbit-small {
  color: #f6c68d;
}
.home-page main .news-tag {
  color: #70421e;
  background: var(--clinic-orange-soft);
}
.home-page main .about-section {
  gap: clamp(40px, 6.5vw, 94px);
  padding-block: 106px 112px;
}
.home-page main .about-visual {
  padding-bottom: 0;
}
.home-page main .about-visual > img {
  height: auto;
  aspect-ratio: 700 / 460;
  object-fit: cover;
  border-radius: 4px 4px 4px 56px;
}
.home-page main .image-note {
  display: block;
  margin-top: 15px;
  color: #64755e;
}
.home-page main .philosophy-note {
  border-top-color: #e7bc83;
}
.home-page main .small-plus {
  color: var(--clinic-red);
}

/* The two-line invitation stays legible at every screen width. */
.home-page main .hero h1 {
  font-size: clamp(32px, 4.2vw, 60px);
  letter-spacing: .06em;
}
.home-page main .hero-title-line {
  display: block;
  white-space: nowrap;
}
.home-page main .about-section + .doctors-section {
  border-top: 1px solid var(--line);
  padding-top: 64px;
}

/* Specialty cards are complete without photographs. */
.home-page main .care-section {
  background: #eef3e8;
}
.home-page main .specialty-grid {
  gap: 28px;
}
.home-page main .care-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 35px 38px 26px;
  border: 1px solid #dce4d4;
  border-top: 3px solid var(--clinic-orange);
  background: var(--clinic-ivory);
  border-radius: 5px 34px 5px 5px;
}
.home-page main .care-card:nth-child(2) {
  border-top-color: #518264;
}
.home-page main .care-card-top {
  align-items: center;
  min-height: 88px;
  margin-bottom: 12px;
  padding-top: 0;
}
.home-page main .care-number {
  font-size: 31px;
  color: var(--clinic-orange-deep);
}
.home-page main .care-number span {
  color: #597258;
  font-size: 9px;
}
.home-page main .care-card-top .medical-icon {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  padding: 15px;
  color: #3e7658;
  background: #eef3e7;
  border-radius: 20px 5px 20px 5px;
}
.home-page main .care-card:nth-child(2) .medical-icon {
  color: #ae612d;
  background: var(--clinic-orange-soft);
}
.home-page main .care-subtitle {
  margin-top: 9px;
  color: #60745c;
}
.home-page main .care-card h3 {
  margin-block: 4px 19px;
  font-size: 32px;
}
.home-page main .care-card > p:not(.care-subtitle) {
  min-height: 0;
  line-height: 2.15;
}
.home-page main .care-tags {
  margin-block: 24px;
}
.home-page main .care-tags span {
  color: #526748;
  background: #edf2e6;
}
.home-page main .care-card .text-link {
  margin-top: auto;
  padding-top: 19px;
  border-top-color: #e6c59c;
}
.home-page main .general-care {
  border: 1px solid #dce4d4;
  background: var(--clinic-ivory);
}
.home-page main .general-care .round-link {
  background: var(--clinic-orange-button);
  border-color: #d68c2f;
  color: #233d30;
}

/* The existing three visitor cards keep their consistent, photograph-free form. */
.home-page main .visit-guide-card {
  background: #f3f6eb;
  border-color: #dce5cf;
  border-top: 3px solid #71945c;
}
.home-page main .visit-guide-card.guide-peach {
  background: #fff0dc;
  border-color: #edcfaa;
  border-top-color: var(--clinic-orange);
}
.home-page main .visit-guide-card.guide-sage {
  background: #eef3e5;
  border-color: #d8e2c8;
  border-top-color: #71945c;
}
.home-page main .visit-guide-card h3 {
  color: var(--clinic-green);
}
.home-page main .visit-guide-card .icon {
  color: var(--clinic-red);
}
.home-page main .guide-line-icon {
  stroke: #5d8650;
}
.home-page main .guide-peach .guide-line-icon {
  stroke: #cf7a21;
}
.home-page main .home-access-banner {
  border-left-color: var(--clinic-orange);
  background: var(--clinic-ivory);
}
.home-page main .home-hydrogen {
  background: #f6f6ec;
  border-block-color: #e5e7d9;
}

/* Editorial page openings: type, light, and a small piece of the logo palette. */
main .page-hero--editorial {
  display: block;
  min-height: 0;
  background: linear-gradient(110deg, #f0f5e9 0%, #faf8f0 76%);
  border: 1px solid #e3e8da;
  border-bottom: 2px solid var(--clinic-orange);
  border-radius: 4px 4px 48px 4px;
  isolation: isolate;
}
main .page-hero--editorial::after {
  content: '';
  position: absolute;
  top: 31px;
  right: 34px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clinic-red);
  pointer-events: none;
}
body:not(.article-page) main .page-hero--editorial .page-hero-copy {
  width: min(1120px, calc(100% - 100px));
  max-width: none;
  min-height: 0;
  margin-inline: auto;
  padding: 61px 190px 65px 0;
}
main .page-hero--editorial .page-kicker {
  color: #526e50;
  display: flex;
  align-items: center;
  gap: 16px;
}
main .page-hero--editorial .page-kicker::before {
  content: '';
  width: 38px;
  height: 2px;
  flex-shrink: 0;
  background: var(--clinic-orange);
}
body:not(.article-page) main .page-hero--editorial h1 {
  font-size: clamp(32px, 3.3vw, 45px);
  line-height: 1.65;
  margin-block: 18px 22px;
  max-width: 850px;
}
body:not(.article-page) main .page-hero--editorial .page-hero-copy > p:last-of-type {
  max-width: 760px;
  font-size: 14px;
  line-height: 2.15;
  color: #4c6854;
}
body:not(.article-page) main .page-hero--editorial .hero-leaves {
  width: 186px;
  height: 186px;
  right: -4px;
  bottom: -41px;
  opacity: .24;
  z-index: -1;
}
main .page-hero--editorial .hero-leaves > span {
  background: #91ae70;
}
main .page-hero--editorial .hero-leaves > span:nth-child(2),
main .page-hero--editorial .hero-leaves > span:nth-child(3) {
  background: #f2ac50;
}
:is(.page-first-visit, .page-fees, .page-contact, .page-recruit) main .page-hero--editorial {
  background: linear-gradient(110deg, #fff0dc 0%, #fbf9f1 77%);
  border-color: #ecdfc9;
  border-bottom-color: var(--clinic-orange);
}
:is(.page-hydrogen, .page-faq) main .page-hero--editorial {
  background: #f6f6ec;
}
.article-page main .page-hero--editorial {
  border-bottom-width: 1px;
}
.article-page main .page-hero--editorial .page-kicker {
  padding-right: 35px;
}

/* Repeated photography can be removed without leaving an empty grid column. */
main .editorial-text-only {
  display: block;
}
main .editorial-text-only > .editorial-copy {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
}
main .editorial-text-only .page-heading {
  max-width: 780px;
  font-size: 33px;
  line-height: 1.8;
  margin-bottom: 26px;
}
main .editorial-text-only .page-text {
  font-size: 14px;
  line-height: 2.25;
}
main .editorial-text-only .page-text + .page-text {
  margin-top: 20px;
}

/* Secondary information uses restrained orange edges and green headings. */
main .info-card {
  border-top-color: var(--clinic-orange);
  background: var(--clinic-ivory);
}
main .info-card:nth-child(2n) {
  border-top-color: #71945c;
}
main .note-box {
  border-left-color: var(--clinic-orange);
  background: #fff1df;
  color: #5e503a;
}
main .note-box h3 {
  color: #654625;
}
main .related-card:nth-child(2) {
  background: #fff1df;
  border-color: #ead3b2;
}
main .check-list > li::before {
  color: #fff;
  background: #527e42;
}
main .number-list > li::before,
main .step-number {
  color: #a95b25;
}
main .summary-plus::before,
main .summary-plus::after {
  background: var(--clinic-orange-deep);
}
main .archive-year[open] > summary {
  background: #fff2e2;
}
main .archive-year > summary::after {
  color: var(--clinic-red);
}
main .article-body .archive-notice {
  background: #f3f5ed;
  border-left-color: #78985e;
}

/* A warm reservation area introduces the deeper green footer. */
.premium-contact {
  background: #fbf6ed;
  border-top-color: #eadcc7;
}
.pf-contact-heading h2 {
  color: var(--clinic-green);
}
.pf-contact-heading > .pf-kicker {
  color: #6d774f;
}
.pf-contact-heading > .pf-kicker::before,
.pf-contact-heading > .pf-kicker::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 27px;
  height: 2px;
  margin-inline: 14px;
  background: var(--clinic-orange);
}
.pf-contact-card {
  background: var(--clinic-ivory);
  border-color: #dedfcc;
  color: var(--clinic-green-deep);
}
.pf-contact-card:hover {
  border-color: #e0aa65;
}
.pf-contact-phone .pf-card-icon {
  color: #ab5a22;
}
.pf-contact-phone .pf-card-arrow,
.pf-contact-line .pf-card-arrow {
  color: var(--clinic-red);
}
.pf-contact-reserve {
  background: var(--clinic-orange-deep);
  border-color: var(--clinic-orange-deep);
  color: #fff;
}
.pf-contact-reserve .pf-card-label,
.pf-contact-reserve .pf-card-caption,
.pf-contact-reserve .pf-card-icon,
.pf-contact-reserve .pf-card-arrow {
  color: #fff9ed;
}
.pf-contact-reserve:hover {
  background: #913d19;
  border-color: #913d19;
  color: #fff;
}
.pf-contact-line {
  background: #f0f5e9;
}
.pf-email-link {
  border-bottom-color: var(--clinic-orange);
  color: var(--clinic-green);
}
.pf-contact-note {
  color: #65715f;
}
.premium-footer {
  background: var(--clinic-green-deep);
  border-top: 4px solid var(--clinic-orange);
  color: #e4eddf;
}
.premium-footer .pf-brand > img,
.premium-footer .pf-signature-rule > img {
  filter: none;
  opacity: 1;
  background: var(--clinic-ivory);
}
.pf-brand-en,
.pf-address,
.pf-parking {
  color: #d4e0cf;
}
.pf-phone-note,
.pf-support-heading > p,
.pf-signature > span,
.pf-bottom,
.pf-design-note {
  color: #bed0b8;
}
.pf-clinic-phone > .icon,
.pf-parking b,
.pf-access-links > a > .icon,
.pf-sitemap-intro > a,
.pf-to-top > span {
  color: #f2b568;
}
.pf-access-links > a {
  border-bottom-color: #a8ba916b;
}
.pf-access-links > a:hover,
.pf-sitemap a:hover,
.pf-bottom a:hover {
  color: #ffd196;
}
.pf-hours-panel,
.pf-support-card {
  background: var(--clinic-ivory);
  color: var(--clinic-green-deep);
}
.pf-hours-panel {
  border-top: 3px solid var(--clinic-orange);
}
.pf-panel-heading .pf-kicker {
  color: #697954;
}
.pf-appointment-tag {
  color: #7d471e;
  background: #fff0dc;
  border-color: #e7c596;
}
.pf-hours-table {
  color: var(--clinic-green-deep);
}
.pf-hours-table thead {
  background: #edf3e6;
}
.pf-hours-table .pf-closed {
  color: #5d7058;
}
.pf-closed-note > span {
  color: #98521e;
}
.pf-panel-link {
  color: var(--clinic-green);
}
.pf-panel-link > .icon {
  color: var(--clinic-red);
}
.pf-support-heading .pf-kicker,
.pf-sitemap-intro .pf-kicker {
  color: #f3be79;
}
.pf-support-symbol,
.pf-credit-icon {
  color: #a45623;
}
.pf-support-card > .pf-support-fine,
.pf-payment-method > span {
  color: #66755d;
}
.pf-sitemap h2 {
  border-bottom-color: #e6a75470;
}
.pf-sitemap a {
  color: #dce7d5;
}
.pf-sitemap a > span {
  color: #f2b568;
}
.pf-signature-rule > span {
  background: #f1ac5266;
}

@media (max-width: 1100px) {
  .home-page main .about-section { gap: 42px; }
  .home-page main .care-card { padding: 30px 30px 24px; }
  .home-page main .care-card-top .medical-icon { width: 80px; height: 80px; padding: 13px; }
  body:not(.article-page) main .page-hero--editorial .page-hero-copy { padding-right: 145px; }
  body:not(.article-page) main .page-hero--editorial .hero-leaves { width: 160px; height: 160px; }
}
@media (max-width: 900px) {
  .home-page main .about-section { grid-template-columns: 1fr; gap: 39px; padding-block: 76px 82px; }
  .home-page main .about-visual { max-width: 720px; }
  .home-page main .about-visual > img { max-height: 420px; }
  .home-page main .about-copy { max-width: 720px; }
  .home-page main .specialty-grid { gap: 20px; }
  .home-page main .care-card { padding-inline: 26px; }
  .home-page main .care-number { gap: 9px; font-size: 28px; }
  .home-page main .care-number span { font-size: 8px; letter-spacing: .08em; }
  .home-page main .care-card h3 { font-size: 28px; }
  .home-page main .care-card-top .medical-icon { width: 72px; height: 72px; padding: 11px; }
  body:not(.article-page) main .page-hero--editorial .page-hero-copy { width: calc(100% - 68px); padding-block: 48px 52px; padding-right: 94px; }
  body:not(.article-page) main .page-hero--editorial .hero-leaves { width: 130px; height: 130px; right: -18px; bottom: -26px; }
  main .editorial-text-only .page-heading { font-size: 29px; }
}
@media (max-width: 700px) {
  .home-page main .hero h1 { font-size: clamp(23px, 7.4vw, 42px); letter-spacing: .04em; }
  .home-page main .about-section + .doctors-section { padding-top: 48px; }
  .home-page main .about-section { gap: 32px; padding-block: 62px 70px; }
  .home-page main .about-visual > img { max-height: none; border-bottom-left-radius: 36px; }
  .home-page main .image-note { margin-top: 12px; }
  .home-page main .specialty-grid { gap: 20px; }
  .home-page main .care-card { padding: 25px 26px 21px; border-radius: 4px 28px 4px 4px; }
  .home-page main .care-card-top { min-height: 74px; margin-bottom: 12px; }
  .home-page main .care-card-top .medical-icon { width: 76px; height: 76px; padding: 12px; }
  .home-page main .care-number { font-size: 29px; }
  .home-page main .care-number span { font-size: 9px; letter-spacing: .1em; }
  .home-page main .care-card h3 { font-size: 29px; margin-bottom: 17px; }
  .home-page main .care-tags { margin-block: 21px; }
  .home-page main .care-card .text-link { padding-top: 17px; }
  main .page-hero--editorial { border-radius: 4px 4px 32px 4px; }
  main .page-hero--editorial::after { width: 5px; height: 5px; top: 25px; right: 23px; }
  body:not(.article-page) main .page-hero--editorial .page-hero-copy { width: auto; margin: 0; padding: 34px 26px 42px; }
  main .page-hero--editorial .page-kicker { padding-right: 25px; gap: 12px; font-size: 9px; }
  main .page-hero--editorial .page-kicker::before { width: 24px; }
  body:not(.article-page) main .page-hero--editorial h1 { font-size: 30px; margin-block: 16px 18px; line-height: 1.7; }
  body:not(.article-page) main .page-hero--editorial .page-hero-copy > p:last-of-type { font-size: 12px; max-width: 100%; }
  body:not(.article-page) main .page-hero--editorial .hero-leaves { width: 102px; height: 102px; right: -18px; bottom: -22px; opacity: .16; }
  main .editorial-text-only .page-heading { font-size: 26px; margin-bottom: 22px; }
  main .editorial-text-only .page-text { font-size: 13px; line-height: 2.2; }
  main .page-outline { padding-block: 3px 0; }
  .pf-contact-heading > .pf-kicker::before, .pf-contact-heading > .pf-kicker::after { width: 20px; margin-inline: 10px; }
  .premium-footer { border-top-width: 3px; }
}
@media (max-width: 380px) {
  .home-page main .care-card { padding-inline: 23px; }
  .home-page main .care-card h3 { font-size: 27px; }
  body:not(.article-page) main .page-hero--editorial .page-hero-copy { padding-inline: 23px; }
  body:not(.article-page) main .page-hero--editorial h1 { font-size: 27px; }
  main .editorial-text-only .page-heading { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  main .button,
  main .text-link,
  main .page-link,
  main .visit-guide-card,
  main .specialty-orbit,
  .pf-contact-card {
    transition: none;
  }
  main .button:hover,
  main .visit-guide-card:hover,
  main .specialty-orbit:hover,
  .pf-contact-card:hover {
    transform: none;
  }
}
