@font-face{font-family:HikmaHand;src:url("assets/fonts/Caveat.ttf") format("truetype");font-weight:400 700;font-display:swap}
@font-face{font-family:HikmaPixel;src:url("assets/fonts/PressStart2P.ttf") format("truetype");font-weight:400;font-display:swap}
:root{--page-gutter:clamp(20px,4vw,80px);--orange:#dc8652;--mint:#dfe8cf}
body{background-color:#faf8ef;background-image:radial-gradient(ellipse at 4% 28%,#eecf8b33,transparent 30%),radial-gradient(ellipse at 98% 57%,#bfcfa533,transparent 28%)}
.page{max-width:none;width:100%;padding:0 var(--page-gutter)}
.header{max-width:none;padding-inline:var(--page-gutter)}
body::before,body::after{width:32px;background-size:48px 430px;opacity:.6}
.school-footer{margin-inline:calc(0px - var(--page-gutter));padding-inline:var(--page-gutter)}
.rug-hero{height:clamp(600px,48vw,820px);aspect-ratio:auto;margin-top:28px;border-radius:16px;overflow:visible}
.rug-image,.rug-shade{border-radius:16px}
.rug-image{clip-path:inset(0 round 16px)}
.rug-shade{background:linear-gradient(90deg,#210b0714,#210b07c7 46%,#210b07e6 76%,#210b0777);pointer-events:none}
.rug-content{width:61%;margin-left:auto;align-items:flex-start;text-align:left;padding:55px 6% 92px 3%;position:relative;z-index:2}
.rug-content h1{font-size:clamp(48px,4.9vw,84px);line-height:1.08;letter-spacing:-.045em;width:100%}
.rug-content h1 em{display:flex;align-items:center;min-height:1.7em;width:100%;font-style:italic;font-size:.85em;letter-spacing:-.04em;line-height:1.2;overflow-wrap:normal}
#hero-accent[data-font=hand]{font-family:HikmaHand,cursive;font-size:1.12em;font-weight:600;letter-spacing:-.04em;font-style:normal}
#hero-accent[data-font=pixel]{font-family:HikmaPixel,monospace;font-size:.35em;letter-spacing:-.045em;font-style:normal;line-height:1.7;min-height:4.12em}
#hero-accent.is-changing{opacity:0;transform:translateY(9px)}
.rug-kicker{font-size:10px;line-height:1.8;letter-spacing:.14em;margin-bottom:20px;max-width:430px}
.rug-description{margin:18px 0 26px;max-width:470px;font-size:14px}
.rug-content .actions{gap:14px;justify-content:flex-start}
.rug-content .btn{min-height:50px;padding:14px 22px}
.rug-content .text-link{font-size:11px;padding:14px 16px}
.rug-footnote{margin-top:22px}
.motion-toggle{margin-top:20px;padding:7px 0;border:0;border-bottom:1px solid #fff4d34d;background:none;color:#e8d8b8;font-size:10px;letter-spacing:.04em;cursor:pointer}
.motion-toggle:focus-visible{outline:2px solid white}
.hero-story{position:absolute;left:6%;top:16%;width:29%;height:65%;margin:0;z-index:3;padding:12px 12px 52px;background:#fbf4df;transform:rotate(-5deg);border-radius:3px;box-shadow:0 20px 44px #17090566}
.hero-story::before{content:"";position:absolute;inset:-10px 10px 6px -8px;background:#e8d5b0;transform:rotate(5deg);z-index:-1;border-radius:2px}
.photo-stack{position:relative;height:100%;overflow:hidden;background:#e4dccc}
.story-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}
.story-photo.is-current{opacity:1}
.hero-story figcaption{position:absolute;bottom:17px;left:12px;right:12px;text-align:center;color:#513c2c;font:24px/1 HikmaHand,cursive}
.photo-dots{position:absolute;bottom:-22px;left:0;right:0;display:flex;justify-content:center;gap:6px}
.photo-dots i{width:5px;height:5px;border-radius:50%;background:#fff5}
.photo-dots i.is-current{background:#fff4d6}
.rug-cat{position:absolute;right:4px;bottom:-9px;width:clamp(110px,13vw,200px);height:auto;z-index:4;pointer-events:none;filter:drop-shadow(0 8px 10px #180b0755)}
.corner-lights{position:absolute;left:-34px;top:-20px;width:180px;height:150px;object-fit:contain;transform:rotate(-28deg);transform-origin:30% 20%;z-index:3;pointer-events:none}
.how{position:relative;isolation:isolate}
.how::after{content:"";position:absolute;right:0;top:-18px;width:100px;height:100px;border:18px solid #df966634;border-radius:50% 50% 10% 50%;transform:rotate(20deg);z-index:-1}
.section-heading{position:relative}
.section-heading::before{content:"";position:absolute;left:-13px;top:-15px;width:65px;height:65px;background:#e3c65f3d;border-radius:55% 45% 65% 35%;z-index:-1;transform:rotate(15deg)}
.course-card{border-radius:17px;box-shadow:0 4px 0 #cbd3b31a}
.course-cover{background:#e8edcf}
.course-card:nth-child(2) .course-cover{background:#f2d8c1}
.course-card:nth-child(3) .course-cover{background:#d6e8df}
.card-bottom button{width:auto;min-width:70px;padding:8px 12px;border-radius:10px;font-size:11px}
.site-preferences{background:#5c805e;padding:0 var(--page-gutter) 22px;display:flex;justify-content:center;gap:20px;position:relative;z-index:1}
.site-preferences button{background:none;border:0;color:#f4f4df;text-decoration:underline;font:11px Arial;cursor:pointer;padding:6px}
.cookie-panel,.paid-panel{position:fixed;z-index:30;left:24px;bottom:24px;max-width:450px;width:calc(100% - 48px);padding:25px;background:#fffdf4;color:#254333;border:1px solid #dfe4d3;border-radius:20px;box-shadow:0 14px 55px #1c38272b}
.cookie-panel[hidden],.paid-panel[hidden]{display:none}
.cookie-panel h2,.paid-panel h2{font:28px/1.15 Georgia,serif;margin:8px 0 13px}
.cookie-panel p,.paid-panel p{font-size:12px;line-height:1.75;margin-bottom:14px}
.cookie-panel a{font-size:11px;text-decoration:underline}
.notice-kicker{color:#8d623b;text-transform:uppercase;letter-spacing:.13em;font-size:9px!important;margin:0}
.notice-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap;align-items:center}
.notice-actions .btn{font-size:11px;padding:11px 15px}
.paid-panel{left:auto;right:24px;max-width:350px;background:#e9eedc}
.paid-panel h2{padding-right:18px}
.notice-close{position:absolute;right:12px;top:10px;width:36px;height:36px;border:0;border-radius:50%;background:#fff8;color:#254333;font-size:24px}
@media(prefers-reduced-motion:no-preference){
 .rug-content{animation:hero-arrive 1s ease both}
 .hero-story{animation:photo-arrive .85s .15s ease both}
 .story-photo{transition:opacity 1.1s ease}
 #hero-accent{transition:opacity .3s ease,transform .3s ease}
 @keyframes hero-arrive{from{opacity:0;transform:translateX(-34px)}to{opacity:1;transform:translateX(0)}}
 @keyframes photo-arrive{from{opacity:0;transform:translateY(15px) rotate(-8deg)}to{opacity:1;transform:translateY(0) rotate(-5deg)}}
}
.motion-paused .rug-content,.motion-paused .hero-story{animation:none}
.motion-paused .story-photo,.motion-paused #hero-accent{transition:none}
.entrance-complete .rug-content,.entrance-complete .hero-story{animation:none}
@media(max-width:1100px){.rug-content{width:61%;padding-left:3%;padding-right:4%}.hero-story{left:5%;width:30%;height:59%;top:20%}.rug-content h1{font-size:52px}.rug-content .actions{gap:10px}.rug-content .text-link{padding:10px 12px}.rug-description{font-size:13px}.corner-lights{width:135px;left:-45px;top:-24px}}
@media(max-width:760px){.corner-lights{display:none}.rug-hero{height:auto;min-height:950px;padding-top:34px;margin-top:22px}.rug-image{width:100cqh;height:100cqw}.rug-shade{background:#26100cb8}.hero-story{position:relative;width:min(65%,280px);height:280px;top:auto;left:auto;margin:0 auto 35px;transform:rotate(-4deg)}.rug-content{width:100%;height:auto;margin:0;align-items:center;text-align:center;padding:15px 30px 100px}.rug-kicker{font-size:9px;max-width:290px}.rug-content h1{font-size:clamp(40px,9vw,58px)}.rug-content h1 em{justify-content:center;min-height:1.8em;white-space:nowrap}.rug-content .actions{flex-direction:row;justify-content:center;gap:12px}.rug-description{font-size:13px}.rug-cat{width:120px;bottom:-6px;right:0}.rug-footnote{max-width:none}.motion-toggle{margin-top:14px}.hero-story figcaption{font-size:24px}.cookie-panel,.paid-panel{left:12px;right:12px;bottom:12px;width:calc(100% - 24px);max-width:none;padding:20px}.site-preferences{padding-inline:20px}}
@media(max-width:370px){.rug-content{padding-inline:18px}.rug-content h1{font-size:36px}.rug-kicker{letter-spacing:.07em}.rug-content .text-link{font-size:10px}.hero-story{width:70%;height:250px}.rug-hero{min-height:960px}}
@media(prefers-reduced-motion:reduce){.rug-content,.hero-story{animation:none!important}.story-photo,#hero-accent{transition:none!important}}

/* Exact supplied Pinterest images; never crop the carpet or remove watermarks. */
.rug-hero{height:auto;aspect-ratio:98/60;container-type:size}
.rug-backdrop{position:absolute;inset:0;container-type:size;overflow:hidden;border-radius:16px}
.rug-backdrop .rug-image{object-fit:contain;clip-path:none;border-radius:0;z-index:0}
.rug-backdrop .rug-shade{z-index:1}
.rug-cat{right:12px;bottom:12px;width:clamp(160px,17vw,280px);border:4px solid #fff;border-radius:8px;filter:drop-shadow(0 6px 8px #17090644)}
.rug-content{padding-top:8%;padding-bottom:12%}
.corner-lights{width:160px;height:105px;left:-65px;top:-25px;mix-blend-mode:multiply}
.rug-content h1 em,#hero-accent[data-font=pixel]{height:clamp(85px,9vw,150px);min-height:clamp(85px,9vw,150px)}
@media(max-width:1000px) and (min-width:761px){.rug-content{padding-top:7%;padding-bottom:7%}.rug-content h1{font-size:clamp(32px,4.7vw,50px)}.rug-kicker{font-size:8px;margin-bottom:10px}.rug-description{font-size:11px;margin:10px 0 16px}.rug-footnote{font-size:9px;margin-top:10px}.motion-toggle{margin-top:8px}.hero-story{height:60%;top:20%;padding-bottom:42px}.hero-story figcaption{font-size:18px}.rug-content .btn{padding:10px 14px;min-height:42px}.rug-content .text-link{font-size:10px}}
@media(max-width:760px){
 .rug-hero{container-type:normal;aspect-ratio:auto;height:auto;min-height:0;padding-top:0;background:#fff8e9;overflow:hidden}
 .rug-backdrop{position:relative;inset:auto;width:100%;aspect-ratio:98/60;border-radius:0}
 .rug-backdrop .rug-shade{display:none}
 .rug-cat{width:100px;right:6px;bottom:6px;border-width:2px;border-radius:4px}
 .hero-story{margin:28px auto 36px}
 .rug-content{height:auto;padding:0 22px 32px;color:#173f35}
 .rug-content h1{font-size:clamp(36px,8vw,54px);text-shadow:none}
 .rug-content h1 em{color:#936230}
 .rug-content h1 em,#hero-accent[data-font=pixel]{height:90px;min-height:90px}
 .rug-description,.rug-kicker,.rug-footnote{color:#53674e;text-shadow:none}
 .rug-content .text-link{color:#173f35;background:#edf0de;border-color:#d9dfc9;text-shadow:none;backdrop-filter:none}
 .motion-toggle{color:#53674e;border-color:#b7c2a6}
 .rug-content :focus-visible{outline-color:#173f35}
}

/* Paper-cut sticker: visual feedback only, never navigation. */
.corner-lights{width:330px;height:225px;left:-60px;top:-25px}
.cat-sticker{position:absolute;right:18px;bottom:18px;width:clamp(160px,17vw,280px);padding:0;border:0;background:none;z-index:5;cursor:pointer;transform-origin:60% 80%;transition:transform .22s ease;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.cat-sticker .rug-cat{position:static;display:block;width:100%;height:auto;border:0;border-radius:0;pointer-events:none;filter:drop-shadow(0 5px 4px #17090655)}
.cat-sticker:focus-visible{outline:3px dashed #fff5bc;outline-offset:5px;border-radius:20px}
@media(hover:hover){.cat-sticker:hover{transform:rotate(-4deg) scale(1.06)}}
.cat-sticker.is-popping{animation:cat-pop .32s ease-out}
@keyframes cat-pop{0%,100%{transform:rotate(-4deg) scale(1.06)}45%{transform:rotate(-2deg) scale(.94)}}
@media(max-width:760px){.corner-lights{display:block;width:210px;height:140px;left:-65px;top:-25px}.cat-sticker{width:110px;right:9px;bottom:9px}}
@media(prefers-reduced-motion:reduce){.cat-sticker{transition:none}.cat-sticker:hover{transform:none}.cat-sticker.is-popping{animation:none}}

/* Fit the entire uncropped welcome card beneath the desktop header. */
.rug-plant{width:22%;height:36%;max-height:none;object-fit:contain;border-radius:0;box-shadow:none;filter:drop-shadow(0 5px 5px #210b0755)}
.course-cover{height:180px}
.course-art{width:90%;height:135%;bottom:-25px;right:-12px}
.course-art.globe-art{width:85%;height:145%;bottom:-48px;right:-18px}
.closed-sign{position:absolute;top:38px;right:20px;padding:10px 20px;border:3px double #f9e7be;border-radius:7px;background:#743e32;color:#fff2cf;font:italic 30px Georgia;transform:rotate(8deg);box-shadow:0 5px 10px #321b1733}
.closed-sign::before{content:"";position:absolute;width:60%;height:30px;left:20%;top:-30px;border:1px solid #745f42;border-bottom:0;clip-path:polygon(0 100%,50% 0,100% 100%)}
.course-card button:disabled{opacity:.55;cursor:not-allowed}
.cat-links{position:absolute;z-index:8;right:3%;bottom:30%;width:min(260px,85%);padding:14px;background:#fff9e9;color:#234638;border-radius:15px;box-shadow:0 7px 25px #17090655;font:12px/1.5 Arial}
.cat-links[hidden]{display:none}
.cat-links a,.cat-links summary{display:block;padding:9px 8px;cursor:pointer;border-radius:7px}
.cat-links a:hover,.cat-links summary:hover{background:#e7edd9}
.cat-links a:focus-visible,.cat-links summary:focus-visible{outline:2px solid #234638}
@media(min-width:761px){.header{width:min(calc(100% - 2 * var(--page-gutter)),calc((100svh - 156px) * 98 / 60));padding-inline:0;display:grid;grid-template-columns:1fr auto 1fr}.header>.btn{justify-self:end}.header .nav{justify-self:center}}
@media(max-width:760px){
 .rug-backdrop{aspect-ratio:60/98}
 .rug-backdrop .rug-image{width:100%;height:100%;transform:translate(-50%,-50%);object-fit:contain}
 .rug-plant{width:35%;height:35%;left:2%;bottom:2%}
 .cat-links{bottom:20%;right:4%}
 .course-cover{height:160px}
}
.rug-plant{position:absolute;left:1.5%;bottom:2%;width:22%;height:36%;object-fit:contain;object-position:center;z-index:4;pointer-events:none;border-radius:0;box-shadow:none;transform:rotate(-5deg)}
.course-cover{position:relative;overflow:hidden}
.course-cover .tag{position:relative;z-index:2}
.course-art{position:absolute;right:-12px;bottom:-25px;width:90%;height:135%;object-fit:contain;transform:rotate(-8deg)}
.course-card[data-course-id="travel"] .course-cover{background:#cbeafa}
.course-art.globe-art{width:85%;height:145%;right:-18px;bottom:-48px;transform:rotate(12deg)}
@media(max-width:760px){.rug-plant{width:35%;height:35%;max-height:none;left:2%;bottom:2%}}
@media(min-width:761px){
 .header{height:100px;padding-block:14px}
 .rug-hero{width:min(100%,calc((100svh - 156px) * 98 / 60));height:auto;min-height:0;aspect-ratio:98/60;margin:24px auto 32px}
 .rug-content{width:61%;padding:5% 6% 5% 3%;justify-content:center}
 .rug-content h1{font-size:clamp(30px,5.1cqw,76px)}
 .rug-content h1 em,#hero-accent[data-font=pixel]{height:1.65em;min-height:1.65em}
 #hero-accent[data-font=pixel]{height:4em;min-height:4em}
 .rug-kicker{font-size:clamp(8px,.82cqw,11px);margin-bottom:2cqw;letter-spacing:.12em}
 .rug-description{font-size:clamp(11px,1.15cqw,15px);margin:1.4cqw 0 2cqw}
 .rug-content .actions{gap:1.2cqw;flex-wrap:wrap}
 .rug-content .btn{min-height:40px;padding:12px 18px;font-size:11px}
 .rug-content .text-link{padding:12px;font-size:10px}
 .rug-footnote{font-size:clamp(8px,.8cqw,10px);margin-top:1.5cqw}
 .motion-toggle{margin-top:1.3cqw;font-size:9px}
 .hero-story{left:6%;top:17%;width:29%;height:64%;padding-bottom:42px}
 .hero-story figcaption{font-size:clamp(16px,2cqw,25px)}
 .cat-sticker{width:18%;right:1.5%;bottom:2%}
}

/* Plant rests on the carpet edge; trailing vines may leave its frame. */
.rug-hero,.rug-backdrop{overflow:visible}
.rug-backdrop .rug-image{clip-path:inset(0 round 16px)}
.rug-plant{left:-7%;bottom:-1.5%;height:38%;width:24%;transform:none;object-position:center bottom;filter:drop-shadow(8px 9px 7px #160d0955)}
.rug-plant[data-variant="hanging"]{left:auto;right:-2%;top:0;bottom:auto;height:48%;width:26%;object-position:center top}
@media(max-width:760px){
 .rug-hero{background:none;margin-bottom:65px}
 .rug-backdrop{border-radius:16px}
 .rug-backdrop .rug-shade{display:block;border-radius:16px;background:linear-gradient(180deg,#210b0740,#210b07db 35%,#210b07df 80%,#210b0715)}
 .hero-story{position:absolute;top:5%;left:29%;width:42%;height:23%;margin:0;padding:7px 7px 25px}
 .hero-story figcaption{font-size:16px;bottom:7px;left:3px;right:3px}
 .photo-dots{bottom:-10px}
 .rug-content{position:absolute;top:32%;left:8%;width:84%;height:50%;margin:0;padding:0;justify-content:flex-start;color:#fff8e9}
 .rug-kicker{color:#f5e3b9;font-size:8px;letter-spacing:.08em;margin-bottom:10px}
 .rug-content h1{font-size:clamp(30px,8vw,45px);color:#fff8e9}
 .rug-content h1 em{color:#f1dba6}
 .rug-content h1 em,#hero-accent[data-font=pixel]{height:64px;min-height:64px}
 .rug-description{color:#fff5df;font-size:11px;line-height:1.6;margin:8px 0 14px}
 .rug-content .actions{gap:8px;flex-wrap:wrap}
 .rug-content .btn{font-size:10px;padding:10px 13px;min-height:36px}
 .rug-content .text-link{font-size:9px;padding:10px;color:#fff5df;background:#30150cd9;border-color:#fff5}
 .rug-footnote{color:#fff0d1;font-size:8px;margin-top:12px}
 .rug-plant{width:29%;height:29%;bottom:-1.5%;left:-3%}
 .rug-plant[data-variant="hanging"]{left:auto;right:0;top:0;bottom:auto;width:27%;height:30%}
 .cat-links{bottom:20%;right:3%;z-index:10}
}
@media(max-width:370px){
 .rug-content{top:31%;left:6%;width:88%}
 .rug-kicker{font-size:7px;margin-bottom:7px}
 .rug-content h1{font-size:27px}
 .rug-content h1 em,#hero-accent[data-font=pixel]{height:50px;min-height:50px}
 .rug-description{font-size:10px;margin:6px 0 10px}
 .rug-content .actions{gap:6px;flex-wrap:nowrap}
 .rug-content .btn,.rug-content .text-link{font-size:8px;padding:9px;min-height:32px}
 .rug-footnote{font-size:7px;margin-top:9px}
}
.course-art{bottom:-47px}
.course-art.globe-art{bottom:-70px}
.course-art.business-art{width:66%;height:99%;right:5%;bottom:0;object-position:center bottom;transform:none;filter:drop-shadow(0 3px 3px #173f3514)}
.course-card[data-course-id="business"] .course-cover{background:#d5e7df}
.course-card[data-course-id="club"]{position:relative;isolation:isolate}
.course-card[data-course-id="club"]::after{content:"";position:absolute;inset:0;border-radius:inherit;background:#1b27252b;z-index:2;pointer-events:none}
.course-card[data-course-id="club"] .closed-sign{z-index:3;font-size:22px;max-width:calc(100% - 40px);text-align:center;line-height:1.15}

/* A single readable help panel; native dialog owns focus and Escape. */
.cat-help-trigger{position:absolute;right:3%;bottom:3%;z-index:7;display:flex;align-items:center;gap:12px;padding:10px 12px 10px 17px;min-height:44px;border:1px solid #e4d4af;border-radius:30px;background:#fff9e9;color:#173f35;font:700 12px Arial;box-shadow:0 4px 14px #17090644;cursor:pointer;transform:translateY(65%)}
.cat-help-trigger span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e9eddc;font:700 14px Georgia}
.cat-help-trigger:focus-visible{outline:3px solid #c48a36;outline-offset:4px}
.cat-help-dialog{position:fixed;inset:auto 28px 28px auto;width:min(370px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;box-sizing:border-box;padding:26px;border:1px solid #e1d7be;border-radius:24px;background:#fffaf0;color:#173f35;box-shadow:0 24px 80px #152b3540;font:14px/1.6 Arial}
.cat-help-dialog::backdrop{background:#13251f42;backdrop-filter:blur(3px)}
.cat-help-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.cat-help-heading p{font-size:9px;letter-spacing:.16em;color:#987238;margin:0 0 4px}
.cat-help-heading h2{font:32px Georgia;margin:0}
.cat-help-heading button{display:grid;place-items:center;flex:0 0 44px;height:44px;border:1px solid #dce1d3;border-radius:50%;background:#f1f2e7;color:#173f35;font-size:25px;cursor:pointer}
.cat-help-intro{color:#69746a;margin:16px 0 22px}
.cat-help-dialog nav{display:grid;gap:8px}
.cat-help-dialog nav a{padding:13px 16px;border:1px solid #dfe3d5;border-radius:13px;background:#f3f3e9;text-decoration:none;font-weight:700}
.cat-help-dialog nav a span{display:block;font-size:11px;font-weight:400;color:#69746a}
.cat-help-dialog nav .cat-help-primary{background:#1d4c3e;color:#fff9e9;border-color:#1d4c3e}
.cat-help-dialog nav .cat-help-primary span{color:#d8e3d2}
.cat-help-policy{display:block;margin-top:20px;font-size:11px;color:#69746a;text-align:center}
.cat-help-dialog a:focus-visible,.cat-help-dialog button:focus-visible{outline:3px solid #b98532;outline-offset:3px}
@media(max-width:760px){.cat-help-trigger{right:0;bottom:0;font-size:11px;transform:translateY(75%)}.cat-help-dialog{inset:auto 0 0;width:100%;max-width:none;max-height:85dvh;border-radius:24px 24px 0 0;margin:0;padding:24px 22px calc(24px + env(safe-area-inset-bottom))}.cat-help-dialog::before{content:"";display:block;width:35px;height:4px;margin:-10px auto 18px;border-radius:5px;background:#d8ddcd}}

/* Light-only palette, including Chromium automatic darkening opt-out. */
:root{color-scheme:only light}
html,body{background-color:#f7f6f0;color:#153f36}
.mobile-menu-toggle{display:none}
@media(max-width:760px){
 .header{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;width:100%;height:auto;min-height:132px;padding:48px 20px 16px}
 .header .logo{justify-self:start;position:relative;z-index:4}
 .header .school-logo{width:110px;height:59px}
 .mobile-menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;align-items:center;justify-self:end;width:46px;height:46px;border:1px solid #d5ddce;border-radius:13px;background:#fff9e9;color:#153f36;padding:10px;cursor:pointer}
 .mobile-menu-toggle span{display:block;width:22px;height:2px;background:currentColor;border-radius:2px;transition:transform .18s ease,opacity .18s ease}
 .mobile-menu-toggle[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
 .mobile-menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
 .mobile-menu-toggle[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
 .header .nav,.header>#header-signup{display:none}
 .header.mobile-menu-open .nav{display:flex;grid-column:1/-1;flex-direction:column;align-items:stretch;gap:4px;width:100%;padding:12px;background:#fff9e9;border:1px solid #dfe3d9;border-radius:16px}
 .header.mobile-menu-open .nav button{width:100%;text-align:left;padding:12px 14px;min-height:44px;font-size:14px;border-radius:10px}
 .header.mobile-menu-open>#header-signup{display:inline-flex;grid-column:1/-1;min-height:46px;justify-self:stretch}
}
@media(prefers-reduced-motion:reduce){.mobile-menu-toggle span{transition:none}}

/* Course footers must not squeeze the label against the action. */
.course-card .card-bottom{gap:16px;flex-wrap:wrap;padding-top:18px;margin-top:20px;row-gap:14px}
.course-card .card-bottom>span{flex:1 1 130px;line-height:1.6;min-width:0}
.course-card .card-bottom>button{flex:0 0 auto;white-space:nowrap;min-height:44px;padding:11px 16px;margin-left:auto}
@media(max-width:380px){.course-card .card-bottom>span{flex-basis:100%}.course-card .card-bottom>button{margin-left:0}}

.header .header-profile{display:flex;align-items:center;justify-self:end;gap:10px;max-width:275px;padding:8px 11px;border:1px solid #d7dfce;border-radius:14px;background:#eef1e5;min-width:0;text-decoration:none}
.header #header-profile[hidden],.header #header-signup[hidden]{display:none!important}
.header-profile-avatar{flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#e5d4aa;color:#214e3e;display:grid;place-items:center;overflow:hidden;font-weight:700}
.header-profile-avatar img{width:100%;height:100%;object-fit:cover}
.header-profile-avatar [hidden]{display:none!important}
.header-profile-copy{display:grid;gap:2px;min-width:0;text-align:left;line-height:1.35}
.header-profile-copy bdi{font-size:13px;font-weight:700;overflow-wrap:anywhere}
.header-profile-copy>span{font-size:10px;color:#607264;overflow-wrap:anywhere}
.header.has-profile{height:auto;min-height:100px}
@media(min-width:761px){.header.has-profile{grid-template-columns:minmax(90px,1fr) auto minmax(160px,1fr);gap:14px}.header.has-profile .nav{gap:3px}.header.has-profile .nav button{padding-inline:9px}}
@media(max-width:760px){.header .header-profile{grid-column:1/-1;justify-self:stretch;max-width:none}.header.has-profile{min-height:132px}.header-profile-copy bdi{font-size:14px}}
