/* A quieter customer experience. Brand direction stays in themes.css. */
.customer-page { --field-line: color-mix(in srgb, var(--ink) 32%, var(--surface)); }
.customer-page .wrap { max-width: 1180px; padding-inline: clamp(20px, 3.5vw, 40px); }
.customer-page .masthead { padding-inline: 0; }
.customer-page .intro { gap: clamp(36px, 5vw, 68px); padding-block: 42px 64px; grid-template-columns: minmax(0, 1fr) 290px; }
.customer-page .intro-copy { padding-top: 14px; }
:root .customer-page h1 { font-size: clamp(58px, 7vw, 94px); margin-bottom: 30px; }
.customer-page .lead { font-size: clamp(22px, 2vw, 26px); margin-bottom: 22px; }
.customer-page .intro-copy > p:not(.byline, .lead, .service-line) { max-width: 47ch; font-size: 17px; margin-bottom: 24px; }
.customer-page .portrait-stage { max-width: 254px; margin-bottom: 26px; }
.customer-page .person-copy { padding-top: 20px; }
.customer-page .person h2 { font-size: 30px; margin-bottom: 12px; }
.customer-page .person p { font-size: 14px; margin-bottom: 12px; }
.customer-page .person .small { font: 12px/1.5 var(--body-font); }
.customer-page .section { padding-block: 64px; border-top: 1px solid var(--soft-line); }
.customer-page h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.03; }
.customer-page .agent-example { gap: 22px 40px; }
.customer-page .agent-response { border-radius: 16px; overflow: hidden; border-width: 1px; }
.customer-page .agent-reading { padding: 16px 22px; }
.customer-page .agent-reading .example-next { margin-top: 12px; }
.customer-page .process { gap: 28px; }
.customer-page .process li { padding-block: 22px; }
.customer-page .process h3 { font-size: 23px; }
.customer-page .intake { max-width: 1032px; margin-inline: auto; grid-template-columns: minmax(0, 700px) 240px; gap: 28px 32px; }
.customer-page .intake-intro { max-width: 640px; }
.customer-page .intake-intro h2 { max-width: 20ch; margin-bottom: 12px; }
.customer-page .intake-intro > p:not(.eyebrow) { max-width: 53ch; font-size: 16px; }
.eyebrow { font: 600 12px/1.4 var(--body-font); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
:root .customer-page .intake-body { padding: 30px; border: 1px solid color-mix(in srgb, var(--ink) 16%, var(--surface)); border-radius: 24px; background: var(--surface); box-shadow: 0 12px 36px -18px color-mix(in srgb, var(--ink) 24%, transparent); }
.customer-page .intake-body::before { display: none; }
.customer-page .intake-body h3 { font-size: 18px; letter-spacing: -.02em; }
.customer-page .intake-body p { font-family: var(--body-font); }
.customer-page .status-line { align-items: center; gap: 14px; margin: 0 0 8px; }
.customer-page .status-line h3 { font-size: 22px; }
.customer-page #status-copy { margin-bottom: 8px; max-width: 52ch; font-size: 14px; line-height: 1.5; }
.customer-page .session-actions { gap: 18px; margin: 0 0 8px; }
.customer-page .intake-body .text-button { min-height: 44px; padding: 8px 0; border: 0; border-radius: 4px; background: none; color: var(--ink); box-shadow: none; font: 500 13px/1.3 var(--body-font); text-decoration-thickness: 1px; }
.customer-page .intake-body .text-button:hover { transform: none; box-shadow: none; text-decoration-thickness: 2px; }
.customer-page .help { font: 14px/1.5 var(--body-font); margin: 6px 0 14px; }
.customer-page .intake-body label { font: 600 14px/1.4 var(--body-font); margin-bottom: 8px; }
.customer-page .intake-body input:not([type=checkbox]), .customer-page .intake-body textarea, .customer-page .intake-body select {
  min-height: 54px; padding: 14px 16px; border: 1px solid var(--field-line); border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 60%, white); color: var(--ink); font: 400 16px/1.5 var(--body-font);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.customer-page .intake-body textarea { resize: vertical; }
.customer-page .intake-body #problem { min-height: 156px; }
.customer-page .intake-body #notes { min-height: 92px; }
.customer-page .intake-body input::placeholder, .customer-page .intake-body textarea::placeholder { color: color-mix(in srgb, var(--ink) 65%, var(--surface)); opacity: 1; }
.customer-page .intake-body input:focus, .customer-page .intake-body textarea:focus, .customer-page .intake-body select:focus { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ink) 8%, transparent); }
.customer-page :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.customer-page .fields { gap: 12px; margin: 20px 0; }
.customer-page .fields > div { padding: 12px 16px 8px; border: 1px solid var(--field-line); border-radius: 12px; background: color-mix(in srgb, var(--surface) 60%, white); }
.customer-page .fields > div:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.customer-page .fields label { font-size: 12px; margin-bottom: 2px; }
.customer-page .fields input:not([type=checkbox]) { min-height: 28px; padding: 0; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: none; }
.customer-page .field { margin-top: 26px; }
.customer-page .offer-field { margin: 20px 0 8px; padding: 16px; border: 1px solid var(--field-line); border-radius: 14px; background: color-mix(in srgb, var(--surface) 78%, white); }
.customer-page .offer-field label { display: block; margin-bottom: 8px; font-weight: 700; }
.customer-page .offer-field input { max-width: 300px; min-height: 46px; margin: 0 0 8px; }
.customer-page .offer-field .help { margin: 0; }
.customer-page .field-title { font-size: 18px !important; letter-spacing: -.02em; }
.customer-page .counter { margin-top: 7px; font: 12px/1.4 var(--body-font); }
.customer-page .intake-body button:not(.text-button), .customer-page .intake-body .button { min-height: 48px; border-width: 1px; border-radius: 12px; box-shadow: none; font: 600 14px/1.3 var(--body-font); transition: background-color 150ms ease, color 150ms ease, transform 150ms ease; }
.customer-page .intake-body button:hover:not(:disabled, .text-button) { transform: translateY(-1px); box-shadow: none; }
.customer-page .intake-body button:active:not(:disabled) { transform: translateY(0); }
.customer-page .intake-body #submit-project:disabled { opacity: 1; background: color-mix(in srgb, var(--ink) 9%, var(--surface)); color: var(--ink); border-color: var(--field-line); }
.customer-page .project-connections { margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--soft-line); }
.customer-page .project-connections h3 { margin-bottom: 4px; }
.customer-page .provider-buttons { gap: 8px; margin-top: 14px; }
.customer-page .intake-body .provider-buttons button { min-height: 44px; padding: 9px 13px; border-color: var(--field-line); background: transparent; color: var(--ink); border-radius: 10px; font-size: 13px; }
.customer-page .intake-body .provider-buttons button[aria-expanded=true] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.customer-page .provider-buttons button[aria-expanded=true]::after { content: '−'; font-size: 16px; line-height: 1; }
.customer-page .provider-panel { margin-top: 16px; }
.customer-page .provider-form { padding: 0; border: 0; background: none; }
.customer-page .provider-form .help { margin-block: 8px 12px; font-size: 12px; }
.customer-page .provider-form button { min-height: 44px !important; }
.customer-page .project-link-list { list-style: none; margin: 14px 0 0; padding: 0; }
.customer-page .project-link-list:empty { display: none; }
.customer-page .project-link-list li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 6px 12px; margin-top: 6px; border-radius: 10px; background: color-mix(in srgb, var(--ink) 5%, var(--surface)); }
.customer-page .project-link-list li > a, .customer-page .project-link-list li > span { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.customer-page .project-link-list .text-button { flex: 0 0 auto; font-size: 12px; }
.customer-page .link-editor, .customer-page .optional-notes, .customer-page .access-policy, .customer-page .email-preferences { padding: 12px 0; margin: 0; border: 0; background: none; }
.customer-page .link-editor summary, .customer-page .optional-notes summary, .customer-page .access-policy summary, .customer-page .email-preferences summary { width: fit-content; min-height: 28px; display: list-item; font: 500 13px/1.5 var(--body-font); }
.customer-page .link-editor[open] label, .customer-page .optional-notes[open] label { margin-top: 12px; }
.customer-page .optional-notes { margin-top: 12px; }
.customer-page .optional-notes summary span { opacity: .75; }
.customer-page .check { align-items: center; gap: 10px; margin: 20px 0 10px; font-weight: 400 !important; }
.customer-page .check input { margin: 0; min-height: 20px; border-radius: 5px; }
.customer-page .submission-policy { margin: 0 0 2px 30px; font-size: 12px; line-height: 1.5; }
.customer-page .access-policy { margin-left: 30px; }
.customer-page .access-policy p { font-size: 13px; }
.customer-page .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 12px; }
.customer-page .intake-body .secondary-button { color: var(--ink); background: none; border-color: var(--field-line); }
.customer-page .email-preferences { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--soft-line); }
.customer-page #submission-help { margin-bottom: 0; font-size: 12px; }
.customer-page .notice { display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px; margin-bottom: 16px; border: 0; border-radius: 10px; background: color-mix(in srgb, var(--ink) 6%, var(--surface)); font-size: 13px; }
.customer-page .notice:not(.is-error)::before { content: '✓'; flex: 0 0 auto; font-weight: 700; }
.customer-page .notice.is-error { border: 1px solid var(--ink); }
.customer-page .service-availability { margin: 0 0 18px; padding: 0; border: 0; background: transparent; font: 13px/1.5 var(--body-font); }
.customer-page .return-access { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--soft-line); }
.customer-page .return-access summary { font: 600 14px/1.4 var(--body-font); }
.customer-page .after { margin-top: 14px; padding: 0; border: 0; }
.customer-page .after h3 { margin: 22px 0 12px; font-size: 19px; }
.customer-page .after p { font-size: 14px; line-height: 1.6; }
.customer-page .after .retention-note { margin-top: 20px; padding-top: 16px; font-size: 12px; }
.review-graphic svg { display: block; width: 100%; max-width: 240px; color: var(--ink); }
.review-graphic > div { display: flex; justify-content: space-between; font: 500 10px/1.4 var(--body-font); }
.review-route { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 5; opacity: .4; }
.review-sheet, .review-lens, .review-result { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.review-result { fill: var(--accent); }
.review-lines, .review-check, .review-lens-handle { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.customer-page .questions { gap: 40px; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.4fr); }
.customer-page .questions details { border-bottom: 1px solid var(--soft-line); }
.customer-page .questions summary { font-size: 15px; }

@media (prefers-reduced-motion: no-preference) {
  .customer-page .provider-panel:not([hidden]), .customer-page .project-link-list li, .customer-page #submitted-details:not([hidden]) { animation: gentle-entry 180ms ease-out both; }
  .customer-page .notice:not([hidden])::before { animation: saved-check 320ms ease-out both; }
  .review-graphic.is-visible .review-check { stroke-dasharray: 32; animation: review-draw 700ms 450ms ease-out both; }
  .review-graphic.is-visible .review-sheet { animation: gentle-entry 500ms ease-out both; }
  .review-graphic.is-visible .review-lens { animation: gentle-entry 500ms 180ms ease-out both; }
  :root .customer-page .portrait-track { animation: portrait-arrive 1800ms ease-out both; }
}
@keyframes gentle-entry { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes saved-check { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
@keyframes review-draw { from { stroke-dashoffset: 32; } to { stroke-dashoffset: 0; } }
@keyframes portrait-arrive { from { transform: rotate(-18deg); } to { transform: rotate(0); } }
@media (max-width: 960px) {
  .customer-page .intro { grid-template-columns: minmax(0, 1fr) 250px; gap: 32px; }
  .customer-page .person { display: block; padding-top: 14px; border: 0; }
  .customer-page .portrait-stage { max-width: 220px; margin-bottom: 24px; }
  .customer-page .intake { grid-template-columns: minmax(0, 680px); justify-content: center; }
  .customer-page .intake-intro, .customer-page .after { grid-column: 1; }
  .customer-page .after { display: grid; grid-template-columns: 180px 1fr; gap: 8px 26px; margin-top: 0; }
  .customer-page .review-graphic { grid-row: 1 / 5; align-self: start; padding-top: 12px; }
  .customer-page .after h3 { margin: 0 0 6px; }
  .customer-page .after p { margin: 0; max-width: none; }
  .customer-page .after .retention-note { margin-top: 4px; padding-top: 8px; }
  .customer-page .questions { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .customer-page .masthead nav a[href="#rescue"] { display: none; }
  .customer-page .wrap { padding-inline: 20px; }
  .customer-page .masthead { padding-inline: 0; margin-inline: 20px; width: calc(100% - 40px); }
  .customer-page .intro { grid-template-columns: 1fr; gap: 32px; padding-block: 28px 44px; }
  :root .customer-page h1 { font-size: clamp(48px, 13vw, 68px); margin-bottom: 24px; }
  .customer-page .byline { font-size: 10px; margin-bottom: 22px; }
  .customer-page .person { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 18px; border-top: 1px solid var(--soft-line); padding-top: 24px; }
  .customer-page .portrait-stage { width: 94px; margin: 8px 0 0; }
  .customer-page .portrait-frame { box-shadow: 3px 3px 0 var(--accent); }
  .customer-page .person-copy { padding: 0; border: 0; }
  .customer-page .person h2 { font-size: 24px; }
  .customer-page .person p { font-size: 13px; }
  .customer-page .person .small { font-size: 11px; padding-top: 10px; }
  .customer-page .section { padding-block: 44px; }
  .customer-page h2 { font-size: 34px; }
  .customer-page .intake { gap: 24px; }
  :root .customer-page .intake-body { padding: 22px 18px; border-radius: 20px; }
  .customer-page .status-line { flex-wrap: nowrap; align-items: center; }
  .customer-page .status-line h3 { font-size: 20px; }
  .customer-page .status-line .text-button { font-size: 12px; flex-shrink: 0; }
  .customer-page .fields { grid-template-columns: 1fr; }
  .customer-page .provider-buttons { gap: 7px; }
  .customer-page .intake-body .provider-buttons button { padding-inline: 12px; }
  .customer-page .form-actions { align-items: stretch; }
  .customer-page .form-actions button { flex: 1 1 auto; padding-inline: 12px; }
  .customer-page .after { display: block; padding: 0 12px; }
  .customer-page .review-graphic { max-width: 210px; margin: 0 0 24px; }
  .customer-page .after h3 { margin-bottom: 10px; }
  .customer-page .after p { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-page *, .customer-page *::before, .customer-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .customer-page button:hover:not(:disabled), .customer-page .button:hover { transform: none !important; }
}

.customer-page .rescue-intro .byline { margin-bottom: 14px; }
.customer-page .rescue-intro h2 { max-width: 13ch; }
.customer-page .rescue-intro > p:last-child { max-width: 52ch; margin: 18px 0 0; font-size: 18px; }
.customer-page .rescue-terms { max-width: 68ch; padding-left: 20px; border-left: 4px solid var(--accent); }
.customer-page .rescue-terms p { margin: 0 0 12px; font-size: 15px; }
.customer-page .rescue-terms .button { margin-top: 10px; }
.customer-page .rescue-terms .button + .help { margin-top: 14px; }
