@font-face {
  font-family: Cormorant;
  src: url('/assets/cormorant-latin-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url('/assets/cormorant-latin-ext-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+1E00-1E9F;
}
@font-face {
  font-family: Instrument;
  src: url('/assets/instrument-latin-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url('/assets/instrument-latin-ext-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+1E00-1E9F;
}
:root {
  --ivory: #fbf8f4;
  --sand: #ebe0d4;
  --clay: #d7b69e;
  --earth: #3f3526;
  --ink: #2b2117;
  --rust: #804f25;
  --line: #c1ad98;
  --muted: #5d4d3e;
  --heading: Cormorant, 'Palatino Linotype', Georgia, serif;
  --body: Instrument, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 1rem/1.6 var(--body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
h1, h2, p { margin: 0; }
h1, h2, .wordmark { font-family: var(--heading); font-weight: 500; }
h1 { font-size: clamp(2.65rem, 5.5vw, 4.65rem); line-height: .99; letter-spacing: -.048em; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.45rem); line-height: 1.06; letter-spacing: -.035em; }
p + p { margin-top: .95rem; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--rust); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
#screen-title:focus, main:focus { outline: none; }
.skip-link { position: fixed; top: .6rem; left: .6rem; padding: .7rem 1rem; background: var(--ivory); z-index: 5; }
.skip-link:not(:focus) { transform: translateY(-180%); }
.shell { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--sand); }
.masthead-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.masthead-inner { min-height: 5.1rem; }
.wordmark { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.masthead-action { font-size: .875rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .875rem; line-height: 1.35; font-weight: 600; color: var(--rust); margin-bottom: 1.05rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  border: 1px solid var(--rust);
  padding: .72rem 1.3rem;
  color: var(--ivory);
  background: var(--rust);
  font-weight: 600;
  font-size: .875rem;
  line-height: 1.25;
  letter-spacing: .055em;
  text-decoration: none;
  text-align: center;
}
.button:hover { background: var(--earth); border-color: var(--earth); }
.button.outline { background: transparent; color: var(--earth); border-color: #8c7763; }
.button.outline:hover { background: var(--sand); }
.button.light { background: var(--clay); border-color: var(--clay); color: var(--ink); }
.button.light:hover { background: var(--ivory); border-color: var(--ivory); }
.text-button { border: 0; background: none; min-height: 2.75rem; padding: .3rem 0; color: var(--rust); text-decoration: underline; text-underline-offset: .27em; text-decoration-thickness: 1px; text-align: left; }
.text-button:hover { color: var(--ink); }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2.5rem, 7.5vw, 8rem); padding: clamp(3.8rem, 7vw, 7rem) 0 clamp(4rem, 7vw, 6.9rem); }
.hero-copy h1 { font-size: clamp(3.05rem, 5.45vw, 5.4rem); text-wrap: initial; margin: 0 0 1.55rem; }
.hero-copy > p:not(.eyebrow) { max-width: 36rem; color: var(--muted); }
.hero-copy > .button { margin-top: 1.6rem; }
.hero-visual { isolation: isolate; position: relative; margin: 0 1.4rem 1.4rem 0; width: calc(100% - 1.4rem); }
.hero-visual::after { content: ''; position: absolute; z-index: -1; inset: 11% -1.4rem -1.4rem 11%; background: var(--clay); }
.hero-visual img { width: 100%; height: clamp(24rem, 43vw, 37rem); object-fit: cover; object-position: 54% 50%; }
.welcome-note { background: var(--sand); }
.welcome-note-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2.5rem, 7.5vw, 8rem); padding-block: 2.9rem; }
.welcome-note p:first-child { font: 500 clamp(1.85rem, 3.5vw, 2.9rem)/1 var(--heading); letter-spacing: -.04em; }
.welcome-note p + p { margin: 0; max-width: 32rem; color: var(--muted); }
.footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 2.3rem; }
.footer .wordmark { font-size: 1.75rem; }
.footer p { margin-top: .25rem; font-size: .875rem; color: var(--muted); }
.reading { width: min(100% - 3rem, 48rem); margin-inline: auto; padding-block: clamp(3rem, 7vw, 6.3rem); }
.screen-heading { margin-bottom: 2rem; }
.screen-heading h1 { text-wrap: initial; }
.intro { margin-top: 1rem; max-width: 37rem; color: var(--muted); }
.progress { display: grid; grid-template-columns: repeat(13, 1fr); gap: .25rem; margin: .4rem 0 2.2rem; }
.progress span { height: .22rem; background: var(--sand); }
.progress .filled { background: var(--rust); }
fieldset { min-width: 0; padding: 0; border: 0; margin: 0; }
.question-group { padding: .85rem 0 1.85rem; border-bottom: 1px solid var(--line); margin-bottom: 1.65rem; }
.question-group legend { font-family: var(--heading); font-weight: 600; font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.12; }
.response-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.response {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 3.2rem;
  padding: .55rem .65rem;
  border: 1px solid var(--line);
  font-size: .875rem;
  line-height: 1.3;
  cursor: pointer;
}
.response:hover { border-color: var(--rust); }
.response:has(input:checked) { border-color: var(--rust); background: var(--sand); }
input[type="radio"], input[type="checkbox"] { flex: none; width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--rust); }
.actions, .forward, .alternate, .report-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.15rem; }
.actions { justify-content: space-between; margin-top: 1.8rem; }
.forward { margin-inline-start: auto; }
.alternate { margin-top: 1.8rem; }
.selection-count { color: var(--muted); margin-bottom: .65rem; }
.choice { border: 1px solid var(--line); padding: 1.15rem 1.35rem; margin-bottom: .8rem; }
.choice label { display: flex; align-items: center; gap: .75rem; cursor: pointer; font: 600 1.75rem/1.15 var(--heading); }
.choice:has(input:checked), .choice.highlight { background: var(--sand); border-color: #a98362; }
.choice .eyebrow { font-size: .8rem; margin-bottom: .4rem; }
.choice .text-button { font-weight: 600; }
.statements { margin: .65rem 0 0; padding-left: 1.2rem; }
.statements li + li { margin-top: .35rem; }
.browse-list { border-top: 1px solid var(--line); }
.browse-item { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; border-bottom: 1px solid var(--line); padding: 1.05rem 0; }
.browse-item p { color: var(--muted); margin-top: .35rem; }
.context-list { display: grid; gap: .6rem; }
.context-list .response { font-size: 1rem; padding-inline: 1rem; gap: .8rem; }
.context-list .response:last-child { margin-top: .4rem; }
.edit-tools { background: var(--sand); display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; padding: .7rem 1rem; margin-bottom: 2rem; }
.edit-tools select { background: var(--ivory); border: 1px solid #8c7763; max-width: 100%; padding: .4rem; }
.return-report { margin-top: .8rem; }
.report .screen-heading { padding-bottom: 1.85rem; border-bottom: 1px solid var(--line); }
.report-section { margin-bottom: 1.85rem; }
.report-section h2, .practice h2 { margin-bottom: .45rem; }
.report-section p { margin-top: .6rem; }
.practice { background: var(--sand); border-left: .25rem solid var(--rust); padding: 1.4rem 1.65rem; margin-bottom: 2rem; }
.open-practice p { font: 600 clamp(1.65rem, 3vw, 2.2rem)/1.2 var(--heading); }
.report-controls { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.next-step { background: var(--earth); color: var(--ivory); }
.next-step .reading { padding-block: 2.7rem; }
.next-step h2, .next-step fieldset { margin-bottom: 1rem; }
.next-step :focus-visible { outline-color: var(--ivory); }
.next-step .response { display: inline-flex; margin: .4rem .4rem 0 0; border-color: #baa390; }
.next-step .response:has(input:checked) { color: var(--ink); }
.mailing-link { color: var(--ivory); text-underline-offset: .25em; }
.mailing { margin-top: 1rem; }
dialog { width: min(100% - 2rem, 34rem); padding: 0; border: 1px solid var(--line); background: var(--ivory); color: var(--ink); }
dialog::backdrop { background: rgb(43 33 23 / .62); }
.dialog-inner { padding: clamp(1.5rem, 5vw, 2.6rem); }
.dialog-inner p { margin-block: 1rem 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 2.5rem); }
  .hero { grid-template-columns: 1fr; gap: 2.1rem; }
  .hero-copy h1 { max-width: 13ch; }
  .hero-visual img { height: clamp(14rem, 70vw, 25rem); }
  .welcome-note-inner { grid-template-columns: 1fr; gap: .75rem; padding-block: 2rem; }
  .response-options { grid-template-columns: 1fr; }
  .response { min-height: 2.65rem; }
}
@media (max-width: 420px) {
  .masthead-inner { min-height: 4.2rem; }
  .masthead-action { font-size: .8rem; }
  .reading { width: calc(100% - 2rem); }
  .browse-item { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media print {
  @page { margin: .65in; }
  body { display: block; background: white; color: black; font-size: 11pt; line-height: 1.35; }
  .masthead, .footer, .skip-link, .report-controls, .next-step, dialog { display: none !important; }
  .report { width: auto; padding: 0; }
  h1 { font-size: 33pt; }
  h2 { font-size: 19pt; }
  .report-section, .practice { break-inside: avoid; margin-bottom: .9rem; }
  .practice { background: white; border-color: black; padding: .4rem .8rem; }
}
