.quiz-page { background: var(--brand-ink); color: var(--text-dark); }
.quiz-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(500px, 1.08fr) minmax(340px, 1fr); }
.quiz-card { background: #ffffff; padding: 32px clamp(24px, 4vw, 70px) 48px; min-width: 0; }
.quiz-brand { display: flex; align-items: center; gap: 12px; color: var(--brand-ink); font-size: 23px; font-weight: 800; letter-spacing: 4px; margin-bottom: 36px; }
.quiz-brand img { width: 58px; height: 58px; padding: 5px; border-radius: 50%; background: var(--brand-ink); object-fit: contain; }
.quiz-brand small { display: block; font-size: 8px; letter-spacing: 2.3px; }
.quiz-progress-label { font-size: 11px; font-weight: 600; color: #596773; margin-bottom: 10px; }
.quiz-progress { height: 3px; background: #dce3e9; margin-bottom: 36px; }
.quiz-progress-bar { height: 100%; background: var(--brand-gold); transition: width .25s ease; }
.quiz-eyebrow { color: #806529 !important; font-size: 10px !important; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 13px !important; }
.quiz-content h1 { font-size: clamp(40px, 4vw, 64px); font-weight: 600; line-height: 1.08; letter-spacing: -2px; color: var(--brand-ink); margin: 20px 0; }
.quiz-content h2 { font-size: clamp(28px, 3vw, 39px); font-weight: 600; line-height: 1.13; color: var(--brand-ink); margin-bottom: 16px; }
.quiz-content p { color: #596773; font-size: 14px; line-height: 1.8; margin-bottom: 22px; }
.quiz-content h1:focus, .quiz-content h2:focus { outline: none; }
.quiz-content .quiz-small { font-size: 11px; line-height: 1.7; margin: 18px 0 0; }
.quiz-arrival { border-left: 2px solid var(--brand-gold); padding-left: 15px; }
.quiz-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.service-card { position: relative; padding: 0; overflow: hidden; border: 1px solid #dce3e9; border-radius: 10px; background: white; text-align: left; cursor: pointer; font-family: inherit; }
.service-artwork { display: flex; justify-content: center; align-items: center; height: 156px; background: #ffffff; overflow: hidden; }
.service-diorama { display: block; height: 100%; aspect-ratio: 128 / 129; background-image: url('/assets/images/quiz/services-3d.png'); background-size: 300% 200%; background-repeat: no-repeat; transition: transform .22s ease; }
.service-diorama-turf { background-position: 0% 0%; }
.service-diorama-patio { background-position: 50% 0%; }
.service-diorama-screens { background-position: 100% 0%; }
.service-diorama-pavers { background-position: 0% 100%; }
.service-diorama-pool { background-position: 50% 100%; }
.service-diorama-design { background-position: 100% 100%; }
.service-card:hover .service-diorama, .service-card.is-selected .service-diorama { transform: translateY(-3px) scale(1.035); }
.service-card { transition: border-color .2s ease, box-shadow .2s ease; }
.service-card:hover { border-color: #947437; }
.service-card.is-selected { box-shadow: 0 0 0 2px #947437, 0 7px 18px #03132310; }
.service-copy { display: block; padding: 14px 12px; }
.service-copy strong { display: block; color: var(--brand-ink); font-size: 13px; line-height: 1.4; margin-bottom: 4px; }
.service-copy > span { display: block; font-size: 10px; color: #596773; line-height: 1.6; }
.service-check { position: absolute; top: 9px; right: 9px; width: 25px; height: 25px; background: white; border-radius: 50%; display: grid; place-items: center; color: var(--brand-ink); font-weight: bold; }
.service-card.is-selected, .quiz-option.is-selected { border-color: #947437; box-shadow: 0 0 0 1px #947437; }
.service-card.is-selected .service-check { background: var(--brand-gold); }
.quiz-options { display: grid; gap: 9px; }
.quiz-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 49px; padding: 13px 15px; background: white; color: var(--brand-ink); border: 1px solid #dce3e9; border-radius: 8px; text-align: left; font-family: inherit; font-size: 12px; line-height: 1.5; cursor: pointer; }
.quiz-option.is-selected { background: #edf2f7; }
.choice-check { font-size: 17px; color: #806529; }
.quiz-actions { display: flex; gap: 12px; margin-top: 16px; }
.quiz-button { display: inline-flex; justify-content: center; align-items: center; gap: 30px; min-height: 52px; padding: 15px 22px; border-radius: 7px; border: 0; font: 700 12px/1.5 var(--font-body); cursor: pointer; }
.quiz-button-primary { flex: 1; background: var(--brand-ink); color: white; }
.quiz-button-primary:hover { background: #16394e; }
.quiz-button-secondary { background: transparent; color: var(--brand-ink); border: 1px solid #d5d9d6; }
button:disabled { opacity: .55; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #947437; outline-offset: 3px; }
.quiz-error { color: #a02b20; font-size: 12px; line-height: 1.7; margin-top: 15px; }
.quiz-error:empty { display: none; }
.quiz-input-grid { display: grid; gap: 20px; }
.quiz-field { display: grid; gap: 8px; font-size: 12px; font-weight: 600; color: var(--brand-ink); }
.quiz-field input, .quiz-field select, .quiz-field textarea { width: 100%; min-width: 0; padding: 14px; min-height: 51px; border: 1px solid #ced3ce; border-radius: 7px; color: var(--brand-ink); font: 400 16px/1.5 var(--font-body); background: white; }
.quiz-field textarea { resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
legend { color: var(--brand-ink); font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.quiz-methods { display: flex; gap: 10px; }
.quiz-methods .quiz-option { flex: 1; }
.quiz-summary { border-top: 1px solid #d8dcd5; }
.quiz-summary article { padding: 22px 0; border-bottom: 1px solid #d8dcd5; }
.quiz-summary h3 { font-size: 18px; margin-bottom: 9px; color: var(--brand-ink); }
.quiz-summary p { margin: 0; font-size: 12px; }
.quiz-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.quiz-tags span { font-size: 10px; padding: 5px 10px; background: #edf2f7; border-radius: 20px; }
.quiz-priority-note { margin-top: 22px; font-size: 12px !important; }
.quiz-text-link { display: block; margin-top: 20px; font-size: 12px; text-align: center; text-decoration: underline; }
.quiz-upload { display: flex; position: relative; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px 16px; text-align: center; border: 1px dashed #947437; border-radius: 10px; background: #f4f7fa; cursor: pointer; }
.quiz-upload > span { font-size: 30px; color: #806529; }
.quiz-upload strong { font-size: 14px; }
.quiz-upload small { font-size: 11px; line-height: 1.8; color: #596773; }
.quiz-upload input { width: 100%; margin-top: 8px; font-size: 12px; }
.quiz-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.quiz-photos img { width: 100%; height: 100px; border-radius: 7px; }
.quiz-photos figcaption { font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quiz-photos figure { min-width: 0; }
.quiz-photos button { background: transparent; border: 0; text-decoration: underline; font: 12px var(--font-body); min-height: 44px; cursor: pointer; }
.quiz-side { position: sticky; top: 0; height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.quiz-side-image { position: absolute; inset: 0; background: url('/assets/images/quiz/pavers-featured-project.jpg') center/cover; }
.quiz-side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,19,35,.05) 25%, rgba(3,19,35,.93)); }
.quiz-side-copy { position: relative; z-index: 1; padding: clamp(26px, 4vw, 64px); color: white; }
.quiz-side-copy h2 { color: white; font-size: clamp(36px, 4vw, 60px); font-weight: 500; letter-spacing: -2px; line-height: 1.1; margin-bottom: 22px; }
.quiz-side-copy > p { font-size: 13px; line-height: 1.8; max-width: 340px; color: #e0e6e8; }
.quiz-kicker { font-size: 9px !important; color: #e0c57f !important; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 18px; }
.quiz-mini-stats { display: flex; gap: 24px; border-top: 1px solid #ffffff40; margin-top: 32px; padding-top: 24px; }
.quiz-mini-stats strong { display: block; font-size: 12px; font-weight: 600; }
.quiz-mini-stats span { font-size: 9px; color: #d5dce2; }
@media (min-width: 1500px) { .quiz-card { padding-left: max(70px, calc((100vw - 1350px) / 2)); } }
@media (max-width: 900px) { .quiz-shell { grid-template-columns: 1fr; } .quiz-side { display: none; } .quiz-card { min-height: 100vh; padding: 24px max(20px, calc((100vw - 620px) / 2)) 40px; } .quiz-brand { margin-bottom: 26px; } .quiz-content h1 { font-size: 48px; } }
@media (max-width: 380px) { .service-artwork { height: 132px; } .service-copy { padding: 11px 9px; } .service-copy strong { font-size: 12px; } .quiz-actions { gap: 8px; } .quiz-button { padding: 14px 12px; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* A compact, single-column planner: one question in focus. */
.quiz-page { background: #ffffff; }
.quiz-shell { display: block; min-height: 100svh; }
.quiz-card { width: min(100%, 590px); margin: 0 auto; padding: 28px 28px 40px; min-height: auto; background: transparent; }
.quiz-brand { justify-content: center; gap: 9px; margin: 0 0 26px; font-size: 17px; letter-spacing: 3px; }
.quiz-brand img { width: 40px; height: 40px; }
.quiz-brand small { font-size: 6px; letter-spacing: 1.6px; }
.quiz-progress-label { text-align: right; font-size: 10px; margin-bottom: 7px; color: #64717a; font-variant-numeric: tabular-nums; }
.quiz-progress { height: 2px; margin-bottom: 30px; }
.quiz-content h1, .quiz-content h2 { font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -1px; margin: 0 0 10px; }
.quiz-content > form > p { font-size: 13px; line-height: 1.6; margin-bottom: 22px; }
.quiz-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 12px; }
.service-card { border-radius: 12px; background: #ffffff; }
.service-artwork { height: 105px; }
.service-copy { padding: 0 5px 12px; text-align: center; }
.service-copy strong { font-size: 12px; margin: 0; font-weight: 600; }
.service-check { width: 17px; height: 17px; top: 7px; right: 7px; font-size: 10px; background: transparent; }
.service-card.is-selected { box-shadow: 0 0 0 1px #947437; }
.quiz-unsure .quiz-option { justify-content: center; min-height: 40px; border-color: transparent; background: transparent; color: #5e6b74; font-size: 12px; }
.quiz-unsure .choice-check { display: none; }
.quiz-unsure .is-selected { border-color: #947437; background: #edf2f7; }
.quiz-actions { margin-top: 24px; }
.quiz-button { min-height: 48px; font-size: 12px; }
.quiz-option { min-height: 46px; padding: 11px 14px; }
.quiz-option .choice-check { font-size: 13px; }
.quiz-summary article { padding: 14px 0; }
.quiz-summary h3 { font-size: 14px; margin-bottom: 5px; }
.project-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 16px; color: #596773; font-size: 12px; }
.project-meta > span { overflow-wrap: anywhere; }
.quiz-content .quiz-small { font-size: 11px; margin-top: 16px; }
.quiz-input-grid { gap: 16px; }
.quiz-input-grid fieldset { margin-bottom: 0; }
.quiz-upload { padding: 20px 14px; }
@media (max-width: 540px) {
    .quiz-card { padding: 20px 20px 32px; }
    .quiz-brand { margin-bottom: 20px; }
    .quiz-progress { margin-bottom: 24px; }
    .quiz-content h1, .quiz-content h2 { font-size: 27px; }
    .quiz-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .service-artwork { height: 82px; }
    .service-copy { padding-bottom: 10px; }
    .service-copy strong { font-size: 12px; }
    .quiz-actions { margin-top: 18px; }
}
