/* Woodopic project intake page (start-project.html) */
.intake-page { padding-top: 150px; min-height: 80vh; }
.intake-page .section-head { max-width: none; margin-bottom: 28px; }
.intake-page h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.05; }
.intake-page .eyebrow { color: #704b2b; }
.intake-page .contact-sub { color: #464943; font-size: 17px; }

.intake-page .quote-form { margin-top: 24px; }
.intake-page .field input, .intake-page .field select, .intake-page .field textarea { border-radius: 0; border-color: #20262340; }
.intake-page .field input:focus, .intake-page .field select:focus, .intake-page .field textarea:focus {
  border-color: var(--tour-bronze); box-shadow: 0 0 0 3px rgba(138, 98, 61, 0.2);
}
.intake-page .field [aria-invalid="true"] { border-color: #b8462f; }
.intake-page .btn-primary { background: var(--tour-bronze); color: #fff; min-height: 54px; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; }
.intake-page .btn-primary:hover { background: #704b2b; transform: none; box-shadow: none; }
.intake-page .btn:focus-visible, .intake-page a:focus-visible { outline: 2px solid var(--tour-bronze); outline-offset: 2px; }

.intake-status { padding: 12px 14px; border-left: 3px solid var(--tour-bronze); background: #ece7dd; font-size: 14px; line-height: 1.5; }
.intake-status:focus { outline: none; }
.intake-consent { font-size: 12px; line-height: 1.6; color: #625e57; }
.intake-consent a { text-decoration: underline; text-underline-offset: 3px; }

.intake-page .contact-trust { border-radius: 0; background: #ece7dd; top: 120px; }
.intake-page .contact-trust h2 { font-size: 26px; font-weight: 400; margin-bottom: 24px; }

@media (max-width: 860px) {
  .intake-page { padding-top: 110px; }
}

/* Six-step quote builder */
.quote-step { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.quote-step legend { display: flex; flex-direction: column; gap: 6px; padding: 0; margin-bottom: 18px; }
.step-count { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #704b2b; }
.step-title { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.03em; line-height: 1.15; color: #202623; }
.step-title:focus { outline: none; }
.step-title:focus-visible { outline: 2px solid var(--tour-bronze); outline-offset: 4px; }
.step-hint { margin: -8px 0 18px; font-size: 14px; color: #625e57; }
.wizard-on .quote-step { margin-bottom: 28px; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.choice-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 64px; padding: 14px 16px; border: 1px solid #20262340; background: #fff; cursor: pointer; transition: border-color 160ms, background-color 160ms, box-shadow 160ms; }
.choice-grid--compact .choice { min-height: 52px; padding: 10px 12px; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice-title { font-size: 15px; font-weight: 500; color: #202623; line-height: 1.3; }
.choice-grid--compact .choice-title { font-size: 14px; }
.choice-note { font-size: 13px; color: #625e57; line-height: 1.4; }
.choice:hover { border-color: var(--tour-bronze); }
.choice:has(input:checked) { border-color: var(--tour-bronze); background: #f3ece2; box-shadow: inset 0 0 0 1px var(--tour-bronze); }
.choice:has(input:checked) .choice-title::before { content: "\2713\00a0"; color: #704b2b; }
.choice:has(input:focus-visible) { outline: 2px solid var(--tour-bronze); outline-offset: 2px; }

.wizard-progress { margin: 0 0 20px; }
.wizard-bar { height: 3px; background: #20262320; }
.wizard-bar span { display: block; height: 100%; width: 0; background: var(--tour-bronze); transition: width 320ms ease; }

.wizard-nav { display: flex; gap: 12px; }
.wizard-nav [hidden] { display: none; }
.wizard-nav .btn { flex: 1; min-height: 54px; }
.intake-page .btn-ghost { border: 1px solid #20262360; background: transparent; color: #202623; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; }
.intake-page .btn-ghost:hover { border-color: var(--tour-bronze); }

.quote-house { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid #20262320; overflow: hidden; transition: background-color 600ms ease; }
.qh { width: 100%; height: auto; display: block; --night: 0%; transition: --night 600ms ease; }
@property --night { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
.qh.is-dusk { --night: 58%; }
.qh path, .qh circle, .qh ellipse, .qh rect { stroke: #20262333; stroke-width: 0.6; stroke-linejoin: round; }
.qh [data-layer] { opacity: 0; transition: opacity 360ms ease; }
.qh [data-layer].on { opacity: 1; }
.qh-lawn { fill: color-mix(in srgb, #c9cfb4, #1b2231 var(--night)); }
.qh-lawn-s { fill: color-mix(in srgb, #a9b08f, #1b2231 var(--night)); }
.qh-lawn-e { fill: color-mix(in srgb, #979e7e, #1b2231 var(--night)); }
.qh-wall-l { fill: color-mix(in srgb, #b07a52, #1b2231 var(--night)); }
.qh-wall-r { fill: color-mix(in srgb, #8e5e3d, #1b2231 var(--night)); }
.qh-paint-l { fill: color-mix(in srgb, #ddd5c8, #1b2231 var(--night)); }
.qh-paint-r { fill: color-mix(in srgb, #c3b8a7, #1b2231 var(--night)); }
.qh-roof-f { fill: color-mix(in srgb, #3a403c, #1b2231 var(--night)); }
.qh-roof-e { fill: color-mix(in srgb, #2c312e, #1b2231 var(--night)); }
.qh-newroof-f { fill: color-mix(in srgb, #6d4f35, #1b2231 var(--night)); }
.qh-newroof-e { fill: color-mix(in srgb, #573e29, #1b2231 var(--night)); }
.qh-glass { fill: color-mix(in srgb, #cfdad8, #1b2231 var(--night)); }
.qh-door { fill: color-mix(in srgb, #202623, #1b2231 var(--night)); }
.qh-nb-l { fill: color-mix(in srgb, #ddd6ca, #1b2231 var(--night)); }
.qh-nb-r { fill: color-mix(in srgb, #cbc2b3, #1b2231 var(--night)); }
.qh-nbroof-f { fill: color-mix(in srgb, #a3a39b, #1b2231 var(--night)); }
.qh-nbroof-e { fill: color-mix(in srgb, #8e8e87, #1b2231 var(--night)); }
.qh-nb-win { fill: color-mix(in srgb, #eee9df, #1b2231 var(--night)); }
.qh-tower-l { fill: color-mix(in srgb, #d9d3c7, #1b2231 var(--night)); }
.qh-tower-r { fill: color-mix(in srgb, #c6bfb2, #1b2231 var(--night)); }
.qh-tower-t { fill: color-mix(in srgb, #e6e1d6, #1b2231 var(--night)); }
.qh-tower-win { fill: color-mix(in srgb, #eee9df, #1b2231 var(--night)); }
.qh-membrane-l { fill: color-mix(in srgb, #202623, #1b2231 var(--night)); }
.qh-membrane-r { fill: color-mix(in srgb, #202623, #1b2231 var(--night)); }
.qh-clad { fill: color-mix(in srgb, #9c7048, #1b2231 var(--night)); }
.qh-awning { fill: color-mix(in srgb, #8a623d, #1b2231 var(--night)); }
.qh-balcony { fill: color-mix(in srgb, #d9d2c5, #1b2231 var(--night)); }
.qh-rail { fill: color-mix(in srgb, #cfdad8, #1b2231 var(--night)); }
.qh-chim-l { fill: color-mix(in srgb, #8e5e3d, #1b2231 var(--night)); }
.qh-chim-r { fill: color-mix(in srgb, #74492e, #1b2231 var(--night)); }
.qh-chim-t { fill: color-mix(in srgb, #5a3a24, #1b2231 var(--night)); }
.qh-dormer-l { fill: color-mix(in srgb, #efe9de, #1b2231 var(--night)); }
.qh-dormer-r { fill: color-mix(in srgb, #ddd5c7, #1b2231 var(--night)); }
.qh-dormer-roof { fill: color-mix(in srgb, #3a403c, #1b2231 var(--night)); }
.qh-add-l { fill: color-mix(in srgb, #f1ece2, #1b2231 var(--night)); }
.qh-add-r { fill: color-mix(in srgb, #ddd5c7, #1b2231 var(--night)); }
.qh-add-t { fill: color-mix(in srgb, #e7e0d3, #1b2231 var(--night)); }
.qh-stone-l { fill: color-mix(in srgb, #a39a8b, #1b2231 var(--night)); }
.qh-stone-r { fill: color-mix(in srgb, #8c8475, #1b2231 var(--night)); }
.qh-stone-t { fill: color-mix(in srgb, #bcb4a6, #1b2231 var(--night)); }
.qh-concrete { fill: color-mix(in srgb, #d6d2ca, #1b2231 var(--night)); }
.qh-paver { fill: color-mix(in srgb, #c9b59b, #1b2231 var(--night)); }
.qh-leaf { fill: color-mix(in srgb, #7f8c64, #1b2231 var(--night)); }
.qh-leaf-hi { fill: color-mix(in srgb, #97a37b, #1b2231 var(--night)); }
.qh .qh-edge, .qh .qh-joint, .qh .qh-tile, .qh .qh-clad-line, .qh .qh-awning-line, .qh .qh-add-edge { fill: none; }
.qh .qh-edge { stroke: #20262366; stroke-width: 0.8; }
.qh .qh-joint { stroke: #ffffffaa; stroke-width: 0.8; }
.qh .qh-tile { stroke: #3d2b1c; stroke-width: 0.8; }
.qh .qh-clad-line { stroke: #6b4a2f; stroke-width: 0.8; }
.qh .qh-awning-line { stroke: #f8f6f0; stroke-width: 1.4; }
.qh .qh-add-edge { stroke: #202623; stroke-width: 1; }
.qh .qh-trim { fill: none; stroke: #8a623d; stroke-width: 2.2; }
.qh .qh-trunk { fill: none; stroke: #6b4a2f; stroke-width: 3; stroke-linecap: round; }
.qh .qh-glow, .qh .qh-lamp { fill: #f3c77f; stroke: none; }
.qh .qh-lamp { filter: drop-shadow(0 0 4px #f3c77f); }
.qh .qh-rail { fill-opacity: 0.7; }
.qh.is-dusk .qh-glass, .qh.is-dusk .qh-nb-win, .qh.is-dusk .qh-tower-win { fill: #e9b96a; }
.qh .qh-sun { fill: #e9c98f; stroke: none; transition: fill 600ms ease; }
.qh.is-dusk .qh-sun { fill: #eef0f5; }
.qh .qh-tag rect { fill: #202623; stroke: none; }
.qh .qh-tag text { fill: #fff; font-size: 10px; font-weight: 500; letter-spacing: 0.02em; }
.qh-label { fill: #704b2b; font-size: 12px; letter-spacing: 0.04em; }
.quote-house:has(.qh.is-dusk) { background-color: #2a2f35; }
.quote-house:has(.qh.is-dusk) .qh-label { fill: #e9d9c3; }
.quote-house:has(.qh.is-dusk) .quote-note { color: #d9d2c5; }
.qh-mode { display: flex; justify-content: flex-end; gap: 4px; margin-bottom: 6px; }
.qh-mode button { font: inherit; font-size: 12px; padding: 6px 12px; border: 1px solid #20262333; background: #f8f6f0; color: #202623; cursor: pointer; }
.qh-mode button[aria-pressed="true"] { background: #202623; color: #fff; border-color: #202623; }
.qh-mode button:focus-visible { outline: 2px solid var(--tour-bronze); outline-offset: 2px; }
/* .quote-house prefix beats .contact-trust ul (column) */
.quote-house .quote-summary { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; }
.quote-summary li { font-size: 12px; padding: 5px 10px; background: #f8f6f0; border: 1px solid #20262320; }
.quote-note { margin: 14px 0 0; font-size: 13px; color: #625e57; }

@media (max-width: 980px) {
  .contact-form-wrap .quote-house { margin: 0 0 20px; padding: 12px; background: #ece7dd; border: 0; }
  .contact-form-wrap .quote-house .qh { max-height: 26vh; }
  .contact-form-wrap .quote-note { display: none; }
}
@media (max-width: 420px) {
  .choice-grid { grid-template-columns: 1fr; }
  .choice-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 981px) {
  .intake-page .contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}

/* Icon answer cards */
.choice-grid--icons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice--icon { align-items: center; text-align: center; min-height: 128px; padding: 18px 12px; gap: 6px; }
.choice-icon { width: 36px; height: 36px; margin-bottom: 6px; fill: none; stroke: #202623; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke 160ms, transform 160ms; }
.choice--icon:hover .choice-icon { transform: translateY(-2px); }
.choice--icon:has(input:checked) { background: #202623; border-color: #202623; box-shadow: none; }
.choice--icon:has(input:checked) .choice-icon { stroke: #fff; }
.choice--icon:has(input:checked) .choice-title { color: #fff; }
.choice--icon:has(input:checked) .choice-note { color: #d9d2c5; }
.choice--icon:has(input:checked) .choice-title::before { content: none; }
@media (max-width: 860px) {
  .choice-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-grid--icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice--icon { min-height: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  .qh, .qh-sun, .qh [data-layer], .quote-house, .wizard-bar span, .choice, .choice-icon { transition: none; }
  .choice--icon:hover .choice-icon { transform: none; }
}

/* Spam trap: hidden from people, visible to naive bots. */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 1rem; }
