/* CRM editorial layout. Shared type, buttons, navigation and footer live in styles.css. */
.crm-page { background: #fafbf8; }
.crm-page h2 { font-size: clamp(29px, 3.1vw, 44px); text-wrap: balance; }
.crm-page p { text-wrap: pretty; }
.crm-page .crm-copy { color: var(--body); }
.crm-page .crm-copy p:last-child { margin-bottom: 0; }
.crm-hero { position: relative; isolation: isolate; color: white; background: #19392d; overflow: hidden; }
.crm-hero-photo { position: absolute; inset: 0; z-index: -2; }
.crm-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 43%; }
.crm-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,32,23,.92), rgba(12,32,23,.74) 36%, rgba(12,32,23,.08) 75%); }
.crm-hero-inner { min-height: 600px; padding-block: 55px 62px; display: flex; align-items: center; }
.crm-hero-copy { width: 56%; max-width: 690px; }
.crm-hero h1 { font-size: clamp(38px, 4.1vw, 62px); line-height: 1.16; margin-bottom: 24px; text-wrap: balance; }
.crm-hero-copy > p:not(.crm-status) { max-width: 500px; font-size: 18px; line-height: 1.65; color: #edf0e8; margin-bottom: 27px; }
.crm-status { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 22px; color: #edf0e8; }
.crm-status::before { content: ""; width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
.crm-hero .motion-toggle { position: absolute; right: var(--gutter); bottom: 24px; }
.crm-page .crm-caption { font-size: 12px; color: #687166; line-height: 1.5; margin: 12px 0 0; }
.crm-chapters { background: #fff; border-bottom: 1px solid var(--line); }
.crm-chapters .wrap { display: flex; gap: 28px; align-items: center; padding-block: 18px; flex-wrap: wrap; }
.crm-chapters a { font-size: 14px; padding-block: 5px; border-bottom: 1px solid transparent; }
.crm-chapters a:hover { border-color: var(--ink); }
.crm-chapters a:last-child { margin-left: auto; }
.crm-chapters svg { width: 16px; margin-left: 6px; }
.crm-section { padding-block: 88px; }
.crm-section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; margin-bottom: 38px; }
.crm-section-heading h2 { margin: 0; max-width: 520px; }
.crm-section-heading > p { font-size: 19px; line-height: 1.7; color: var(--body); margin: 0; }
.crm-account-layout { display: grid; grid-template-columns: 1.13fr 1fr; gap: 64px; align-items: start; }
.crm-photo { margin: 0; }
.crm-photo-window { overflow: hidden; background: #d7dfd1; }
.crm-photo-window img { width: 100%; height: 100%; object-fit: cover; }
.crm-account-photo .crm-photo-window { aspect-ratio: 1.15; }
.crm-account-photo img { object-position: 61% center; }
.crm-page [data-crm-photo] { scale: 1.035; will-change: transform; }
.crm-account-story > p:first-child { font-size: 17px; }
.crm-account-details { margin: 25px 0; border-block: 1px solid var(--line); }
.crm-account-details > div { padding-block: 18px; display: grid; grid-template-columns: 104px 1fr; gap: 18px; }
.crm-account-details > div + div { border-top: 1px solid var(--line); }
.crm-account-details dt { font-weight: 700; color: var(--ink); }
.crm-account-details dd { margin: 0; }
.crm-accounts { background: var(--ink); color: #fff; }
.crm-accounts .crm-copy { color: #d6e2d0; }
.crm-accounts-layout { display: grid; grid-template-columns: .92fr 1fr; gap: 100px; }
.crm-accounts h2 { max-width: 510px; }
.crm-accounts .crm-lead { font-size: 20px; color: #e2eadd; }
.crm-account-flow { padding: 0; margin: 34px 0 0; list-style: none; border-top: 1px solid #6e8375; }
.crm-account-flow li { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #6e8375; padding-block: 17px; font-size: 18px; }
.crm-account-flow svg { color: var(--orange); }
.crm-accounts .crm-payment-note { border-left: 2px solid var(--orange); padding-left: 22px; margin-top: 26px; font-size: 14px; }
.crm-follow-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.crm-office-photo .crm-photo-window { aspect-ratio: 1.1; }
.crm-follow-callout { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 26px; }
.crm-follow-callout h3 { font-size: 19px; }
.crm-documents { background: #eef2e9; }
.crm-records { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.crm-record { padding-top: 26px; border-top: 1px solid #b6c7ad; }
.crm-record h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; }
.crm-record-boundary { padding-top: 23px; border-top: 1px solid #b6c7ad; margin: 32px 0 0; max-width: 920px; color: var(--body); }
.crm-connections { background: #fff; }
.crm-connections-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.crm-connections-layout h2 { max-width: 500px; }
.crm-text-link { display: inline-flex; align-items: center; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--ink); font-weight: 700; }
.crm-related { margin-top: 24px; display: flex; gap: 24px; flex-wrap: wrap; }
.crm-connection-note { font-size: 14px; margin-top: 18px; }
.crm-questions { border-top: 1px solid var(--line); }
.crm-questions-layout { display: grid; grid-template-columns: .75fr 1fr; gap: 100px; }
.crm-questions-intro p { color: var(--body); max-width: 360px; }
.crm-page .faq-list p { max-width: none; }
.crm-page .final-stop { position: relative; overflow: hidden; }
.crm-page .final-layout { grid-template-columns: 1.5fr 1fr; gap: 75px; }
.crm-page .final-layout h2 { max-width: 600px; }
.crm-page .final-layout p { max-width: 620px; }
.crm-page .crm-closing-action { justify-self: end; }
.crm-closing-action p { font-size: 13px; margin-top: 16px; }
.crm-page.motion-paused [data-crm-photo] { transform: none !important; scale: none; }
@media (min-width: 1700px) {
  .crm-hero-inner { min-height: 650px; }
}
@media (max-width: 1150px) {
  .crm-hero-copy { width: 62%; }
  .crm-hero-inner { min-height: 550px; }
  .crm-account-layout, .crm-follow-layout, .crm-section-heading, .crm-accounts-layout, .crm-connections-layout, .crm-questions-layout { gap: 40px; }
  .crm-records { gap: 40px; }
}
@media (max-width: 980px) {
  .crm-hero-copy { width: 68%; }
  .crm-hero h1 { font-size: 44px; }
  .crm-chapters .wrap { gap: 20px; }
  .crm-account-layout { grid-template-columns: 1fr 1fr; gap: 28px; }
  .crm-account-photo .crm-photo-window { aspect-ratio: .72; }
  .crm-account-details > div { grid-template-columns: 1fr; gap: 5px; }
  .crm-accounts-layout, .crm-follow-layout { gap: 34px; }
  .crm-page .final-layout { gap: 35px; }
}
@media (max-width: 760px) {
  .crm-hero-photo { bottom: auto; height: 270px; }
  .crm-hero-photo img { object-position: 72% 38%; }
  .crm-hero::before { background: linear-gradient(180deg, rgba(25,57,45,.02) 140px, #19392d 212px); }
  .crm-hero-inner { display: block; min-height: 0; padding-top: 220px; padding-bottom: 28px; }
  .crm-hero-copy { width: 100%; max-width: 540px; }
  .crm-status { font-size: 13px; margin-bottom: 14px; }
  .crm-hero h1 { font-size: clamp(31px, 7.5vw, 44px); line-height: 1.2; margin-bottom: 18px; }
  .crm-hero-copy > p:not(.crm-status) { font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
  .crm-hero .motion-toggle { top: 16px; bottom: auto; right: var(--gutter); }
  .crm-chapters .wrap { gap: 8px 24px; padding-block: 16px; }
  .crm-chapters a { font-size: 13px; }
  .crm-chapters a:last-child { margin-left: 0; }
  .crm-section { padding-block: 56px; }
  .crm-section-heading, .crm-account-layout, .crm-accounts-layout, .crm-follow-layout, .crm-records, .crm-connections-layout, .crm-questions-layout, .crm-page .final-layout { grid-template-columns: 1fr; gap: 28px; }
  .crm-section-heading { margin-bottom: 28px; }
  .crm-section-heading > p { font-size: 17px; }
  .crm-account-photo .crm-photo-window { aspect-ratio: 1.25; }
  .crm-account-details > div { grid-template-columns: 95px 1fr; gap: 15px; }
  .crm-accounts .crm-lead { font-size: 18px; }
  .crm-account-flow { margin-top: 25px; }
  .crm-follow-layout .crm-office-photo { order: -1; }
  .crm-office-photo .crm-photo-window { aspect-ratio: 1.25; }
  .crm-records { gap: 28px; }
  .crm-record h3 { font-size: 23px; }
  .crm-questions-intro p { max-width: none; }
  .crm-page .crm-closing-action { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .crm-page [data-crm-photo] { transform: none !important; scale: none; }
}
