/* Simcott 1.2.12 corrective layer: scoped, reversible, and cache-versioned. */
:root { --simcott-ink: #173c37; --simcott-sand: #f6f1e8; --simcott-accent: #116b5b; }
body { color: var(--simcott-ink); }
p, li, dd, dt, figcaption, .wp-block-button__link { font-size: max(1rem, 16px); line-height: 1.6; }
a { color: #075f52; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
a:focus-visible, button:focus-visible { outline: 3px solid #f0b429; outline-offset: 3px; }
.sc-button.sc-button--primary { background-color: #0c605b; color: #ffffff; }
.sc-button.sc-button--primary:hover, .sc-button.sc-button--primary:focus-visible { background-color: #084a46; color: #ffffff; }
.simcott-neutral-market-image { filter: saturate(.28) contrast(1.08) brightness(1.04); }

/* Keep the How It Works caption anchored over its photo at every breakpoint. */
body.simcott-page-how-it-works .sc-image-card { position: relative; }
body.simcott-page-how-it-works .sc-image-card__caption {
  box-sizing: border-box;
  width: auto;
  max-width: calc(100% - 40px);
}

/* Aliyah's final local-identity direction. */
body.home .sc-local-card__state-art { display: none; }
body.simcott-page-service-area .sc-map-card__state-art { opacity: .18; }
body.simcott-page-about .sc-image-stack__local-mark {
  width: 104px;
  height: 104px;
}
body.simcott-page-about .sc-image-stack__local-asset,
body.simcott-page-service-area .sc-map-card__state-asset { object-fit: contain; }
body.simcott-page-about .sc-image-stack__local-asset { width: 100%; height: 100%; }
body.home .sc-local-identity__icon {
  display: inline-grid;
  width: 48px;
  height: 42px;
  padding: 0;
  place-items: center;
  flex: 0 0 auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.home .sc-local-identity__asset {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
  body.simcott-page-about .sc-image-stack__local-mark {
    width: 140px;
    height: 140px;
  }
}

.simcott-stockwell { background: var(--simcott-sand); color: var(--simcott-ink); padding: clamp(3rem, 6vw, 6rem) 1.5rem; }
.simcott-stockwell__inner { max-width: 72rem; margin: 0 auto; }
.simcott-stockwell h2 { max-width: 20ch; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; }
.simcott-stockwell__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.simcott-stockwell__grid > div { background: #fff; border-left: 5px solid var(--simcott-accent); padding: 1.5rem; }
.simcott-eyebrow { color: #075f52; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.simcott-solution-page { color: var(--simcott-ink); }
.simcott-solution-page__hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .92fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; background: var(--simcott-sand); padding: clamp(2rem, 6vw, 6rem); }
.simcott-solution-page__hero h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.04; margin: .35rem 0 1.25rem; }
.simcott-solution-page__intro { font-size: 1.13rem; max-width: 42rem; }
.simcott-solution-page__hero img { width: 100%; min-height: 24rem; object-fit: cover; border-radius: .25rem; }
.simcott-solution-page__benefits { max-width: 72rem; margin: 0 auto; padding: clamp(3rem, 6vw, 6rem) 1.5rem; }
.simcott-solution-page__benefits ul { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.simcott-solution-page__benefits li { border-top: 4px solid var(--simcott-accent); background: #fff; box-shadow: 0 4px 18px rgba(23,60,55,.08); padding: 1.25rem; }
@media (max-width: 700px) {
  .simcott-stockwell { padding-inline: 1.1rem; }
  .simcott-stockwell__grid { grid-template-columns: 1fr; }
  body.simcott-page-how-it-works .sc-image-card__caption { max-width: calc(100% - 28px); }
  .simcott-solution-page__hero, .simcott-solution-page__benefits ul { grid-template-columns: 1fr; }
  .simcott-solution-page__hero img { min-height: 18rem; }
}

/* Allow the two correction-created industry pages to use the canonical full-width industry layout. */
body.simcott-page-gyms-fitness .sc-basic-page,
body.simcott-page-healthcare-campuses .sc-basic-page { padding: 0; }
body.simcott-page-gyms-fitness .sc-basic-page__inner,
body.simcott-page-healthcare-campuses .sc-basic-page__inner,
body.simcott-page-gyms-fitness .sc-entry-content,
body.simcott-page-healthcare-campuses .sc-entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
body.simcott-page-gyms-fitness .sc-entry-content .simcott-view img,
body.simcott-page-healthcare-campuses .sc-entry-content .simcott-view img { border-radius: 0; }
body.simcott-page-gyms-fitness .sc-entry-content .sc-copy h2,
body.simcott-page-healthcare-campuses .sc-entry-content .sc-copy h2 {
  margin: 8px 0 0;
  color: #0b3d43;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.03;
  letter-spacing: -2px;
}
body.simcott-page-gyms-fitness .sc-entry-content .sc-copy p,
body.simcott-page-healthcare-campuses .sc-entry-content .sc-copy p {
  color: #63767d;
  font-size: 17px;
  line-height: 1.75;
}
body.simcott-page-gyms-fitness .sc-entry-content .sc-check-list li,
body.simcott-page-healthcare-campuses .sc-entry-content .sc-check-list li {
  color: #15333b;
  line-height: 1.6;
}
body.simcott-page-gyms-fitness .sc-entry-content .sc-cta-card h2,
body.simcott-page-healthcare-campuses .sc-entry-content .sc-cta-card h2 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(35px, 5vw, 56px);
  line-height: 1.03;
  letter-spacing: -2px;
}
body.simcott-page-gyms-fitness .sc-entry-content .sc-cta-card p,
body.simcott-page-healthcare-campuses .sc-entry-content .sc-cta-card p {
  margin: 0;
  color: rgba(255,255,255,.74);
}
body.simcott-page-gyms-fitness .sc-basic-page__inner > h1,
body.simcott-page-healthcare-campuses .sc-basic-page__inner > h1 { display: none; }
