.primary-nav .account-open,.footer-top .account-open{border:0;background:none;color:#d9e1ef;font-weight:700;text-align:left;padding:0;white-space:nowrap;transition:color .25s}
.primary-nav .account-open{font-size:.88rem;min-height:44px;display:inline-flex;align-items:center}
.footer-top .account-open{font-size:.83rem;min-height:44px;display:inline-flex;align-items:center}
.primary-nav .account-open:hover,.footer-top .account-open:hover,.account-open:focus-visible{color:var(--gold-light)}
.footer-top img{width:170px;height:170px;object-fit:contain}
.account-dialog{position:fixed;inset:0;margin:auto;width:min(1120px,calc(100vw - 36px));height:min(810px,calc(100dvh - 36px));max-width:none;max-height:none;padding:0;border:1px solid rgba(224,178,79,.7);border-radius:24px;background:#081832;color:var(--cream);box-shadow:0 36px 110px rgba(0,0,0,.72);overflow:auto;overscroll-behavior:contain}
.account-dialog::backdrop{background:rgba(2,8,22,.79);backdrop-filter:blur(15px)}
.account-dialog[open]{animation:account-enter .48s var(--ease) both}
.account-dialog-chrome{position:sticky;top:0;z-index:8;display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:.5rem 1.4rem;background:linear-gradient(90deg,#091a36,#11274a);border-bottom:1px solid rgba(224,178,79,.32);font-size:.67rem;font-weight:800;letter-spacing:.17em;color:var(--gold-light)}
.account-dialog-chrome span{display:flex;align-items:center;gap:.8rem}
.account-dialog-chrome button{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:1px solid rgba(225,190,110,.55);background:rgba(4,15,35,.7);color:var(--cream);font-size:1.7rem;line-height:1;transition:transform .3s,background .3s}
.account-dialog-chrome button:hover{transform:rotate(90deg);background:rgba(222,171,65,.22)}
.account-modal-layout{min-height:calc(100% - 58px);padding:0;gap:0;grid-template-columns:.85fr 1.15fr;background:radial-gradient(circle at 17% 41%,rgba(43,105,172,.39),transparent 48%),#081832}
.account-modal-layout .account-intro{min-height:690px;padding:3rem 2.7rem;border-right:1px solid rgba(227,184,97,.26)}
.account-modal-layout .account-intro h2{position:relative;z-index:2;font-size:clamp(3.5rem,5vw,5.8rem)}
.account-modal-layout .account-intro img{height:60%;right:-8%;bottom:-20%;opacity:.45}
.account-modal-layout .account-card{align-self:center;margin:1.5rem;border-radius:17px;max-height:none}
.account-modal-layout .account-card h2{font-size:clamp(2.25rem,3vw,3rem)}
.account-modal-layout .account-form{margin-top:1rem}
.account-modal-layout .account-form label{margin-bottom:.75rem}
.account-modal-layout .account-form input{padding:.7rem .85rem}
.account-modal-layout .auth-status{min-height:1.4em}
.account-dialog .account-benefits div{color:#c3d1e5}
.account-dialog .request-list{max-height:270px;overflow:auto}
.account-disclaimer a{min-width:48px;min-height:48px;justify-content:center}
.profile-editor{margin:1.2rem 0 1.5rem;border:1px solid rgba(224,178,79,.42);border-radius:7px;background:radial-gradient(circle at 85% 0,rgba(244,114,208,.12),transparent 42%),linear-gradient(145deg,rgba(27,67,112,.7),rgba(7,23,49,.9));overflow:hidden}
.profile-editor summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:78px;padding:1rem 1.2rem;list-style:none;cursor:pointer;transition:background .3s}
.profile-editor summary::-webkit-details-marker{display:none}
.profile-editor summary:hover{background:rgba(224,178,79,.1)}
.profile-editor summary:focus-visible{outline:2px solid var(--gold-light);outline-offset:-4px}
.profile-editor summary span:first-child{display:grid;gap:.2rem}
.profile-editor summary small{color:var(--gold-light);font-weight:800;letter-spacing:.14em}
.profile-editor summary strong{color:var(--cream);font-family:var(--display);font-size:1.55rem;font-weight:600}
.profile-editor summary span:last-child{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid rgba(224,178,79,.6);border-radius:50%;color:var(--gold-light);transition:transform .35s}
.profile-editor[open] summary span:last-child{transform:rotate(90deg)}
.profile-editor-body{padding:0 1.2rem 1.2rem;border-top:1px solid rgba(224,178,79,.25)}
.profile-editor-body .account-form{margin-top:1rem}
.profile-editor-body .check{margin:1rem 0;align-items:flex-start}
.profile-editor-body>p:last-child a{color:var(--gold-light)}
@keyframes account-enter{from{opacity:0;transform:translateY(36px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:1000px){.primary-nav .account-open{font-size:.9rem;padding:.6rem}.account-modal-layout{grid-template-columns:1fr}.account-modal-layout .account-intro{min-height:230px;padding:2rem 2rem 1.5rem;border-right:0;border-bottom:1px solid rgba(227,184,97,.26)}.account-modal-layout .account-intro h2{font-size:3.5rem;max-width:650px;margin-bottom:.5rem}.account-modal-layout .account-intro p:not(.eyebrow){max-width:590px}.account-modal-layout .account-benefits{display:none}.account-modal-layout .account-intro img{height:250px;right:-3%;bottom:-65%;opacity:.4}.account-modal-layout .account-card{margin:1rem 2rem 2rem}}
@media(max-width:700px){.account-dialog{width:100vw;height:100dvh;border:0;border-radius:0}.account-dialog-chrome{padding:.45rem 1rem}.account-modal-layout .account-intro{min-height:165px;padding:1.5rem 1.25rem;overflow:hidden}.account-modal-layout .account-intro h2{font-size:2.8rem;margin-bottom:.3rem}.account-modal-layout .account-intro p:not(.eyebrow){display:none}.account-modal-layout .account-intro img{height:190px;right:-2%;bottom:-74%;opacity:.5}.account-modal-layout .account-card{margin:1rem 1rem 2rem;padding:1.25rem}.account-modal-layout .account-card h2{font-size:2.4rem}.account-dialog[open]{animation-duration:.28s}}
@media(prefers-reduced-motion:reduce){.account-dialog[open]{animation:none}}
body.motion-off .account-dialog[open]{animation:none}
/* 2026-10-24: one email, one code. The password forms fold away under "Prefer a password?". */
.code-area{margin-bottom:1rem}
.code-area h2{font-family:var(--display);font-size:clamp(1.6rem,4vw,2.2rem);margin:.2rem 0 .4rem}
.code-area p{color:var(--muted)}
.code-area #codeInput{font-size:1.5rem;letter-spacing:.45em;text-align:center;max-width:260px}
.password-fold{margin-top:1.2rem;border-top:1px solid var(--line-cool);padding-top:.8rem}
.password-fold>summary{cursor:pointer;color:var(--muted);font-size:.9rem;list-style:none}
.password-fold>summary::-webkit-details-marker{display:none}
.password-fold>summary::after{content:' ↓'}
.password-fold[open]>summary::after{content:' ↑'}
.password-fold[open]>summary{margin-bottom:1rem}
/* 2026-10-24: your journey, inside your account */
.journey-card{display:grid;gap:.5rem}
.journey-steps{list-style:none;display:flex;flex-wrap:wrap;gap:.3rem;margin:.3rem 0;padding:0}
.journey-steps li{font-size:.75rem;padding:.25rem .55rem;border:1px solid var(--line-cool);border-radius:99px;color:var(--muted)}
.journey-steps li.is-done{border-color:rgba(223,173,67,.4);color:var(--cream)}
.journey-steps li.is-current{background:var(--gold);border-color:var(--gold);color:var(--ink);font-weight:700}
.journey-explains,.journey-call{margin:0;color:var(--cream)}
.journey-intake,.journey-project{border-top:1px solid var(--line-cool);padding-top:.7rem;margin-top:.3rem}
.journey-intake h4,.journey-project h4{margin:0 0 .4rem;font-size:1rem}
.journey-question{display:grid;grid-template-columns:1fr auto;gap:.4rem .6rem;align-items:end;margin:.6rem 0}
.journey-question label{display:flex;flex-direction:column;gap:.3rem;font-size:.88rem;font-weight:600}
.journey-question input,.journey-question select,.journey-question textarea{width:100%;box-sizing:border-box;padding:.55rem .7rem;border:1px solid var(--line-cool);border-radius:7px;background:rgba(6,17,39,.7);color:var(--cream);font:inherit;font-weight:400}
.journey-question.is-answered label{opacity:.75}
.journey-question .journey-note{grid-column:1/-1}
.journey-note{color:var(--muted);font-size:.82rem;margin:0}
.journey-files{margin:.3rem 0 0;padding-left:1.1rem}
.journey-files a{color:var(--gold-light)}
.journey-draft{background:none;border:1px solid var(--gold);border-radius:7px;color:var(--gold-light);font:inherit;padding:.35rem .7rem;cursor:pointer}
.journey-draft:disabled{opacity:.6;cursor:wait}
.draft-viewer{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;background:rgba(6,17,39,.94)}
.draft-viewer-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.6rem 1rem;color:var(--cream);font-size:.9rem}
.draft-viewer-bar button{background:var(--gold);color:var(--ink);border:0;border-radius:7px;padding:.45rem .9rem;font:inherit;font-weight:700;cursor:pointer}
.draft-viewer iframe{flex:1;width:100%;border:0;background:#fff}
@media (max-width:600px){.journey-question{grid-template-columns:1fr}}

.journey-content-body{white-space:pre-wrap;overflow-wrap:anywhere}.journey-content-piece{padding:1rem 0;border-top:1px solid currentColor}.journey-content-piece h5{font-size:1rem;margin:.25rem 0}

.journey-report-body{white-space:pre-wrap;overflow-wrap:anywhere;padding:1rem 0}.journey-report summary{cursor:pointer;font-weight:600;padding:.75rem 0}
