:root{color-scheme:dark;font-family:'Source Sans 3','Segoe UI',sans-serif;background:#0c0c11;color:#f6f0e8;--gold:#e6c89a;--muted:#bab8c4;--ink:#0b0c12;--line:rgba(231,215,191,.22)}
*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:2px solid #f0d3a1;outline-offset:5px}input:focus-visible{outline:2px solid #f0d3a1;outline-offset:4px}::selection{background:#8e6eaa;color:white}
#forge{min-height:100svh;isolation:isolate;position:relative;display:flex;flex-direction:column;overflow:hidden;background:#0c0c11;--art-x:0px;--art-y:0px;--scene-hue:272}
.world{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 77% 38%,#44324c,transparent 55%),#0c0c11}
.scene-parallax{position:absolute;inset:-2%;transform:translate3d(var(--art-x),var(--art-y),0);transition:transform 900ms cubic-bezier(.15,.7,.2,1);will-change:transform}
.scene{position:absolute;width:100%;height:100%;object-fit:cover;object-position:70% 30%;opacity:0;transition:opacity 850ms ease,filter 900ms ease;filter:saturate(.9) brightness(.82);transform:scale(1.02)}
.scene.is-visible{opacity:1;animation:scene-awake 1.3s cubic-bezier(.16,1,.3,1) both}
.world-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,10,15,.88) 0%,rgba(9,10,15,.58) 31%,rgba(9,10,15,.12) 62%,rgba(9,10,15,.06)),linear-gradient(0deg,#0d0d15 0%,rgba(10,10,16,.84) 10%,transparent 35%,transparent 80%,rgba(8,8,12,.6))}
.world-grain{position:absolute;inset:0;opacity:.035;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='.91' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.6' filter='url(%23n)'/%3E%3C/svg%3E")}
.world-bloom{position:absolute;width:28%;height:40%;right:2%;top:24%;background:radial-gradient(ellipse,hsla(var(--scene-hue),85%,70%,.12),transparent 68%);mix-blend-mode:screen;filter:blur(25px);animation:bloom 7s ease-in-out infinite alternate}
#particles{position:absolute;inset:0;width:100%;height:100%;mix-blend-mode:screen}
.light-sweep{position:absolute;inset:0;opacity:0;background:linear-gradient(105deg,transparent 30%,rgba(223,197,255,.17) 49%,transparent 65%);transform:translateX(-100%)}
.scene-shifting .light-sweep{animation:sweep 650ms ease-out both}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:24px 4.5%;height:94px;position:relative}
.wordmark{font:600 35px/1 'Lora',Georgia,serif;letter-spacing:6px;color:#f6efe4;text-decoration:none;white-space:nowrap}.brand-dot{color:var(--gold);margin-left:-3px}
.header-title{font-size:11px;letter-spacing:3.6px;color:#d5ced3;margin-right:auto;padding-left:30px;border-left:1px solid var(--line)}
.header-actions{display:flex;align-items:center;gap:27px}.prototype-label{font-size:10px;letter-spacing:2px;color:#d3bf9c;padding:7px 10px;border:1px solid rgba(230,200,154,.28);border-radius:3px;white-space:nowrap}

#stage{position:relative;flex:1;padding:clamp(24px,4.5vh,54px) 4.5% 34px;width:min(760px,57%);z-index:2;display:flex;flex-direction:column;justify-content:center;min-height:515px}
.chapter{display:flex;align-items:center;gap:15px;margin-bottom:25px;font-size:11px;letter-spacing:2.8px;font-weight:600;color:#dcd3e3}
#step-count{font-variant-numeric:tabular-nums;color:var(--gold);letter-spacing:1px}.chapter-line{width:35px;height:1px;background:var(--gold);opacity:.6}#step-label{text-transform:uppercase}
.step-title{font:400 clamp(64px,6.7vw,104px)/.91 'Lora',Georgia,serif;letter-spacing:-3px;margin:0 0 23px;max-width:690px;text-shadow:0 5px 40px rgba(0,0,0,.35)}
.step-title span{display:block;font-style:italic;font-weight:400;color:var(--gold)}
.step-description{font-size:17px;line-height:1.5;color:#c8c5cf;margin:0 0 31px;max-width:530px}
.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;perspective:900px}
.choice{position:relative;isolation:isolate;min-width:0;min-height:216px;padding:20px 17px;text-align:left;display:flex;align-items:flex-start;flex-direction:column;justify-content:flex-end;overflow:hidden;background:linear-gradient(135deg,rgba(40,34,49,.8),rgba(18,18,27,.9));border:1px solid rgba(238,224,203,.28);border-radius:6px;box-shadow:0 10px 35px rgba(0,0,0,.18);transition:transform 270ms cubic-bezier(.16,1,.3,1),border-color 220ms,box-shadow 220ms}
.choice::before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(13,12,20,.98),rgba(13,12,20,.78) 34%,rgba(13,12,20,.07));z-index:-1}
.choice::after{content:'';position:absolute;width:80px;height:1px;top:0;left:-80px;background:linear-gradient(90deg,transparent,#fff0cf,transparent);opacity:0;transition:left 500ms ease,opacity 350ms}
.choice:hover,.choice:focus-visible{border-color:#e9c792;box-shadow:0 0 30px rgba(223,185,255,.14),0 17px 35px rgba(0,0,0,.3);transform:translateY(-7px)}
.choice:hover::after,.choice:focus-visible::after{left:100%;opacity:1}.choice.selected,.choice[aria-pressed=true]{border-color:var(--gold);box-shadow:inset 0 0 0 1px rgba(238,208,154,.35),0 0 30px rgba(224,187,255,.11)}
.choice-art{position:absolute;inset:0;z-index:-2;background-size:auto 135%;background-position:75% 20%;transition:transform 800ms ease,filter 600ms ease;filter:saturate(.65) brightness(.82);opacity:.9}
.choice:hover .choice-art,.choice:focus-visible .choice-art{transform:scale(1.1);filter:saturate(1.1) brightness(1.05)}
.choice-index{position:absolute;top:14px;left:16px;color:#e7d3ae;font-size:11px;letter-spacing:1px;font-variant-numeric:tabular-nums;text-shadow:0 1px 10px #000}
.choice-type{font-size:10px;font-weight:600;letter-spacing:1.8px;text-transform:uppercase;color:#e5cb9f;line-height:1.5;margin-bottom:8px}
.choice-label{font-size:23px;font-weight:500;line-height:1.12;letter-spacing:-.6px;overflow-wrap:anywhere}
.choice-description{display:block;font-size:13px;line-height:1.45;color:#c6c1cf;margin-top:10px;max-width:175px}
.choices:not(:has(.choice-art)) .choice{min-height:182px;background:linear-gradient(145deg,rgba(60,43,74,.61),rgba(17,18,27,.9))}
.choices:not(:has(.choice-art)) .choice::before{background:radial-gradient(ellipse at 80% 0,rgba(189,141,246,.14),transparent 65%)}
.hero-caption{position:absolute;z-index:1;right:6%;bottom:157px;display:flex;flex-direction:column;align-items:flex-end;text-align:right;text-shadow:0 2px 15px #000;pointer-events:none;max-width:30%}
.hero-caption::before{content:'';height:1px;width:65px;background:linear-gradient(90deg,transparent,var(--gold));margin-bottom:17px}.hero-caption-label{font-size:9px;letter-spacing:3px;color:#e6d4b8;margin-bottom:7px}#hero-class{font:400 37px/1.1 'Lora',Georgia,serif;letter-spacing:1px}#hero-role{font-size:11px;letter-spacing:2px;text-transform:uppercase;margin-top:7px;color:#d9d1de}
.journey-footer{position:relative;z-index:3;margin:0 4.5%;padding:10px 0 24px}.footer-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;margin-bottom:17px}
#back{background:none;border:0;padding:10px 0;display:flex;align-items:center;gap:12px;font-size:14px;min-width:85px;min-height:44px}#back span{font-size:24px;line-height:1}#back:disabled{opacity:.3}
#footer-status{font-size:12px;color:#c5bdce;text-align:center;max-width:650px}.placeholder-label{font-size:10px;letter-spacing:.7px;color:#aea7b8;white-space:nowrap}
.journey-track{height:1px;background:rgba(229,219,238,.16);position:relative;margin-bottom:17px}#progress-fill{width:0;height:1px;background:var(--gold);box-shadow:0 0 14px #e8c5a0;transition:width 700ms cubic-bezier(.16,1,.3,1)}
#journey{padding:0;margin:0;list-style:none;display:flex;justify-content:space-between;gap:14px}#journey li{position:relative}#journey li::before{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:#5f586a;top:-20px;left:0}#journey li.is-active::before{background:var(--gold);box-shadow:0 0 12px var(--gold)}
#journey button{background:none;border:0;padding:4px 0;color:#b3aabd;font-size:12px;white-space:nowrap}#journey button span{font-size:10px;margin-right:9px;font-variant-numeric:tabular-nums;color:#897e96}#journey li.is-active button{color:#f1dfc0}#journey li.is-active button span{color:var(--gold)}#journey li.is-complete button{color:#d7c6e5}
.name-field{display:block;margin:30px 0 24px;max-width:570px}.name-field label{display:block;font-size:13px;letter-spacing:.5px;color:#d1c5dd;margin-bottom:10px}.name-field input{display:block;width:100%;font-size:29px;border:1px solid rgba(231,210,179,.4);border-radius:5px;background:rgba(19,17,27,.8);color:#f7f0e5;padding:21px 22px;box-shadow:inset 0 1px 25px #0c0b1560}.name-field input::placeholder{color:#98909e}
.primary-action{position:relative;isolation:isolate;background:linear-gradient(115deg,#f3dfb9,#d6ac71);color:#241b16;border:1px solid #f2deb5;border-radius:4px;padding:17px 24px;min-height:57px;font-size:15px;font-weight:600;letter-spacing:.2px;box-shadow:0 4px 35px #d6a66b1f;transition:box-shadow 250ms,transform 250ms}.primary-action:hover{transform:translateY(-3px);box-shadow:0 8px 40px #e2b77744}.primary-action:disabled{opacity:.45;transform:none}
.secondary-action{padding:17px 18px;min-height:54px;font-size:14px;background:#191420aa;color:#efe3fb;border:1px solid #a58bbb55;border-radius:4px}
.review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 18px;padding:23px 0;margin:12px 0 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-width:620px}.review-grid div{min-width:0}.review-grid dt{font-size:11px;color:#b9acbf;margin-bottom:6px;letter-spacing:.6px}.review-grid dd{font-size:18px;color:#f4e6d8;margin:0;overflow-wrap:anywhere}.review-actions{display:flex;align-items:center;flex-wrap:wrap;gap:15px}.export-note{font-size:12px;line-height:1.5;color:#c9bfd1;max-width:400px;margin-top:15px}
.arriving{animation:content-in 650ms cubic-bezier(.16,1,.3,1) both}.arriving .choice{animation:card-in 700ms cubic-bezier(.16,1,.3,1) backwards}.arriving .choice:nth-child(2){animation-delay:70ms}.arriving .choice:nth-child(3){animation-delay:140ms}.leaving{animation:content-out 280ms ease both}.choosing .choice.selected{animation:choice-lock 420ms ease both}.review-title{font-size:clamp(55px,5.8vw,90px);overflow-wrap:anywhere;line-height:1.02}
.character-name{font-size:clamp(52px,5.5vw,86px);overflow-wrap:anywhere;line-height:1.02}
#forge[data-archetype="vanguard"]{--scene-hue:32}#forge[data-archetype="shadow"]{--scene-hue:175}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.reduced-motion *,.reduced-motion *::before,.reduced-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reduced-motion .scene-parallax{transform:none!important}
@keyframes scene-awake{from{transform:scale(1.06);filter:saturate(.7) brightness(.7)}to{transform:scale(1.02);filter:saturate(.9) brightness(.82)}}
@keyframes bloom{to{transform:translate(-4%,8%) scale(1.25);opacity:.5}}@keyframes sweep{0%{opacity:0;transform:translateX(-80%)}30%{opacity:1}100%{opacity:0;transform:translateX(100%)}}@keyframes content-in{from{opacity:0;transform:translateY(28px);filter:blur(5px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}@keyframes card-in{from{opacity:0;transform:translateY(28px) rotateX(8deg)}to{opacity:1;transform:none}}@keyframes content-out{to{opacity:0;transform:translateY(-15px);filter:blur(3px)}}@keyframes choice-lock{50%{transform:scale(1.04);box-shadow:0 0 70px #d5a8ff66}to{transform:scale(1.02)}}
@media(min-width:1800px){#stage{width:min(900px,54%)}.step-title{font-size:118px}.choice{min-height:265px}.choice-label{font-size:28px}.choice-description{font-size:16px}.site-header{height:110px}.journey-footer{padding-bottom:32px}}
@media(max-height:780px) and (min-width:950px){.site-header{height:77px;padding-top:18px;padding-bottom:18px}#stage{min-height:480px;padding-top:20px;padding-bottom:20px}.chapter{margin-bottom:18px}.step-title{font-size:76px;margin-bottom:18px}.step-description{margin-bottom:22px}.choice{min-height:190px}.journey-footer{padding-bottom:17px}.footer-row{margin-bottom:9px}.hero-caption{bottom:145px}.review-grid{padding:16px 0;gap:14px}}
@media(max-width:1100px){#stage{width:65%;padding-left:4%;padding-right:2.5%}.site-header{padding-left:4%;padding-right:4%}.step-title{font-size:76px}.choice{padding:17px 14px;min-height:210px}.choice-label{font-size:21px}.choice-description{font-size:12px}.hero-caption{right:4%;max-width:29%}#hero-class{font-size:32px}.journey-footer{margin:0 4%}.header-title{padding-left:10px}.scene{object-position:66% center}}
@media(max-width:800px){.site-header{height:86px;gap:20px}.header-title{display:none}.header-actions{gap:22px}#stage{width:76%;min-height:565px;padding-top:40px;padding-bottom:40px}.step-title{font-size:78px}.scene{object-position:65% top}.world-shade{background:linear-gradient(90deg,#090a0fe6,#090a0f55 68%,#090a0f22),linear-gradient(0deg,#0d0d15 1%,#0d0d15a0 35%,transparent 80%)}.hero-caption{display:none}.choice{min-height:215px}.journey-footer{padding-bottom:24px}#journey button{font-size:10px}#journey button span{display:none}#journey{gap:8px}.review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#forge{min-height:100svh}.site-header{height:78px;padding:19px 22px}.wordmark{font-size:29px;letter-spacing:4px}.prototype-label{display:none}.world{height:100%;}.scene-parallax{inset:-1%}.scene{object-position:70% top;object-fit:cover;filter:saturate(.85) brightness(.64)}.world-shade{background:linear-gradient(0deg,#0d0d15 1%,rgba(13,13,21,.95) 25%,rgba(13,13,21,.63) 65%,rgba(13,13,21,.16))}.world-bloom{width:60%;right:0;top:10%}#stage{width:100%;min-height:0;padding:32px 22px 29px;justify-content:flex-start}.chapter{font-size:10px;margin-bottom:20px;gap:12px}.step-title{font-size:68px;letter-spacing:-2px;line-height:.92;margin-bottom:18px}.step-description{font-size:16px;max-width:290px;margin-bottom:28px;color:#dfd7e5}.choices{gap:10px;grid-template-columns:1fr}.choice{min-height:88px;padding:16px 18px;display:grid;grid-template-columns:1fr auto;gap:5px 10px;justify-content:initial;align-items:center;background:#17131fe0}.choice::before{background:linear-gradient(90deg,rgba(15,13,22,.93),rgba(15,13,22,.82) 60%,rgba(15,13,22,.35))}.choice-art{background-size:cover;background-position:65% 23%;opacity:.65}.choice-label{font-size:23px;grid-column:1;grid-row:1}.choice-index{display:none}.choice-type{font-size:9px;letter-spacing:1.2px;grid-column:2;grid-row:1;margin:0;text-align:right}.choice-description{grid-column:1/-1;grid-row:2;margin:0;font-size:14px;max-width:none}.choices:not(:has(.choice-art)) .choice{min-height:88px}.journey-footer{margin:0 22px;padding:0 0 22px}.footer-row{gap:12px;flex-wrap:wrap;margin-bottom:14px}#footer-status{order:3;width:100%;max-width:none;text-align:left;font-size:11px}#back{font-size:13px;min-width:60px;gap:7px}.placeholder-label{margin-left:auto;font-size:10px}#journey button{font-size:0;min-height:22px;min-width:24px}#journey button span{display:inline;font-size:11px;margin:0}#journey{gap:6px;justify-content:space-between}.journey-track{margin-bottom:12px}#journey li::before{top:-15px}.name-field{margin-top:25px}.name-field input{font-size:24px;padding:18px}.review-grid{gap:17px 15px;padding:21px 0}.review-grid dd{font-size:17px}.review-title{font-size:53px}.primary-action{width:100%;font-size:15px}.export-note{font-size:11px}.review-actions{gap:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.scene-parallax{transform:none!important}}
