/* A personal, self-paced return to strength. Desktop cinema, phone-first reading. */
#support-dialog{width:min(1160px,calc(100vw - 40px));max-width:1160px;height:min(780px,calc(100dvh - 36px));max-height:calc(100dvh - 36px);padding:0;text-align:left;overflow:hidden;background:#071b21;border:1px solid #e5c09365;box-shadow:0 32px 140px #000c}
#support-dialog[open]{display:block}
#support-dialog .dialog-close{width:44px;height:44px;right:14px;top:12px;border:1px solid #e5c09344;border-radius:50%;background:#06171ec7;backdrop-filter:blur(12px);font-size:29px;z-index:10}
.support-shell{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;width:100%;height:100%}
.support-visual{position:absolute;inset:0;z-index:-1;overflow:hidden;touch-action:pan-y}
#support-dialog .support-illustration{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:72% center;margin:0;border:0;border-radius:0;animation:support-drift 20s ease-in-out infinite alternate;transform-origin:70% center}
.support-visual-shade{position:absolute;inset:0;background:linear-gradient(90deg,#06191cfc 0%,#06191cf2 24%,#06191cdd 39%,#06191c90 55%,#06191c14 80%),linear-gradient(0deg,#06191cf5,transparent 45%)}
.support-visual-caption{position:absolute;bottom:47px;left:58%;right:35px;z-index:2;text-shadow:0 3px 20px #000c}
.support-symbol{font-size:28px;color:var(--gold);display:block;margin-bottom:18px;animation:breathe 4s ease-in-out infinite}
.support-strength{font-family:var(--serif);font-style:italic;font-size:29px;line-height:1.4;color:#f4dfba;text-wrap:balance}
.support-art-note{display:block;font-size:7px;letter-spacing:.2em;line-height:1.7;color:#c0c8b9;margin-top:17px}
.support-orbit{position:absolute;right:0;bottom:0;width:350px;height:350px;transform:translate(30%,40%);border:1px solid #e5c09325;border-radius:50%;box-shadow:0 0 100px #e5c09310,inset 0 0 80px #e5c09308;pointer-events:none}
.support-header{grid-column:1;display:grid;grid-template-columns:1fr auto;gap:10px 16px;padding:36px 15px 14px 42px;align-items:center;position:relative;z-index:2}
#support-dialog .support-header .eyebrow{font-size:8px;letter-spacing:.17em;margin:0;color:#c7b895}
.support-count{font-size:9px;color:#dec49c;letter-spacing:.13em;font-variant-numeric:tabular-nums}
.support-progress{grid-column:1/-1;display:flex;gap:7px}
.support-progress button{position:relative;flex:1;height:27px;min-width:0;padding:10px 0}
.support-progress button:before{content:'';display:block;width:100%;height:2px;background:#e5c09330;transition:background .4s,box-shadow .4s}
.support-progress button.complete:before{background:#e5c0938c}.support-progress button.current:before{background:#f4d29e;box-shadow:0 0 14px #f4d29e90}
.support-scroll{grid-column:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 17px 24px 42px;scrollbar-width:thin;scrollbar-color:#bea57966 transparent;position:relative;z-index:2}
.support-kicker{font-size:8px;letter-spacing:.15em;color:var(--gold);line-height:1.9;margin-bottom:18px}
#support-dialog h2{font-size:clamp(38px,4.15vw,58px);line-height:1.08;letter-spacing:-.045em;margin:0;text-wrap:balance}
#support-dialog h2 em{color:#f1cc92;text-shadow:0 0 34px #e5c0931f}
.support-story{font-size:14px;line-height:1.85;color:#d9dfd4;margin-top:23px;text-wrap:pretty}
.support-facts{display:flex;gap:25px;margin-top:26px;padding:19px 0 21px;border-top:1px solid #d7bb8d36;border-bottom:1px solid #d7bb8d36}
.support-facts[hidden]{display:none}.support-facts>div{flex:1;min-width:0}.support-facts strong{display:block;font-family:var(--serif);font-weight:400;font-size:clamp(20px,2.35vw,33px);line-height:1.25;color:var(--gold);letter-spacing:-.035em}.support-facts span{display:block;font-size:10px;line-height:1.65;color:#b5c2b4;margin-top:8px;max-width:230px}
.support-insight{font-family:var(--serif);font-size:21px;line-height:1.5;color:#e9dfc9;margin-top:24px;text-wrap:pretty}
.support-footer{grid-column:1;padding:16px 17px 28px 42px;z-index:3;border-top:1px solid #d7bb8d25}
.support-navigation{display:flex;gap:12px;align-items:stretch}.support-navigation #support-previous{flex:0 0 46px;min-height:49px;border:1px solid #d7bb8d50;border-radius:2px;font-size:22px;color:var(--gold)}.support-navigation #support-previous:disabled{opacity:.23;cursor:default}
.support-navigation .primary-link{flex:1;min-width:0;min-height:49px;margin:0;padding:14px 17px;font-size:11px;gap:13px;background:#d5b58716;text-align:left;line-height:1.5}.support-navigation .primary-link:hover{background:#d5b5872a}
.support-footer-note{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;min-height:22px;font-size:9px;color:#9eb3a7;line-height:1.5}.support-footer-note button{font-size:10px;color:#d7c7a7;padding:5px 0;min-height:28px}
.support-next-step{border-top:1px solid #e5c09340;margin-top:26px;padding-top:22px}.support-next-step[hidden]{display:none}.step-heading{font-size:8px;letter-spacing:.14em;color:#d4be96;line-height:1.8;margin-bottom:13px}.step-choices{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.step-choices button{font-size:10px;line-height:1.5;padding:10px 12px;min-height:43px;border:1px solid #dec6a23c;border-radius:24px;color:#e3dfcf;background:#061b2160}.step-choices button[aria-pressed=true]{border-color:#f1ca90;background:#d5b58725;color:#f3d3a6}.support-next-step label{display:block;font-family:var(--serif);font-size:22px;color:#e5c093;margin-bottom:12px}#support-step{display:block;width:100%;resize:vertical;min-height:82px;max-height:160px;border:1px solid #dec6a24a;border-radius:3px;background:#06171cd9;padding:13px 14px;font:14px/1.7 var(--sans);color:var(--cream);outline-offset:3px}#support-step::placeholder{color:#96a89e}#support-step:focus-visible{outline:2px solid var(--gold)}#support-save-step{margin:15px 0 0;min-height:46px;padding:13px 17px;font-size:11px;gap:25px}.support-step-status{font-size:11px;line-height:1.7;color:#d7c7a3;margin-top:13px;min-height:18px}.step-committed .support-next-step{border-color:#f1cc92}.step-committed .support-step-status{color:#e9d6ac}.step-committed .support-orbit{animation:support-bloom 1.8s ease-out both}
@keyframes support-drift{from{transform:scale(1.01)}to{transform:scale(1.075)}}
@keyframes support-bloom{0%{box-shadow:0 0 0 #e5c09300;opacity:.3}60%{box-shadow:0 0 160px #e5c09360,inset 0 0 110px #e5c09330;opacity:1}100%{box-shadow:0 0 100px #e5c09320,inset 0 0 80px #e5c09310;opacity:1}}
@media(min-width:761px) and (max-height:760px){.support-header{padding-top:23px}.support-scroll{padding-top:9px}.support-kicker{margin-bottom:13px}#support-dialog h2{font-size:43px}.support-story{font-size:13px;margin-top:18px}.support-facts{margin-top:20px;padding:14px 0 16px}.support-facts strong{font-size:27px}.support-insight{font-size:19px;margin-top:18px}.support-footer{padding-top:12px;padding-bottom:17px}.support-visual-caption{bottom:37px}}
@media(max-width:760px){
  #support-dialog{position:fixed;inset:0;margin:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;background:#091d23}
  #support-dialog .dialog-close{right:12px;top:calc(8px + env(safe-area-inset-top));width:44px;height:44px;border:0;background:#1430399c;font-size:28px}
  .support-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto}
  .support-header{grid-column:1;grid-row:1;gap:1px 12px;padding:calc(15px + env(safe-area-inset-top)) 70px 4px 22px;min-height:72px}
  #support-dialog .support-header .eyebrow{font-size:7px;letter-spacing:.13em}.support-count{font-size:8px;letter-spacing:.08em}
  .support-progress{gap:6px}.support-progress button{height:28px;padding:13px 0}.support-progress button:before{height:2px}
  .support-visual{grid-column:1;grid-row:2;position:relative;inset:auto;z-index:0;height:clamp(170px,27svh,245px);width:100%;border-bottom:1px solid #d7bb8d25}
  #support-dialog .support-illustration{object-position:70% 46%;animation-duration:18s}
  .support-visual-shade{background:linear-gradient(0deg,#091d23eb,transparent 50%),linear-gradient(90deg,#06191c20,transparent 60%)}
  .support-visual-caption{bottom:13px;left:22px;right:22px;display:flex;align-items:center;gap:10px}.support-symbol{display:inline;font-size:15px;margin:0;flex-shrink:0}.support-strength{font-size:18px;line-height:1.35;text-shadow:0 2px 14px #000}.support-art-note{display:none}.support-orbit{display:none}
  .support-scroll{grid-row:3;grid-column:1;padding:23px 24px 25px;scroll-padding:20px}
  .support-kicker{font-size:7px;letter-spacing:.12em;line-height:1.8;margin-bottom:13px;max-width:320px}
  #support-dialog h2{font-size:clamp(32px,9.2vw,43px);line-height:1.08;letter-spacing:-.047em}
  .support-story{font-size:13px;line-height:1.8;margin-top:17px}.support-facts{gap:17px;padding:15px 0;margin-top:20px}.support-facts strong{font-size:26px}.support-facts span{font-size:10px;line-height:1.65;margin-top:6px}.support-insight{font-size:19px;line-height:1.5;margin-top:19px}
  .support-footer{grid-row:4;grid-column:1;padding:12px 20px calc(9px + env(safe-area-inset-bottom));background:#091d23f5;box-shadow:0 -10px 26px #091d2355;border-top:1px solid #d7bb8d30}
  .support-navigation{gap:10px}.support-navigation #support-previous{flex-basis:45px;min-height:48px}.support-navigation .primary-link{font-size:11px;padding:12px 15px;min-height:48px;margin:0;background:#d5b58717}.support-footer-note{margin-top:6px;font-size:9px;min-height:20px}.support-footer-note button{font-size:10px;padding:7px 0;min-height:32px}
  #support-dialog[data-frame="5"] .support-visual{height:clamp(140px,21svh,185px)}.support-next-step{margin-top:22px;padding-top:19px}.step-choices{gap:7px;margin-bottom:18px}.step-choices button{font-size:10px;min-height:44px;padding:10px 11px}#support-step{font-size:16px;line-height:1.65;min-height:92px}.support-next-step label{font-size:22px}.support-step-status{font-size:11px}#support-save-step{min-height:46px;margin-top:13px}
  .topbar{padding-top:env(safe-area-inset-top);height:calc(76px + env(safe-area-inset-top))}.controls{height:calc(60px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.controls>button,.control-buttons button,.topbar .support-trigger{min-height:44px}.control-buttons button{min-width:34px}.control-buttons{gap:6px}.control-buttons #motion-toggle{min-width:34px}.art-open{min-height:44px}.scene-foot{bottom:calc(84px + env(safe-area-inset-bottom))}.hero-bottom{bottom:calc(92px + env(safe-area-inset-bottom))}.chapter{padding-bottom:calc(132px + env(safe-area-inset-bottom));padding-top:calc(111px + env(safe-area-inset-top))}.closing-scene{padding-bottom:calc(130px + env(safe-area-inset-bottom))}.closing-actions .primary-link{font-size:12px;min-height:52px}
}
@media(max-width:370px){.support-header{padding-left:18px;padding-right:67px}#support-dialog .support-header .eyebrow{font-size:6px}.support-scroll{padding-left:20px;padding-right:20px}.support-visual-caption{left:20px;right:20px}.support-strength{font-size:17px}.support-facts strong{font-size:23px}.support-navigation .primary-link{font-size:10px;padding:12px}.support-footer{padding-left:16px;padding-right:16px}.step-choices button{font-size:9px;padding:10px}.support-footer-note{font-size:8px}}
@media(max-width:760px) and (max-height:710px){.support-visual{height:170px}.support-header{min-height:65px;padding-top:11px}.support-scroll{padding-top:18px}.support-kicker{margin-bottom:10px}.support-footer{padding-top:10px}.support-footer-note{margin-top:4px}#support-dialog[data-frame="5"] .support-visual{height:135px}}
@media(max-height:500px) and (orientation:landscape){#support-dialog{height:100dvh;max-height:100dvh;width:100vw;max-width:100vw;border:0;border-radius:0;margin:0;inset:0}.support-shell{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);grid-template-rows:auto minmax(0,1fr) auto}.support-visual{position:absolute;inset:0;width:100%;height:100%!important;z-index:-1;border:0}.support-visual-shade{background:linear-gradient(90deg,#06191cfb,#06191ce8 35%,#06191c9c 57%,#06191c15 80%)}.support-header{grid-row:1;min-height:0;padding:12px 15px 0 24px}.support-scroll{grid-row:2;padding:10px 15px 18px 24px}.support-footer{grid-row:3;padding:8px 15px 8px 24px;background:transparent}.support-footer-note{display:none}.support-visual-caption{left:60%;bottom:24px}.support-strength{font-size:22px}#support-dialog h2{font-size:35px}.support-story{font-size:12px}.support-kicker{font-size:7px}.support-navigation .primary-link{min-height:44px}.support-navigation #support-previous{min-height:44px}.support-facts strong{font-size:24px}}
@media(prefers-reduced-motion:reduce){#support-dialog .support-illustration,.support-symbol,.step-committed .support-orbit{animation:none!important}}
@media(max-width:760px) and (orientation:portrait){
  .support-header{padding-top:calc(13px + env(safe-area-inset-top));padding-bottom:0;min-height:80px}
  #support-dialog .support-header .eyebrow{font-size:8px;letter-spacing:.08em}.support-count{font-size:10px}
  .support-progress button{height:44px;padding:21px 0}.support-kicker{font-size:9px;letter-spacing:.08em}.support-story{font-size:14px}.support-facts span{font-size:11px}.support-footer-note button{min-height:44px}
  .control-buttons button,.control-buttons #motion-toggle{min-width:44px}.control-buttons{flex-shrink:0;gap:2px}.controls>button{flex-shrink:0}.scene-status{min-width:0;margin-left:0}#scene-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .support-visual,#support-dialog[data-frame="5"] .support-visual{height:auto;aspect-ratio:1672 / 941}
  #support-dialog .support-illustration{object-position:center;transform-origin:70% 10%;animation-name:support-phone-drift}
}
@keyframes support-phone-drift{from{transform:scale(1.005)}to{transform:scale(1.035)}}
body.dialog-open .scene-visual img,body.dialog-open .light-wash{animation-play-state:paused}
@media(max-width:760px) and (orientation:portrait){
  #support-dialog{height:var(--support-height,100dvh);max-height:var(--support-height,100dvh);top:var(--support-top,0px);bottom:auto}
  #support-dialog.is-typing .support-visual{height:90px;aspect-ratio:auto}
  #support-dialog.is-typing .support-illustration{object-fit:contain}
  #support-dialog.is-typing .support-visual-caption{display:none}
}
@media(max-height:500px) and (orientation:landscape){#support-dialog .support-illustration{object-position:70% 12%;transform-origin:70% 10%;animation-name:support-phone-drift}.support-header,.support-scroll,.support-footer{padding-left:max(24px,env(safe-area-inset-left))}#support-dialog .dialog-close{right:max(12px,env(safe-area-inset-right))}}
