:root {
  --ink: #24211f;
  --muted: #625b55;
  --paper: #f5efe5;
  --card: #fffdf8;
  --orange: #ef9b38;
  --pink: #e891a4;
  --blue: #7ba6c8;
  --green: #8eaa86;
  --line: #2e2a27;
  --soft-line: #ddd4c8;
  --shadow: 8px 8px 0 #24211f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }
main:focus { outline: none; }

.site-header { width: min(1240px, calc(100% - 40px)); height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 900; letter-spacing: -0.035em; }
.brand img { border-radius: 7px; }
.slash { color: #b8ada2; }
.product { color: var(--muted); font-weight: 700; }
.method-link, .back-button { border: 0; background: none; color: var(--ink); font-weight: 800; text-underline-offset: 4px; cursor: pointer; }
.method-link:hover, .back-button:hover { text-decoration-thickness: 2px; }

.picker-view { position: relative; width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: clamp(50px, 7vw, 92px) 0 80px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); column-gap: 42px; align-items: center; }
.picker-copy { position: relative; z-index: 2; }
.overline, .step { margin: 0 0 12px; color: #8c522a; font-size: .78rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.picker-copy h1, .result-copy h1, .method-shell > h1, .quiz-shell h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(4.6rem, 9vw, 8.6rem); line-height: .78; letter-spacing: -.075em; font-weight: 900; }
.picker-copy h1 em { display: inline-block; color: #ce506d; font-weight: 400; transform: rotate(-3deg); }
.intro { max-width: 590px; margin: 32px 0 0; font-family: system-ui, sans-serif; color: #514b46; font-size: clamp(1.03rem, 1.7vw, 1.25rem); line-height: 1.55; }

.host-wrap { position: relative; height: min(54vw, 600px); min-height: 430px; }
.speech { position: absolute; z-index: 5; top: 0; right: 0; width: min(330px, 85%); padding: 20px 22px; border: 3px solid var(--ink); border-radius: 22px; background: #fff; box-shadow: 5px 5px 0 var(--ink); font-family: system-ui, sans-serif; font-size: 1.05rem; line-height: 1.4; font-weight: 750; transform: rotate(2deg); }
.speech::after { content: ""; position: absolute; left: 48px; bottom: -19px; width: 27px; height: 27px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); background: #fff; transform: rotate(45deg); }
.chad { position: absolute; inset: 58px -20px -20px 0; overflow: hidden; }
.chad-body { position: absolute; z-index: 1; left: 5%; bottom: -7%; width: 96%; }
.chad-head { position: absolute; z-index: 2; left: -3%; top: 5%; width: 102%; aspect-ratio: 886 / 896; transform-origin: 50% 94%; animation: head-bob 2.6s ease-in-out infinite; }
.head-base { position: absolute; inset: 0; width: 100%; height: 100%; }
.head-eyes { position: absolute; z-index: 3; left: 24.5%; top: 50.2%; width: 41.1%; transform: translate(-50%, -50%); }
.head-brows { position: absolute; z-index: 3; left: 45%; top: 40%; width: 48.3%; transform: translate(-50%, -50%); }
.head-mouth { position: absolute; z-index: 3; left: 43%; top: 75%; width: 23%; transform: translate(-50%, -20%); }
@keyframes head-bob { 0%,100% { transform: translateY(0) rotate(-.5deg); } 50% { transform: translateY(-5px) rotate(.7deg); } }

.type-picker { position: relative; z-index: 8; grid-column: 1 / -1; margin-top: 24px; padding: clamp(22px, 3.5vw, 42px); border: 3px solid var(--ink); border-radius: 28px; background: rgba(255,253,248,.96); box-shadow: var(--shadow); }
.picker-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.picker-heading h2, .all-scores h2, .instruction-card h2, .finding-strip h2, .method-shell h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.05em; }
.text-button { padding: 8px 0; border: 0; border-bottom: 2px solid var(--ink); background: none; font-size: .9rem; font-weight: 850; cursor: pointer; }
.type-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 9px; }
.type-card { min-width: 0; min-height: 100px; padding: 14px 8px 12px; border: 2px solid var(--ink); border-radius: 13px; background: #f5eadb; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; transition: transform 130ms ease, box-shadow 130ms ease, background 130ms ease; }
.type-card:nth-child(4n+2), .type-card:nth-child(4n+3) { background: #f1d9df; }
.type-card:nth-child(n+9) { background: #dfe9d9; }
.type-card:nth-child(n+13) { background: #f6d49b; }
.type-card:hover, .type-card:focus-visible { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); background: #fff; outline: 0; }
.type-code { display: block; font-size: 1.35rem; font-weight: 950; letter-spacing: -.04em; }
.type-name { display: block; margin-top: 7px; color: #514a44; font-family: system-ui, sans-serif; font-size: .67rem; line-height: 1.18; font-weight: 700; }
.fine-print { margin: 19px 0 -8px; color: var(--muted); font-family: system-ui, sans-serif; font-size: .76rem; text-align: center; }

.report-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 26px 0 90px; }
.report-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; color: var(--muted); font-family: system-ui, sans-serif; font-size: .78rem; }
.result-hero { min-height: 610px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .72fr); overflow: hidden; border: 3px solid var(--ink); border-radius: 30px; background: var(--card); box-shadow: var(--shadow); }
.result-copy { position: relative; z-index: 4; padding: clamp(28px, 5vw, 62px); }
.type-lockup { display: flex; align-items: center; gap: 17px; }
.type-lockup > span { padding: 12px 14px; border: 2px solid var(--ink); border-radius: 12px; background: #f0d8de; font-size: 1.4rem; font-weight: 950; box-shadow: 3px 3px 0 var(--ink); }
.type-lockup b, .type-lockup small { display: block; }
.type-lockup b { font-size: 1rem; }
.type-lockup small { max-width: 360px; margin-top: 4px; color: var(--muted); font-family: system-ui, sans-serif; font-size: .76rem; line-height: 1.35; }
.verdict-label { margin: 52px 0 9px; color: var(--muted); font-family: system-ui, sans-serif; font-size: .83rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.result-copy h1 { font-size: clamp(4.1rem, 8vw, 7.7rem); line-height: .82; }
.result-copy h1 sup { display: inline-block; margin-left: 14px; color: #c8526d; font-family: system-ui, sans-serif; font-size: .28em; vertical-align: top; letter-spacing: -.04em; transform: rotate(4deg); }
.verdict { max-width: 600px; margin: 24px 0 0; color: #504944; font-family: system-ui, sans-serif; font-size: 1rem; line-height: 1.6; }
.result-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.primary-button, .secondary-button, .instruction-card button { min-height: 48px; padding: 0 18px; border: 2px solid var(--ink); border-radius: 10px; font-weight: 900; cursor: pointer; }
.primary-button { background: var(--ink); color: #fff; }
.secondary-button, .instruction-card button { background: #fff; box-shadow: 3px 3px 0 var(--ink); }
.copy-status { min-height: 20px; margin: 12px 0 0; color: #83502e; font-family: system-ui, sans-serif; font-size: .8rem; }
.result-host { position: relative; overflow: hidden; background: #f0b05b; border-left: 3px solid var(--ink); }
.result-host::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#24211f 1.2px, transparent 1.2px); background-size: 17px 17px; opacity: .13; }
.result-host .speech { top: 35px; right: 24px; width: calc(100% - 48px); }
.result-host .chad { inset: 110px -65px -35px -55px; }

.result-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 45px; }
.mini-result { position: relative; min-height: 300px; padding: 26px; border: 2px solid var(--ink); border-radius: 20px; background: #fff; box-shadow: 5px 5px 0 var(--ink); }
.mini-result.best { background: #f7d8de; transform: rotate(-1deg); }
.mini-result.hard { background: #dce6ee; transform: rotate(1deg); }
.mini-result p { margin: 0 0 23px; color: var(--muted); font-size: .75rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.model-mark { display: inline-grid; width: 43px; height: 43px; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--model); color: #fff; font-family: system-ui, sans-serif; font-size: 1rem; font-weight: 950; box-shadow: 2px 2px 0 var(--ink); }
.mini-result h2 { display: inline; margin: 0 0 0 11px; font-family: Georgia, serif; font-size: 2rem; letter-spacing: -.04em; }
.mini-result strong { display: block; margin: 27px 0 10px; font-size: 3.4rem; line-height: .9; }
.mini-result > span:last-child { color: #59524c; font-family: system-ui, sans-serif; font-size: .87rem; line-height: 1.45; }

.all-scores { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; margin-top: 90px; align-items: start; }
.all-scores > div > p:last-child { color: var(--muted); font-family: system-ui, sans-serif; line-height: 1.55; }
.all-scores ol { display: grid; gap: 21px; margin: 0; padding: 0; list-style: none; }
.score-label { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.score-label .model-mark { width: 36px; height: 36px; }
.score-label strong, .score-label small { display: block; }
.score-label small { margin-top: 2px; color: var(--muted); font-family: system-ui, sans-serif; font-size: .67rem; }
.score-label b { font-size: 1.35rem; }
.score-track { height: 10px; margin: 9px 0 0 48px; overflow: hidden; border: 1.5px solid var(--ink); border-radius: 99px; background: #fff; }
.score-track span { display: block; height: 100%; background: var(--model); border-right: 1.5px solid var(--ink); }

.instruction-card { margin-top: 90px; padding: clamp(26px, 5vw, 55px); border: 3px solid var(--ink); border-radius: 26px; background: #dce8d7; box-shadow: var(--shadow); }
.instruction-card blockquote { margin: 32px 0 24px; padding: 23px 27px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; font-family: system-ui, sans-serif; font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.55; }
.finding-strip { margin-top: 90px; padding: clamp(30px, 6vw, 70px); border-radius: 30px; background: var(--ink); color: #fff9ef; text-align: center; }
.finding-strip .step { color: #efadbd; }
.finding-strip p:not(.step) { max-width: 720px; margin: 25px auto; color: #d8d0c6; font-family: system-ui, sans-serif; line-height: 1.65; }
.finding-strip a { color: #f3be73; font-weight: 900; text-underline-offset: 5px; }

.method-shell { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0 100px; }
.back-button.link { display: inline-block; margin-bottom: 70px; }
.method-shell > h1 { max-width: 900px; font-size: clamp(4rem, 9vw, 7.2rem); }
.method-lede { max-width: 720px; margin: 35px 0 0; font-family: system-ui, sans-serif; color: #514b46; font-size: 1.2rem; line-height: 1.65; }
.method-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 50px 0 90px; }
.method-numbers span { padding: 18px; border: 2px solid var(--ink); border-radius: 13px; background: #fff; color: var(--muted); font-family: system-ui, sans-serif; font-size: .75rem; box-shadow: 3px 3px 0 var(--ink); }
.method-numbers b { display: block; color: var(--ink); font-size: 1.7rem; }
.method-shell section { padding: 60px 0; border-top: 2px solid var(--ink); }
.method-shell section > p:not(.step) { font-family: system-ui, sans-serif; color: #514b46; line-height: 1.75; }
.big-finding { margin: 20px -50px; padding: 60px 50px !important; border: 3px solid var(--ink) !important; border-radius: 25px; background: #f3d7de; box-shadow: var(--shadow); }
.model-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.model-method-grid article { padding: 20px; border: 2px solid var(--ink); border-radius: 15px; background: #fff; }
.model-method-grid h3 { display: inline; margin-left: 8px; }
.model-method-grid p, .model-method-grid small { display: block; color: var(--muted); font-family: system-ui, sans-serif; font-size: .72rem; }
.model-method-grid strong { display: block; margin-top: 16px; font-size: 1.1rem; }
.method-shell ul { padding-left: 22px; font-family: system-ui, sans-serif; color: #514b46; line-height: 1.7; }
.method-links { display: flex; justify-content: space-between; gap: 20px; }
.method-links a { font-weight: 900; }

.quiz-shell { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 45px 0 100px; }
.quiz-progress { height: 10px; margin: 60px 0 35px; overflow: hidden; border: 2px solid var(--ink); border-radius: 99px; background: #fff; }
.quiz-progress span { display: block; height: 100%; background: var(--orange); }
.quiz-shell h1 { max-width: 700px; font-size: clamp(3.5rem, 8vw, 6.4rem); line-height: .88; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 50px; }
.quiz-options button { min-height: 190px; padding: 26px; border: 3px solid var(--ink); border-radius: 20px; background: #fff; font-family: system-ui, sans-serif; font-size: 1.05rem; line-height: 1.4; font-weight: 750; text-align: left; box-shadow: 5px 5px 0 var(--ink); cursor: pointer; }
.quiz-options button:hover, .quiz-options button:focus-visible { background: #f3d7de; transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); outline: 0; }
.quiz-options span { display: grid; width: 35px; height: 35px; place-items: center; margin-bottom: 32px; border: 2px solid var(--ink); border-radius: 50%; background: #f4ca87; font-weight: 900; }
.quiz-note { margin-top: 24px; color: var(--muted); font-family: system-ui, sans-serif; font-size: .8rem; }

footer { width: min(1240px, calc(100% - 40px)); margin: 0 auto; min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 2px solid var(--ink); color: var(--muted); font-family: system-ui, sans-serif; font-size: .8rem; }
footer a { color: var(--ink); font-weight: 800; }

@media (max-width: 980px) {
  .picker-view { grid-template-columns: 1fr .76fr; }
  .type-grid { grid-template-columns: repeat(4, 1fr); }
  .result-hero { grid-template-columns: 1fr 320px; }
  .result-trio { grid-template-columns: 1fr; }
  .mini-result { min-height: 230px; }
  .all-scores { gap: 38px; }
}

@media (max-width: 720px) {
  .site-header { height: 66px; }
  .product { display: none; }
  .picker-view { display: block; padding-top: 45px; }
  .picker-copy h1 { font-size: clamp(4.2rem, 22vw, 7rem); }
  .host-wrap { height: 430px; margin: 20px -20px -35px; }
  .host-wrap .speech { right: 18px; }
  .chad { left: 10%; right: -4%; }
  .type-picker { margin: 0 -2px; padding: 20px 16px 24px; }
  .picker-heading { display: block; }
  .text-button { margin-top: 16px; }
  .type-grid { grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .type-card { min-height: 84px; padding: 10px 4px; }
  .type-code { font-size: 1.08rem; }
  .type-name { font-size: .58rem; }
  .report-shell { width: min(100% - 24px, 1120px); }
  .report-nav span { display: none; }
  .result-hero { display: block; }
  .result-copy { padding: 26px 22px 32px; }
  .result-copy h1 { font-size: clamp(3.7rem, 18vw, 6.5rem); }
  .result-copy h1 sup { margin-left: 7px; }
  .result-host { height: 430px; border-top: 3px solid var(--ink); border-left: 0; }
  .result-host .chad { inset: 100px -20px -40px 5%; }
  .result-trio { margin-top: 30px; }
  .all-scores { display: block; margin-top: 70px; }
  .all-scores ol { margin-top: 40px; }
  .score-track { margin-left: 0; }
  .instruction-card, .finding-strip { margin-top: 70px; }
  .method-shell > h1 { font-size: clamp(3.7rem, 17vw, 6.5rem); }
  .method-numbers { grid-template-columns: 1fr 1fr; }
  .big-finding { margin: 20px 0; padding: 42px 24px !important; }
  .model-method-grid { grid-template-columns: 1fr 1fr; }
  .method-links { display: grid; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-options button { min-height: 150px; }
  footer { padding: 24px 0; align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (max-width: 370px) {
  .site-header, .picker-view { width: calc(100% - 24px); }
  .method-link { font-size: .75rem; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .model-method-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
