/* The questionnaire is printed on the same stock as the guide. Relief profiles
   are the guide's actual moulds, lit from the upper left. */
.consultation {
  color: var(--ink);
  background: var(--paper) var(--sheet,url("/assets/brand/proof-paper.webp")) 0 0 / 672px auto repeat;
  padding: clamp(54px, 8vw, 120px) max(6vw, calc((100% - 1280px) / 2));
}
.consultation-content { max-width: 1280px; margin-inline: auto; }
.intake {
  --intake-text: #171917;
  --intake-muted: #4d524e;
  --intake-focus: var(--blue, #0a416a);
  max-width: 960px;
  margin-inline: auto;
  color: var(--intake-text);
  font: 400 1.0625rem/1.5 var(--ui, "Source Sans 3", sans-serif);
  scroll-margin-top: 6rem;
}
.intake, .intake * { box-sizing: border-box; }
.intake [hidden] { display: none !important; }
.intake .intake-trap, .intake .intake-sr-only, .intake-choice input {
  position: absolute;
  width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.intake h2, .intake h3, .intake p { margin: 0; }
.intake #intake-title {
  font: 500 clamp(2.15rem, 5vw, 4.6rem)/1.08 var(--display, sans-serif);
  letter-spacing: -.045em;
  text-wrap: balance;
  max-width: 22ch;
  overflow-wrap: anywhere;
}
@media screen and (forced-colors: none) {
  @supports (background-clip: text) {
    .intake #intake-title {
      color: transparent;
      background: #060606 url("/assets/brand/type-black.webp") 0 0 / 672px auto repeat;
      background-clip: text;
    }
  }
}
.intake #intake-title:focus { outline: none; }
.intake :is(input, textarea, button, summary, a):focus-visible,
.intake-choice:has(input:focus-visible) {
  outline: 2px solid var(--intake-focus);
  outline-offset: 5px;
}
.intake-choice input:focus-visible, .intake .intake-other-entry input:focus-visible { outline: none; }
.intake-other-shell:has(.intake-other-entry input:focus-visible) {
  outline: 2px solid var(--intake-focus); outline-offset: 4px;
}
.intake-navigation { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1rem; }
.intake-navigation:has(> [hidden] + [hidden]) { display: none; }
.intake-progress, .intake-status { font-size: .925rem; color: var(--intake-muted); }
.intake-progress { font-variant-numeric: tabular-nums; }
.intake p.intake-observation { max-width: 64ch; margin: .5rem 0 1.5rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.intake p.intake-question-hint { margin-top: .9rem; color: var(--intake-muted); max-width: 60ch; }
.intake-question-form, .intake-contact-form, .intake-review, .intake-analysis, .intake-complete { margin-top: clamp(25px, 3vw, 40px); }
.intake-answer, .intake input, .intake textarea { min-width: 0; }
.intake input, .intake textarea, .intake button { font: inherit; color: inherit; }
.intake-choices {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  min-width: 0; margin: 0; padding: 0; border: 0;
}
.intake-choice, .intake-other-shell, .intake .fill-button, .intake-text-button {
  border: 0;
  border-radius: 10px;
  border-image: var(--archi-relief-positive-image,url("/assets/brand/paper-foot.png")) 144 / 19px / 5px stretch;
  background-color: transparent;
  box-shadow: none;
}
.intake-choice {
  display: flex; position: relative; align-items: center; justify-content: center;
  min-width: 0; min-height: 66px; padding: 13px 21px;
  text-align: center; cursor: pointer;
}
.intake-choice-label { line-height: 1.3; overflow-wrap: anywhere; }
.intake-choice-state { display: none; }
.intake-choice:not(.intake-choice-other):is(:has(input:checked), .is-committing),
.intake-other-shell.is-expanded, .intake .fill-button:not(:disabled):active,
.intake-text-button:not(:disabled):active {
  border-image-source: var(--archi-relief-negative-image,url("/assets/brand/paper-well.png"));
  border-image-outset: 0;
  background-color: rgb(35 43 40 / .045);
}
.intake-choice:has(input:checked) .intake-choice-label { font-weight: 600; }
.intake-other-shell { position: relative; min-width: 0; min-height: 66px; }
.intake .intake-other-shell > .intake-choice-other { height: 100%; border-image: none; background: transparent; }
.intake-other-shell.is-expanded > .intake-choice-other {
  position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0;
  overflow: hidden; clip-path: inset(50%);
}
.intake-other-entry { display: flex; min-height: 66px; height: 100%; align-items: center; gap: 12px; padding: 6px 12px 6px 20px; }
.intake-other-entry input[type="text"] {
  flex: 1; min-width: 0; min-height: 44px; border: 0; padding: 5px 0;
  outline: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.intake .intake-other-entry .fill-button { flex: 0 0 auto; min-height: 44px; padding: 8px 17px; margin: 0; }
.intake .fill-button, .intake-text-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; max-width: 100%; padding: 10px 23px;
  font: 500 1.025rem/1.35 var(--ui, sans-serif); color: var(--intake-text);
  text-decoration: none; text-transform: none; cursor: pointer;
}
.intake .fill-button { margin-top: 22px; }
.intake-text-button { padding-inline: 18px; font-size: .95rem; }
.intake :is(button, input, textarea):disabled { cursor: default; }
.intake .fill-button:disabled { color: #626762; }
.intake input, .intake textarea { color-scheme: light; accent-color: var(--intake-focus); caret-color: var(--intake-focus); }
.intake textarea, .intake-fields input, .intake-range-panel {
  width: 100%; border: 0; border-radius: 10px;
  border-image: var(--archi-relief-negative-image,url("/assets/brand/paper-well.png")) 144 / 19px / 0 stretch;
  background: rgb(35 43 40 / .03);
}
.intake textarea {
  display: block; min-height: 135px; max-height: 420px;
  resize: vertical; padding: 17px 21px; line-height: 1.5;
}
.intake textarea::placeholder, .intake input::placeholder { color: #5e645e; opacity: 1; }
.intake-range-panel { padding: clamp(18px, 3vw, 32px); }
.intake-range-panel output { display: block; font: 500 clamp(1.6rem, 3vw, 2.4rem)/1.18 var(--display, sans-serif); }
.intake-range-panel input { display: block; width: 100%; height: 44px; margin: 12px 0 0; cursor: pointer; }
.intake-range-labels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; font-size: .925rem; line-height: 1.2; }
.intake-range-labels span:not(:first-child):not(:last-child) { text-align: center; }
.intake-range-labels span:last-child { text-align: right; }
.intake-range-labels [aria-current="true"] { font-weight: 600; }
.intake-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 19px 24px; }
.intake-fields label, .intake-correction label { display: block; font-weight: 400; }
.intake-fields input { display: block; margin-top: 6px; min-height: 51px; padding: 10px 16px; font-weight: 400; }
.intake-fields label > span, .intake-hint, .intake-summary-note, .intake-privacy, .intake-disclosure { font-size: .9rem; font-weight: 400; color: var(--intake-muted); }
.intake-fields label > span:not(.intake-optional) { display: block; margin-top: 4px; }
.intake p.intake-disclosure { margin-top: 24px; }
.intake p.intake-hint, .intake p.intake-privacy { margin-top: 14px; }
.intake a { color: var(--intake-focus); }
.intake :is(.intake-disclosure, .intake-privacy) a { text-decoration: underline; text-underline-offset: 2px; }
.intake-contact-form > .intake-text-button { margin: 16px 0 0 12px; }
.intake-analysis p, .intake-complete p { max-width: 62ch; }
.intake-summary { padding-block: .3rem 1.4rem; overflow-wrap: anywhere; }
.intake-summary h2 { font: 500 clamp(1.6rem, 3vw, 2.3rem)/1.14 var(--display, sans-serif); letter-spacing: -.025em; }
.intake-summary h3 { font: 600 1.25rem/1.25 var(--display, sans-serif); margin: 1.5rem 0 .4rem; }
.intake-summary ul { padding-left: 1.25rem; margin: 0; }
.intake-summary li + li { margin-top: .3rem; }
.intake-summary-contact p { white-space: pre-line; margin-bottom: .75rem; }
.intake-confirm-label { display: flex; align-items: flex-start; gap: .7rem; max-width: 65ch; }
.intake-confirm-label input { flex: 0 0 auto; width: 21px; height: 21px; margin-top: 3px; }
.intake-history, .intake-correction { margin: 1rem 0; }
.intake-history summary, .intake-correction summary { width: fit-content; padding: 10px 0; min-height: 44px; cursor: pointer; }
.intake-history ol { padding-left: 1.5rem; max-height: 300px; overflow: auto; overscroll-behavior: contain; }
.intake-history li { padding-block: .4rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.intake-correction label { margin: .5rem 0; }
.intake-error { margin-top: 1.2rem; padding: 16px 19px; border-left: 3px solid var(--red, #dc3d3e); background-color: rgb(220 61 62 / .06); }
.intake-error .intake-text-button, .intake p.intake-status:not(:empty) { margin-top: .85rem; }
@media (max-width: 620px) {
  .consultation { padding-inline: max(20px, 6vw); }
  .intake { scroll-margin-top: 4.75rem; }
  .intake-choices, .intake-fields { grid-template-columns: minmax(0, 1fr); }
  .intake-choices { gap: 15px; }
  .intake-choice, .intake-other-shell, .intake-other-entry { min-height: 56px; }
  .intake-range-labels { font-size: .8125rem; }
  .intake-contact-form > .intake-text-button { display: flex; margin: 16px 0 0; }
}
@media (forced-colors: active) {
  .intake :is(.intake-choice, .intake-other-shell, .fill-button, .intake-text-button, .intake-range-panel, textarea, .intake-fields input) {
    border: 1px solid ButtonText; border-image: none; background: Canvas; color: CanvasText;
  }
  .intake .intake-other-shell > .intake-choice-other { border: 0; }
  .intake-choice:has(input:checked), .intake .intake-choice.is-committing { outline: 2px solid Highlight; outline-offset: -4px; }
  .intake .intake-choice:has(input:focus-visible), .intake .intake-other-shell:focus-within { outline: 3px solid Highlight; outline-offset: 3px; }
}
