/* The shared Hey316 entrance: real controls layered over original artwork. */
@font-face{font-family:Fredoka;src:url('assets/fredoka.ttf') format('truetype');font-style:normal;font-weight:400 700;font-display:swap}
:root{font-family:var(--font-ui);font-weight:400}
body,#platform,.app-shell,button,input,textarea,select,summary,dialog{font-family:var(--font-ui)}
h1,h2,h3,h4,h5,h6{font-family:var(--font-ui);font-weight:550}
button,input,textarea,select{font-family:var(--font-ui)}
button{font-weight:500}
body[data-surface="portal"]{background:#0c1824}
#platform{--hero-logo-size:clamp(5rem,11vw,10.5rem);--hero-message-size:clamp(2.5rem,6vw,4.8rem);position:relative;isolation:isolate;min-height:100svh;color:#fff4de;--gold:#f7c765;--ink:#fff4de;--muted:#c8d0d1;--gold-dark:#30210e;--line:#ffffff2b;background:linear-gradient(90deg,#0613209c,#08172480),url('assets/study-desktop.png') center / cover fixed}
#platform:before{content:'';position:fixed;inset:0;background:linear-gradient(0deg,#051322d9,transparent 65%);z-index:-1;pointer-events:none}
#platform:has(.title-screen:not(.opening-screen)){background-image:linear-gradient(0deg,#05111fa6,transparent 42%,#07152550),url('assets/study-desktop.png')}
#platform:has(.title-screen:not(.opening-screen)):before{display:none}
.brand-logo{font-family:var(--font-ui);font-size:2.25rem;font-weight:650;line-height:1;letter-spacing:-.045em;white-space:nowrap;display:inline-flex;align-items:baseline;color:#fff4de;text-shadow:0 2px 7px #0005}
.brand-logo>span{color:#ffd074}
.brand-logo>svg{width:.68em;height:.68em;align-self:flex-start;margin-left:.05em;margin-top:-.13em;color:#ffd074;stroke-width:4}
.brand-home{border:0;background:transparent;padding:12px;color:inherit;justify-self:center}
.portal-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:22px clamp(20px,5vw,80px);max-width:1600px;margin:auto}
.portal-back,.portal-tool{width:fit-content;min-height:44px;padding:8px 12px;border:1px solid #eee0be33;border-radius:12px;color:#fff4de;background:#0b1b29a6;font-size:.9rem}
.portal-tool{justify-self:end}
.portal-back:hover,.portal-tool:hover{background:#223b48}
.portal-main{width:min(1020px,100%);margin:auto;padding:40px 28px 30px}
#platform h1,#platform h2,.dialog-header h2,.contact-bar h1,.ending h1,.ending h2{font-family:var(--font-ui);font-weight:550;letter-spacing:-.025em}
#platform h1{font-size:clamp(2.15rem,4vw,3.2rem);line-height:1.12;margin:0 0 18px;text-wrap:balance;outline:none}
#platform h2{font-size:clamp(1.6rem,2.8vw,2.2rem);line-height:1.16;margin:0 0 15px;text-wrap:balance}
#platform p{line-height:1.65}
#platform .primary{background:linear-gradient(#ffe3a0,#edb655);border:1px solid #ffe6b6;box-shadow:0 4px 0 #926125,0 7px 20px #0004;color:#30210e;min-height:55px;border-radius:13px;font-weight:600}
#platform .primary:hover{background:linear-gradient(#ffedbd,#ffcd75);transform:translateY(-1px)}
#platform .primary:active{transform:translateY(2px);box-shadow:0 2px 0 #926125}
#platform .secondary{color:#fff4de;background:#0e2435a6;border-color:#d8c39760}
#platform .text-button{min-height:44px;padding:9px 5px;color:#ffd98d}
.portal-footer{text-align:center;font-size:.78rem;line-height:1.6;color:#e5ded0;padding:20px 20px max(22px,env(safe-area-inset-bottom));text-shadow:0 1px 8px #000}
.future-signin{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:124px}
.future-signin>button{width:100%;opacity:.8;font-size:.9rem;min-height:43px}
.future-signin small{font-size:.7rem;color:#e2dacb;text-shadow:0 1px 5px #000}
.title-screen{min-height:100svh;display:flex;flex-direction:column;align-items:center;padding:24px clamp(22px,5vw,80px) 0}
.title-top{align-self:flex-end}
.title-logo{margin:clamp(12px,4vh,48px) 0 40px;text-align:center}
.title-logo .brand-logo{font-size:var(--hero-logo-size);filter:drop-shadow(0 7px 15px #0006)}
.title-message{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:620px;min-height:190px;padding:30px 0;text-align:center;text-shadow:0 2px 14px #000b;animation:story-reveal .85s ease-out both}
#platform .title-message h1,#platform .title-message p{font-size:var(--hero-message-size);font-weight:550;letter-spacing:-.025em;line-height:1.08;max-width:12ch;text-wrap:balance}
#platform .title-message h1{margin:0 0 18px}
#platform .title-message p{margin:0;color:#ffe3a7}
.title-controls{margin-top:auto;width:min(360px,100%);padding-top:12px;text-align:center}
.title-controls>.primary{font-size:1.08rem;min-height:58px}
.return-greeting{font-size:1rem;color:#fff4de;text-shadow:0 2px 7px #000;background:#0a1926b3;border-radius:12px;padding:8px 15px;margin:0 0 16px}
#platform .title-controls .opening-action{margin-top:16px;background:linear-gradient(#345b74,#1b354c);border-color:#7c9bb2;color:#fff4de;box-shadow:0 4px 0 #0a1a29,0 7px 20px #0004}
#platform .title-controls .opening-action:hover{background:linear-gradient(#416d88,#274a64)}
#platform .title-controls .opening-action:active{box-shadow:0 2px 0 #0a1a29}
.title-controls .portal-footer{padding-inline:0;padding-top:14px;font-size:.72rem}
.welcome-main{padding-top:30px;padding-bottom:60px}
.welcome-card{max-width:480px;margin:auto;padding:38px 40px 26px;background:#0e2332eb;border:1px solid #dbc39050;border-radius:25px;box-shadow:0 20px 65px #0004;text-align:center}
.welcome-card>p{color:#d8dcd7;margin:0 0 28px}
#guest-form{text-align:left;margin-top:30px}
#guest-form label{display:block;font-size:.9rem;font-weight:600;margin-bottom:10px}
#guest-name{width:100%;min-height:56px;background:#071b29;border:1px solid #d8c3989c;border-radius:12px;color:#fff4de;font:inherit;font-size:1.05rem;padding:13px 16px}
#guest-name::placeholder{color:#bdc4c8}
#guest-name:focus-visible{outline:3px solid #f7c765;outline-offset:3px}
#platform .muted-small{color:#c6d0d2;font-size:.8rem;line-height:1.6}
#guest-form .muted-small{margin:10px 0 24px}
.welcome-card>#guest-form+p{margin:17px 0 25px}
.welcome-card>p:last-child{margin:20px 0 0}
.signin-divider{border-top:1px solid #e0d3b126;padding-top:24px;display:flex;justify-content:center}
.signin-divider .future-signin{width:100%}
#platform:has(.story-main){background-image:linear-gradient(#06152225 15%,#06152245 35%,#061522d9 70%,#061522f0),url('assets/study-desktop.png')}
.story-main{min-height:calc(100svh - 104px);display:flex;flex-direction:column;justify-content:flex-end;gap:28px;padding-top:100px;padding-bottom:max(24px,env(safe-area-inset-bottom))}
.story-page{width:100%;max-width:620px;margin:0 auto;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;text-align:center;text-shadow:0 2px 10px #0009;animation:story-reveal .85s ease-out both}
#platform .story-page h1{font-size:clamp(1.8rem,3.6vw,2.6rem);line-height:1.2;margin:0 0 18px}
.opening-copy{max-width:460px;margin:0 auto;font-size:1.1rem;color:#fff4de}
#platform .opening-copy p{line-height:1.65;text-wrap:pretty}
.opening-copy p{margin:0 0 6px}
.story-navigation{text-align:center;width:100%;max-width:380px;margin:0 auto}
.story-counter{color:#d9d4c8;font-size:.75rem;letter-spacing:.18em;margin:0 0 14px}
.story-source{color:#c6d0d2;font-size:.75rem;margin:8px 0 0}
@keyframes story-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.story-actions{display:flex;gap:14px;align-items:stretch;max-width:430px;margin:0 auto 15px;text-shadow:none}
.story-actions>.secondary{flex:0 0 90px}
#platform .story-actions>.secondary{border:0;background:transparent}
.story-page>.muted-small{margin-top:20px;padding-top:10px;border:0;font-size:.75rem}
.selection-main{text-align:center;padding-top:30px;max-width:950px}
.selection-greeting{color:#dfdacc;margin:0 0 35px;font-size:1.05rem}
.journey-choice{width:min(720px,100%);margin:0 auto;background:#102634ed;border:1px solid #d3b3708f;border-radius:23px;overflow:hidden;box-shadow:0 20px 70px #0006;display:grid;grid-template-columns:45% 1fr;text-align:left}
.journey-choice>img{width:100%;height:100%;min-height:340px;object-fit:cover;object-position:46% center}
.journey-choice>div{padding:34px 30px;display:flex;flex-direction:column;align-items:flex-start}
.journey-choice p{color:#d6dbd8;font-size:.95rem;margin:0 0 22px}
.journey-choice p.available-status{font-size:.8rem;color:#ffdb93;margin-top:auto}
.coming-journeys{font-size:.9rem;color:#d0d7d7;margin:28px 0 10px}
.portal-links{display:flex;justify-content:center;gap:25px}
.chapter-choice{display:grid;grid-template-columns:220px 1fr;text-align:left;gap:0;width:min(780px,100%);margin:0 auto;border:1px solid #d3b3708f;background:#102634ed;border-radius:23px;overflow:hidden;box-shadow:0 18px 65px #0005}
.chapter-portrait{position:relative;min-height:320px}
.chapter-portrait>img{width:100%;height:100%;object-fit:cover;object-position:50% 25%;position:absolute;inset:0}
.chapter-badge{display:grid;place-items:center;width:46px;height:46px;border:1px solid #ffe0a1;border-radius:13px;background:#152938;color:#ffdb93;font-family:var(--font-ui);font-size:1.3rem;flex-shrink:0}
.chapter-portrait>.chapter-badge{position:absolute;left:16px;top:16px;box-shadow:0 3px 15px #0005}
.chapter-description{padding:32px}
.chapter-description>p{color:#d8dcda;font-size:.95rem;margin:0 0 14px}
.chapter-description p.chapter-scripture{color:#ffdc99;font-size:.85rem}
.chapter-description p.chapter-status{font-size:.78rem;margin:22px 0 12px;color:#c8d0d1}
.chapter-coming{display:flex;align-items:center;text-align:left;width:min(780px,100%);margin:20px auto 0;gap:20px;padding:22px 25px;border:1px solid #c4c6bd40;border-radius:18px;background:#10232fe8}
.chapter-coming .chapter-badge{border-color:#c3c5bd55;color:#b8c1c5;background:#142e3c}
#platform .chapter-coming h2{font-size:1.2rem;margin:0 0 6px;color:#e1e0d6}
.chapter-coming p{font-size:.85rem;margin:0;color:#b9c4c9}
.development-status{margin-left:auto;border:1px solid #c9c4b044;padding:7px 10px;border-radius:20px;white-space:nowrap;font-size:.72rem;color:#e0d9c9}
.wordmark{font-family:var(--font-ui);font-weight:650;letter-spacing:-.045em;padding-right:22px}
.wordmark svg{width:22px;height:22px;right:-4px;top:0;stroke-width:3.7}
.contact-receipt{width:fit-content;max-width:100%;margin:0 auto 24px;padding:7px 14px;border:1px solid var(--line);border-radius:20px;text-align:center;font-size:.75rem;color:var(--muted)}
.journey-caption>p{font-family:var(--font-ui);font-weight:450}
.reader .dialog-header h2{line-height:1.25}
.large-text #platform{--hero-logo-size:clamp(4.1rem,10vw,9rem)}
@media(min-width:1500px){.title-logo{margin-top:3vh}}
@media(max-width:760px){
 #platform{background-image:linear-gradient(#0515228c,#071724ce),url('assets/study-mobile.png');background-attachment:scroll;background-position:center top}
 #platform:has(.title-screen:not(.opening-screen)){background-image:linear-gradient(#07152520,transparent 45%,#05111fd9),url('assets/study-mobile.png')}
 #platform:has(.story-main){background-image:linear-gradient(#06152225 10%,#06152240 32%,#061522d9 67%,#061522f0),url('assets/study-mobile.png')}
 .title-screen{padding:20px 22px 0;min-height:100svh}
 .title-top .future-signin{min-width:100px}
 .title-top .future-signin>button{font-size:.8rem;min-height:37px;padding:8px 13px}
 .title-logo{margin-top:30px;margin-bottom:20px}
 #platform{--hero-logo-size:clamp(4.4rem,16.5vw,7rem)}
 .title-controls{padding-top:12px;width:min(340px,100%)}
 .title-controls .primary{font-size:1rem}
 .portal-header{padding:14px 14px;gap:7px;grid-template-columns:1fr auto 1fr}
 .brand-home{padding:10px 3px}.brand-logo{font-size:1.75rem}
 .portal-back,.portal-tool{font-size:.76rem;padding:7px 9px;border-color:transparent;background:#091d2abd}
 .portal-main{padding:30px 19px 20px}
 .welcome-main{padding-top:30px;padding-bottom:35px}
 .welcome-card{padding:31px 25px 25px;border-radius:22px}
 .story-main{min-height:calc(100svh - 85px);padding:100px 24px max(20px,env(safe-area-inset-bottom));gap:24px}
 .story-page{padding:0}
 .opening-copy{font-size:1.04rem;margin-top:0;max-width:340px}
 .story-actions{gap:10px}.story-actions>.secondary{flex-basis:70px;padding-inline:12px}
 .story-actions>.primary{padding-inline:12px;font-size:.9rem;gap:10px}
 .selection-main{padding-top:28px}
 .selection-greeting{font-size:.95rem;margin-bottom:28px}
 .journey-choice{display:block;max-width:440px;text-align:center}
 .journey-choice>img{display:block;width:100%;height:240px;min-height:0;object-position:center 36%}
 .journey-choice>div{align-items:stretch;padding:25px 25px 29px}
 .journey-choice p{margin-bottom:18px}
 .chapter-choice{grid-template-columns:105px 1fr;max-width:520px}
 .chapter-portrait{min-height:300px}
 .chapter-portrait>img{object-position:53% center}
 .chapter-portrait>.chapter-badge{left:12px;top:14px;width:39px;height:39px}
 .chapter-description{padding:25px 18px}
 #platform .chapter-description>h2{font-size:1.6rem}
 .chapter-description>p{font-size:.875rem}
 .chapter-description .primary{font-size:.85rem;gap:8px;padding:12px}
 .chapter-coming{flex-wrap:wrap;gap:13px;padding:20px;max-width:520px}
 .chapter-coming>div{flex:1;min-width:160px}
 .development-status{margin-left:59px}
 .portal-footer{padding-top:17px}
 .portal-links{gap:18px}
}
@media(max-width:380px){.portal-header{grid-template-columns:1fr auto;gap:4px}.brand-home{justify-self:end}.portal-tool{grid-column:2;grid-row:2;font-size:.7rem;min-height:32px}.portal-back{grid-column:1;grid-row:1}.chapter-choice{display:block}.chapter-portrait{min-height:180px}.chapter-portrait>img{object-position:50% 28%}.chapter-description{padding:24px}.title-message{min-height:160px}}
@media(max-height:650px) and (min-width:761px){.title-logo{margin:0 0 15px}#platform{--hero-logo-size:5.5rem}.title-message{min-height:130px;padding-block:18px}}
@media(max-width:380px){.story-main{min-height:calc(100svh - 112px)}}
@media(max-height:600px){.story-main{padding-top:48px;gap:18px}}

/* Full homepage */
.home-page{min-height:100svh;background:#071522;color:#fff4de;overflow:hidden}
.home-header{height:82px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding:0 clamp(24px,5vw,78px);position:absolute;inset:0 0 auto;z-index:5;border-bottom:1px solid #ffffff20;background:linear-gradient(#06131fe8,#06131f30)}
.home-header .brand-home{justify-self:start;padding-left:0}
.home-header .brand-logo{font-size:2.1rem}
.home-header>.language-toggle{justify-self:end}
.home-nav{display:flex;align-items:center;gap:28px}
.home-nav a,.home-nav button{color:#fff4de;background:none;border:0;text-decoration:none;font:500 .9rem var(--font-ui);padding:12px 3px}
.home-nav a:hover,.home-nav button:hover{color:#f7c765}
.home-hero{min-height:760px;display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.78fr);align-items:center;gap:clamp(35px,7vw,100px);padding:145px clamp(28px,7vw,108px) 85px;background:linear-gradient(90deg,#061522ed 0%,#071726c7 45%,#07152285 100%),linear-gradient(0deg,#071522 0%,transparent 35%),url('assets/study-desktop.png') center/cover}
.home-hero-copy{max-width:720px}
#platform .home-hero h1{font-size:clamp(3.2rem,6vw,6rem);line-height:.98;letter-spacing:-.045em;margin:18px 0 24px;max-width:11ch}
.home-hero-copy>p{max-width:620px;color:#e3e7e5;font-size:1.17rem;margin:0 0 24px}
.home-hero .return-greeting{width:fit-content}
.home-actions{display:flex;align-items:stretch;gap:14px;max-width:540px;margin-top:30px}
.home-actions>*{flex:1}
.home-actions .secondary{display:grid;place-items:center;text-decoration:none;min-height:55px}
.home-promise{font-size:.87rem!important;color:#f7c765!important;letter-spacing:.02em;margin-top:20px!important}
.home-chat-preview{width:min(470px,100%);justify-self:end;padding:19px;border:1px solid #e2c38373;border-radius:28px;background:linear-gradient(160deg,#173b57ed,#0a2135f2);box-shadow:0 30px 100px #0008}
.preview-contact{display:flex;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid #ffffff1f}
.preview-contact img{width:55px;height:55px;border:2px solid #f7c765;border-radius:50%;object-fit:cover;object-position:center 26%}
.preview-contact span{display:flex;flex-direction:column}
.preview-contact strong{font-size:1.05rem}.preview-contact small{color:#c5d0d5;margin-top:3px}
.preview-contact .preview-online{margin-left:auto;display:inline-block;padding:5px 9px;border-radius:20px;background:#6fd6a21f;color:#9be4bd;font-size:.67rem}
#platform .preview-bubble{width:88%;margin:14px 0 0;padding:13px 15px;border:1px solid #82a4bb4f;border-radius:15px 15px 15px 4px;background:#29475d;line-height:1.45;font-size:.94rem}
.home-chat-preview details{margin-top:14px;border-left:2px solid #f7c765;border-radius:0 10px 10px 0;background:#f7c76512}
.home-chat-preview summary{padding:11px 13px;cursor:pointer;color:#f7c765;font-size:.78rem}
.home-chat-preview details p{padding:0 13px 13px;margin:0;font-size:.86rem;color:#e4e7e3}
.preview-reply{width:fit-content;max-width:80%;margin:15px 0 3px auto;padding:11px 14px;border-radius:15px 15px 4px 15px;background:#f7c765;color:#30210e;font-size:.86rem}
.home-section{padding:100px clamp(28px,7vw,108px)}
.section-heading{text-align:center;max-width:720px;margin:0 auto 48px}
#platform .home-section h2,#platform .home-final h2{font-size:clamp(2.4rem,4vw,4rem);letter-spacing:-.04em;margin:12px 0 16px}
.section-heading>p{color:#bdcbd2;font-size:1.05rem}
.how-section{background:radial-gradient(circle at 50% 0,#173650,#081724 60%)}
.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:1160px;margin:auto}
.how-grid article{min-height:265px;padding:30px;border:1px solid #d6b9764f;border-radius:22px;background:linear-gradient(145deg,#102b3e,#0b1e2e)}
.step-number{display:grid;place-items:center;width:48px;height:48px;border:1px solid #f7c765;border-radius:14px;color:#f7c765}
#platform .how-grid h3{font-size:1.65rem;margin:45px 0 9px}
.how-grid p{color:#bdcbd2;margin:0}
.featured-section{display:grid;grid-template-columns:1.05fr .95fr;gap:0;max-width:1280px;margin:0 auto;background:#0b1d2b}
.featured-image{position:relative;min-height:580px;overflow:hidden;border-radius:28px 0 0 28px}
.featured-image:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#061522aa,transparent 50%)}
.featured-image img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.featured-image>span{position:absolute;left:25px;bottom:25px;z-index:1;padding:8px 12px;border:1px solid #f7c765;border-radius:20px;background:#0a2135cf;color:#f7c765;font-size:.75rem;letter-spacing:.08em}
.featured-copy{display:flex;flex-direction:column;justify-content:center;padding:55px;border:1px solid #d6b9764f;border-left:0;border-radius:0 28px 28px 0;background:#102838}
.featured-copy>p{color:#c5d0d5;font-size:1.04rem}
.featured-faces{display:flex;align-items:center;margin:25px 0 34px}
.featured-faces img{width:48px;height:48px;object-fit:cover;border:2px solid #102838;border-radius:50%;margin-left:-10px}.featured-faces img:first-child{margin-left:0}
.featured-faces span{margin-left:13px;color:#f7c765;font-size:.82rem}
.scripture-section{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(35px,8vw,120px);align-items:start;background:linear-gradient(90deg,#132f43,#0a1b29)}
.scripture-section>div:last-child{border-left:2px solid #f7c765;padding-left:30px;color:#d0d9dc}
.scripture-section .name-meaning{padding:14px 16px;border-radius:12px;background:#f7c76510;color:#f7c765;font-size:.9rem}
.audience-section{background:#071522}
.audience-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;max-width:1120px;margin:auto}
.audience-grid article{display:flex;flex-direction:column;gap:7px;padding:24px;border-top:1px solid #f7c765;background:#ffffff05}
.audience-grid strong{font-size:1.06rem}.audience-grid span{color:#bdcbd2;font-size:.9rem}
.home-final{text-align:center;padding:105px 25px;background:linear-gradient(#071522bb,#071522e8),url('assets/moses-journey.png') center 12%/cover}
.home-final p{color:#d7dfe1}.home-final .primary{width:min(340px,100%);margin:28px auto 0}
.home-footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:22px;padding:34px clamp(24px,6vw,90px);border-top:1px solid #ffffff1f;background:#04101a;color:#bdcbd2}
.home-footer .brand-logo{font-size:1.8rem}.home-footer p{font-size:.8rem;text-align:center}.home-footer>div{justify-self:end;display:flex;align-items:center;gap:18px}.home-footer>div .text-button{font-size:.78rem}
@media(max-width:860px){
 .home-header{height:72px;grid-template-columns:1fr auto;padding-inline:20px}.home-nav{display:none}.home-header>.language-toggle{grid-column:2}
 .home-hero{min-height:auto;display:block;padding:120px 22px 65px;background-image:linear-gradient(#0615229e,#061522ed 53%,#071522 100%),url('assets/study-mobile.png');text-align:center}
 #platform .home-hero h1{font-size:clamp(2.65rem,11vw,4.2rem);max-width:10ch;margin-inline:auto}.home-hero-copy>p{font-size:1rem;margin-inline:auto}.home-actions{margin-inline:auto}.home-promise{margin-inline:auto!important}
 .home-chat-preview{margin:55px auto 0;transform:none;text-align:left}
 .home-section{padding:70px 20px}.how-grid,.audience-grid{grid-template-columns:1fr}.how-grid article{min-height:0}.how-grid h3{margin-top:25px!important}
 .featured-section{display:block;padding:0 20px 75px}.featured-image{min-height:390px;border-radius:25px 25px 0 0}.featured-copy{padding:30px 24px;border:1px solid #d6b9764f;border-top:0;border-radius:0 0 25px 25px}
 .scripture-section{grid-template-columns:1fr;gap:24px}.scripture-section>div:last-child{padding-left:20px}
 .home-footer{grid-template-columns:1fr;text-align:center}.home-footer>span,.home-footer>div{justify-self:center}.home-footer>div{flex-wrap:wrap;justify-content:center}
}
@media(max-width:480px){.home-actions{display:grid}.home-chat-preview{padding:14px}.home-section h2,.home-final h2{font-size:2.35rem!important}.featured-image{min-height:320px}.featured-faces img{width:42px;height:42px}}

/* Keep original PNG artwork at viewport scale, independent of page length. */
#platform{background-size:0 0;background-repeat:no-repeat}
#platform:after{content:'';position:fixed;inset:0;z-index:-2;pointer-events:none;background-image:inherit;background-position:inherit;background-size:cover;background-repeat:no-repeat}

/* Home and opening share the same masthead markup and spacing. */
.title-top,.title-logo{flex-shrink:0}
.opening-screen .story-main{width:100%;flex:1;min-height:0;margin:0 auto;padding-inline:0;padding-top:clamp(24px,5vh,60px)}
.opening-links{display:flex;justify-content:space-between;align-items:center;gap:10px}
.journey-progress{width:fit-content;margin:-18px auto 24px;padding:8px 15px;border:1px solid #d3b37070;border-radius:999px;background:#102634dd;color:#d8dcda;font-size:.8rem}
.journey-progress strong{color:#ffdc99;font-size:.95rem}
.chapter-choice.chapter-complete{border-color:#f7c765;box-shadow:0 18px 65px #0005,0 0 0 2px #f7c76524}
.chapter-badge.is-complete{width:82px;grid-template-columns:auto 25px;gap:7px;padding:5px 7px 5px 10px;background:#f7c765;color:#152938;border-color:#fff1bf}
.chapter-badge .chapter-check{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#152938;color:#f7c765;font-size:.9rem;font-weight:800}
.chapter-complete .chapter-status{display:inline-flex;align-items:center;gap:6px;width:fit-content;padding:6px 10px;border-radius:999px;background:#f7c7651a;color:#ffdc99!important;font-weight:600}
.chapter-complete .chapter-status:before{content:'✓';width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:#f7c765;color:#152938;font-size:.72rem}
@media(max-width:760px){
 #platform{--hero-message-size:clamp(2.5rem,10vw,3.5rem)}
}

/* v48: one clear entry point and nearby optional account access. */
.home-hero{grid-template-columns:minmax(0,1fr)}
.home-account-action{margin-top:14px;max-width:540px}
.home-account-action button{min-height:48px;width:100%}
@media(max-width:760px){.home-account-action{margin-inline:auto}}
.name-pronunciation{display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:9px!important;margin-left:8px;vertical-align:middle;border:1px solid #e5c47780;border-radius:50%;background:#122d46;color:#ffe095;cursor:pointer}
.name-pronunciation svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.name-pronunciation:focus-visible{outline:3px solid #ffe095;outline-offset:3px}
.pronunciation-status{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);z-index:9999;background:#122d46;color:#fff;padding:12px 18px;border-radius:12px;max-width:90vw}
.pronunciation-status:empty{display:none}

/* v53: organize the journey while retaining the existing page and chapter cards. */
.organized-journey .journey-guidance{max-width:670px;margin:0 auto 26px;color:#ffe0a1;font-size:1rem;line-height:1.5;text-align:center}
.journey-resume,.journey-finder,#journey-sections{width:min(780px,100%);margin:0 auto 24px}
.journey-resume>.eyebrow{text-align:center;margin:0 0 12px}
.journey-finder{text-align:left}.journey-finder label{display:block;margin-bottom:8px;color:#ffe0a1}
.journey-finder input{width:100%;min-height:48px;border:1px solid #d3b3708f;border-radius:14px;padding:12px 16px;background:#102634ed;color:#fff4de;font-size:16px}
.journey-finder input::placeholder{color:#c8d0d1}.journey-filters{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0}
.journey-filters button,.journey-bookmark{min-height:44px;border:1px solid #d3b3708f;border-radius:99px;padding:8px 15px;background:#102634ed;color:#fff4de;font:inherit}
.journey-filters button[aria-pressed=true],.journey-bookmark[aria-pressed=true]{background:linear-gradient(#ffe3a0,#edb655);color:#30210e}
.journey-save-note{font-size:.8rem;color:#d8dcda;margin:6px 0}.journey-part{border:1px solid #d3b3708f;border-radius:23px;background:#102634ed;overflow:hidden;margin:16px 0;text-align:left;box-shadow:0 18px 65px #0005}
.journey-part>summary{padding:23px;font-size:1.4rem;color:#fff4de;cursor:pointer}.journey-part>summary small{display:block;margin:8px 0 0 23px;font-size:.85rem;color:#ffdc99}
.journey-part-cards{padding:0 14px 14px}.journey-card-wrap{margin:12px 0 22px}.journey-card-wrap:last-child{margin-bottom:0}.journey-bookmark{display:block;margin:10px 0 0 auto;font-size:.85rem}.journey-empty{padding:22px;color:#fff4de;background:#102634ed;border-radius:18px}
@media(max-width:600px){.journey-part>summary{padding:18px;font-size:1.2rem}.journey-part-cards{padding:0 8px 12px}.organized-journey .journey-guidance{font-size:.95rem}.journey-filters button{font-size:.9rem}.journey-part .chapter-description{padding:22px 16px}}

/* Approved navigation refinement, preserving artwork, fonts and palette. */
.home-account-action{display:flex;flex-wrap:wrap;align-items:center;gap:14px}.home-account-action>.secondary{width:auto;min-width:140px}.home-account-action .text-button{font-size:.95rem}
.places-entry h2{font-size:1.1rem;margin:0 0 12px}.places-entry>div{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.places-layout>.place-contacts{grid-column:1/-1}.help-main{max-width:820px}.help-question,.settings-section{border-bottom:1px solid #e8cc8240;padding:18px 0}.help-question summary,.settings-section summary{cursor:pointer;color:#ffe29a;font-size:1.1rem}.help-question p{line-height:1.65}.settings-section[open]>summary{margin-bottom:18px}.chapter-options{position:relative;font-size:.8rem}.chapter-options summary{cursor:pointer;color:#e9d796}.chapter-options[open] button{position:absolute;right:0;bottom:28px;background:#123247;border:1px solid #e8cc82;border-radius:12px;padding:16px;min-width:170px;z-index:10}.connections-empty-detail{padding:18px}.account-advanced{margin:22px 0}.account-advanced summary{cursor:pointer;color:#ffe29a}
@media(max-width:640px){.journey-resume .chapter-choice{min-height:0}.journey-resume .chapter-description{padding:18px}.journey-resume .chapter-description>p:not(.chapter-scripture){display:none}.journey-resume .chapter-portrait{height:120px}.journey-resume .chapter-description h2{font-size:1.35rem}.organized-journey>h1{font-size:1.9rem}.organized-journey .journey-guidance{font-size:.9rem;margin:14px 0}.journey-resume .chapter-visual{width:85px}.organized-journey .places-entry{margin:20px 0}.places-entry>div{gap:8px}.places-entry .secondary{font-size:.85rem;padding:12px}.journey-finder{margin-top:20px}.portal-header{gap:8px}.portal-header .brand-logo{font-size:1.6rem}.portal-back{font-size:.8rem}.journey-filters{gap:6px}.journey-filters button{padding:10px;font-size:.83rem}}

.chapter-options[open] button{position:static;display:block;margin-top:8px;min-width:0;padding:8px}.reply-footer{align-items:flex-start;gap:12px}.places-entry h2{font-size:1.1rem!important}

/* v59: readable opening story, with the existing artwork and typography. */
@media(min-width:761px){
 .opening-screen .title-logo{margin:20px 0 18px}
 .opening-screen .story-main{justify-content:center;padding-top:20px;padding-bottom:36px;gap:22px}
 .opening-screen .story-page{max-width:920px}
 #platform .opening-screen .story-page h1{font-size:clamp(2.6rem,4vw,3.6rem);margin-bottom:22px}
 .opening-screen .opening-copy{max-width:790px;font-size:clamp(1.35rem,1.8vw,1.75rem)}
 .opening-screen .story-navigation{width:min(620px,100%);margin-inline:auto}
 .opening-screen .story-actions button{font-size:1.2rem;min-height:58px}
 .opening-screen .opening-links button,.opening-screen .story-counter{font-size:1rem}
}
.scripture-section .name-meaning{padding:16px 0 0;border-radius:0;background:transparent;border-top:1px solid #f7c76540;color:#fff0ce;font-size:inherit;line-height:1.7}

.contact-email{color:#ffdc91;text-decoration:underline;text-underline-offset:4px;display:inline-block;padding:8px 0;overflow-wrap:anywhere}.contact-email:hover{color:#fff3cd}.contact-email:focus-visible{outline:2px solid #ffdc91;outline-offset:4px}.help-contact{margin-top:28px;text-align:center;font-size:1.1rem}

/* v63: consistent homepage reading sizes; preserve the original hero h1. */
.home-page{--home-body:1.125rem;--home-label:1rem;--home-control:1.125rem}
.home-page .eyebrow{font-size:var(--home-label);letter-spacing:.09em;line-height:1.6;font-weight:600}
.home-nav{gap:28px}
.home-nav a,.home-nav button{font-size:var(--home-control);font-weight:550;min-height:48px;display:inline-flex;align-items:center;padding:12px 5px}
.home-hero-copy>p{font-size:1.25rem;line-height:1.65}
.home-page .home-promise{font-size:1.25rem!important;line-height:1.6;font-weight:500;letter-spacing:0;margin-top:24px!important}
.home-page .section-heading>p,.home-page .how-grid p,.home-page .featured-copy>p,.home-page .scripture-section p,.home-page .audience-grid span,.home-page .home-final p{font-size:var(--home-body);line-height:1.7}
.home-page .audience-grid strong{font-size:1.25rem;font-weight:550;line-height:1.4}
.home-page .primary,.home-page .secondary,.home-page .text-button{font-size:var(--home-control);line-height:1.4;min-height:48px}
.home-page .featured-image>span,.home-page .featured-faces span{font-size:1rem;line-height:1.5}
.home-page .featured-faces{flex-wrap:wrap;row-gap:12px}
.home-page .home-footer p,.home-page .home-footer .text-button{font-size:1rem;line-height:1.6}
@media(max-width:860px){
 .home-page{--home-body:1.0625rem;--home-control:1.0625rem}
 .home-hero-copy>p,.home-page .home-promise{font-size:1.125rem!important;line-height:1.65}
 .home-page .eyebrow{letter-spacing:.06em}
}

/* v64: approved prominent homepage brand, left aligned on desktop. */
.home-header{height:238px;display:flex;flex-direction:column;justify-content:center;gap:22px;padding:32px 24px 18px;background:linear-gradient(#06131feb,#06131f60);border-bottom:1px solid #f7c76535}
.home-header .brand-home{align-self:center;padding:8px 0 0}
.home-header .brand-logo{font-size:clamp(5rem,8vw,7.5rem);filter:drop-shadow(0 7px 15px #0006)}
.home-header>.language-toggle{position:absolute;right:clamp(24px,5vw,78px);top:24px}
.home-nav{display:flex;gap:38px}
.home-hero{padding-top:290px}
@media(max-width:860px){
.home-header{height:225px;gap:12px;padding:55px 14px 12px}
.home-header .brand-logo{font-size:clamp(3.6rem,17vw,5.5rem)}
.home-header>.language-toggle{top:10px;right:14px}
.home-nav{display:flex;gap:20px}
.home-nav a,.home-nav button{font-size:1rem;padding:10px 0}
.home-hero{padding-top:265px}
}
@media(min-width:861px){
 .home-header{align-items:flex-start;padding-left:clamp(28px,7vw,108px);padding-right:clamp(28px,7vw,108px)}
 .home-header .brand-home{align-self:flex-start}
}

/* v65: approved exposed artwork with a left-side reading gradient. */
@media(min-width:861px){
 .home-hero{background-image:linear-gradient(90deg,rgba(6,21,34,.91) 0%,rgba(7,23,38,.77) 32%,rgba(7,21,34,.34) 57%,rgba(7,21,34,.05) 80%,rgba(7,21,34,.02) 100%),linear-gradient(0deg,#071522 0%,rgba(7,21,34,.3) 12%,transparent 30%),url('assets/study-desktop.png')}
 .home-header{background:linear-gradient(90deg,rgba(6,19,31,.72),rgba(6,19,31,.3) 50%,rgba(6,19,31,.03));}
}
@media(max-width:860px){
 .home-hero{background-image:linear-gradient(rgba(6,21,34,.42),rgba(6,21,34,.75) 42%,rgba(7,21,34,.87) 78%,#071522 100%),url('assets/study-mobile.png')}
}
@media(min-width:861px){
 .home-hero{background-image:linear-gradient(90deg,rgba(6,21,34,.85) 0%,rgba(7,23,38,.70) 28%,rgba(7,21,34,.42) 43%,rgba(7,21,34,.12) 54%,transparent 65%),url('assets/study-desktop.png')}
 .home-header{background:linear-gradient(90deg,rgba(6,19,31,.5),rgba(6,19,31,.16) 38%,transparent 62%)}
}
@media(min-width:861px){.home-hero{background-size:cover;background-repeat:no-repeat;background-position:center}}

/* Numbered placeholders for the remaining chapters in the 183-chapter plan. */
.journey-future>h2{margin-top:32px}.journey-future-part .journey-part-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px}
.chapter-coming-soon{min-width:0;border:1px solid #d3b37065;background:#102634;border-radius:18px}.chapter-coming-soon .chapter-description{padding:20px;text-align:left}.chapter-coming-soon h2{font-size:1.2rem;margin:0 0 14px}.chapter-coming-soon button:disabled{opacity:.8;cursor:default}

/* V9: keep navigation in a single intentional header group. */
.portal-header.portal-header-grouped{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);height:auto;min-height:100px}
.portal-nav-group,.portal-tools-group{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.portal-tools-group{justify-content:flex-end}
.portal-header-grouped .portal-back,.portal-header-grouped .portal-tool{position:static;margin:0;white-space:nowrap;font-size:15px}
.portal-header-grouped .language-toggle{position:static;margin:0}
@media(max-width:759px){.portal-header.portal-header-grouped{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.portal-header-grouped>.brand-home{grid-column:1/-1;grid-row:1;justify-self:center}.portal-nav-group{grid-column:1;grid-row:2}.portal-tools-group{grid-column:2;grid-row:2}.portal-header-grouped .portal-back,.portal-header-grouped .portal-tool{font-size:13px;padding:8px}.portal-header-grouped .language-toggle{font-size:13px}}
