/* Project discovery uses the shared site shell and its own focused form layout. */
.project-page { --project-muted: #686e7b; --project-line: #e6e7eb; --project-tint: #fff6f7; color: var(--project-ink); }
.project-main { width: calc(100% - 170px); max-width: 1160px; margin: 0 auto 100px; }
.project-main *, .project-main *::before, .project-main *::after { box-sizing: border-box; }
.project-main [hidden] { display: none !important; }
.project-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 55px; align-items: end; padding: 50px 0 42px; margin-bottom: 35px; border-bottom: 1px solid var(--project-line); }
.project-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--project-accent); }
.project-eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.project-main .project-hero h1 { margin: 0; font-family: 'Manrope', 'Noto Sans', sans-serif; font-size: clamp(34px, 4.25vw, 54px); line-height: 1.17; letter-spacing: -2px; font-weight: 800; }
.project-hero h1 > span { color: var(--project-accent); }
.project-hero-copy > p { margin: 0 0 22px; max-width: 470px; color: var(--project-muted); font-size: 16px; line-height: 1.85; }
.project-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; color: #747986; font-size: 11px; }
.project-hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.project-hero-meta span::before { content: ''; width: 3px; height: 3px; background: var(--project-accent); border-radius: 50%; }
.project-builder { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 48px; align-items: start; }
.project-sidebar { position: sticky; top: calc(var(--site-header-height) + 28px); padding: 22px 0; }
.project-sidebar-top .project-eyebrow { margin: 0 0 6px; font-size: 12px; color: var(--project-muted); }
.project-progress-label { margin: 0; font-size: 14px; font-weight: 700; }
.project-progress-track { width: 100%; height: 3px; margin: 16px 0 26px; border-radius: 4px; background: #eeeef1; overflow: hidden; }
.project-progress-track > span { display: block; width: 16.6667%; height: 100%; background: var(--project-accent); transition: width .2s ease; }
.project-stepper { margin: 0; padding: 0; list-style: none; }
.project-stepper li { margin: 0 0 6px; }
.project-stepper button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 10px; color: #6d7280; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: 16px; text-align: start; cursor: pointer; }
.project-stepper button:disabled { cursor: default; opacity: .65; }
.project-stepper button[aria-current="step"] { color: var(--project-accent); background: var(--project-tint); font-weight: 700; opacity: 1; }
.project-step-number { display: inline-grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid #dfe1e7; border-radius: 50%; font-size: 14px; font-weight: 700; }
[aria-current="step"] .project-step-number { color: #fff; background: var(--project-accent); border-color: var(--project-accent); }
.project-stepper .is-complete .project-step-number { background: #f1f3f4; color: #373f4e; border-color: #dfe1e7; }
.project-sidebar-help { margin-top: 32px; padding: 23px 18px; border: 1px solid var(--project-line); border-radius: 12px; background: #fafafa; }
.project-help-icon { display: block; width: 22px; height: 22px; color: var(--project-accent); margin-bottom: 12px; }
.project-sidebar-help h2 { margin: 0 0 8px; font-size: 14px; line-height: 1.5; }
.project-sidebar-help p { margin: 0 0 15px; font-size: 12px; color: var(--project-muted); line-height: 1.85; }
.project-sidebar-help a { color: var(--project-ink); font-size: 11px; line-height: 1.8; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.project-form { font-size: 16px; min-width: 0; padding: 32px 34px 0; border: 1px solid var(--project-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 36px rgba(23,27,53,.035); }
.project-step { padding-bottom: 30px; }
.project-form:not(:has([data-project-step][hidden])) .project-step + .project-step { border-top: 1px solid var(--project-line); padding-top: 30px; }
.project-step-heading { margin-bottom: 28px; }
.project-step-kicker { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: 1px; color: #8a8e98; direction: ltr; unicode-bidi: isolate; text-align: start; }
.project-step-kicker > span { color: var(--project-accent); }
.project-main .project-step-heading h2 { margin: 0 0 12px; font-family: 'Manrope', 'Noto Sans', sans-serif; font-size: clamp(24px, 2.35vw, 30px); font-weight: 800; line-height: 1.35; letter-spacing: -.9px; }
.project-step-heading h2:focus { outline: none; }
.project-step-heading > p:last-child { margin: 0; color: var(--project-muted); font-size: 16px; line-height: 1.85; }
.project-fields { display: grid; gap: 28px; }
.project-field { display: block; min-width: 0; width: 100%; margin: 0; padding: 0; border: 0; }
.project-field > :is(legend, label) { width: 100%; display: block; float: none; margin: 0 0 12px; padding: 0; color: var(--project-ink); font-size: 16px; font-weight: 700; line-height: 1.65; text-align: start; }
.project-optional { display: inline; margin-inline-start: 6px; color: #8a8e98; font-size: 12px; font-weight: 400; }
.project-hint { margin: -4px 0 14px; color: #777d88; font-size: 14px; line-height: 1.8; }
.project-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.project-choice { display: block; position: relative; margin: 0; cursor: pointer; }
.project-choice > input { appearance: none; position: absolute; inset-inline-end: 15px; top: 16px; z-index: 1; width: 16px; height: 16px; margin: 0; padding: 0; border: 1.5px solid #d2d5de; border-radius: 50%; background: #fff; cursor: pointer; }
.project-choice > input[type="checkbox"] { border-radius: 4px; }
.project-choice > input:checked { background: var(--project-accent); border-color: var(--project-accent); }
.project-choice > input:checked::after { content: ''; position: absolute; top: 3px; left: 5px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.project-choice-content { overflow-wrap: anywhere; display: flex; flex-direction: column; height: 100%; padding: 18px; padding-inline-end: 38px; border: 1px solid #e2e4e9; border-radius: 11px; color: var(--project-ink); transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.project-choice:hover .project-choice-content { border-color: #c5c8d2; background: #fcfcfd; }
.project-choice > input:checked + .project-choice-content { border-color: #bd2032; background: #fff8f8; box-shadow: 0 0 0 1px rgba(189,32,50,.06); }
.project-choice > input:focus-visible { outline: 0; }
.project-choice > input:focus-visible + .project-choice-content { outline: 3px solid #b6c5e2; outline-offset: 3px; }
.project-choice-icon { width: 24px; height: 24px; margin-bottom: 14px; color: #71798c; }
.project-choice-icon svg { width: 100%; height: 100%; }
.project-choice input:checked + span .project-choice-icon { color: var(--project-accent); }
.project-choice-content strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.6; }
.project-choice-content small { display: block; margin-top: 7px; color: #797f8a; font-size: 14px; line-height: 1.8; }
.is-compact .project-choice-content { justify-content: center; min-height: 51px; padding: 13px 14px; padding-inline-end: 37px; }
.is-compact .project-choice > input { top: calc(50% - 8px); inset-inline-end: 13px; }
.project-field > :is(input, select, textarea) { display: block; width: 100%; max-width: 100%; min-height: 48px; padding: 13px 15px; border: 1px solid #dfe2e8; background: #fff; color: var(--project-ink); font: inherit; font-size: 16px; line-height: 1.7; box-shadow: none; }
.project-field > textarea { min-height: 125px; resize: vertical; text-align: start; }
.project-field > textarea::placeholder { text-align: start; }
.project-field > :is(input,textarea)::placeholder { color: #999eaa; }
.project-field > :is(input, select, textarea):focus { border-color: #8d9fbe; outline: 3px solid #e4eaf3; outline-offset: 1px; }
.project-field [aria-invalid="true"] { border-color: #c22537; }
.project-field-error { margin: 9px 0 0; color: #ad192d; font-size: 14px; line-height: 1.75; }
.project-contact-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-contact-fields [data-field="contact_method"], .project-contact-fields [data-field="notes"] { grid-column: 1 / -1; }
.project-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 -34px; padding: 22px 34px; border-top: 1px solid var(--project-line); border-radius: 0 0 18px 18px; background: #fcfcfd; }
.project-controls-primary { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; margin-inline-start: auto; }
.project-main .project-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 12px 22px; border: 1px solid var(--project-accent); border-radius: 8px; background: var(--project-accent); color: #fff; font: inherit; font-size: 12px; font-weight: 700; line-height: 1.6; text-decoration: none; cursor: pointer; }
.project-page .project-main .project-form .project-button { font-size: 16px; }
.project-main .project-button:hover { background: #a5192b; border-color: #a5192b; }
.project-main .project-button-back { padding-inline: 0 8px; border-color: transparent; background: transparent; color: #737987; font-weight: 500; }
.project-main .project-button-back:hover { color: var(--project-ink); background: transparent; border-color: transparent; }
.project-button:disabled { opacity: .45; cursor: not-allowed; }
.project-main :is(button, a):focus-visible { outline: 3px solid #95add7; outline-offset: 4px; }
.project-review { display: grid; gap: 18px; }
.project-review-section { padding: 20px; background: #fafafb; border: 1px solid var(--project-line); border-radius: 10px; }
.project-review-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.project-review-heading h3 { margin: 0; font-size: 18px; line-height: 1.5; }
.project-review-heading button { padding: 5px 0; border: 0; background: none; color: var(--project-accent); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.project-review dl { display: grid; gap: 13px; margin: 0; }
.project-review dt { float: none !important; clear: none !important; width: auto; margin: 0 0 4px; color: #828894; font-size: 14px; font-weight: 400; text-align: start !important; white-space: normal; }
.project-review dd { margin: 0 !important; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; white-space: pre-wrap; }
.project-review-note { margin-top: 24px; padding: 20px; border-radius: 10px; background: #f6f7f9; font-size: 14px; line-height: 1.85; }
.project-review-note p { margin: 6px 0 0; color: var(--project-muted); }
.project-form-notice { margin-bottom: 25px; padding: 15px 18px; color: #aa1930; background: #fff1f3; border: 1px solid #f0d1d7; border-radius: 8px; font-size: 16px; line-height: 1.8; }
.project-success { max-width: 720px; margin: 60px auto; padding: 45px; border: 1px solid var(--project-line); border-radius: 18px; text-align: center; }
.project-success .project-eyebrow { justify-content: center; margin-top: 24px; }
.project-success-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #fff; background: var(--project-accent); font-size: 28px; }
.project-success h2 { font-size: 30px; line-height: 1.4; }
.project-success p { color: var(--project-muted); font-size: 15px; line-height: 1.85; }
.project-success .project-button { margin-top: 16px; }
.project-honeypot, .project-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
html[dir="rtl"] .project-next-arrow, html[dir="rtl"] .project-back-arrow { transform: rotate(180deg); }
html[dir="rtl"] .project-main .project-hero h1 { line-height: 1.4; }
html[dir="rtl"] .project-main .project-step-heading h2 { line-height: 1.55; }
html[dir="rtl"] .project-step-kicker { text-align: end; }
@media (max-width: 1100px) {
    .project-main { width: calc(100% - 170px); }
    .project-builder { grid-template-columns: 200px minmax(0, 1fr); gap: 28px; }
    .project-form { padding: 27px 26px 0; }
    .project-controls { margin-inline: -26px; padding-inline: 26px; }
}
@media (max-width: 800px) {
    .project-main { width: calc(100% - 50px); }
    .project-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 34px; margin-bottom: 24px; }
    .project-hero-copy > p { max-width: 580px; }
    .project-builder { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .project-sidebar { position: static; padding: 0; }
    .project-sidebar-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
    .project-sidebar-top .project-eyebrow { margin: 0; }
    .project-progress-track { margin: 12px 0 0; }
    .project-stepper, .project-sidebar-help { display: none; }
}
@media (max-width: 500px) {
    .project-main { width: calc(100% - 36px); margin-bottom: 55px; }
    .project-hero { padding: 27px 4px; }
    .project-main .project-hero h1 { font-size: 36px; letter-spacing: -1.4px; }
    .project-hero-copy > p { font-size: 14px; }
    .project-hero-meta { font-size: 10px; gap: 9px 12px; }
    .project-form { padding: 24px 18px 0; border-radius: 13px; }
    .project-main .project-step-heading h2 { font-size: 24px; }
    .project-choice-grid:not(.is-compact) { grid-template-columns: minmax(0, 1fr); }
    .project-choice-grid { gap: 10px; }
    .project-choice-content { padding: 16px; padding-inline-end: 39px; }
    .project-choice-icon { margin-bottom: 9px; }
    .is-compact .project-choice-content { min-height: 61px; padding-block: 11px; padding-inline-start: 12px; }
    .project-contact-fields { grid-template-columns: minmax(0, 1fr); }
    .project-controls { flex-wrap: wrap; margin-inline: -18px; padding: 18px; }
    .project-controls-primary { gap: 10px; }
    .project-main .project-button { padding-inline: 16px; font-size: 11px; }
    .project-main .project-button-back { padding-inline-start: 0; }
    .project-review-section { padding: 16px; }
    .project-success { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .project-progress-track > span, .project-choice-content { transition: none; }
}
