:root {
  --black:#11100e; --paper:#fbfaf7; --white:#fff; --text:#171613; --muted:#6e6962;
  --line:#dfdbd3; --soft:#efede8; --gold:#ba8d4a; --gold-deep:#87652f;
  --serif:Georgia,'Times New Roman',serif; --sans:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
*{box-sizing:border-box} html,body{margin:0;min-height:100%;background:var(--paper);color:var(--text);font-family:var(--sans)}
button,input,textarea{font:inherit} button,a{touch-action:manipulation} button{color:inherit}.hidden{display:none!important}
a{color:inherit}.no-js{padding:24px;max-width:700px;margin:auto}.eyebrow{color:var(--gold-deep);font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.eyebrow.light{color:#d3aa6c}
.brand{display:inline-flex;align-items:center;min-width:210px;text-decoration:none}.brand-lockup{display:flex;flex-direction:column;align-items:flex-start;line-height:1}.brand-name{font-family:var(--serif);font-size:1.46rem;font-weight:500;letter-spacing:-.025em;color:#fff;white-space:nowrap}.brand-role{margin-top:4px;color:#d3aa6c;font-size:14px;font-weight:700;letter-spacing:.035em;white-space:nowrap}.assessment-header{min-height:84px;padding:0 clamp(20px,4vw,58px);display:flex;align-items:center;justify-content:space-between;gap:24px}.assessment-header.dark{background:var(--black);color:#fff}.header-title{color:#aaa49c;font-size:1.6rem;font-weight:700;letter-spacing:.025em;line-height:1.12;white-space:nowrap}
.button-primary{border:1px solid var(--gold);background:var(--gold);color:#17130d;min-height:52px;padding:14px 20px;font-weight:800;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;text-align:center}.button-primary:hover{filter:brightness(.96)}.button-primary:disabled{opacity:.4;cursor:not-allowed}.full{width:100%}.text-button,.back-button{border:0;background:none;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.quiet-link{color:#c7c0b7;text-decoration:none;font-size:.8rem}

.scope-screen{height:100svh;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr)}.scope-card{width:min(720px,calc(100% - 44px));margin:0 auto;align-self:center;max-height:100%;overflow-y:auto;overscroll-behavior:contain}.scope-card h1{font-family:var(--serif);font-size:clamp(3rem,7vw,5.8rem);font-weight:500;line-height:.98;letter-spacing:-.045em;margin:10px 0 18px}.scope-card>p{color:var(--muted);font-size:1rem;line-height:1.6;margin:0;max-width:620px}.scope-options{display:grid;gap:9px;margin:28px 0 18px}.scope-option{width:100%;min-height:88px;border:1px solid var(--line);background:var(--white);padding:16px 18px;display:flex;align-items:center;justify-content:space-between;text-align:left;cursor:pointer}.scope-option:hover,.scope-option.selected{border-color:var(--gold);background:#fffaf2}.scope-option strong,.scope-option small{display:block}.scope-option small{margin-top:5px;color:var(--muted);font-size:.78rem;line-height:1.35}.radio-dot{width:18px;height:18px;border:1px solid #9e978d;border-radius:50%;flex:0 0 auto;margin-left:16px}.selected .radio-dot{border:5px solid var(--gold)}.privacy-note{margin-top:12px!important;font-size:.72rem!important;line-height:1.4!important}

.question-shell{height:100svh;overflow:hidden;display:grid;grid-template-columns:minmax(270px,30vw) 1fr;background:var(--paper)}.question-rail{background:var(--black);color:#fff;padding:34px clamp(24px,3vw,48px);display:flex;flex-direction:column;min-height:0}.question-rail .brand{margin-bottom:20px}.rail-copy{margin-top:clamp(36px,9vh,90px)}.rail-copy h2{font-family:var(--serif);font-size:clamp(2.6rem,5vw,5.1rem);font-weight:500;line-height:.95;letter-spacing:-.04em;margin:10px 0 16px}.rail-copy p{color:#aca69f;line-height:1.5;max-width:340px}.rail-sections{margin-top:auto;display:grid;gap:7px}.rail-section{min-height:34px;display:grid;grid-template-columns:34px 1fr;align-items:center;color:#706c66;font-size:.75rem}.rail-section span{font-family:var(--serif)}.rail-section.active{color:#fff}.rail-section.active span{color:#d3aa6c}.rail-section.done{color:#aaa49c}.rail-footer{margin-top:18px;padding-top:16px;border-top:1px solid #2d2a27;color:#77716a;font-size:.74rem}
.question-stage{height:100svh;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto}.mobile-question-header,.mobile-progress{display:none}.question-content{width:min(900px,calc(100% - 80px));margin:auto;max-height:100%;overflow-y:auto;overscroll-behavior:contain;padding:40px 0}.question-meta{color:var(--gold-deep);font-size:.75rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;margin-bottom:18px}.question-content h1{font-family:var(--serif);font-size:clamp(2.3rem,4.1vw,4.4rem);font-weight:500;line-height:1.03;letter-spacing:-.035em;margin:0;max-width:930px}.question-helper{color:var(--muted);font-size:.84rem;line-height:1.5;margin:18px 0 0}.answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:34px}.answer-card{position:relative;border:1px solid var(--line);background:var(--white);min-height:112px;padding:20px 52px 18px 20px;text-align:left;cursor:pointer}.answer-card:hover,.answer-card.selected{border-color:var(--gold);background:#fffaf2}.answer-label{display:block;font-weight:800}.answer-detail{display:block;margin-top:6px;color:var(--muted);font-size:.76rem;line-height:1.4}.answer-arrow{position:absolute;right:18px;top:20px;color:var(--gold-deep);font-size:1.05rem}.question-footer{min-height:68px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,4vw,60px);color:var(--muted);font-size:.75rem}.back-button{padding:12px 0}

.results-page{min-height:100vh;background:var(--paper)}.results-hero{max-width:1180px;margin:auto;padding:72px clamp(22px,5vw,72px) 58px;display:flex;align-items:end;justify-content:space-between;gap:50px}.results-hero h1{font-family:var(--serif);font-weight:500;font-size:clamp(4.3rem,9vw,8.3rem);line-height:.88;letter-spacing:-.055em;margin:10px 0 20px}.results-hero p{max-width:700px;color:var(--muted);font-size:1rem;line-height:1.65}.headline-score{text-align:right;white-space:nowrap}.headline-score strong{display:block;font-family:var(--serif);font-size:3rem;font-weight:500}.headline-score span{display:block;color:var(--muted);font-size:.75rem}.result-alert{max-width:1036px;margin:28px auto 0;padding:16px 20px;background:#f0e6d7;border-left:3px solid var(--gold);font-size:.9rem;line-height:1.55}.result-section{max-width:1180px;margin:auto;padding:64px clamp(22px,5vw,72px);border-bottom:1px solid var(--line)}.section-kicker{color:var(--gold-deep);font-size:.76rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;margin-bottom:24px}.profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.profile-card{background:white;border:1px solid var(--line);padding:20px;min-height:154px}.profile-row{display:flex;align-items:start;justify-content:space-between;gap:16px}.profile-row span,.profile-card small{display:block;color:var(--muted);font-size:.76rem}.profile-row span{margin-top:3px}.section-band{color:var(--gold-deep)!important;font-weight:800}.score-ten{font-family:var(--serif);font-size:1.8rem;font-weight:500}.meter{height:5px;background:var(--soft);margin:24px 0 15px;overflow:hidden}.meter i{display:block;height:100%;background:var(--gold)}.result-section.two-col{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);gap:60px;align-items:start}.insight-stack{display:grid;gap:10px}.insight{display:grid;grid-template-columns:42px 1fr;gap:18px;border-top:1px solid var(--line);padding:22px 0 12px}.insight>span{color:var(--gold-deep);font-family:var(--serif);font-size:1.15rem}.insight h3{margin:0 0 8px;font-family:var(--serif);font-weight:500;font-size:1.45rem}.insight p{margin:0;color:var(--muted);line-height:1.65}.conversation-card{position:sticky;top:28px;background:var(--black);color:white;padding:32px}.conversation-card h2{margin:12px 0;font-family:var(--serif);font-size:2.1rem;font-weight:500;line-height:1.05}.conversation-card p{color:#c8c3ba;line-height:1.65}.service-list{margin:24px 0;display:flex;flex-wrap:wrap;gap:8px}.service-list span{border:1px solid #403d39;padding:8px 10px;font-size:.75rem;color:#ddd7cf}.conversation-card small{display:block;margin-top:14px;color:#88827a;line-height:1.45}.results-footer{max-width:1180px;margin:auto;padding:34px clamp(22px,5vw,72px) 60px;display:flex;justify-content:space-between;gap:20px;font-size:.85rem}

.dialog-backdrop{position:fixed;inset:0;background:rgba(10,9,8,.72);z-index:40;display:grid;place-items:center;padding:18px}.lead-dialog{width:min(690px,100%);max-height:calc(100svh - 36px);overflow:auto;background:var(--paper);padding:30px;box-shadow:0 24px 80px rgba(0,0,0,.3);position:relative}.dialog-close{position:absolute;right:18px;top:16px;background:none;border:0;font-size:1.4rem;cursor:pointer}.lead-dialog h2{font-family:var(--serif);font-size:clamp(2.4rem,7vw,4.4rem);font-weight:500;letter-spacing:-.04em;line-height:.98;margin:8px 32px 12px 0}.lead-dialog>p{color:var(--muted);line-height:1.55}.lead-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1;width:auto}.field label{font-size:.78rem;font-weight:800}.field input,.field textarea{width:100%;border:1px solid var(--line);background:#fff;padding:12px 13px;min-height:46px}.field textarea{min-height:84px;resize:vertical}.consent-row{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;font-size:.76rem;line-height:1.45;color:var(--muted)}.consent-row input{margin-top:2px}.form-status{grid-column:1/-1;min-height:1.4em;font-size:.82rem}.form-status.error{color:#9c2d23}.form-status.success{color:#2f6b3d}.hp-field{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.booking-success{display:grid;gap:18px}.booking-success h2{margin-right:20px}.calendly-frame{width:100%;height:min(720px,70svh);border:0;background:white}.booking-actions{display:flex;gap:10px;flex-wrap:wrap}.button-secondary{border:1px solid var(--line);background:white;min-height:48px;padding:12px 18px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.assessment-id{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem;background:var(--soft);padding:8px 10px;display:inline-block}

/* Question-change micro-interactions */
.question-content.motion-forward .question-meta,
.question-content.motion-forward h1,
.question-content.motion-forward .question-helper,
.question-content.motion-back .question-meta,
.question-content.motion-back h1,
.question-content.motion-back .question-helper{
  animation:question-copy-in 220ms cubic-bezier(.2,.7,.2,1) both;
}
.question-content.motion-forward .answer-card,
.question-content.motion-back .answer-card{
  animation:answer-card-in 240ms cubic-bezier(.2,.7,.2,1) both;
}
.question-content.motion-forward .answer-card:nth-child(1),
.question-content.motion-back .answer-card:nth-child(1){animation-delay:55ms}
.question-content.motion-forward .answer-card:nth-child(2),
.question-content.motion-back .answer-card:nth-child(2){animation-delay:80ms}
.question-content.motion-forward .answer-card:nth-child(3),
.question-content.motion-back .answer-card:nth-child(3){animation-delay:105ms}
.question-content.motion-forward .answer-card:nth-child(4),
.question-content.motion-back .answer-card:nth-child(4){animation-delay:130ms}
.question-content.motion-back h1,
.question-content.motion-back .question-meta,
.question-content.motion-back .question-helper{animation-name:question-copy-in-back}
.question-content.motion-back .answer-card{animation-name:answer-card-in-back}
.thin-meter i{transition:width 320ms cubic-bezier(.2,.7,.2,1)}
.rail-section{transition:color 180ms ease,opacity 180ms ease,transform 180ms ease}
.rail-section.active{animation:rail-section-in 220ms cubic-bezier(.2,.7,.2,1) both}
@keyframes question-copy-in{from{opacity:.18;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes question-copy-in-back{from{opacity:.18;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@keyframes answer-card-in{from{opacity:.08;transform:translateY(7px);background:#fff}to{opacity:1;transform:translateY(0)}}
@keyframes answer-card-in-back{from{opacity:.08;transform:translateY(-5px);background:#fff}to{opacity:1;transform:translateY(0)}}
@keyframes rail-section-in{from{opacity:.55;transform:translateX(-3px)}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){
  .question-content.motion-forward .question-meta,.question-content.motion-forward h1,.question-content.motion-forward .question-helper,
  .question-content.motion-back .question-meta,.question-content.motion-back h1,.question-content.motion-back .question-helper,
  .question-content.motion-forward .answer-card,.question-content.motion-back .answer-card,.rail-section.active{animation:none!important}
  .thin-meter i,.rail-section{transition:none!important}
}

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex='-1']:focus-visible{outline:3px solid var(--gold);outline-offset:3px}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:800px){.desktop-only{display:none!important}.assessment-header{min-height:68px;padding:0 18px;gap:12px}.brand{min-width:132px}.brand-name{font-size:1.05rem}.brand-role{margin-top:3px;font-size:14px}.header-title{font-size:1rem!important;letter-spacing:.02em}.scope-card{width:calc(100% - 36px)}.scope-card h1{font-size:clamp(2.8rem,13vw,4.4rem)}.scope-option{min-height:84px;padding:14px 16px}
.question-shell{display:block;height:100svh;overflow:hidden}.question-rail{display:none}.question-stage{height:100svh;grid-template-rows:auto auto minmax(0,1fr) auto}.mobile-question-header{height:64px;padding:0 16px;background:var(--black);color:white;display:flex;align-items:center;justify-content:space-between}.mobile-question-header>span{color:#aaa59e;font-size:.76rem;font-weight:700}.mobile-progress{display:block;padding:12px 16px 0}.mobile-progress-meta{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:.68rem;font-weight:700}.thin-meter{height:3px;background:#e5e0d8;margin-top:10px;overflow:hidden}.thin-meter i{display:block;height:100%;background:var(--gold)}.question-content{width:auto;margin:0;padding:clamp(16px,3vh,24px) 16px 10px;display:flex;flex-direction:column;min-height:0}.question-content h1{font-size:clamp(1.55rem,6.2vw,2.15rem);line-height:1.08}.question-helper{margin-top:8px;font-size:.74rem;line-height:1.38}.answer-grid{margin-top:auto;padding-top:12px;display:grid;grid-template-columns:1fr;gap:7px}.answer-card{min-height:64px;padding:10px 38px 10px 14px;display:flex;flex-direction:column;justify-content:center}.answer-label{font-size:.91rem}.answer-detail{margin-top:2px;font-size:.68rem;line-height:1.25}.answer-arrow{right:13px;top:50%;transform:translateY(-50%)}.question-footer{min-height:52px;padding:0 16px}.profile-grid{grid-template-columns:1fr 1fr}.results-hero{padding:52px 20px 40px;display:block}.results-hero h1{font-size:clamp(2.55rem,11.5vw,4.25rem);line-height:.94;letter-spacing:-.045em;max-width:100%;overflow-wrap:normal}.headline-score{margin-top:28px;text-align:left}.result-alert{margin:20px 20px 0}.result-section{padding:44px 20px}.result-section.two-col{grid-template-columns:1fr;gap:40px}.conversation-card{position:static;padding:26px 22px}.results-footer{padding:28px 20px 46px;flex-direction:column}.lead-dialog{padding:24px 18px}.lead-form{grid-template-columns:1fr}.field.full,.consent-row{grid-column:auto}}
@media(max-width:430px){.profile-grid{grid-template-columns:1fr}}
@media(max-width:430px) and (max-height:760px){.question-content{padding-top:12px}.question-content h1{font-size:1.42rem}.question-helper{font-size:.68rem}.answer-grid{gap:5px;padding-top:8px}.answer-card{min-height:57px;padding-top:8px;padding-bottom:8px}.answer-label{font-size:.85rem}.answer-detail{font-size:.63rem}.mobile-progress{padding-top:9px}.mobile-question-header{height:60px}.question-footer{min-height:46px}}
@media(max-width:800px) and (max-height:700px){.assessment-header{min-height:64px}.scope-card h1{font-size:clamp(2.2rem,10vw,3.3rem);margin:8px 0 10px}.scope-card>p{font-size:.84rem;line-height:1.45}.scope-options{margin:18px 0 14px;gap:7px}.scope-option{min-height:70px;padding:11px 13px}.scope-option small{font-size:.72rem}.privacy-note{margin-top:10px!important;font-size:.7rem!important}.mobile-question-header{height:58px}.mobile-progress{padding-top:7px}.question-content{padding:10px 14px 8px}.question-content h1{font-size:clamp(1.28rem,5.5vw,1.65rem);line-height:1.06}.question-helper{margin-top:6px;font-size:.66rem}.answer-grid{padding-top:8px;gap:5px}.answer-card{min-height:52px;padding:7px 34px 7px 12px}.answer-label{font-size:.82rem}.answer-detail{font-size:.61rem;line-height:1.18}.question-footer{min-height:44px}}
@media(max-width:380px) and (max-height:620px){.mobile-progress-meta span:first-child{max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.question-content h1{font-size:1.18rem}.question-helper{display:none}.answer-card{min-height:47px}.answer-detail{display:none}.answer-label{font-size:.84rem}.scope-card .eyebrow{font-size:.64rem}.scope-card h1{font-size:1.9rem;line-height:1;margin:6px 0 8px}.scope-card>p{font-size:.72rem;line-height:1.3}.scope-options{margin:10px 0;gap:5px}.scope-option{min-height:52px;padding:8px 11px}.scope-option small{display:none}.button-primary{min-height:46px}.privacy-note{font-size:.62rem!important;line-height:1.25!important}}

/* Production typography/accessibility pass */
/* 14px is the minimum size for meaningful text on desktop and mobile. */
.eyebrow,.header-title,.quiet-link,.scope-option small,.privacy-note,
.rail-section,.rail-footer,.question-meta,.question-helper,.answer-detail,
.question-footer,.headline-score span,.section-kicker,.profile-row span,
.profile-card small,.service-list span,.field label,.consent-row,.form-status,
.assessment-id,.mobile-question-header>span,.mobile-progress-meta,.results-footer,
.conversation-card small,.booking-privacy,.data-use-note,.data-save-status,small{
  font-size:14px!important;
}

/* Slightly calmer desktop question scale; mobile question sizing remains as approved. */
.question-content h1{font-size:clamp(2.25rem,3.55vw,3.75rem)}
.answer-label{font-size:1rem}

/* Data-use disclosure before the assessment */
.data-use-note{margin:14px 0 4px;padding:14px 16px;border-left:3px solid var(--gold);background:#f3eee6;line-height:1.5;color:var(--muted)}
.data-use-note strong{display:block;color:var(--text);margin-bottom:4px}
.data-use-note p{margin:0}
.data-use-note a{text-underline-offset:3px}

/* Intentional confirmation that a completed assessment has been recorded */
.data-save-status{max-width:1036px;margin:0 auto;padding:15px 18px;border:1px solid var(--line);border-left:3px solid var(--gold);background:#fff;display:grid;gap:4px;line-height:1.5}
.data-save-status strong{color:var(--text)}
.data-save-status span{color:var(--muted)}
.booking-privacy{margin-top:-8px!important;color:var(--muted)!important;line-height:1.45!important}

@media(max-width:800px){
  .question-content h1{font-size:clamp(1.55rem,6.2vw,2.15rem)}
  .question-helper,.answer-detail,.answer-label,.mobile-progress-meta,.mobile-question-header>span{font-size:14px!important}
  .answer-card{min-height:68px;padding-top:10px;padding-bottom:10px}
  .data-save-status{margin:0 20px}
}
@media(max-width:430px) and (max-height:760px){
  .question-content h1{font-size:1.42rem}
  .question-helper,.answer-detail,.answer-label{font-size:14px!important}
  .answer-card{min-height:61px}
}
@media(max-width:800px) and (max-height:700px){
  .question-content h1{font-size:clamp(1.28rem,5.5vw,1.65rem)}
  .question-helper,.answer-detail,.answer-label,.scope-option small,.privacy-note,.scope-card>p{font-size:14px!important}
  .answer-card{min-height:57px}
  .data-use-note{padding:11px 13px;margin-top:10px}
}
@media(max-width:380px) and (max-height:620px){
  .question-content h1{font-size:1.18rem}
  .answer-label,.scope-card .eyebrow,.scope-card>p,.privacy-note{font-size:14px!important}
}

/* Results delivery step */
.results-email-screen{min-height:100vh;background:linear-gradient(180deg,var(--black) 0 31%,var(--paper) 31% 100%)}
.results-email-card{width:min(700px,calc(100% - 40px));margin:58px auto 70px;background:#fff;border:1px solid var(--line);box-shadow:0 24px 70px rgba(0,0,0,.14);padding:34px}
.email-delivery-brand{display:flex;align-items:center;gap:14px;margin-bottom:28px}
.email-delivery-brand img{width:54px;height:54px;display:block}
.email-delivery-brand strong{display:block;font-size:16px;line-height:1.25}
.email-delivery-brand span{display:block;margin-top:3px;color:var(--muted);font-size:14px}
.results-email-card h1{margin:8px 0 14px;font-family:var(--serif);font-weight:500;font-size:clamp(2.4rem,5vw,3.55rem);line-height:1.02;letter-spacing:-.035em}
.results-email-card>p{margin:0;color:var(--muted);font-size:1rem;line-height:1.6;max-width:620px}
.results-email-form{display:grid;gap:12px;margin-top:24px}
.results-email-form .field input{font-size:1rem}
.results-email-note{margin-top:16px;padding:15px 16px;border-left:3px solid var(--gold);background:#f3eee6;color:var(--muted);font-size:14px;line-height:1.5}
.results-email-note strong{display:block;color:var(--text);margin-bottom:4px}
.results-email-note p{margin:0}
.results-email-note a{text-underline-offset:3px}
.results-email-back{display:block;margin:20px auto 0}
.result-email-status{max-width:1036px;margin:12px auto 0;padding:15px 18px;border:1px solid var(--line);background:#fff;display:grid;gap:4px;line-height:1.5;font-size:14px}
.result-email-status.success{border-left:3px solid var(--gold)}
.result-email-status.error{border-left:3px solid #9c2d23}
.result-email-status strong{color:var(--text)}
.result-email-status span{color:var(--muted)}
.result-email-status .text-button{justify-self:start;margin-top:4px}

@media(max-width:800px){
  .results-email-screen{background:linear-gradient(180deg,var(--black) 0 22%,var(--paper) 22% 100%)}
  .results-email-card{width:calc(100% - 24px);margin:24px auto 36px;padding:24px 20px}
  .results-email-card h1{font-size:clamp(2.15rem,10vw,3rem)}
  .result-email-status{margin:12px 20px 0}
}


/* Header/brand alignment with the current DrGylesMorrison.com wordmark */
@media(max-width:380px){
  .assessment-header{padding-left:14px;padding-right:14px;gap:9px}
  .assessment-header .brand{min-width:124px}
  .assessment-header .brand-name{font-size:1rem}
  .assessment-header .brand-role{font-size:14px}
  .assessment-header .header-title{font-size:15px!important}
  .mobile-question-header .brand{min-width:124px}
  .mobile-question-header .brand-name{font-size:1rem}
  .mobile-question-header .brand-role{font-size:14px}
}


/* =========================================================
   v1.8 — DrGylesMorrison.com header brand lockup parity
   Based on the approved global website header:
   Playfair Display name, uppercase white; Inter role in gold;
   40px x 2px gold underline; #090909 header treatment.
   ========================================================= */
.assessment-header.dark{
  background:rgba(9,9,9,.97);
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#fff;
}
.assessment-header{
  min-height:78px;
}
.brand{
  color:#fff;
  text-decoration:none;
  display:inline-flex;
  align-items:flex-start;
  min-width:210px;
}
.brand-lockup{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1;
  flex:0 0 auto;
}
.brand-name{
  font-family:"Playfair Display",Georgia,serif;
  font-size:18px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.035em;
  line-height:1;
  color:#fff;
  white-space:nowrap;
}
.brand-role{
  margin-top:6px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#ba8d4a;
  font-size:14px!important;
  font-weight:400;
  letter-spacing:.18em;
  text-transform:uppercase;
  line-height:1;
  white-space:nowrap;
}
.brand-line{
  display:block;
  width:40px;
  height:2px;
  background:#ba8d4a;
  margin-top:7px;
  flex:0 0 auto;
}
.header-title{
  color:#e8e5e0;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:26px!important;
  font-weight:700;
  letter-spacing:.02em;
  line-height:1.12;
  white-space:nowrap;
}

/* The question rail uses the same brand lockup, while retaining its own layout. */
.question-rail .brand{
  align-self:flex-start;
}
.question-rail .brand-name{
  font-size:18px;
}

/* The mobile question header uses the same logo treatment as the main mobile header. */
.mobile-question-header{
  background:rgba(9,9,9,.97);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.mobile-question-header .brand{
  align-items:flex-start;
}

@media(max-width:800px){
  .assessment-header{
    min-height:68px;
    padding:0 18px;
    gap:12px;
  }
  .brand{
    min-width:132px;
  }
  .brand-name{
    font-size:15px;
  }
  .brand-role{
    margin-top:5px;
    font-size:14px!important;
    letter-spacing:.18em;
  }
  .brand-line{
    width:40px;
    height:2px;
    margin-top:6px;
  }
  .header-title{
    font-size:16px!important;
  }
  .mobile-question-header{
    min-height:68px;
    height:auto;
    padding:8px 16px;
  }
  .mobile-question-header .brand-name{
    font-size:15px;
  }
  .mobile-question-header .brand-role{
    font-size:14px!important;
  }
}

@media(max-width:380px){
  .assessment-header{
    padding-left:14px;
    padding-right:14px;
    gap:9px;
  }
  .assessment-header .brand,
  .mobile-question-header .brand{
    min-width:120px;
  }
  .assessment-header .brand-name,
  .mobile-question-header .brand-name{
    font-size:14px;
  }
  .assessment-header .brand-role,
  .mobile-question-header .brand-role{
    font-size:14px!important;
    letter-spacing:.12em;
  }
  .assessment-header .header-title{
    font-size:15px!important;
  }
}


/* =========================================================
   v1.9 — mobile Pulse Check title wrapping
   Desktop remains one line. On mobile, force:
   Clinical UX
   Pulse Check
   ========================================================= */
.header-title{
  display:flex;
  flex-direction:row;
  align-items:baseline;
  gap:.28em;
}
.header-title-line{
  display:inline;
  white-space:nowrap;
}

@media(max-width:800px){
  .assessment-header .header-title{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:center;
    gap:1px;
    flex:0 0 auto;
    min-width:88px;
    text-align:right;
    line-height:1.08;
    white-space:normal;
  }
  .assessment-header .header-title-line{
    display:block;
    white-space:nowrap;
  }
}

/* Give the two header elements predictable room on very narrow phones. */
@media(max-width:380px){
  .assessment-header .header-title{
    min-width:82px;
  }
}
