:root {
  --ink: #1e2327;
  --ink-soft: #4d5558;
  --pearl: #f7f7f3;
  --cloud: #eeeff0;
  --white: #fff;
  --champagne: #b89760;
  --champagne-light: #dfcda7;
  --lavender: #d8d3e7;
  --blue: #c5dce2;
  --blush: #ead4cc;
  --mint: #d3e3dc;
  --line: rgba(30, 35, 39, .16);
  --serif: "Italiana", "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--pearl); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
body.quiz-active { overflow-x: hidden; }
a { color: inherit; }
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
.shell { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: .75rem 1rem; background: var(--ink); color: white; text-decoration: none; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 4px; }

.site-header { position: relative; z-index: 50; border-bottom: 1px solid rgba(30,35,39,.1); background: rgba(247,247,243,.88); backdrop-filter: blur(18px); }
.header-shell { display: flex; width: min(1380px, calc(100% - 64px)); min-height: 88px; margin-inline: auto; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark { position: relative; display: grid; width: 28px; height: 28px; border: 1px solid rgba(30,35,39,.55); transform: rotate(45deg); place-items: center; }
.brand-mark::before, .brand-mark::after { position: absolute; width: 11px; height: 1px; background: var(--champagne); content: ""; }
.brand-mark::after { transform: rotate(90deg); }
.brand-mark i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.brand-mark-star::before, .brand-mark-star::after { display: none; }
.brand-mark-star i { width: 14px; height: 14px; border-radius: 0; background: var(--champagne); clip-path: polygon(50% 0%, 56.2% 31%, 79.4% 9.5%, 66.2% 38.2%, 97.6% 34.5%, 70% 50%, 97.6% 65.5%, 66.2% 61.8%, 79.4% 90.5%, 56.2% 69%, 50% 100%, 43.8% 69%, 20.6% 90.5%, 33.8% 61.8%, 2.4% 65.5%, 30% 50%, 2.4% 34.5%, 33.8% 38.2%, 20.6% 9.5%, 43.8% 31%); transform: rotate(-45deg); }
.brand-name { font-family: var(--serif); font-size: 1.22rem; }
.home-link { padding-bottom: .4rem; border-bottom: 1px solid var(--ink); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.home-link span { color: #8d7250; }

.hero { position: relative; display: grid; min-height: calc(92svh - 88px); overflow: hidden; padding: clamp(4.5rem, 7vw, 7.5rem) 0 clamp(4.2rem, 7vw, 7rem); background: linear-gradient(120deg, rgba(255,255,255,.72), transparent 43%), linear-gradient(180deg, #f9f9f6, #e9edef); isolation: isolate; }
.hero::before, .introduction::before, .access::before, .results-hero::before { position: absolute; z-index: -2; inset: 0; opacity: .14; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.94' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E"); content: ""; mix-blend-mode: multiply; }
.hero-glow { position: absolute; z-index: -2; top: 0; right: -8%; width: 55vw; height: 52vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.9), rgba(216,211,231,.5) 35%, rgba(197,220,226,.32) 58%, transparent 72%); filter: blur(32px); }
.hero-layout { display: grid; align-items: center; grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr); gap: clamp(4rem, 9vw, 9rem); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; margin: 0 0 1.8rem; align-items: center; gap: .75rem; color: #626a6d; font-size: .66rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow > span { width: 38px; height: 1px; background: var(--champagne); }
.hero h1, .results-hero h1 { max-width: 870px; margin: 0; font-family: var(--serif); font-size: clamp(4.2rem, 7.2vw, 7.5rem); font-weight: 400; line-height: .94; text-wrap: balance; }
.hero h1 em, h2 em { color: #8d7250; font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 740px; margin: 1rem 0 0; color: var(--ink); font-size: clamp(1.03rem, 1.2vw, 1.16rem); line-height: 1.75; }
.hero-copy .hero-lead { margin-top: 2rem; }
.hero-copy strong { font-weight: 600; }
.hero-actions { display: flex; margin-top: 2rem; align-items: center; gap: 1.5rem; }
.hero-actions p { max-width: 270px; margin: 0; color: #697174; font-size: .64rem; font-weight: 600; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; }
.button { display: inline-flex; min-height: 56px; padding: .9rem 1.35rem .9rem 1.6rem; border: 0; align-items: center; justify-content: center; gap: 1.7rem; font-size: .7rem; font-weight: 600; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; transition: transform .25s, background .25s, box-shadow .25s, opacity .25s; }
.button-primary { background: var(--ink); color: white; box-shadow: 0 13px 32px rgba(30,35,39,.14); }
.button-primary:hover:not(:disabled) { background: #30373b; box-shadow: 0 17px 38px rgba(30,35,39,.2); transform: translateY(-2px); }
.button-primary span { color: var(--champagne-light); }
.button:disabled { cursor: not-allowed; opacity: .35; }

.scorecard-object { position: relative; width: min(38vw, 510px); aspect-ratio: 1; justify-self: end; }
.scorecard-ring { position: absolute; border: 1px solid rgba(30,35,39,.14); border-radius: 50%; }
.ring-one { inset: 2%; animation: breathe 7s infinite ease-in-out; }
.ring-two { inset: 12%; border-color: rgba(184,151,96,.3); animation: breathe 7s 1s infinite ease-in-out reverse; }
.scorecard-gem { position: absolute; display: flex; inset: 21%; overflow: hidden; border: 1px solid rgba(255,255,255,.8); background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.12) 43%, rgba(197,220,226,.3)), linear-gradient(45deg, rgba(216,211,231,.25), rgba(234,212,204,.24)); box-shadow: inset 0 0 38px rgba(255,255,255,.78), 0 35px 80px rgba(77,93,101,.13); align-items: center; justify-content: center; flex-direction: column; gap: 1.15rem; transform: rotate(45deg); backdrop-filter: blur(14px); }
.scorecard-gem::before { position: absolute; inset: 9%; border: 1px solid rgba(184,151,96,.35); content: ""; }
.scorecard-gem span { position: relative; z-index: 1; padding: .25rem .45rem; background: rgba(247,247,243,.55); font-size: .53rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; transform: rotate(-45deg); backdrop-filter: blur(5px); }
.hero-orbit { position: absolute; right: -13rem; bottom: -13rem; width: 32rem; height: 32rem; border: 1px solid rgba(184,151,96,.15); transform: rotate(45deg); }

.introduction { position: relative; overflow: hidden; padding: clamp(4.75rem, 8vw, 8rem) 0; background: #f8f7f3; isolation: isolate; }
.intro-layout { display: grid; align-items: start; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(4rem, 10vw, 10rem); }
.section-number { display: flex; margin: 0 0 2rem; align-items: center; gap: .8rem; color: rgba(30,35,39,.52); font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.section-number span { width: 35px; height: 1px; background: var(--champagne); }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(3.5rem, 6vw, 6.4rem); font-weight: 400; line-height: .96; text-wrap: balance; }
.intro-copy > p { margin: 0; color: var(--ink); font-size: clamp(1.03rem, 1.1vw, 1.15rem); line-height: 1.75; }
.intro-copy > p + p { margin-top: 1.4rem; }
.insight-list { margin: 2rem 0; padding: 0; list-style: none; }
.insight-list li { position: relative; padding: .8rem 0 .8rem 2.2rem; border-top: 1px solid var(--line); color: var(--ink); font-size: .9rem; line-height: 1.55; }
.insight-list li:last-child { border-bottom: 1px solid var(--line); }
.insight-list li::before { position: absolute; top: 1.18rem; left: .35rem; width: 9px; height: 9px; border: 1px solid #9b7c52; content: ""; transform: rotate(45deg); }

.assessment { position: relative; overflow: hidden; padding: clamp(4.75rem, 8vw, 8rem) 0; background: #20272b; color: #eef1ef; }
.assessment-heading { display: grid; align-items: end; grid-template-columns: .55fr 1.45fr; gap: clamp(3rem, 8vw, 8rem); }
.section-number-light { color: rgba(238,241,239,.5); }
.assessment h2 { max-width: 900px; }
.assessment h2 em { color: var(--champagne-light); }
.assessment-grid { display: grid; margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid rgba(238,241,239,.14); border-bottom: 1px solid rgba(238,241,239,.14); grid-template-columns: repeat(3, 1fr); }
.assessment-grid article { position: relative; min-height: 410px; padding: clamp(2.2rem, 4vw, 4rem); }
.assessment-grid article + article { border-left: 1px solid rgba(238,241,239,.14); }
.assessment-grid article > span { color: var(--champagne-light); font-size: .58rem; font-weight: 600; letter-spacing: .12em; }
.assessment-grid h3 { margin: clamp(4rem, 7vw, 7rem) 0 1.3rem; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 4rem); font-weight: 400; }
.assessment-grid p { margin: 0; color: rgba(238,241,239,.74); font-size: .93rem; line-height: 1.72; }
.assessment-grid small { display: block; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(238,241,239,.12); color: rgba(238,241,239,.48); font-size: .65rem; line-height: 1.55; }

.access { position: relative; overflow: hidden; padding: clamp(4.75rem, 8vw, 8rem) 0; background: linear-gradient(140deg, rgba(255,255,255,.68), transparent 45%), linear-gradient(180deg, #e9eef0, #f3f0ed); isolation: isolate; }
.access-glow { position: absolute; z-index: -2; top: -8%; right: -8%; width: 52vw; height: 44vw; border-radius: 50%; background: radial-gradient(circle, rgba(216,211,231,.52), rgba(197,220,226,.24) 50%, transparent 72%); filter: blur(42px); }
.access-layout { display: grid; align-items: center; grid-template-columns: minmax(320px, .82fr) minmax(500px, 1.18fr); gap: clamp(4rem, 10vw, 10rem); }
.access-copy > p:not(.section-number) { max-width: 560px; margin: 2rem 0 0; color: var(--ink); font-size: 1.05rem; line-height: 1.75; }
.access-card { position: relative; padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid rgba(30,35,39,.14); background: rgba(255,255,255,.64); box-shadow: 0 35px 80px rgba(64,73,76,.13), inset 0 0 45px rgba(255,255,255,.48); backdrop-filter: blur(18px); }
.access-card::before { position: absolute; inset: 10px; border: 1px solid rgba(142,113,74,.12); content: ""; pointer-events: none; }
.access-card-heading { position: relative; display: grid; padding-bottom: 2rem; border-bottom: 1px solid var(--line); align-items: center; grid-template-columns: 32px 62px 1fr; gap: 1rem; }
.small-gem { display: block; width: 28px; height: 28px; border: 1px solid #9b7c52; transform: rotate(45deg); }
.access-portrait { width: 62px; height: 62px; border: 1px solid rgba(184,151,96,.38); border-radius: 50%; object-fit: cover; object-position: center top; box-shadow: 0 12px 26px rgba(30,35,39,.13); }
.access-card-heading p { margin: 0 0 .3rem; color: #806746; font-size: .55rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.access-card-heading h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 2.8vw, 2.7rem); font-weight: 400; }
.access-card form { position: relative; margin-top: 2rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.field { display: flex; flex-direction: column; }
.field > span { color: #4f5658; font-size: .6rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.field input { height: 52px; padding: .5rem .2rem; border: 0; border-bottom: 1px solid rgba(30,35,39,.27); border-radius: 0; background: transparent; font-size: .85rem; }
.field input:focus { border-color: #8d7250; outline: none; }
.consent-field { display: grid; margin-top: 1.7rem; align-items: start; grid-template-columns: 21px 1fr; gap: .9rem; color: #545c5e; font-size: .74rem; line-height: 1.55; cursor: pointer; }
.consent-field input { position: absolute; opacity: 0; }
.custom-check { position: relative; display: block; width: 19px; height: 19px; margin-top: 1px; border: 1px solid rgba(30,35,39,.35); background: rgba(255,255,255,.45); }
.consent-field input:checked + .custom-check { border-color: #8d7250; background: #20272b; }
.consent-field input:checked + .custom-check::after { position: absolute; top: 3px; left: 6px; width: 4px; height: 8px; border-right: 1px solid white; border-bottom: 1px solid white; content: ""; transform: rotate(45deg); }
.consent-field input:focus-visible + .custom-check { outline: 2px solid var(--champagne); outline-offset: 3px; }
.form-note { margin: 1.2rem 0 0; color: #7a8081; font-size: .6rem; line-height: 1.55; }
.form-status { min-height: 1.3em; margin: .8rem 0 0; color: #9a493f; font-size: .7rem; line-height: 1.55; }
.form-status a { display: inline-flex; margin-top: .55rem; border-bottom: 1px solid currentColor; color: #806746; font-weight: 600; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.access-submit { width: 100%; margin-top: 1rem; }

.quiz-view { position: relative; min-height: calc(100svh - 88px); overflow: hidden; padding: clamp(2rem, 4vw, 4rem) 0; background: linear-gradient(135deg, rgba(255,255,255,.7), transparent 45%), linear-gradient(180deg, #e8eef0, #f3f0ed); isolation: isolate; }
.quiz-background { position: absolute; z-index: -1; top: -18rem; right: -12rem; width: 45rem; height: 45rem; border: 1px solid rgba(184,151,96,.2); transform: rotate(45deg); }
.quiz-shell { width: min(930px, calc(100% - 64px)); margin-inline: auto; }
.quiz-progress-header { display: grid; align-items: end; grid-template-columns: auto 1fr; gap: 3rem; }
.quiz-progress-header p { margin: 0 0 .25rem; color: #806746; font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.quiz-progress-header > div > span { color: #6c7476; font-size: .72rem; }
.progress-track { height: 3px; margin-bottom: .55rem; overflow: hidden; background: rgba(30,35,39,.14); }
.progress-track span { display: block; width: 8.333%; height: 100%; background: linear-gradient(90deg, #9b7c52, var(--champagne-light)); transition: width .4s ease; }
.question-card { margin-top: clamp(1.5rem, 3vw, 2.75rem); padding: clamp(2rem, 5vw, 4.5rem); border: 1px solid rgba(30,35,39,.14); background: rgba(255,255,255,.72); box-shadow: 0 30px 75px rgba(53,63,67,.12); backdrop-filter: blur(16px); }
.question-card fieldset { margin: 0; padding: 0; border: 0; }
.question-card legend { width: 100%; margin: 0 0 2rem; color: var(--ink); font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.08; text-wrap: balance; }
.answer-list { display: grid; gap: .65rem; }
.answer-option { display: grid; min-height: 72px; padding: 1rem 1.2rem; border: 1px solid rgba(30,35,39,.13); background: rgba(247,247,243,.5); align-items: center; grid-template-columns: 19px 1fr; gap: 1rem; color: var(--ink); font-size: .86rem; line-height: 1.55; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.answer-option:hover { border-color: rgba(142,113,74,.55); background: rgba(255,255,255,.88); transform: translateX(3px); }
.answer-option input { position: absolute; opacity: 0; }
.answer-marker { position: relative; width: 17px; height: 17px; border: 1px solid rgba(30,35,39,.35); border-radius: 50%; }
.answer-option input:checked + .answer-marker { border-color: #8d7250; }
.answer-option input:checked + .answer-marker::after { position: absolute; inset: 4px; border-radius: 50%; background: #8d7250; content: ""; }
.answer-option:has(input:checked) { border-color: #8d7250; background: rgba(223,205,167,.18); }
.answer-option:has(input:focus-visible) { outline: 2px solid var(--champagne); outline-offset: 3px; }
.question-status { min-height: 1.3em; margin: 1rem 0 0; color: #9a493f; font-size: .72rem; }
.question-actions { display: flex; margin-top: 1.5rem; align-items: center; justify-content: space-between; gap: 1.5rem; }
.text-button { padding: .45rem 0; border: 0; border-bottom: 1px solid rgba(30,35,39,.35); background: transparent; font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }

.results-view { background: #f8f7f3; outline: none; }
.results-hero { position: relative; overflow: hidden; padding: clamp(4.75rem, 8vw, 8rem) 0; background: linear-gradient(130deg, rgba(255,255,255,.72), transparent 45%), linear-gradient(180deg, #e9eef0, #f3f0ed); isolation: isolate; }
.results-glow { position: absolute; z-index: -2; top: -10%; right: 0; width: 52vw; height: 45vw; border-radius: 50%; background: radial-gradient(circle, rgba(216,211,231,.55), rgba(197,220,226,.24) 52%, transparent 72%); filter: blur(38px); }
.results-hero-inner { max-width: 1050px; text-align: center; }
.results-hero .eyebrow { justify-content: center; }
.results-greeting { margin: 0 0 .8rem; color: #806746; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.results-hero h1 { margin-inline: auto; }
.overall-assessment { max-width: 760px; margin: 2.3rem auto 0; }
.overall-assessment p { margin: 1rem 0 0; color: var(--ink); font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.75; }
.overall-assessment p:first-child { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.45; }
.results-body { padding: clamp(4.75rem, 8vw, 8rem) 0; }
.results-section-heading { display: grid; align-items: end; grid-template-columns: .5fr 1.5fr; gap: clamp(3rem, 8vw, 8rem); }
.category-results { margin-top: clamp(2.75rem, 5vw, 4.75rem); }
.category-result { position: relative; padding: clamp(2.5rem, 5vw, 5rem); border: 1px solid var(--line); background: white; }
.category-result + .category-result { border-top: 0; }
.category-result.is-priority { background: linear-gradient(125deg, rgba(239,232,220,.7), rgba(255,255,255,.92)); }
.category-result.is-priority::before { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: linear-gradient(180deg, transparent, var(--champagne), transparent); content: ""; }
.category-result header { display: flex; padding-bottom: 2rem; border-bottom: 1px solid var(--line); align-items: end; justify-content: space-between; gap: 2rem; }
.category-result header p { margin: 0 0 .7rem; color: #8d7250; font-size: .58rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.category-result h3 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5.2rem); font-weight: 400; }
.category-analysis { display: grid; padding: 2.5rem 0; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.category-result h4 { margin: 0 0 .8rem; color: #806746; font-size: .61rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.category-analysis p { margin: 0; color: var(--ink); font-size: .97rem; line-height: 1.72; }
.recommended-actions { padding-top: 2.2rem; border-top: 1px solid var(--line); }
.recommended-actions ol { display: grid; margin: 1.5rem 0 0; padding: 0; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; list-style: none; }
.recommended-actions li { padding: 1.4rem; border: 1px solid rgba(30,35,39,.1); background: rgba(247,247,243,.7); }
.recommended-actions li > span { color: #9b7c52; font-size: .55rem; font-weight: 600; }
.recommended-actions li p { margin: 1.4rem 0 0; color: #5f6769; font-size: .75rem; line-height: 1.65; }
.recommended-actions li strong { display: block; margin-bottom: .45rem; color: var(--ink); font-size: .8rem; line-height: 1.45; }

.priority-result { margin-top: clamp(4rem, 7vw, 7rem); padding: clamp(3rem, 6vw, 6rem); overflow: hidden; background: #20272b; box-shadow: 0 35px 75px rgba(42,50,54,.17); color: #eef1ef; }
.priority-result h2 { max-width: 940px; color: #eef1ef; }
.priority-result [data-priority-content] p { max-width: 830px; margin: 1.2rem 0 0; color: rgba(238,241,239,.72); font-size: 1rem; line-height: 1.75; }
.priority-result [data-priority-content] p:first-of-type { margin-top: 2.5rem; }
.dynamic-cta { position: relative; margin-top: clamp(4rem, 7vw, 7rem); padding: clamp(3.5rem, 7vw, 7rem); overflow: hidden; border: 1px solid rgba(184,151,96,.26); background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(223,205,167,.22) 36%, rgba(216,211,231,.26) 62%, rgba(197,220,226,.28)); box-shadow: 0 36px 90px rgba(42,50,54,.2), inset 0 0 55px rgba(255,255,255,.7); text-align: center; }
.dynamic-cta::before { position: absolute; top: -17rem; right: -14rem; width: 35rem; height: 35rem; border: 1px solid rgba(184,151,96,.2); content: ""; transform: rotate(45deg); }
.dynamic-cta::after { position: absolute; top: -45%; bottom: -45%; left: -30%; width: 32%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.62), transparent); content: ""; transform: rotate(18deg); animation: ctaSheen 8s ease-in-out infinite; pointer-events: none; }
.cta-kicker { margin: 0 0 1.4rem; color: #806746; font-size: .61rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.dynamic-cta h2 { position: relative; max-width: 970px; margin-inline: auto; }
.dynamic-cta [data-cta-content] > p:not(.cta-kicker) { position: relative; max-width: 790px; margin: 1rem auto 0; color: var(--ink); font-size: .98rem; line-height: 1.72; }
.dynamic-cta [data-cta-content] > p:nth-of-type(2) { margin-top: 2.2rem; }
.dynamic-cta .button { position: relative; }
.cta-actions { position: relative; display: flex; margin-top: 2.3rem; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-secondary-link { color: var(--ink); opacity: .76; }
.cta-secondary-link:hover { opacity: 1; }
.results-controls { display: flex; margin-top: 3rem; justify-content: center; gap: 2rem; }
.return-top { position: fixed; z-index: 80; right: clamp(1rem, 2vw, 1.6rem); bottom: clamp(1rem, 2vw, 1.6rem); display: grid; width: 44px; height: 44px; border: 1px solid rgba(184,151,96,.34); border-radius: 50%; background: rgba(32,39,43,.88); box-shadow: 0 16px 38px rgba(30,35,39,.2); color: var(--champagne-light); font-size: 1.1rem; text-decoration: none; place-items: center; backdrop-filter: blur(12px); transition: transform .25s, background .25s, box-shadow .25s; }
.return-top:hover { background: #30373b; box-shadow: 0 20px 45px rgba(30,35,39,.26); transform: translateY(-2px); }

.site-footer { padding: 3.5rem 0; background: #151b1e; color: #edf0ee; }
.footer-inner { display: grid; align-items: center; grid-template-columns: 1fr auto 1fr; gap: 2rem; }
.footer-brand { color: white; }
.footer-brand .brand-mark { border-color: rgba(238,241,239,.5); }
.footer-brand .brand-mark i { background: white; }
.footer-inner > p { margin: 0; color: rgba(238,241,239,.46); font-size: .6rem; }
.footer-inner > p:last-child { justify-self: end; }

@keyframes breathe { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.035); } }
@keyframes ctaSheen { 0%, 62% { transform: translateX(0) rotate(18deg); opacity: 0; } 72% { opacity: .78; } 100% { transform: translateX(520%) rotate(18deg); opacity: 0; } }

@media (max-width: 980px) {
  .shell, .header-shell { width: min(100% - 40px, 800px); }
  .hero-layout, .intro-layout, .access-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .scorecard-object { width: min(65vw, 480px); justify-self: center; }
  .assessment-heading, .results-section-heading { grid-template-columns: 1fr; }
  .assessment-grid { grid-template-columns: 1fr; }
  .assessment-grid article { min-height: auto; }
  .assessment-grid article + article { border-top: 1px solid rgba(238,241,239,.14); border-left: 0; }
  .assessment-grid h3 { margin-top: 3.5rem; }
  .access-copy { max-width: 700px; }
  .quiz-shell { width: min(100% - 40px, 800px); }
  .recommended-actions ol { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > p:nth-child(2) { display: none; }
}

@media (max-width: 620px) {
  .shell, .header-shell, .quiz-shell { width: calc(100% - 34px); }
  .header-shell { min-height: 76px; }
  .brand-name { font-size: 1.04rem; }
  .brand-mark { width: 24px; height: 24px; }
  .home-link { font-size: 0; }
  .home-link::before { content: "Main site"; font-size: .6rem; }
  .home-link span { margin-left: .35rem; font-size: .75rem; }
  .hero { padding: 4rem 0; }
  .hero-layout { gap: 3rem; }
  .hero h1, .results-hero h1 { font-size: clamp(3.4rem, 16vw, 5rem); }
  .hero-copy .hero-lead { margin-top: 1.8rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .scorecard-object { width: min(88vw, 390px); }
  .introduction, .assessment, .access, .results-body { padding: 4.5rem 0; }
  h2 { font-size: clamp(3.2rem, 15vw, 4.7rem); }
  .assessment-grid { margin-top: 3.5rem; }
  .assessment-grid article { padding: 2.3rem 1.3rem; }
  .field-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .access-card { width: calc(100% + 10px); margin-left: -5px; padding: 2rem 1.3rem; }
  .access-card-heading { grid-template-columns: 28px 54px 1fr; }
  .access-portrait { width: 54px; height: 54px; }
  .quiz-view { min-height: calc(100svh - 76px); padding: 1.5rem 0; }
  .quiz-progress-header { grid-template-columns: 1fr; gap: 1.2rem; }
  .question-card { margin-top: 1.4rem; padding: 1.5rem 1.1rem; }
  .question-card legend { margin-bottom: 1.7rem; font-size: clamp(2rem, 10vw, 2.7rem); }
  .answer-option { min-height: 0; padding: .9rem; font-size: .78rem; }
  .question-actions { align-items: stretch; flex-direction: column-reverse; }
  .question-actions .button { width: 100%; }
  .question-actions .text-button { align-self: flex-start; }
  .results-hero { padding: 4.5rem 0; }
  .overall-assessment { margin-top: 2.3rem; }
  .category-result { padding: 2.3rem 1.2rem; }
  .category-result header { align-items: flex-start; }
  .category-result h3 { font-size: 2.8rem; }
  .category-analysis { grid-template-columns: 1fr; gap: 2rem; }
  .priority-result { width: calc(100% + 34px); margin-left: -17px; padding: 3.5rem 17px; }
  .dynamic-cta { padding: 3.5rem 1.2rem; }
  .results-controls { align-items: center; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-inner > p:last-child { justify-self: center; }
}

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