/* Original proposal intake, adapted to the supplied After Dark tokens. */
/* Component rules stay within .creekside-intake; scenes stay within their intake shell. */
.creekside-intake { --intake-ground: var(--surface-service); min-width: 0px; color: var(--text-primary); background: var(--intake-ground); }
.creekside-intake fieldset { min-width: 0px; padding: 0px; border: 0px; margin: 0px; }
.creekside-intake legend { padding: 0px; }
.creekside-intake .intake-stepper ol { display: flex; justify-content: space-between; list-style: none; gap: 8px; padding: 0px; margin: 0px; }
.creekside-intake .intake-stepper li { min-width: 0px; flex: 1 1 0%; }
.creekside-intake .intake-stepper button { display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 5px; width: 100%; min-height: 56px; border: 0px; background: transparent; color: var(--text-fine); font: 500 12px/1.4 var(--font-body); padding: 8px 0px; text-align: left; }
.creekside-intake .intake-stepper button span { font-size: 13px; font-variant-numeric: tabular-nums; }
.creekside-intake .intake-stepper button[aria-current="step"] { color: var(--action-hover); }
.creekside-intake .intake-stepper button:not(:disabled):hover { color: var(--text-primary); text-decoration: underline; text-underline-offset: 5px; }
.creekside-intake .intake-stepper button:disabled { color: var(--text-muted-step); cursor: default; }
.creekside-intake .intake-progress { appearance: none; display: block; width: 100%; height: 2px; border: 0px; margin: 10px 0px 24px; background: var(--rule-strong); color: var(--action-hover); }
.creekside-intake .intake-progress::-webkit-progress-bar { background: var(--rule-strong); }
.creekside-intake .intake-progress::-webkit-progress-value { background: var(--action-hover); }
.creekside-intake .intake-count { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--text-link); margin-bottom: 12px; }
.creekside-intake .intake-title { letter-spacing: -0.02em; scroll-margin-top: 110px; font: 500 30px/1.2 var(--font-display) !important; }
.creekside-intake .intake-intro { font-size: 16px; line-height: 1.6; color: var(--text-copy); margin-top: 14px; }
.creekside-intake .intake-import { padding-block: 14px; margin-top: 16px; border-block: 1px solid var(--rule-strong); font-size: 14px; color: var(--text-status); }
.creekside-intake .intake-step { padding-top: 28px !important; }
.creekside-intake .intake-group { margin-top: 26px !important; }
.creekside-intake .intake-group:first-child { margin-top: 0px !important; }
.creekside-intake .intake-group > legend { font-size: 16px; font-weight: 500; line-height: 1.5; margin-bottom: 14px; }
.creekside-intake .intake-choices { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 10px; }
.creekside-intake .intake-choices label { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 14px; border: 1px solid var(--border-choice); font-size: 15px; line-height: 1.5; cursor: pointer; }
.creekside-intake .intake-choices label:has(input:checked) { background: var(--surface-selected); border-color: var(--action-hover); color: var(--text-primary); }
.creekside-intake .intake-choices label:hover { border-color: var(--action-hover); }
.creekside-intake .intake-choices label:focus-within { outline: var(--action-hover) solid 3px; outline-offset: 3px; }
.creekside-intake .intake-choices input { width: 18px; height: 18px; flex: 0 0 auto; margin: 0px; accent-color: var(--action-hover); }
.creekside-intake .intake-field { display: grid; gap: 8px; margin-top: 20px; }
.creekside-intake .intake-field:first-child { margin-top: 0px; }
.creekside-intake .intake-field label { font-size: 16px; line-height: 1.5; font-weight: 500; }
.creekside-intake .intake-field input, .creekside-intake .intake-field textarea { width: 100%; min-width: 0px; min-height: 52px; padding: 12px; border: 1px solid var(--paper-border); border-radius: 0px; background: var(--paper-field); color: var(--paper-ink); font: 400 16px/1.5 var(--font-body); color-scheme: light; caret-color: var(--paper-caret); scroll-margin-top: 110px; }
.creekside-intake .intake-field textarea { min-height: 110px; resize: vertical; }
.creekside-intake .intake-field input::placeholder { color: var(--paper-placeholder); opacity: 1; }
.creekside-intake .intake-field input:focus-visible, .creekside-intake .intake-field textarea:focus-visible { outline: var(--action-hover) solid 3px; outline-offset: 4px; }
.creekside-intake .intake-field [aria-invalid="true"] { border-color: var(--alert-on-dark); outline: var(--alert-on-dark) solid 2px; outline-offset: 2px; }
.creekside-intake .intake-help { font-size: 13px; line-height: 1.65; color: var(--text-fine); margin-top: 14px; max-width: 65ch; }
.creekside-intake .intake-help a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-link); }
.creekside-intake .intake-group > .intake-help { margin: -6px 0px 14px; }
.creekside-intake .intake-sample { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0px; border: 0px; background: transparent; color: var(--text-link); text-decoration: underline; text-underline-offset: 5px; font-size: 13px; margin-top: 10px; }
.creekside-intake .intake-sample:hover { color: var(--text-primary); }
.creekside-intake .intake-error { color: var(--alert-on-dark); font-size: 14px; min-height: 24px; margin-top: 18px; }
.creekside-intake .intake-actions { display: flex; gap: 12px; padding-block: 18px; border-top: 1px solid var(--rule-strong); background: var(--intake-ground); margin-top: 8px; }
.creekside-intake .intake-actions .cs-btn { min-height: 52px; font-size: 14px; padding: 13px 16px; }
.creekside-intake .intake-actions [data-intake-next] { flex: 1 1 0%; }
.creekside-intake .intake-privacy { font-size: 12px; line-height: 1.65; color: var(--text-fine); margin-top: 4px; }
.creekside-intake .intake-at-glance { margin-top: 26px; border-block: 1px solid var(--rule-strong); }
.creekside-intake .intake-at-glance > summary { min-height: 52px; padding: 14px 0px; cursor: pointer; font-size: 15px; }
.creekside-intake .intake-at-glance dl { margin: 0px; padding: 0px 0px 18px; display: grid; gap: 12px; }
.creekside-intake .intake-at-glance dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; font-size: 13px; line-height: 1.6; }
.creekside-intake .intake-at-glance dt { color: var(--text-label); }
.creekside-intake .intake-at-glance dd { margin: 0px; color: var(--text-copy); overflow-wrap: anywhere; }
.creekside-intake .intake-review > section { padding: 18px 0px; border-top: 1px solid var(--rule-strong); }
.creekside-intake .intake-review > section:first-child { border-top: 0px; padding-top: 0px; }
.creekside-intake .intake-review h4 { font: 500 21px/1.4 var(--font-display); }
.creekside-intake .intake-review dl { margin: 14px 0px 8px; display: grid; gap: 10px; }
.creekside-intake .intake-review dl > div { display: grid; grid-template-columns: 95px 1fr; gap: 18px; font-size: 14px; line-height: 1.65; }
.creekside-intake .intake-review dt { color: var(--text-label); }
.creekside-intake .intake-review dd { margin: 0px; white-space: pre-wrap; overflow-wrap: anywhere; }
.creekside-intake .intake-review button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0px; border-width: 0px 0px 1px; border-style: none none solid; border-color: currentcolor currentcolor var(--action-hover); border-image: none; background: transparent; color: var(--text-link); font-size: 13px; }
.creekside-intake .intake-review button:hover { color: var(--text-primary); }
.creekside-intake .intake-success { padding-top: 26px; scroll-margin-top: 110px; }
.creekside-intake .intake-success h3 { font: 500 32px/1.25 var(--font-display); }
.creekside-intake .intake-success > p { font-size: 16px; color: var(--text-copy); margin-top: 18px; }
.creekside-intake .intake-success > [data-intake-done-summary] { margin-top: 26px; }
.creekside-intake .intake-success > .cs-btn { margin-top: 24px; width: 100%; font-size: 14px; }
.creekside-intake .intake-call { display: flex; align-items: center; min-height: 44px; margin-top: 12px; font-size: 14px; color: var(--text-link); }
.creekside-intake .intake-fallback { padding: 26px 0px; color: var(--text-copy); }
.creekside-intake .intake-fallback a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-link); }
.intake-layout[data-intake-shell] { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 10%; padding-block: 64px 88px; align-items: start; }
[data-intake-shell] .intake-context { position: sticky; top: 30px; }
[data-intake-shell] .intake-context h1 { font: 500 clamp(44px,4.2vw,64px)/1.08 var(--font-display); letter-spacing: -0.025em; }
[data-intake-shell] .intake-context > p { font-size: 20px; color: var(--text-copy); line-height: 1.6; margin-top: 22px; }
[data-intake-shell] .intake-context figure { margin-top: 30px; }
[data-intake-shell] .intake-context figure img { width: 100%; height: 330px; object-fit: cover; outline: var(--photo-outline) solid 1px; outline-offset: -1px; }
[data-intake-shell] .intake-context figcaption { padding-top: 12px; }
[data-intake-shell] .intake-context > .intake-context-note { font-size: 15px; margin-top: 24px; max-width: 44ch; }
[data-intake-shell] .intake-context > .cs-link { margin-top: 18px; }
.creekside-intake { padding: 28px 32px; border-top: 1px solid var(--rule-strong); }
@media (max-width: 899px) {
  .intake-layout[data-intake-shell] { grid-template-columns: 1fr; gap: 36px; padding-block: 42px 64px; max-width: 720px; }
  [data-intake-shell] .intake-context { position: static; }
  [data-intake-shell] .intake-context h1 { font-size: 44px; }
  [data-intake-shell] .intake-context > p { font-size: 18px; }
  [data-intake-shell] .intake-context figure img { height: 240px; }
  [data-intake-shell] .intake-context > .intake-context-note { max-width: none; }
  .creekside-intake { padding: 26px 24px; }
  .creekside-intake .intake-choices label { font-size: 15px; }
  .creekside-intake .intake-actions { position: sticky; bottom: 0px; z-index: 2; padding-bottom: calc(18px + env(safe-area-inset-bottom)); margin-bottom: 4px; }
}
@media (max-width: 599px) {
  .intake-layout[data-intake-shell] { width: calc(100% - 40px); gap: 28px; padding-top: 32px; }
  [data-intake-shell] .intake-context h1 { font-size: 38px; }
  [data-intake-shell] .intake-context figure { margin-top: 22px; }
  [data-intake-shell] .intake-context figure img { height: 165px; }
  [data-intake-shell] .intake-context > .intake-context-note { font-size: 14px; }
  [data-intake-shell] .intake-context > .cs-link { margin-top: 8px; }
  .creekside-intake { padding: 22px 0px; background: var(--surface-night); --intake-ground: var(--surface-night); }
  .creekside-intake .intake-title { font-size: 27px !important; }
  .creekside-intake .intake-intro { font-size: 15px; }
  .creekside-intake .intake-choices { grid-template-columns: 1fr; }
  .creekside-intake .intake-choices label { min-height: 54px; padding: 12px 14px; }
  .creekside-intake .intake-choices:has(input[type="checkbox"]) { grid-template-columns: 1fr 1fr; }
  .creekside-intake .intake-choices:has(input[type="checkbox"]) label { font-size: 14px; padding: 12px 10px; gap: 8px; }
  .creekside-intake .intake-stepper ol { gap: 6px; }
  .creekside-intake .intake-stepper button { font-size: 12px; min-height: 54px; }
  .creekside-intake .intake-step { padding-top: 24px !important; }
  .creekside-intake .intake-actions .cs-btn { padding-inline: 14px; font-size: 13px; gap: 16px; }
  .creekside-intake .intake-review dl > div { grid-template-columns: 82px 1fr; gap: 12px; }
  .creekside-intake .intake-success h3 { font-size: 28px; }
}
@media (max-width: 359px) {
  .intake-layout[data-intake-shell] { width: calc(100% - 32px); }
  .creekside-intake .intake-choices:has(input[type="checkbox"]) { grid-template-columns: 1fr; }
  .creekside-intake .intake-actions .cs-btn { padding-inline: 12px; gap: 10px; font-size: 12px; }
  .creekside-intake .intake-stepper button { font-size: 12px; }
}
@media (max-width: 899px) {
  .creekside-intake .intake-actions { position: static; z-index: auto; }
  [data-intake-shell] .intake-context > .intake-context-note, [data-intake-shell] .intake-context > .cs-link { display: none; }
}
@media (max-width: 599px) {
  .intake-layout[data-intake-shell] { padding-top: 24px; gap: 20px; }
  [data-intake-shell] .intake-context h1 { font-size: 32px; }
  [data-intake-shell] .intake-context > p { font-size: 15px; margin-top: 14px; }
  [data-intake-shell] .intake-context figure { margin-top: 16px; }
  [data-intake-shell] .intake-context figure img { height: 110px; }
  [data-intake-shell] .intake-context figcaption { font-size: 12px; padding-top: 8px; }
  .creekside-intake { padding-top: 18px; }
  .creekside-intake .intake-choices { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
  .creekside-intake .intake-choices label { font-size: 14px; gap: 9px; padding: 11px 10px; min-height: 56px; }
  .creekside-intake .intake-stepper button { font-size: 12px; }
  .creekside-intake .intake-step { padding-top: 22px !important; }
  .creekside-intake .intake-intro { margin-top: 12px; }
  [data-intake-shell] .request-copy .c-preview-note { display: none; }
}
@media (max-width: 359px) {
  .creekside-intake .intake-stepper button { font-size: 12px; }
  .creekside-intake .intake-choices label { font-size: 13px; }
}
.creekside-intake .intake-review .intake-review-heading { font: 500 21px/1.4 var(--font-display); }
.creekside-intake .intake-success .intake-done-title { font: 500 32px/1.25 var(--font-display); }
@media (max-width: 599px) {
  .creekside-intake .intake-success .intake-done-title { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .creekside-intake * { scroll-behavior: auto !important; transition: none !important; }
}
:where([data-intake-shell], .contact-intake-shell) .pool-scene { min-width: 0px; border-block: 1px solid var(--rule-strong); background: var(--surface-service); margin: 24px 0px 0px !important; }
:where([data-intake-shell], .contact-intake-shell) .pool-scene-canvas { width: 100%; aspect-ratio: 640 / 420; overflow: hidden; }
:where([data-intake-shell], .contact-intake-shell) .pool-scene svg { display: block; width: 100%; height: 100%; }
:where([data-intake-shell], .contact-intake-shell) .pool-scene-layer { opacity: 0; transform-box: fill-box; transform-origin: center center; pointer-events: none; }
:where([data-intake-shell], .contact-intake-shell) .pool-scene-layer[data-visible="true"] { opacity: 1; }
:where([data-intake-shell], .contact-intake-shell) .pool-scene figcaption { display: grid; gap: 8px; font: 400 14px/1.5 var(--font-body); padding: 18px 20px !important; color: var(--text-copy) !important; }
:where([data-intake-shell], .contact-intake-shell) .pool-scene figcaption strong { font: 500 20px/1.3 var(--font-display); color: var(--text-primary); }
:where([data-intake-shell], .contact-intake-shell) .pool-scene figcaption span { color: var(--text-link); overflow-wrap: anywhere; }
:where([data-intake-shell], .contact-intake-shell) .pool-scene figcaption small { font-size: 12px; color: var(--text-fine); }
[data-intake-shell] .intake-context .pool-scene { margin-top: 28px !important; }
[data-intake-shell] .intake-context figure.intake-work-proof { display: flex; gap: 16px; align-items: center; margin-top: 20px; }
[data-intake-shell] .intake-context .intake-work-proof img { width: 96px; height: 64px; object-fit: cover; flex: 0 0 auto; }
[data-intake-shell] .intake-context .intake-work-proof figcaption { font-size: 13px; padding: 0px; color: var(--text-copy); }
[data-intake-shell] .intake-work-proof a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-link); }
[data-intake-shell] .intake-context > .intake-context-note { display: none; }
[data-intake-shell] .request-copy .pool-scene { max-width: 520px; }
@media (max-width: 899px) {
  .creekside-intake > .pool-scene, .creekside-intake [data-intake-app] > .pool-scene { margin: 18px 0px 0px !important; }
  :where([data-intake-shell], .contact-intake-shell) .pool-scene-canvas { height: 210px; aspect-ratio: auto; }
  :where([data-intake-shell], .contact-intake-shell) .pool-scene figcaption { gap: 5px; padding: 12px 14px !important; }
  :where([data-intake-shell], .contact-intake-shell) .pool-scene figcaption strong { font-size: 17px; }
  :where([data-intake-shell], .contact-intake-shell) .pool-scene figcaption span { font-size: 13px; }
  [data-intake-shell] .intake-context .intake-work-proof { display: none !important; }
}
@media (max-width: 599px) {
  [data-intake-shell] .intake-context h1 { font-size: 27px; }
  [data-intake-shell] .intake-context h1 br { display: none; }
  [data-intake-shell] .intake-context > p { font-size: 14px; margin-top: 10px; }
  [data-intake-shell] .intake-context > p br { display: none; }
  .intake-layout[data-intake-shell] { gap: 18px; }
  :where([data-intake-shell], .contact-intake-shell) .pool-scene-canvas { height: 170px; }
  :where([data-intake-shell], .contact-intake-shell) .pool-scene[data-stage="2"] .pool-scene-canvas { height: 200px; }
  :where([data-intake-shell], .contact-intake-shell) .pool-scene figcaption small { font-size: 12px; }
  :where([data-intake-shell], .contact-intake-shell) .pool-scene figcaption strong { font-size: 16px; }
}

/* The existing request grid owns inline columns; only the dedicated wrapper creates another grid. */
[data-intake-shell] .request-copy > [data-intake-visual] { min-width: 0; }
.contact-intake-shell { min-width: 0; }
.contact-intake-shell > [data-intake-visual] { margin-bottom: 24px; }
.creekside-intake button { font-family: var(--font-body); }
.creekside-intake .intake-actions .cs-btn:disabled { cursor: default; }
@media (max-width: 599px) {
  .contact-intake-shell > [data-intake-visual] { margin-bottom: 20px; }
}
