body:has(#ageView.front-door:not(.hidden))>main{max-width:none;width:100%;margin:0;padding:0}#ageView.front-door{display:block;width:100%;min-height:100svh;padding:12px 22px 28px;background:radial-gradient(ellipse at 50% 46%,#e4f8ff,transparent 55%),#fff;color:#07376b;box-sizing:border-box}#ageView.front-door.hidden{display:none}.front-shell{max-width:1600px;margin:auto}.front-language-bar{display:flex;justify-content:flex-end;min-height:58px}.front-language-primary{display:flex;align-items:center;gap:16px;padding:12px 20px;border:2px solid #137c89;border-radius:18px;background:#fff;color:#07426c;font-size:15px;font-weight:800;box-shadow:0 5px 18px #1b778820;cursor:pointer}.front-language-primary small{font-size:14px;white-space:nowrap}.front-brand{text-align:center;margin:-24px auto 14px;max-width:650px;pointer-events:none}.front-brand h1{font:700 clamp(32px,3.6vw,60px)/1.05 Georgia,serif;margin:0}.front-brand h1 small{display:block;font-size:.43em;margin:7px 0 12px;color:#496b94}.front-book-mark{display:inline-block!important;width:1em;height:1em;vertical-align:-.12em}.front-brand p{font-size:clamp(16px,1.45vw,23px);margin:0;line-height:1.45;color:#496b94}
.front-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) minmax(0,1fr);gap:8px;align-items:stretch}.front-side{display:flex;flex-direction:column;gap:14px;padding:10px 0;min-width:0}.front-center{min-width:0;display:flex;flex-direction:column;justify-content:flex-end}.front-scene{position:relative;flex:1;min-height:440px;isolation:isolate}.front-globe{position:absolute;width:105%;aspect-ratio:1;left:-2.5%;top:0;border-radius:50%;background:url('assets/selector-v83-world.png') 40% center/220% 100%;box-shadow:inset -20px -8px 50px #032e7c55,inset 8px 0 32px #fff,0 0 25px #74d9ff77;border:2px solid #bef4ff;opacity:.72;animation:front-earth 90s linear infinite}.front-globe:after{content:'';position:absolute;inset:0;border-radius:50%;background:linear-gradient(100deg,transparent 42%,#001737bb);animation:front-day 28s ease-in-out infinite;box-shadow:inset 0 0 25px #fff}.front-globe:before{content:'';position:absolute;top:18%;left:12%;width:3px;height:3px;background:white;border-radius:50%;box-shadow:40px 70px white,120px -20px white,210px 45px white,280px 10px white,330px 140px white,60px 240px white;z-index:2;animation:front-day 28s ease-in-out infinite}.front-orbit{position:absolute;inset:0 -7% 10%;border:1px solid #82d5f7;border-radius:50%;transform:rotate(-17deg);z-index:-1}.front-tea{position:absolute;height:104%;width:114%;max-width:none;left:-7%;bottom:-2%;object-fit:contain;object-position:center bottom;z-index:1;filter:drop-shadow(0 10px 12px #15365018)}
#ageView .front-course.age-card{position:relative;display:grid;grid-template-columns:46% 54%;align-items:center;flex:1;min-height:205px;width:100%;border:3px solid var(--front-tone);border-radius:50%;padding:14px 20px 14px 4px;background:linear-gradient(125deg,var(--front-soft),#fff);color:#07376b;overflow:visible;text-align:start;box-shadow:0 0 0 5px #fff,0 6px 24px #214b7b0b;cursor:pointer;transition:transform .18s,box-shadow .18s}#ageView .front-course:focus-visible{outline:4px solid #006b82;outline-offset:5px}#ageView .front-course:hover{transform:translateY(-3px);box-shadow:0 0 0 5px #fff,0 8px 24px #214b7b22}.front-course-0{--front-tone:#ffe7a0;--front-soft:#fff8e7}.front-course-1{--front-tone:#a4dfff;--front-soft:#e6f5ff}.front-course-2{--front-tone:#e4caff;--front-soft:#f5eefe}.front-course-3{--front-tone:#ffc8e1;--front-soft:#ffedf5}.front-course-4{--front-tone:#b4efda;--front-soft:#e6faf3}.front-course-5{--front-tone:#ffdab1;--front-soft:#fff1e2}.front-figure{width:100%;height:100%;max-height:240px;align-self:end;pointer-events:none;clip-path:ellipse(53% 49% at 50% 50%)}.front-course-copy{min-width:0;display:flex;flex-direction:column;gap:8px;position:relative;z-index:1;padding:18px 16px 18px 0}.front-course-copy>strong{font:700 clamp(21px,1.6vw,26px)/1.1 Georgia,serif;overflow-wrap:anywhere}.front-course-copy>span:not(.front-arrow){font-size:clamp(13px,1.15vw,18px);line-height:1.4;color:#45688c;overflow-wrap:anywhere}.front-course-copy>b{color:#00828a;font-size:18px}.front-arrow{display:grid;place-items:center;border-radius:50%;width:44px;height:44px;background:#137f8c;color:white;font-size:29px;box-shadow:0 2px 6px #163d5222;align-self:center}
.front-test{position:relative;z-index:3;background:#ffffffec;border:1px solid #edf3f7;border-radius:30px;padding:17px 20px 15px;text-align:center;box-shadow:0 14px 40px #417c8f15;margin:0 -10px}.front-test h2{font:700 clamp(22px,2.2vw,35px)/1.15 Georgia,serif;margin:0 0 12px}.front-test-button{width:100%;min-height:58px;background:linear-gradient(120deg,#00939b,#08707d);border:0;border-radius:20px;color:white;font:700 clamp(17px,1.5vw,25px)/1.3 Georgia,serif;padding:12px;cursor:pointer}.front-tagline{font:700 clamp(16px,1.4vw,22px)/1.35 Georgia,serif;margin:12px 0 6px}.front-powers{font-size:14px;line-height:1.5;color:#486b8d;margin:0 0 8px}.front-language-secondary{font-size:14px;color:#075b71;background:#edf9fb;border:1px solid #8fc4cb;border-radius:12px;padding:8px 14px;cursor:pointer}
#frontLanguageDialog{width:min(740px,calc(100% - 28px));max-height:85svh;border:1px solid #aecbd7;border-radius:24px;padding:24px;color:#173e60;background:#fff;box-shadow:0 20px 70px #001b4855;box-sizing:border-box}#frontLanguageDialog::backdrop{background:#082b4b77}.front-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.front-dialog-head h2{font-size:23px}.front-dialog-head button{padding:10px;border-radius:12px;border:1px solid #adc6d0;background:#f5fbff;color:#234760;cursor:pointer}#frontLanguageOptions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#frontLanguageOptions button{min-height:52px;background:#f2f8fb;color:#163e5b;border:1px solid #bfd3dd;border-radius:12px;padding:10px;font-size:17px;cursor:pointer}#frontLanguageOptions button[aria-pressed=true]{border:2px solid #007f88;background:#e1f7f5}.front-certificate{font-size:19px;line-height:1.55;font-weight:750;color:#287562;background:#eff8f2;border:1px solid #c5e3cf;border-radius:17px;padding:18px;margin:20px 0}
@keyframes front-earth{from{background-position:40% center}to{background-position:240% center}}@keyframes front-day{0%,100%{opacity:.1}50%{opacity:.72}}
@media(max-width:1200px){.front-brand{margin:12px auto}.front-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr)}.front-scene{min-height:460px}#ageView .front-course.age-card{border-radius:40%;padding:12px 15px 12px 3px;min-height:230px}.front-course-copy>strong{font-size:23px}.front-course-copy>span:not(.front-arrow){font-size:14px}}
@media(max-width:900px){#ageView.front-door{padding:12px 16px 24px}.front-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.front-center{grid-column:1/-1;grid-row:1;max-width:620px;width:100%;justify-self:center}.front-scene{height:480px;flex:none;min-height:0}.front-globe{width:85%;left:7.5%}.front-tea{width:100%;left:0}.front-orbit{inset:0 5% 5%}.front-left{grid-column:1}.front-right{grid-column:2}.front-test{margin:0}.front-brand{margin:15px auto 20px}.front-course-copy>strong{font-size:24px}.front-course-copy>span:not(.front-arrow){font-size:15px}}
@media(max-width:550px){.front-language-primary{width:100%;justify-content:space-between;font-size:13px;padding:12px}.front-language-bar{width:100%}.front-brand h1{font-size:36px}.front-brand p{font-size:17px}.front-layout{display:flex;flex-direction:column;gap:14px}.front-center{order:0}.front-left{order:1}.front-right{order:2}.front-side{gap:16px;padding:0}.front-scene{height:370px;overflow:hidden}.front-globe{width:100%;left:0}.front-tea{height:100%}.front-orbit{inset:15px 20px 25px;transform:none}#ageView .front-course.age-card{border-radius:100px;min-height:220px;grid-template-columns:43% 57%;padding:14px 26px 14px 8px}.front-course-copy>strong{font-size:26px}.front-course-copy>span:not(.front-arrow){font-size:16px}.front-figure{max-height:205px}.front-test h2{font-size:26px}#frontLanguageOptions{grid-template-columns:repeat(2,minmax(0,1fr))}#frontLanguageDialog{padding:16px}.front-dialog-head h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){.front-globe,.front-globe:after,.front-globe:before{animation:none}#ageView .front-course.age-card{transition:none}}

/* Compact public landing: header and all six courses share one viewport. */
#ageView.front-door{padding:12px 24px;min-height:100svh}
.front-shell{position:relative;max-width:1720px}
.front-language-bar{height:82px;min-height:0;align-items:flex-start}
.front-language-primary{font-size:13px;padding:10px 15px;gap:12px;border-radius:15px}
.front-language-primary small{font-size:13px}
.front-brand{position:absolute;top:0;left:0;margin:0;text-align:left;max-width:calc(100% - 330px)}
.front-brand h1{font-size:32px;line-height:1.06}
.front-brand h1 small{display:inline;font-size:18px;margin-left:10px}
.front-brand p{font-size:15px;line-height:1.3;margin-top:6px}
.front-layout{height:calc(100svh - 106px);min-height:470px;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr);gap:22px}
.front-side{gap:12px;padding:8px 0;display:grid;grid-template-rows:repeat(3,minmax(0,1fr))}
.front-center{grid-column:auto;grid-row:auto;max-width:none;width:auto;min-height:0}
.front-scene{min-height:0;height:auto;flex:1;overflow:hidden}
.front-globe{width:auto;height:95%;max-width:100%;aspect-ratio:1;left:50%;transform:translateX(-50%);top:0}
.front-tea{height:100%;width:100%;left:0;bottom:0}
.front-orbit{inset:4% 3% 6%;transform:rotate(-12deg)}
#ageView .front-course.age-card{min-height:0;height:100%;border-width:2px;border-radius:46%;padding:8px 16px 8px 3px;grid-template-columns:40% 60%;box-shadow:0 3px 18px #214b7b0b}
.front-figure{min-height:0;max-height:100%;height:100%;align-self:center}
.front-course-copy{gap:5px;padding:4px 6px 4px 0}
.front-course-copy>strong{font-size:clamp(19px,1.6vw,28px);line-height:1.08}
.front-course-copy>span:not(.front-arrow){font-size:clamp(13px,1vw,17px);line-height:1.3}
.front-course-copy>b{font-size:15px}
.front-arrow{width:30px;height:30px;font-size:22px;align-self:flex-start}
.front-test{flex:none;border-radius:22px;padding:10px 12px;margin:0}
.front-test h2{font-size:clamp(20px,1.7vw,27px);margin:0 0 7px}
.front-test-button{min-height:42px;font-size:clamp(16px,1.3vw,21px);padding:9px 10px;border-radius:14px}
.front-tagline{font-size:clamp(14px,1.1vw,18px);margin:8px 0 5px;line-height:1.25}
.front-powers{font-size:12px;line-height:1.3;margin-bottom:5px}
.front-language-secondary{font-size:12px;padding:6px 12px}
@media(min-width:701px) and (max-height:750px){
 .front-language-bar{height:70px}.front-layout{height:calc(100svh - 94px);min-height:430px;gap:16px}
 .front-course-copy{gap:3px}.front-course-copy>strong{font-size:clamp(18px,1.6vw,25px)}
 .front-course-copy>span:not(.front-arrow){font-size:13px}.front-arrow{width:26px;height:26px;font-size:20px}
 .front-side{gap:9px;padding:5px 0}.front-test{padding:8px 10px}.front-test h2{font-size:21px}
}
@media(min-width:701px) and (max-width:1050px){
 #ageView.front-door{padding:10px 14px}.front-layout{gap:12px;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) minmax(0,1fr)}
 .front-left{grid-column:auto}.front-right{grid-column:auto}.front-brand{max-width:calc(100% - 275px)}
 .front-brand h1{font-size:26px}.front-brand h1 small{font-size:15px}.front-brand p{font-size:13px}
 .front-language-primary{font-size:11px;padding:9px;gap:8px}.front-language-primary small{font-size:12px}
 #ageView .front-course.age-card{grid-template-columns:32% 68%;border-radius:35%;padding-right:9px}
 .front-course-copy>strong{font-size:19px}.front-course-copy>span:not(.front-arrow){font-size:12px}
 .front-test h2{font-size:20px}.front-test-button{font-size:15px}.front-tagline{font-size:14px}
}
@media(max-width:700px){
 #ageView.front-door{padding:9px 12px}
 .front-language-bar{height:68px;width:auto}
 .front-language-primary{width:auto;display:block;max-width:43%;padding:7px 9px;font-size:10px;text-align:center}
 .front-language-primary small{display:block;margin-top:3px;font-size:12px}
 .front-brand{max-width:55%;top:3px}.front-brand h1{font-size:23px}.front-brand h1 small{display:block;font-size:12px;margin:3px 0}
 .front-brand p{font-size:10px;line-height:1.2;margin-top:4px}
 .front-layout{display:grid;height:calc(100svh - 86px);min-height:620px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(180px,.8fr) minmax(400px,1.6fr);gap:10px}
 .front-center{grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:38% 62%;width:100%;min-height:0;align-items:center}
 .front-scene{height:100%;min-height:0;width:100%}.front-globe{height:auto;width:100%;top:15%}.front-orbit{inset:15% 2%}
 .front-tea{height:100%;width:120%;left:-10%}.front-test{padding:8px;box-shadow:none}.front-test h2{font-size:18px}
 .front-test-button{font-size:14px;min-height:42px;padding:8px}.front-tagline{font-size:12px}.front-powers{font-size:10px}
 .front-language-secondary{font-size:11px;padding:7px 9px;min-height:32px}
 .front-left{grid-column:1;grid-row:2}.front-right{grid-column:2;grid-row:2}.front-side{padding:0;gap:8px}
 #ageView .front-course.age-card{border-radius:24px;grid-template-columns:29% 71%;padding:8px 5px;min-height:0}
 .front-course-copy{gap:4px;padding:0 2px}.front-course-copy>strong{font-size:16px}.front-course-copy>span:not(.front-arrow){font-size:11px;line-height:1.25}.front-course-copy>b{font-size:12px}.front-arrow{width:24px;height:24px;font-size:18px}
 .front-figure{height:95%;max-height:120px}.front-course-copy>strong{overflow-wrap:normal}
}
@media(min-width:701px){.front-layout{grid-template-rows:minmax(0,1fr)}.front-side{min-height:0}}
@media(max-width:400px){.front-course-copy{gap:3px}.front-course-copy>strong{font-size:15px}.front-course-copy>span:not(.front-arrow){font-size:10.5px}#ageView .front-course.age-card{grid-template-columns:27% 73%}}

/* Complete portraits in gently rounded course cards. */
#ageView .front-course.age-card{border-radius:28px;padding:10px 16px 10px 10px;grid-template-columns:37% 63%;box-shadow:0 4px 16px #214b7b0b}
.front-figure{clip-path:none;height:92%;max-height:92%;width:94%;justify-self:center;align-self:center}
.front-tea{transform:scale(1.065);transform-origin:center bottom}
@media(min-width:701px) and (max-width:1050px){#ageView .front-course.age-card{padding:8px;grid-template-columns:33% 67%}}
@media(max-width:700px){#ageView .front-course.age-card{border-radius:22px;padding:6px 5px;grid-template-columns:28% 72%}.front-figure{height:88%;max-height:120px;width:100%}}
