:root { --paper: #fffefa; --wash: #f4f2ec; --ink: #28332e; --muted: #58625b; --rule: #d5d7cc; --accent: #a32d2d; --forest: #304b3c; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 "DM Sans", "Trebuchet MS", sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: #e5c2b4; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 10px; background: var(--paper); }
.skip-link:focus { top: 12px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px max(24px, calc((100vw - 1200px) / 2)); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.brand strong { font: 700 37px/1 Georgia, serif; letter-spacing: -.06em; }
.brand strong span { color: var(--accent); }
.brand > span { font-size: 12px; font-weight: 700; line-height: 1.25; border-left: 1px solid var(--rule); padding-left: 14px; }
.back-link { text-decoration: none; font-size: 14px; border-bottom: 1px solid var(--rule); padding: 5px 0; }
.back-link:hover { color: var(--accent); }
main { max-width: 1248px; margin: auto; padding: 0 24px 48px; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 72px; align-items: center; padding: 66px 0 46px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 20px; }
h1, h2 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(38px, 4.5vw, 60px); line-height: 1.1; margin: 0 0 24px; max-width: 800px; }
h1 em { color: var(--accent); font-weight: 400; }
h2 { font-size: 32px; line-height: 1.2; margin: 0 0 18px; }
h3 { line-height: 1.4; font-size: 20px; margin: 0 0 10px; }
p { margin: 0 0 16px; }
.lede { max-width: 670px; font-size: 18px; color: var(--muted); }
.intro-note { border-left: 1px solid var(--rule); padding-left: 30px; }
.note-number { display: block; font: 400 74px/1 Georgia, serif; color: var(--forest); margin-bottom: 12px; }
.muted, .hint { color: var(--muted); }
.hint { font-size: 13px; line-height: 1.55; }
.panel { border: 1px solid var(--rule); padding: 30px; border-radius: 4px; }
.context-panel { background: var(--wash); margin-bottom: 38px; }
.section-label > span { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.section-label h2 { font-size: 27px; margin-top: 6px; }
.meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1px solid #afb5a8; border-radius: 3px; background: var(--paper); color: var(--ink); padding: 10px 12px; }
.field textarea { resize: vertical; }
.privacy-note { border-top: 1px solid var(--rule); padding-top: 18px; margin: 24px 0 0; font-size: 13px; color: var(--muted); }
.assessment-workspace { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 34px; align-items: start; }
.step-sidebar { position: sticky; top: 24px; }
.step-sidebar nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.step-button { display: flex; text-align: left; gap: 12px; border: 0; border-left: 2px solid transparent; padding: 11px 12px; background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; }
.step-button span { font-size: 12px; color: var(--accent); min-width: 20px; }
.step-button:hover { background: var(--wash); }
.step-button[aria-current="step"] { border-color: var(--accent); color: var(--ink); background: var(--wash); font-weight: 700; }
.step-button.done span { color: var(--forest); }
.progress-heading { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 7px; }
progress { display: block; appearance: none; border: 0; width: 100%; height: 5px; background: var(--rule); accent-color: var(--forest); margin-bottom: 15px; }
progress::-webkit-progress-bar { background: var(--rule); }
progress::-webkit-progress-value { background: var(--forest); }
progress::-moz-progress-bar { background: var(--forest); }
.question-panel { padding: 30px 32px; }
.dimension-intro { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.question { border: 0; border-top: 1px solid var(--rule); padding: 25px 0; margin: 0; min-width: 0; }
.question legend { float: left; width: 100%; font-size: 18px; font-weight: 700; padding: 0; margin-bottom: 8px; }
.question > p { clear: both; color: var(--muted); font-size: 14px; }
.question-number { display: block; color: var(--accent); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 7px; }
.rating-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.rating-table th { text-align: left; background: var(--wash); padding: 10px; font-size: 12px; }
.rating-table th:not(:first-child) { width: 70px; text-align: center; }
.rating-table td { border-bottom: 1px solid var(--rule); padding: 10px; }
.rating-table td:not(:first-child) { text-align: center; vertical-align: middle; }
.rating-table td:first-child span { color: var(--accent); font-weight: 700; margin-right: 7px; }
.rating-table label { display: flex; min-width: 34px; min-height: 38px; align-items: center; justify-content: center; cursor: pointer; }
.rating-table input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.question.missing { border-left: 3px solid var(--accent); padding-left: 14px; }
.actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid var(--rule); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 1px solid var(--accent); border-radius: 3px; padding: 12px 20px; background: var(--accent); color: var(--paper); cursor: pointer; font-weight: 600; font-size: 14px; transition: background .18s, transform .18s; }
.button:hover { background: #791f1f; transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--rule); }
.button.secondary:hover { background: var(--wash); }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.flag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 28px; }
.submission-note { margin-top: 18px; }
.error, .notice { background: #f5ebe6; padding: 16px; border-left: 3px solid var(--accent); font-size: 14px; }
.error { color: #791f1f; }
.confirmation { max-width: 880px; margin: 0 auto; padding: 40px; }
.confirmation h2 { font-size: 38px; max-width: 650px; }
.preview { background: var(--wash); border-left: 3px solid var(--forest); padding: 25px; margin: 28px 0; }
.preview .eyebrow { color: var(--forest); margin-bottom: 12px; }
.preview p:last-child { margin-bottom: 0; }
.follow-up-header { border-top: 1px solid var(--rule); padding-top: 28px; margin-top: 28px; }
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-grid .field:last-child { grid-column: 1 / -1; }
.required { font-weight: 400; color: var(--muted); font-size: 12px; }
.consent { display: flex; align-items: start; gap: 12px; margin: 24px 0 10px; font-size: 14px; }
.consent input { width: 19px; height: 19px; flex: none; margin-top: 3px; accent-color: var(--accent); }
.confirmation > .back-link { display: inline-block; margin-top: 28px; }
footer { border-top: 1px solid var(--rule); margin-top: 56px; padding-top: 22px; max-width: 900px; color: var(--muted); font-size: 12px; }
@media (max-width: 1000px) { .intro { gap: 32px; grid-template-columns: minmax(0, 1fr) 200px; } .assessment-workspace { gap: 20px; grid-template-columns: 210px minmax(0, 1fr); } .question-panel { padding: 24px; } .meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .intro { grid-template-columns: 1fr; padding: 40px 0 28px; gap: 18px; } .intro-note { padding: 18px 0; border-left: 0; border-top: 1px solid var(--rule); } .note-number { font-size: 44px; float: left; margin-right: 20px; } .intro-note .muted { clear: both; } .assessment-workspace { grid-template-columns: 1fr; } .step-sidebar { position: static; } .step-sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .step-sidebar > .hint { display: none; } .question-panel { padding: 22px; } }
@media (max-width: 480px) { main { padding-inline: 16px; } .site-header { padding: 18px 16px; } .brand strong { font-size: 30px; } .brand > span { display: none; } .meta-grid { grid-template-columns: 1fr; } .panel { padding: 20px 16px; } .rating-table { font-size: 12px; } .rating-table td { padding: 8px 4px; } .rating-table th { padding: 8px 4px; } .rating-table th:not(:first-child) { width: 46px; } .step-button { font-size: 12px; padding: 9px 6px; gap: 5px; } .confirmation h2 { font-size: 30px; } .preview { padding: 18px; } .button { gap: 10px; padding: 12px 14px; } }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } .button:hover { transform: none; } }
