/* Keep the original card construction; approved refinements are scoped here. */
body.chmbr-theme-active .chmbr-art-card { position: relative; }
.chmbr-card-hit { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
.chmbr-card-hit:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.chmbr-art-card:has(.chmbr-card-hit:hover) h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.chmbr-section-link { margin: 8px 0 0; }
.chmbr-section-link a { text-decoration: underline; text-underline-offset: 6px; }

/* The hero invitation is orange at rest and quiet grey during interaction. */
body.chmbr-theme-active .chmbr-home-hero__actions .wp-block-button__link {
  background: var(--chmbr-orange);
  border-color: var(--chmbr-orange);
  color: var(--chmbr-black);
}
body.chmbr-theme-active .chmbr-home-hero__actions .wp-block-button__link:hover,
body.chmbr-theme-active .chmbr-home-hero__actions .wp-block-button__link:focus-visible,
body.chmbr-theme-active .chmbr-home-hero__actions .wp-block-button__link:active {
  background: #343b44;
  border-color: #343b44;
  color: var(--chmbr-white);
}
body.chmbr-theme-active .chmbr-home-hero__actions .wp-block-button__link:focus-visible {
  outline: 3px solid var(--chmbr-white);
  outline-offset: 5px;
}
@media (max-width: 400px) {
  body.chmbr-theme-active .chmbr-home-hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  body.chmbr-theme-active .chmbr-home-hero__actions > .chmbr-text-link {
    flex: 0 0 auto;
    width: auto;
    overflow: visible;
    gap: 12px;
    color: inherit;
  }
  body.chmbr-theme-active .chmbr-home-hero__actions > .chmbr-text-link > span {
    position: static;
    display: inline;
  }
}

/* A clear type hierarchy for the site. Preserve Plex and its real
 * kerning pairs; tracking becomes a little tighter as the type gets larger. */
body.chmbr-theme-active {
  font-kerning: normal;
  font-variant-ligatures: common-ligatures contextual;
  letter-spacing: 0;
}
body.chmbr-theme-active :is(h1, h2, h3, h4) {
  text-transform: none;
  text-wrap: balance;
  letter-spacing: -.02em;
}
body.chmbr-theme-active h1 {
  font-size: clamp(2.5rem, 3vw + 1rem, 3.5rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.028em;
}
body.chmbr-theme-active h2 {
  font-size: clamp(2rem, 2vw + 1.25rem, 2.75rem) !important;
  line-height: 1.15 !important;
}
body.chmbr-theme-active :is(.chmbr-art-card, .chmbr-offer-card) .chmbr-section-heading {
  font-size: 1.875rem !important;
  line-height: 1.15 !important;
  letter-spacing: -.016em;
  text-transform: none;
  max-width: none;
}
body.chmbr-theme-active :is(.chmbr-kicker, .chmbr-section-number) {
  font-size: .875rem !important;
  line-height: 1.5 !important;
  letter-spacing: .04em;
}
body.chmbr-theme-active .chmbr-art-card__head .chmbr-process-step__number {
  font-size: .875rem !important;
  line-height: 1.5 !important;
  letter-spacing: 0;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
/* Separate the title band from the white ghost, including when a title wraps
 * onto only one line on tablet. The artwork window keeps its existing size. */
body.chmbr-theme-active .chmbr-art-card__head { padding-bottom: 16px; }
body.chmbr-theme-active .chmbr-art-card > .chmbr-artwork { margin-top: 0; }
body.chmbr-theme-active :is(.chmbr-art-card, .chmbr-offer-card) p {
  text-wrap: pretty;
}
body.chmbr-theme-active .chmbr-offer-card .chmbr-offer-card__price {
  font-family: var(--chmbr-font-mono) !important;
  font-size: .875rem !important;
  line-height: 1.6 !important;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
body.chmbr-theme-active :is(.wp-block-button__link, .chmbr-offer-card__cta, .service-button) {
  font-size: 1.0625rem !important;
  line-height: 1.45 !important;
  letter-spacing: 0;
}
@media (max-width: 600px) {
  body.chmbr-theme-active :is(.chmbr-art-card, .chmbr-offer-card) .chmbr-section-heading {
    font-size: 1.75rem !important;
  }
}

/* On desktop, give the two short biography paragraphs the same three-column
 * track. The max-width keeps both paragraphs close to three lines at 1076px;
 * the existing mobile rules restore a single readable column. */
@media (min-width: 901px) {
  body.chmbr-home-experience-enabled .chmbr-section--origin .chmbr-origin-profile {
    grid-column: 1 / span 3;
    padding-right: 0;
  }
  body.chmbr-home-experience-enabled .chmbr-section--origin .chmbr-reading-copy {
    grid-column: 4 / span 3;
    max-width: none;
  }
  body.chmbr-home-experience-enabled .chmbr-section--origin .chmbr-origin-profile > p,
  body.chmbr-home-experience-enabled .chmbr-section--origin .chmbr-reading-copy > p:first-child {
    max-width: 42ch;
  }
}

body.chmbr-service-page { background: #080908; color: #f6f5ef; }
.services-main { padding-bottom: 80px; }
body.chmbr-service-page .service-eyebrow {
  font-family: var(--chmbr-font-mono) !important;
  font-size: 14px !important; line-height: 22px !important;
  letter-spacing: .04em; text-transform: uppercase; color: #DF6243; margin: 0 0 20px;
}
.service-intro { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 48px 16px; padding-block: 72px 48px; }
.service-intro > div:first-child { grid-column: 1 / span 3; }
.service-intro h1 { max-width: 12ch; margin: 0; }
.service-intro-copy { grid-column: 5 / span 2; align-self: end; }
.service-intro-copy p { margin: 0 0 24px; color: #d1d2c7; }
.service-intro-copy p:last-child { margin: 0; }
.service-jumps { grid-column: 1 / -1; display: flex; gap: 16px 40px; flex-wrap: wrap; border-block: 1px solid #3c3e35; padding-block: 16px; }
.service-jumps a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 6px; }
.service-section { padding-block: 64px; scroll-margin-top: 24px; }
.service-section-heading { margin-bottom: 40px; }
.service-section-heading h2 { margin: 0; max-width: 26ch; }
.service-situations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.service-situations article { border-top: 1px solid #4c4f42; padding-top: 24px; scroll-margin-top: 32px; }
body.chmbr-service-page .service-situations h3 {
  font-size: 1.375rem !important;
  line-height: 1.25 !important;
  margin: 0 0 20px;
  text-transform: none;
}
.service-situations p { margin: 0; color: #d1d2c7; }
.service-offers { display: grid; gap: 40px; }
.service-detail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: hidden; border-radius: 16px; background: #181a16; border: 1px solid #36382e; scroll-margin-top: 24px; }
.service-art { position: relative; margin: 0; overflow: hidden; min-width: 0; background: #37382e; }
.service-art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.service-detail > .service-art { grid-column: 1 / span 2; min-height: 480px; }
.service-art--05a img { object-position: left center; }
.service-art--05c img { object-position: 62% center; }
.service-detail-copy { grid-column: 3 / span 4; padding: 40px; }
body.chmbr-service-page .service-detail-copy > h2 {
  margin: 0 0 20px;
  font-size: 2rem !important;
  line-height: 1.15 !important;
  text-transform: none;
}
.service-detail-copy .service-lede { max-width: 52ch; margin: 0 0 32px; }
.service-fact { max-width: 64ch; margin-bottom: 28px; }
body.chmbr-service-page .service-fact h3 { font-size: 1.25rem !important; line-height: 1.3 !important; margin: 0 0 8px; }
.service-fact p { margin: 0; color: #d1d2c7; }
.service-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 48px; padding: 14px 20px; background: #fff; color: #111; text-decoration: none; border: 1px solid #fff; border-radius: 6px; }
.service-button:hover { background: #e0e1d5; border-color: #e0e1d5; }
.service-detail--featured { background: var(--chmbr-orange); color: #171714; border-color: var(--chmbr-orange); }
body.chmbr-service-page .service-detail--featured .service-eyebrow,
.service-detail--featured .service-fact p { color: #24251f; }
.service-detail--featured .service-button { background: #171714; border-color: #171714; color: #fff; }
.service-detail--featured .service-button:hover { background: #30302d; }
.service-detail--featured :focus-visible { outline-color: #171714; }
.service-scope-note { max-width: 66ch; margin: 32px 0 0; color: #b9baad; }
.service-process { display: grid; gap: 40px; }
.service-process-step { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px; border-top: 1px solid #3c3e35; padding-top: 32px; scroll-margin-top: 24px; }
.service-process-step > .service-art { grid-column: 1 / span 2; min-height: 340px; border-radius: 12px; }
.service-process-step > div { grid-column: 3 / span 4; align-self: center; max-width: 60ch; padding: 24px 0; }
body.chmbr-service-page .service-process-step h3 {
  font-size: 1.75rem !important;
  line-height: 1.2 !important;
  margin: 0 0 24px;
  text-transform: none;
}
.service-process-step p:last-child { margin: 0; color: #d1d2c7; }
.service-about { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; border-block: 1px solid #3c3e35; }
.service-about > .service-section-heading { grid-column: 1 / span 2; }
.service-about-copy { grid-column: 3 / span 4; max-width: 64ch; color: #d1d2c7; }
.service-about-copy p { margin: 0 0 24px; }
.service-about-copy p:last-child { margin: 0; }
.service-faq { max-width: 900px; }
.service-faq p { color: #d1d2c7; }
.services-main :focus-visible { outline: 3px solid #fba381; outline-offset: 5px; }
@media (max-width: 1100px) {
  .service-intro-copy { grid-column: 4 / span 3; }
  .service-detail-copy { padding: 28px; }
  .service-situations { gap: 24px; }
}
@media (max-width: 900px) {
  .service-intro { padding-top: 48px; gap: 32px 16px; }
  .service-intro > div:first-child, .service-intro-copy { grid-column: 1 / -1; }
  .service-intro-copy { max-width: 60ch; }
  .service-jumps { gap: 8px 24px; }
  .service-section { padding-block: 48px; }
  .service-situations { grid-template-columns: 1fr; gap: 32px; max-width: 64ch; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail > .service-art { grid-column: 1; min-height: 320px; height: 50vw; max-height: 460px; }
  .service-detail-copy { grid-column: 1; }
  .service-process-step { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .service-process-step > .service-art { grid-column: 1; min-height: 360px; }
  .service-process-step > div { grid-column: 2; }
  .service-about > .service-section-heading, .service-about-copy { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .service-jumps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .service-detail-copy { padding: 24px 20px; }
  body.chmbr-service-page .service-detail-copy > h2 { font-size: 1.875rem !important; }
  .service-detail > .service-art { min-height: 240px; height: 70vw; }
  .service-process-step { grid-template-columns: 1fr; gap: 0; }
  .service-process-step > .service-art { grid-column: 1; min-height: 280px; }
  .service-process-step > div { grid-column: 1; }
  .service-button { width: 100%; gap: 16px; padding-inline: 16px; }
}

body.chmbr-service-page .site-header { min-height: 0; margin-bottom: 0; border-bottom: 0; }
body.chmbr-service-page .header-bottom { display: none; }
