/* Home-only presentation. Lesson, payment, admin and authentication styles stay scoped out. */
.phone:has(.fluir-home){max-width:1120px;border:0;border-radius:0;box-shadow:none;background:#f8f5f0;overflow:visible}
.phone:has(.fluir-home) .mobile{max-height:none;overflow:visible;padding:0 20px 48px}
body:has(.phone:not([hidden]) .fluir-home){background:#f8f5f0}
body:has(.phone:not([hidden]) .fluir-home) .workspace{padding:18px 0 50px}
body:has(.phone:not([hidden]) .fluir-home) .toolbar{background:#f8f5f0;border:0;padding-top:16px;padding-bottom:16px}
body:has(.phone:not([hidden]) .fluir-home) .toolbar>div{margin-right:48px}
body:has(.phone:not([hidden]) .fluir-home) .brand{font-size:42px}
.phone:has(.fluir-home) .phonebar{position:fixed;z-index:4;right:max(14px,calc((100vw - 1040px)/2));top:22px;height:34px;padding:0;background:none;border:0}
.phone:has(.fluir-home) .student-menu-toggle{padding:5px;border:0;background:none}
.phone:has(.fluir-home) .student-menu-toggle svg{width:26px;height:26px}
.phone:has(.fluir-home) .student-menu-toggle span{display:none}
.fluir-home{--home-accent:#946e57;--home-border:#e5ded6}
.fluir-home h2{font-size:clamp(24px,3vw,34px);line-height:1.2;margin:0 0 9px}
.fluir-home .sub{font-size:clamp(13px,1.8vw,17px);line-height:1.45;margin:0 0 12px}
.home-slides{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:22px;position:relative;overscroll-behavior-x:contain}
.home-slides::-webkit-scrollbar{display:none}
.home-slide{position:relative;flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;border-radius:22px;background:#f3ede5}
.home-slide img{display:block;width:100%;height:auto;aspect-ratio:5/3;object-fit:contain}
.home-dots{display:flex;justify-content:center;gap:2px;padding:3px 0 9px}
.home-dots button{width:36px;height:32px;border:0;background:transparent;cursor:pointer;display:grid;place-items:center}
.home-dots button:after{content:'';display:block;width:8px;height:8px;border-radius:50%;background:#d9d0c6}
.home-dots button[aria-current=true]:after{background:var(--home-accent);width:18px;border-radius:8px}
.home-dots button:focus-visible,.home-objective:focus-visible{outline:2px solid var(--home-accent);outline-offset:2px}
.home-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.home-journey{position:relative;border:1px solid var(--home-border);background:#ffffffb8;border-radius:20px;padding:22px 26px;margin:0 0 30px}
.home-journey .box{padding:0;border:0;background:none;margin:0}
.home-journey .fluir-progress>b{font:clamp(22px,2.8vw,30px)/1.25 Georgia,serif;display:block}
.home-journey .fluir-progress p{margin:12px 0;font-size:15px}
.home-journey progress{height:13px;border:0;border-radius:10px;overflow:hidden;display:block;background:#e3e1e1}
.home-journey progress::-webkit-progress-bar{background:#e3e1e1;border-radius:10px}
.home-journey progress::-webkit-progress-value{background:var(--home-accent);border-radius:10px}
.home-journey-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.home-journey-actions .link{font-size:13px;padding:9px 0;color:#886752;min-height:40px}

.home-trail{margin-bottom:20px}
.fluir-home .rail{gap:14px;padding:4px 2px 14px;scroll-snap-type:x proximity}
.fluir-home .card{flex:0 0 calc((100% - 56px)/5);width:auto;min-width:155px;border-radius:17px;border-color:var(--home-border);scroll-snap-align:start}
.fluir-home .card img,.fluir-home .catalog-cover{height:auto;aspect-ratio:383/533;object-fit:contain}
.fluir-home .card div{padding:14px 38px 14px 14px;position:relative;min-height:79px}
.fluir-home .card div:after{content:'→';position:absolute;right:10px;top:17px;width:27px;height:27px;border-radius:50%;background:#f1ebe5;color:#493a30;display:grid;place-items:center;font-size:20px}
.fluir-home .card b{font-size:14px;line-height:1.3}
.fluir-home .card small{font-size:10px;line-height:1.4;margin-top:8px}
.home-objectives{padding:25px;border:1px solid var(--home-border);border-radius:22px;background:#ffffffa8;margin:14px 0 30px}
.home-objective-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}
.home-objective{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:16px;min-width:0;border:0;border-radius:18px;padding:21px 10px 17px;background:#eee5dc;color:#302b25;cursor:pointer;font:inherit;min-height:188px}
.home-objective:nth-child(2){background:#eaddd5}.home-objective:nth-child(3){background:#dfe3da}.home-objective:nth-child(4){background:#eae1d9}
.home-objective svg{width:43px;height:43px;color:#775e4c}
.home-objective:nth-child(3) svg{color:#5c6658}
.home-objective strong{font-size:16px;line-height:1.35;max-width:13ch}
.home-objective>span{font-size:25px;line-height:1}
@media(max-width:650px){body:has(.phone:not([hidden]) .fluir-home) .toolbar{padding:12px 16px}body:has(.phone:not([hidden]) .fluir-home) .brand{font-size:36px}body:has(.phone:not([hidden]) .fluir-home) .workspace{padding-top:5px}.phone:has(.fluir-home) .mobile{padding:0 12px 32px}.phone:has(.fluir-home) .phonebar{top:18px}.home-slides,.home-slide{border-radius:17px}.home-journey{padding:17px 15px;margin-bottom:25px;border-radius:16px}.home-journey .fluir-progress>b{padding-right:0;font-size:24px}.home-journey-actions .link:last-child{position:static;padding:8px 10px}.home-journey-actions{flex-wrap:wrap}.home-journey .fluir-progress p{font-size:13px}.fluir-home .card{flex-basis:44%;min-width:155px}.fluir-home .rail{gap:10px}.fluir-home .card div{padding:10px 28px 10px 9px}.fluir-home .card b{font-size:14px}.fluir-home .card small{font-size:10px;letter-spacing:.2px}.fluir-home .card div:after{width:21px;height:21px;right:5px;top:12px;font-size:17px}.home-objectives{padding:18px 12px;border-radius:18px}.home-objective-grid{gap:7px}.home-objective{min-height:145px;padding:15px 5px;gap:12px;border-radius:13px}.home-objective svg{width:31px;height:31px}.home-objective strong{font-size:11px}.home-objective>span{font-size:21px}}
@media(prefers-reduced-motion:reduce){.home-slides{scroll-behavior:auto}}

body:has(.phone:not([hidden]) .fluir-home) .toolbar>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
@media(max-width:500px){body:has(.phone:not([hidden]) .fluir-home) .toolbar button{font-size:12px;padding:10px}body:has(.phone:not([hidden]) .fluir-home) .brand{font-size:33px}}

.phone:has(.fluir-home) .student-menu-overlay{position:fixed;inset:0;height:100dvh}

/* Editable copy over clean photos; slides carry no action or link. */
.home-slide{container-type:inline-size}
.home-copy{position:absolute;top:15%;left:8%;width:54%;color:#29241f;pointer-events:none}
.home-copy h2{font:5.6cqw/1.04 Georgia,serif;letter-spacing:-.02em;margin:0 0 2cqw;color:#29241f}
.home-copy p{font:2.9cqw/1.35 Arial,sans-serif;color:#29241f;margin:0;max-width:29ch}
.home-slide-1 .home-copy{left:6%;top:16%;width:45%}
.home-slide-1 .home-copy h2{font-size:5cqw}
.home-slide-1 .home-copy p{font-size:2.5cqw;max-width:34ch}
.home-slide-2 .home-copy{left:5%;top:25%;width:56%}
.home-slide-2 .home-copy h2{font-size:4.8cqw}
.home-slide-2 .home-copy p{font-size:2.5cqw;max-width:37ch}

.phone:has(.fluir-home) .phonebar{top:31px}
@media(max-width:650px){.phone:has(.fluir-home) .phonebar{top:25px}}

.home-community{margin-top:24px}.home-community-card{display:block;width:100%;border:0;padding:0;margin:0;background:transparent;border-radius:20px;cursor:pointer}.home-community-card img{display:block;width:100%;height:auto;object-fit:contain;border-radius:20px}.home-community-card:focus-visible{outline:3px solid #946e57;outline-offset:4px}
