:root {
  --ink:#1b1918; --paper:#faf8ef; --sheet:#fffbef; --white:#fffef9;
  --muted:#57564e; --line:#c8c6b9; --lilac:#b49ae5; --yellow:#ffce55;
  --display:"Archivo Black","Arial Black",Arial,sans-serif;
  --control-hover:#ece9df; --focus:#593496; --coral:#fa6b67;
  --body:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font:16px/1.5 var(--body); color:var(--ink); background:var(--paper); color-scheme:light;
}
* {box-sizing:border-box}
body,h1,h2,h3,p,figure {margin:0}
button,input,textarea {font:inherit;color:inherit}
button {cursor:pointer}
button:disabled {cursor:default}
a {color:inherit}
button,a,summary {touch-action:manipulation}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible {outline:3px solid var(--focus);outline-offset:4px}
[hidden] {display:none!important}
.sr,.skip:not(:focus) {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus {position:fixed;left:15px;top:10px;padding:10px;background:white;z-index:99}
.wrap {width:min(1216px,calc(100% - 72px));margin-inline:auto}
.mast {border-bottom:2px solid var(--ink);background:var(--sheet)}
.toolbar,.foot,.tools,.actionset,.wordmark,.mast nav,.stepper,.quiz-top {display:flex;align-items:center}
.toolbar {min-height:73px;justify-content:space-between;gap:20px}
.wordmark {gap:10px;font:400 clamp(17px,2vw,26px)/1.04 var(--display);letter-spacing:-.07em;text-decoration:none}
.wordmark span {white-space:nowrap}
.mast nav,.foot {gap:clamp(14px,2.7vw,34px)}
.mast nav a,.foot a {font-size:13px;font-weight:650;text-decoration:none}
.mast nav a:hover,.foot a:hover,.score-link:hover {text-decoration:underline;text-underline-offset:4px}
.outer main.wrap {padding-block:26px 62px}
.stage {position:relative;isolation:isolate;display:grid;min-height:clamp(348px,50svh,400px);border:3px solid var(--ink);border-radius:16px;overflow:hidden;background:var(--sheet);box-shadow:4px 4px 0 var(--ink)}
.cover {display:grid;grid-template-columns:minmax(0,49fr) minmax(0,51fr)}
.stage[data-gf-state] .cover {visibility:hidden}
.cover-copy {align-self:center;min-width:0;container-type:inline-size;padding:20px clamp(22px,2.8vw,43px)}
.quiz-meta {display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:825;text-transform:uppercase;letter-spacing:.11em}
.tag-dot {width:10px;height:10px;border-radius:50%;background:var(--coral);border:1.5px solid var(--ink)}
h1,h2,h3,.failed strong,.loader strong {font-family:var(--display);font-weight:400}
.cover h1 {font-size:clamp(40px,4.8vw,72px);font-size:clamp(32px,15.2cqi,72px);line-height:.96;letter-spacing:-.065em;text-transform:uppercase;white-space:nowrap;margin:10px 0 12px}
.cover h1 span {display:block;width:max-content;position:relative;isolation:isolate}
.cover h1 span::after {content:"";position:absolute;z-index:-1;left:1%;right:-1%;bottom:0;height:.15em;background:var(--yellow);transform:rotate(-2deg)}
.lede {max-width:35ch;font-size:clamp(16px,1.3vw,19px);line-height:1.42;color:var(--ink)}
.start,.retake,.ink-btn,.failed button {display:inline-flex;align-items:center;justify-content:center;gap:18px;background:var(--ink);color:var(--white);border:2px solid var(--ink);border-radius:8px;font-weight:740}
.start {padding:10px 18px;min-width:175px;min-height:46px;margin:15px 0 8px;justify-content:space-between;box-shadow:3px 3px 0 var(--yellow);font-size:17px}
.start:hover,.retake:hover,.ink-btn:hover {background:var(--muted)}
.start svg,.actionset svg {fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.start svg {width:23px;height:23px}
.spec {display:flex;align-items:center;gap:8px;font-size:12px;font-weight:630;color:var(--muted)}
.spec i {width:3px;height:3px;background:currentColor;border-radius:50%}
.wheel-panel {position:relative;min-width:0;min-height:0;overflow:hidden;border-left:3px solid var(--ink);background:var(--yellow)}
.wheel-panel img {position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:fill}
.loader,.failed {position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:17px;background:var(--sheet);z-index:2}
.loader img {animation:turn 2.1s linear infinite}
@keyframes turn {to{transform:rotate(360deg)}}
.loader strong,.failed strong {font-size:21px;letter-spacing:-.04em}
.failed button,.ink-btn,.retake {padding:9px 17px;min-height:42px}
.stage iframe {position:absolute;inset:0;width:100%;height:100%;border:0;background:var(--sheet)}
.tools {justify-content:space-between;gap:10px;padding:10px 0 6px}
.score-link {font-size:12px;font-weight:650;text-decoration:none;color:var(--muted)}
.score-link span {margin-left:3px}
.actionset {gap:4px}
.actionset button {display:inline-flex;align-items:center;gap:6px;min-height:42px;background:transparent;border:0;border-radius:7px;padding:6px 10px;font-size:12px;font-weight:650}
.actionset svg {width:16px;height:16px}
.actionset button:hover,.actionset [aria-pressed=true] {background:var(--control-hover)}
.actionset [data-gf-liked] svg {fill:var(--coral)}
.status:not(:empty) {display:block;text-align:right;font-size:12px}
html.has-expanded {overflow:hidden}
.expanded,[data-gf-tool]:fullscreen {display:flex;flex-direction:column;height:100dvh;width:100%;padding:8px;background:var(--paper)}
.expanded {position:fixed;inset:0;z-index:50}
.expanded .stage,[data-gf-tool]:fullscreen .stage {flex:1;min-height:0}
.index {margin-top:clamp(23px,3.3vw,48px)}
.section-head {display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:17px}
.section-head h2,.spread h2,.policy h1 {font-size:clamp(30px,3.1vw,46px);line-height:1.04;letter-spacing:-.07em}
.section-head p,.margin-note,.entry-list p,.prose p,.policy p {color:var(--muted)}
.section-head p {font-size:14px}
.specimens {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.specimens a {position:relative;display:grid;align-content:start;justify-items:start;gap:10px;background:var(--trait);border:2px solid var(--ink);border-radius:10px;padding:13px 12px 12px;text-decoration:none;transition:transform .12s ease}
.specimens a:hover,.specimens a:focus-visible {transform:translateY(-3px);box-shadow:2px 3px 0 var(--ink)}
.specimens b {font:400 clamp(14px,1.35vw,20px)/1.15 var(--display);letter-spacing:-.06em}
.glyph {display:grid;place-items:center;background:var(--ink);border-radius:50%;width:34px;height:34px}
.glyph svg {display:block;width:100%;height:100%;stroke:var(--sheet);fill:none;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.tile-arrow {position:absolute;top:9px;right:10px;font-weight:700;font-size:15px}
.spread {display:grid;grid-template-columns:.85fr 1.3fr;gap:8%;border-top:2px solid var(--ink);padding-top:26px;margin-top:44px}
.prose p,.entry-list p,.policy p {font-size:15px;line-height:1.7;margin-bottom:14px}
.prose h3,.policy h2 {font-size:clamp(19px,2vw,26px);line-height:1.18;letter-spacing:-.055em;margin:20px 0 10px}
.question-plate {margin-top:20px;max-width:420px}
.question-plate img {display:block;width:100%;height:auto;padding:8px;background:var(--sheet);border:1px solid var(--line);border-radius:8px}
.question-plate figcaption {color:var(--muted);font-size:12px;margin-top:5px}
.margin-note {font-size:15px;line-height:1.5;max-width:34ch;margin:11px 0}
.entry-list {border-top:1px solid var(--line)}
details {border-bottom:1px solid var(--line);scroll-margin-top:20px}
summary {display:flex;align-items:center;gap:11px;padding:13px 1px;min-height:49px;list-style:none;cursor:pointer}
summary::-webkit-details-marker {display:none}
summary strong {font-size:17px;font-weight:720}
summary::after {content:'+';margin-left:auto;font-size:22px;line-height:1}
details[open]>summary::after {content:'−'}
.swatch {width:15px;height:15px;border:1.5px solid var(--ink);border-radius:50%;background:var(--trait);flex-shrink:0}
form label {display:block;font-size:13px;font-weight:700;margin:0 0 12px}
form label small,.note time {color:var(--muted);font-weight:400}
input,textarea {width:100%;display:block;border:1.5px solid var(--muted);border-radius:6px;background:var(--white);padding:9px 11px;margin-top:4px}
textarea {resize:vertical}
.replyto {display:none}
[data-gf-replying] .replyto {display:block}
.notelist {font-size:14px;margin-top:18px}
.notelist[data-gf-empty]::after {content:'Be the first to comment.';color:var(--muted)}
.note {padding:13px 0;border-top:1px solid var(--line)}
.note button,.replyto button {border:none;background:transparent;text-decoration:underline}
.note [data-gf-c-replies] {margin-left:18px}
.note[data-gf-owner] {border-left:3px solid var(--lilac);padding-left:10px}
.note p {overflow-wrap:anywhere}
.policy {max-width:760px;margin:18px auto 10px}
.policy h1 {font-size:clamp(40px,5vw,68px);margin-bottom:18px}
.policy .intro {font-size:19px;font-weight:500;color:var(--ink)}
.backlink {display:inline-block;margin-top:12px}
footer {border-top:2px solid var(--ink)}
.foot {min-height:74px;flex-wrap:wrap;row-gap:4px;padding-block:12px}
.foot a {display:inline-flex;align-items:center;min-height:44px}
.foot b {font:400 17px/1 var(--display);letter-spacing:-.06em;margin-right:auto}
.framed {background:var(--sheet)}
.quiz {min-height:100vh;display:grid;align-items:center;padding:16px clamp(18px,4vw,45px)}
.quiz-inner {width:min(100%,740px);margin:auto}
.quiz-top {justify-content:space-between;gap:10px;font-size:12px;font-weight:750;letter-spacing:.02em}
.quiz-top b {font-variant-numeric:tabular-nums;background:var(--paper);border:1.5px solid var(--ink);border-radius:30px;padding:2px 11px;font-size:12px}
.progress {height:7px;margin:9px 0 15px;overflow:hidden;border:1.5px solid var(--ink);border-radius:8px;background:var(--white)}
.progress i {display:block;height:100%;background:var(--lilac);border-right:1.5px solid var(--ink)}
.chapter {font-size:13px;font-weight:750}
.scene {font-size:15px;line-height:1.4;color:var(--muted);margin:3px 0 9px}
.quiz h2 {font-size:clamp(23px,3.4vw,35px);line-height:1.12;letter-spacing:-.065em}
.quiz h2:focus {outline:none}
.choices {display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:16px}
.choices button {display:flex;align-items:center;gap:11px;text-align:left;background:var(--white);border:1.5px solid var(--ink);border-radius:8px;padding:9px 13px;min-height:45px;font-size:14px;font-weight:600}
.choices button:hover {background:var(--control-hover)}
.choices kbd {display:grid;place-items:center;flex:none;width:24px;height:24px;border:1.5px solid var(--ink);border-radius:5px;background:var(--sheet);font:700 13px/1 var(--body)}
.choices button[aria-pressed=true] {background:color-mix(in srgb, var(--lilac) 40%, var(--white));box-shadow:inset 0 0 0 1px var(--ink)}
.choices button[aria-pressed=true] kbd {background:var(--ink);color:var(--white)}
.choice-check {
  display:grid;place-items:center;flex:none;margin-left:auto;width:22px;height:22px;
  border-radius:50%;background:var(--ink);color:white;font:700 15px/1 var(--body);visibility:hidden;
}
.choices button[aria-pressed=true] .choice-check {visibility:visible}
.choices[data-confirming] button {cursor:default}
.choices[data-confirming] button[aria-pressed=true] {
  background:color-mix(in srgb, var(--lilac) 65%, var(--white));box-shadow:inset 0 0 0 1.5px var(--ink);
}
@media(prefers-reduced-motion:no-preference) {
  .choices[data-confirming] button[aria-pressed=true] {animation:choice-press 160ms ease-out}
  .choices[data-confirming] button[aria-pressed=true] .choice-check {animation:choice-check-in 160ms ease-out}
  @keyframes choice-press {from {transform:scale(.985)} to {transform:scale(1)}}
  @keyframes choice-check-in {from {transform:scale(.65)} to {transform:scale(1)}}
}
.stepper {justify-content:space-between;gap:10px;margin-top:14px}
.back,.review {border:none;background:transparent;padding:9px 4px;min-height:42px;text-decoration:underline;font-size:13px;font-weight:650}
.stepper button:disabled {opacity:.4}
.result-body {margin:10px 0}
.result-intro {margin-top:5px;font-size:15px;line-height:1.38;color:var(--muted);max-width:68ch}
.profile {display:grid;grid-template-columns:minmax(155px,.9fr) minmax(170px,1fr);align-items:center;gap:24px;margin:6px 0}
.chart svg {display:block;width:100%;max-height:183px}
.chart text {font-family:var(--body);font-size:12px;font-weight:700;fill:var(--ink)}
.scoreboard>div {display:grid;grid-template-columns:68px minmax(28px,1fr) 37px;align-items:center;gap:7px;min-height:22px;font-size:12px}
.scoreboard span {height:8px;overflow:hidden;border:1px solid var(--ink);border-radius:3px;background:var(--control-hover)}
.scoreboard i {display:block;height:100%;background:var(--trait)}
.scoreboard small {font:600 12px/1.2 var(--body);text-align:right}
@media(max-width:900px) {
  .wrap {width:calc(100% - 44px)}
  .cover-copy {padding:22px}
  .specimens {gap:6px}
  .specimens a {padding:10px 7px}
}
@media(max-width:700px) {
  .wrap {width:calc(100% - 28px)}
  .toolbar {min-height:56px;gap:8px}
  .wordmark {gap:6px;font-size:17px}
  .wordmark img {width:33px;height:33px}
  .mast nav {gap:10px}
  .mast nav a {font-size:12px}
  .mast nav a:last-child {display:none}
  .outer main.wrap {padding-block:13px 36px}
  .stage {min-height:clamp(450px,calc(255px + 54vw),540px);border-radius:12px;box-shadow:3px 3px 0 var(--ink)}
  .cover {grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(166px,1fr)}
  .cover-copy {align-self:stretch;padding:16px 18px}
  .quiz-meta {font-size:12px}
  .cover h1 {font-size:clamp(35px,11.5cqi,48px);margin:7px 0 9px}
  .lede {font-size:16px;max-width:40ch}
  .start {min-height:45px;font-size:15px;margin:13px 0 8px;padding:8px 15px}
  .wheel-panel {border-left:0;border-top:3px solid var(--ink);display:grid;place-items:center;background:var(--ink)}
  .wheel-panel img {width:100%;height:100%;min-height:0}
  .tools {padding-top:6px}
  .actionset button {padding:5px 6px;font-size:12px;gap:3px}
  .actionset svg {width:14px;height:14px}
  .score-link {font-size:12px}
  .section-head {display:block;margin-bottom:12px}
  .section-head p {margin-top:6px}
  .specimens {display:flex;flex-wrap:wrap;gap:6px}
  .specimens a {display:flex;align-items:center;gap:5px;padding:5px 8px;border-radius:25px;min-height:42px}
  .specimens b {font:700 13px var(--body);letter-spacing:normal}
  .glyph {width:24px;height:24px}
  .tile-arrow {display:none}
  .spread {display:block;margin-top:30px;padding-top:18px}
  .spread h2 {margin-bottom:12px}
  .question-plate {margin:12px 0}
  .foot {gap:12px;min-height:64px}
  .foot b {font-size:13px}
  .foot a {font-size:13px}
  .foot b {flex-basis:100%}
}
@media(max-width:480px) {
  .quiz {padding:13px 14px}
  .choices {grid-template-columns:1fr;margin-top:11px;gap:7px}
  .choices button {min-height:42px;padding:7px 10px}
  .profile {grid-template-columns:1fr;gap:0}
  .chart svg {max-height:150px}
  .scoreboard {max-width:290px;width:100%;margin:auto}
  .scoreboard>div {min-height:18px}
}
@media(min-width:480px) and (max-width:700px) {
  .cover-copy {padding-block:21px}
}
@media(max-width:360px) {
  .toolbar {flex-wrap:wrap;padding-block:5px}
  .mast nav {margin-left:auto}
  .score-link {max-width:82px}
  .spec {font-size:12px}
}
@media(prefers-reduced-motion:reduce) {
  *,*::after,*::before {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

.answer-hint {margin-left:auto;font-size:12px;color:var(--muted);text-align:right}
.touch-hint {display:none}
@media (pointer:coarse) {
  .key-hint {display:none}
  .touch-hint {display:inline}
}

.start-help {margin:14px 0;font-weight:650;}
.standalone-link {display:inline-block;margin-bottom:14px;}

.worked-card {margin:24px 0;padding:clamp(12px,3vw,24px);border:2px solid var(--ink);border-radius:10px;background:var(--sheet)}
.worked-card figcaption {font-size:14px;font-weight:700;color:var(--muted)}
.worked-card h2 {margin:8px 0 16px}
.worked-card table {width:100%;border-collapse:collapse;text-align:left}
.worked-card caption {caption-side:bottom;text-align:left;font-size:14px;color:var(--muted);padding-top:12px}
.worked-card th,.worked-card td {padding:8px 5px;border-bottom:1px solid var(--line);vertical-align:top}
.worked-card th:first-child,.worked-card td:last-child {white-space:nowrap}
.worked-card .swatch {display:inline-block;width:10px;height:10px;margin-right:5px}
.example-link,.tie-details {font-size:14px}
.tie-details summary {min-height:38px}
.tie-notes p {margin-block:6px}
@media(max-width:480px){.worked-card table{font-size:13px}.worked-card th,.worked-card td{padding:7px 3px}.worked-card .swatch{display:none}}

.result-actions {justify-content:flex-start;flex-wrap:wrap}
.result-actions .retake {margin-left:auto}
.copy-scores {padding:9px 14px;min-height:44px;border:2px solid var(--ink);border-radius:8px;background:var(--sheet);font-weight:700}
.copy-scores:hover {background:var(--control-hover)}
.copy-status:not(:empty) {margin-top:8px;font-size:14px}
.score-text {display:block;width:100%;margin-top:8px}
