@font-face{font-family:Vinila;src:url(assets/vinila-regular.woff2)}@font-face{font-family:Vinila;src:url(assets/vinila-bold.woff2);font-weight:700}@font-face{font-family:Display;src:url(assets/vinila-condensed.woff2);font-weight:700}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:#050505;color:white;font-family:Vinila,Arial,sans-serif;font-size:17px;line-height:1.45}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Display,Impact,sans-serif;line-height:.94;letter-spacing:-.015em}h2{font-size:clamp(48px,6.7vw,102px)}em{font-style:normal;color:#88ffdd}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid #ee44bb;outline-offset:5px}::selection{background:#ee44bb;color:#000}.wrap{padding-left:5.6%;padding-right:5.6%}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em}.skip{position:fixed;top:-80px;z-index:200;background:white;color:black;padding:15px}.skip:focus{top:0}header{height:88px;padding:12px 5.6%;display:flex;align-items:center;gap:35px;border-bottom:1px solid #ffffff24;background:#050505f5;position:sticky;top:0;z-index:30}.brand{width:145px;flex-shrink:0}.brand img{width:100%;height:53px;object-fit:contain;filter:url(#logo-white)}nav{display:flex;gap:30px;margin-left:auto;font-size:14px}nav a:hover{color:#88ffdd}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:35px;border-radius:8px;padding:19px 24px;font-weight:700;transition:transform .2s,background .2s}.button:hover{transform:translateY(-3px)}.button.small{font-size:14px;padding:13px 18px}.mint{background:#88ffdd;color:black}.pink{background:#ee44bb;color:black}.black{background:#000;color:white}.outline{border:1px solid #777}.hero{padding-top:32px;padding-bottom:28px;overflow:hidden}.hero-top{display:flex;justify-content:space-between}.eyebrow i{display:inline-block;background:#88ffdd;width:7px;height:7px;border-radius:50%;margin-right:8px}.hero-grid{display:grid;grid-template-columns:1.45fr 1fr;align-items:center;min-height:570px;gap:12px}.kicker{font-size:19px;font-weight:700;margin-bottom:18px}h1{font-size:clamp(64px,8.5vw,137px);position:relative;z-index:2}.funk{font-size:.65em;color:#ee44bb;display:inline-block;transform:rotate(-7deg);vertical-align:12%;margin-left:8px}.intro{font-size:18px;max-width:550px;margin-top:28px;color:#d6d6d6}.actions{display:flex;gap:25px;align-items:center;margin-top:28px;flex-wrap:wrap}.text-link{font-size:15px;font-weight:700;border-bottom:1px solid #777;padding:8px 0}.text-link:hover{color:#ee44bb}.hero-art{position:relative;aspect-ratio:1;display:grid;place-items:center}.big-star{width:96%;animation:slowturn 35s linear infinite}.seal{position:absolute;bottom:3%;right:10%;background:#88ffdd;color:#000;font-family:Display;font-size:32px;line-height:.95;border:7px solid #050505;padding:18px 26px;border-radius:50%;transform:rotate(12deg)}.art-caption{position:absolute;right:0;top:3%;font-size:11px;letter-spacing:.12em;transform:rotate(90deg);transform-origin:right}.hero-bottom{display:flex;justify-content:space-between;font-size:12px;color:#aaa;border-top:1px solid #333;padding-top:22px}.hero-bottom a{color:#88ffdd}.ribbon{background:#ee44bb;color:#000;font-family:Display;font-size:clamp(23px,3vw,44px);padding:15px 0;white-space:nowrap;text-align:center;overflow:hidden;transform:rotate(-1deg);margin:25px 0}.ribbon b{padding:0 25px}.lessons{padding-top:85px;padding-bottom:80px}.section-top{display:flex;gap:50px;justify-content:space-between;align-items:flex-end;margin-bottom:38px}.section-top .eyebrow{display:block;margin-bottom:22px;color:#aaa}.section-intro{max-width:390px;font-size:17px;line-height:1.5}.chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:20px}.chips span{border:1px solid #444;padding:7px 11px;border-radius:99px;font-size:11px}.lesson-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 22px}.lesson-card{background:transparent;border:0;color:white;padding:0;text-align:left;min-width:0}.lesson-image{position:relative;overflow:hidden;border-radius:9px;aspect-ratio:16/9}.lesson-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.lesson-card:hover img{transform:scale(1.04)}.play{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;background:#88ffdd;color:#000;width:37px;height:37px;border-radius:50%;font-size:13px}.lesson-card small{display:block;color:#88ffdd;font-size:11px;margin:15px 0 8px;letter-spacing:.07em}.lesson-card h3{font-size:29px}.lesson-card p{font-size:14px;color:#aaa;margin-top:9px;line-height:1.45}.course-bottom{border-top:1px solid #333;margin-top:35px;padding-top:22px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:15px}.diploma-section{background:#88ffdd;color:#000;display:grid;grid-template-columns:1.2fr 1fr;gap:50px;padding-top:70px;padding-bottom:70px;overflow:hidden}.diploma-section h2{margin-top:23px}.diploma-section h2 span{-webkit-text-stroke:1.3px #000;color:transparent}.diploma-section p{margin:24px 0;font-size:18px}.diploma-art{position:relative;display:grid;place-items:center}.certificate{background:#f6f3e9;color:#000;box-shadow:10px 12px 0 #000;transform:rotate(7deg);padding:28px;width:75%;max-width:330px;aspect-ratio:1/1.1;border:1px solid #000;position:relative}.certificate>span{font-size:16px;font-weight:700}.certificate b{display:block;font-family:Display;font-size:68px;line-height:.9;margin-top:30px}.cert-line{width:70%;border-bottom:1px solid;margin-top:25px}.certificate small{font-size:9px}.certificate img{position:absolute;width:70px;right:14px;bottom:20px}.sticker{position:absolute;bottom:0;left:4%;background:#ee44bb;padding:15px;font-family:Display;font-size:25px;line-height:1;transform:rotate(-10deg);border:4px solid #000}.history{padding-top:90px;padding-bottom:80px}.cities{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.cities article{min-width:0}.cities img{height:290px;width:100%;object-fit:cover;border-radius:10px}.cities article div{padding:18px 0}.cities span{font-size:11px;color:#88ffdd}.cities h3{font-size:40px;margin-top:7px}.next-stop{display:grid;grid-template-columns:1fr 1fr;gap:60px;border-top:1px solid #333;margin-top:35px;padding-top:55px;align-items:center}.next-stop h3{font-size:clamp(42px,5vw,72px);margin:20px 0;color:#dd99ff}.next-stop p{max-width:400px;margin-bottom:20px}.next-stop img{width:100%;height:340px;object-fit:cover;border-radius:160px 160px 10px 10px}.project{background:#dd99ff;color:#000;padding-top:75px;padding-bottom:75px}.project h2{margin-top:30px;font-size:clamp(52px,7vw,108px)}.project h2 span{color:#fff}.project-copy{display:grid;grid-template-columns:1fr 1fr;gap:60px;max-width:900px;margin:35px 0 0 auto;font-size:17px}.final{padding-top:80px;padding-bottom:80px}.final h2{font-size:clamp(90px,15vw,220px);margin-top:25px}.final h2 span{color:#88ffdd}footer{border-top:1px solid #333;padding-top:30px;padding-bottom:35px;display:flex;gap:30px;justify-content:space-between;align-items:center;font-size:12px;color:#aaa}.partner-signature{width:330px;max-width:100%;display:grid;grid-template-columns:264fr 128fr;gap:24px}.partner-signature span{display:block;background-image:url(assets/parceiros.png);background-repeat:no-repeat;filter:invert(1);mix-blend-mode:screen}.partner-presenters{aspect-ratio:264/67;background-size:201.515152% 100%;background-position:left}.partner-offering{aspect-ratio:128/67;background-size:415.625% 100%;background-position:right}dialog{width:100vw;max-width:none;height:100dvh;max-height:none;border:0;padding:0;background:#080808;color:#fff}dialog::backdrop{background:#000}.lesson-view{padding:25px 5%;min-height:100%;display:flex;flex-direction:column}.viewer-bar,.viewer-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px}.viewer-bar button,.viewer-bottom button{border:1px solid #555;background:transparent;color:white;border-radius:6px;padding:12px 18px}.viewer-content{display:grid;grid-template-columns:1.3fr 1fr;gap:50px;align-items:center;flex:1;padding:45px 0}.viewer-content img{width:100%;border-radius:12px}.viewer-content h2{font-size:55px;margin:16px 0}.viewer-content p{margin-bottom:25px}.viewer-note{font-size:13px;color:#aaa;margin-top:20px}.viewer-bottom button:disabled{opacity:.3}.cursor-star{position:fixed;width:22px;height:22px;pointer-events:none;z-index:1000;left:0;top:0;opacity:0}.diploma-page{min-height:70vh;padding-top:80px;padding-bottom:100px;max-width:950px}.diploma-page h1{font-size:clamp(64px,9vw,120px);margin:25px 0}.diploma-page p{max-width:570px;margin:18px 0;color:#bbb}.notice{padding:22px;border:1px solid #444;border-radius:10px;max-width:600px;margin-top:35px}.notice strong{color:#88ffdd}@keyframes slowturn{to{transform:rotate(360deg)}}@media(max-width:1000px){header{gap:20px}nav{gap:18px}.hero-grid{min-height:500px}h1{font-size:9vw}.section-top{gap:30px}.lesson-grid{grid-template-columns:repeat(2,1fr)}.cities img{height:230px}.cities h3{font-size:32px}}@media(max-width:650px){header{height:76px;padding:10px 5%;justify-content:space-between}.brand{width:110px}.brand img{height:43px}nav{display:none}.button.small{font-size:12px;padding:12px;gap:15px}.wrap{padding-left:6%;padding-right:6%}.desktop{display:none}.hero{padding-top:24px}.hero-grid{display:block;min-height:0;padding-top:45px;position:relative}.hero-grid>div:first-child{position:relative;z-index:1}.kicker{font-size:15px}h1{font-size:15vw}.intro{font-size:16px;margin-top:25px;max-width:310px}.hero-art{width:170px;margin:25px 0 10px auto}.seal{font-size:17px;padding:10px;border-width:4px;right:-5%}.art-caption{display:none}.actions{gap:15px}.button{padding:16px 20px;font-size:14px}.text-link{font-size:13px}.hero-bottom{font-size:10px;gap:25px}.hero-bottom span{max-width:200px}.ribbon{margin:20px 0}.lessons,.history{padding-top:50px;padding-bottom:50px}.section-top{display:block;margin-bottom:28px}.section-intro{margin-top:24px;font-size:16px}.lesson-grid{gap:25px 15px}.lesson-card h3{font-size:25px}.lesson-card p{font-size:12px}.play{width:29px;height:29px;right:8px;bottom:8px}.course-bottom{display:block}.course-bottom p{margin-bottom:12px}.diploma-section{grid-template-columns:1fr;padding-top:45px;padding-bottom:45px;gap:45px}.diploma-art{min-height:330px}.certificate{width:260px}.sticker{left:6%;bottom:5px}.cities{grid-template-columns:1fr;gap:25px}.cities img{height:270px}.cities h3{font-size:38px}.cities article div{padding:12px 0}.next-stop{grid-template-columns:1fr;gap:30px;margin-top:25px;padding-top:35px}.next-stop img{height:290px}.project{padding-top:45px;padding-bottom:45px}.project-copy{grid-template-columns:1fr;gap:18px;font-size:16px}.project h2{font-size:13vw}.final{padding-top:50px;padding-bottom:50px}.final h2{font-size:21vw}footer{flex-wrap:wrap;gap:24px}.partner-signature{width:290px;flex-basis:100%}.viewer-content{grid-template-columns:1fr;gap:24px;padding:25px 0}.viewer-content h2{font-size:43px}.viewer-bar{font-size:13px}.viewer-bottom button{font-size:12px}.viewer-content p{font-size:15px}.diploma-page{padding-top:50px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
body{overflow-x:clip}.hero-grid h1{font-size:clamp(64px,7vw,112px)}@media(max-width:650px){.hero-grid h1{font-size:14.5vw}}
@media(max-width:650px){.diploma-page h1{font-size:12vw}}/* Course-first layout */
header{height:116px;gap:35px}.brand{width:245px}.brand img{height:85px}.offering{margin-left:25px;display:flex;flex-direction:column;line-height:1.1}.offering span{font-size:14px;margin-bottom:7px}.offering strong{font-family:Arial,sans-serif;font-size:36px;font-weight:500;letter-spacing:-1px}nav{font-size:16px}.photo-hero{position:relative;min-height:680px;height:calc(100svh - 116px);max-height:900px;padding:0;isolation:isolate;display:flex;align-items:flex-end}.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 48%;z-index:-2}.photo-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#000b,transparent 72%),linear-gradient(0deg,#000c,transparent 65%);z-index:-1}.hero-copy{padding:55px 5.6%;max-width:850px}.hero-copy h1{font-size:clamp(65px,7.6vw,115px);text-shadow:0 2px 20px #0005}.hero-copy p{font-size:22px;margin-top:24px}.hero-copy .outline{background:#0006;border-color:#fff8}.hero-copy .actions{margin-top:28px}.ribbon{margin:0;transform:none;padding:19px 0;text-align:left}.ribbon-track{display:flex;width:max-content;animation:ticker 32s linear infinite}.ribbon-track>span{flex-shrink:0;white-space:nowrap}.ribbon b{font-family:Arial,sans-serif;font-weight:400}.ribbon:hover .ribbon-track{animation-play-state:paused}@keyframes ticker{to{transform:translateX(-50%)}}.stream-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr);gap:28px;align-items:start}.video-stage{aspect-ratio:16/9;background:#171717;border-radius:12px;overflow:hidden}.video-stage img,.video-stage iframe{width:100%;height:100%;object-fit:cover;border:0}.stream-caption{padding:25px 0}.stream-caption h3{font-size:42px}.stream-caption p{font-size:18px;margin-top:12px;max-width:620px;color:#ccc}.stream-caption .video-status{font-size:16px;color:#88ffdd}.playlist{display:flex;flex-direction:column;gap:7px;max-height:610px;overflow:auto;scrollbar-color:#555 #111}.playlist-item{display:flex;align-items:center;gap:13px;text-align:left;border:1px solid transparent;border-radius:9px;background:#111;color:white;padding:10px;min-height:85px;width:100%;flex-shrink:0}.playlist-item>img{width:100px;aspect-ratio:16/9;object-fit:cover;border-radius:5px}.playlist-item>span{min-width:0}.playlist-item strong{display:block;font-size:17px;line-height:1.25}.lesson-number{display:block;font-size:14px;color:#aaa;margin-bottom:4px}.playlist-item[aria-pressed=true]{background:#202b27;border-color:#88ffdd}.playlist-item:hover{background:#242424}.row-arrow{margin-left:auto;color:#88ffdd}.course-bottom{font-size:21px}.section-top{align-items:center}.next-stop h3{font-size:clamp(42px,4.4vw,66px)}.next-stop .funk{font-size:.7em}.diploma-section{padding-top:55px;padding-bottom:55px}.history .section-top .section-intro{margin-top:0}.project h2{margin-top:0}.final h2{margin-top:0}@media(max-width:900px){header{height:100px;gap:20px}.brand{width:190px}.brand img{height:70px}nav{gap:16px;font-size:14px}.offering{margin-left:0}.offering strong{font-size:29px}.stream-layout{grid-template-columns:1fr}.playlist{display:grid;grid-template-columns:1fr 1fr;max-height:none}.photo-hero{height:720px;min-height:0}.hero-copy h1{font-size:80px}}@media(max-width:650px){header{height:102px;padding:13px 6%;gap:20px}.brand{width:185px}.brand img{height:70px}.offering span{font-size:12px}.offering strong{font-size:27px}.photo-hero{height:760px;max-height:none;min-height:0;align-items:flex-end}.hero-photo{object-position:56% top}.photo-hero:after{background:linear-gradient(0deg,#000f, #000a 25%,transparent 65%)}.hero-copy{padding:32px 6%}.hero-copy h1{font-size:14vw}.hero-copy p{font-size:18px;margin-top:18px}.hero-copy .actions{gap:12px;margin-top:22px}.hero-copy .button{padding:15px 18px}.ribbon{font-size:29px;padding:17px 0}.ribbon-track{animation-duration:26s}.playlist{display:flex;max-height:none}.playlist-item{min-height:85px}.playlist-item>img{width:110px}.playlist-item strong{font-size:18px}.lesson-number{font-size:15px}.stream-caption h3{font-size:34px}.stream-caption p{font-size:17px}.stream-layout{gap:8px}.lessons .section-top h2{font-size:13vw}.course-bottom .button{margin-top:5px}.next-stop h3{font-size:12vw}.section-intro{font-size:18px}.diploma-page h1{font-size:12vw}}@media(prefers-reduced-motion:reduce){.ribbon-track{animation:none}.ribbon{overflow-x:auto}.ribbon-track>span:nth-child(2){display:none}}
.hero-photo{object-position:center 78%}.hero-copy h1{font-size:clamp(64px,6.6vw,100px)}@media(max-width:650px){.hero-photo{height:490px;object-position:55% center}.photo-hero{height:790px;background:#050505}.hero-copy h1{font-size:14vw}.photo-hero:after{background:linear-gradient(0deg,#050505 32%,transparent 74%)}}
/* Wide player and horizontal course shelf */
.stream-layout{display:block}.stream-main{scroll-margin-top:135px}.video-stage{width:100%;aspect-ratio:16/9;max-height:78vh;background:#111;border-radius:12px}.video-stage iframe{display:block;width:100%;height:100%}.stream-caption{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:24px 0 38px}.stream-caption #lesson-counter{color:#88ffdd;font-size:17px;margin:0 0 10px}.stream-caption h3{font-size:42px}.lesson-controls,.rail-controls{display:flex;gap:10px;flex-shrink:0}.lesson-controls button,.rail-controls button{border:1px solid #555;color:white;background:#151515;border-radius:8px;padding:13px 17px;font-size:16px}.lesson-controls button:disabled{opacity:.3;cursor:default}.lesson-controls button:hover:not(:disabled),.rail-controls button:hover{border-color:#88ffdd;background:#24332e}.rail-heading{display:flex;justify-content:space-between;align-items:center;margin:8px 0 20px}.rail-heading h3{font-size:29px}.rail-controls button{padding:9px 16px}.playlist{display:flex;flex-direction:row;gap:20px;max-height:none;overflow-x:auto;overflow-y:hidden;padding:3px 3px 20px;scroll-snap-type:x mandatory;scrollbar-width:thin}.playlist-item{display:block;flex:0 0 calc((100% - 60px)/4);border:0;background:transparent!important;padding:0;min-height:0;border-radius:0;scroll-snap-align:start}.playlist-item .thumb{position:relative;border:2px solid transparent;border-radius:10px;overflow:hidden;aspect-ratio:16/9}.playlist-item .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.playlist-item:hover .thumb img{transform:scale(1.045)}.playlist-item[aria-pressed=true] .thumb{border-color:#88ffdd}.playing-label{display:none;position:absolute;bottom:0;left:0;background:#88ffdd;color:#000;font-size:11px;font-weight:700;padding:4px 8px;border-top-right-radius:5px}.playlist-item[aria-pressed=true] .playing-label{display:block}.thumb-play{position:absolute;inset:0;display:grid;place-items:center;font-size:50px;color:white;background:#0003;opacity:0}.playlist-item:hover .thumb-play{opacity:1}.lesson-label{display:block;padding:13px 2px}.playlist-item strong{font-size:19px;line-height:1.25}.lesson-number{font-size:15px;color:#aaa;margin-bottom:5px}@media(max-width:900px){.playlist-item{flex-basis:calc((100% - 40px)/3)}.stream-caption{align-items:flex-start}.lesson-controls{margin-top:5px}}@media(max-width:650px){.stream-main{scroll-margin-top:115px}.video-stage{max-height:none;border-radius:7px}.stream-caption{display:block;padding:20px 0 26px}.stream-caption h3{font-size:34px}.stream-caption p{font-size:17px}.lesson-controls{margin-top:20px;justify-content:space-between}.playlist{display:flex;gap:14px}.playlist-item{flex-basis:78%;min-height:0}.playlist-item strong{font-size:19px}.rail-heading h3{font-size:26px}.rail-controls button{padding:8px 13px}.playing-label{font-size:12px}}

/* Brand-only header */
header{justify-content:space-between}.header-partners{width:400px;max-width:48%;margin-left:auto;flex-shrink:0;gap:26px}
@media(max-width:650px){header{height:94px;gap:18px;padding:12px 5%}.brand{width:140px}.brand img{height:60px}.header-partners{width:190px;max-width:55%;flex-basis:auto;gap:12px}}
@media(max-width:370px){header{gap:12px}.brand{width:115px}.header-partners{width:170px;gap:9px}}

/* Tilted continuous marquee */
body{overflow-x:clip}.ribbon{transform:rotate(-1.2deg);width:102%;margin:16px -1%;padding:10px 0;font-size:clamp(34px,3.5vw,56px);line-height:1.05;position:relative;z-index:2}.ribbon-track{align-items:center}
@media(max-width:650px){.ribbon{font-size:36px;padding:9px 0;margin:12px -1%;transform:rotate(-1.8deg)}}

/* Floating gradient header and face-safe hero crop */
header{position:fixed;inset:0 0 auto;height:130px;align-items:flex-start;padding-top:20px;border:0;background:linear-gradient(to bottom,rgba(0,0,0,.94) 0%,rgba(0,0,0,.65) 48%,rgba(0,0,0,0) 100%)}
.header-partners{width:220px;gap:14px;margin-top:0}.photo-hero{height:100svh;min-height:760px;max-height:1100px}.hero-photo{object-position:50% 24%}.hero-copy{padding-bottom:48px}
@media(max-width:900px){.photo-hero{min-height:760px}.hero-photo{object-position:50% 20%}}
@media(max-width:650px){header{height:110px;padding:15px 5% 25px}.header-partners{width:150px;max-width:47%;gap:9px;margin-top:0}.photo-hero{height:850px;min-height:850px;max-height:none}.hero-photo{height:570px;object-position:56% 35%}.hero-copy{padding-bottom:32px}.photo-hero:after{background:linear-gradient(0deg,#050505 29%,rgba(5,5,5,.78) 39%,transparent 67%)}}

@media(max-width:650px){.hero-photo{height:520px;object-position:53% center}}

/* Compact cinema player and Mutirão controls */
.stream-main{width:min(100%,960px,calc(62svh * 16 / 9));margin-inline:auto;scroll-margin-top:145px}
.video-stage{position:relative;aspect-ratio:16/9;height:auto;max-height:none;border-radius:24px;overflow:hidden;isolation:isolate;clip-path:inset(0 round 24px)}
.video-stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.stream-caption{gap:24px;padding:24px 0 40px}.stream-caption h3{font-size:clamp(30px,3vw,42px)}.stream-caption p{font-size:17px;max-width:570px}.stream-caption #lesson-counter{display:inline-block;padding:5px 12px;background:#dd99ff;color:#050505;border-radius:8px;font-size:14px;font-weight:700;transform:rotate(-2deg);margin-bottom:14px}
.lesson-controls button,.rail-controls button{display:inline-flex;align-items:center;justify-content:center;gap:18px;border:0;border-radius:50%;width:52px;height:52px;padding:0;background:#dd99ff;color:#050505;transition:transform .2s,background .2s,box-shadow .2s}
.lesson-controls button svg,.rail-controls button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
#previous-lesson svg,#rail-prev svg{transform:rotate(180deg)}
#next-lesson{width:auto;padding:0 22px;border-radius:16px;background:#88ffdd;font-weight:700;min-height:56px}
#rail-next{background:#ee44bb}.lesson-controls button:hover:not(:disabled),.rail-controls button:hover:not(:disabled){background:#ee44bb;color:#050505;transform:translateY(-3px) rotate(-4deg);box-shadow:3px 4px 0 #88ffdd}.lesson-controls button:disabled,.rail-controls button:disabled{opacity:.25;cursor:default}
.rail-heading{margin-top:12px;border-top:1px solid #ffffff26;padding-top:28px}.rail-heading h3{font-size:32px}.rail-controls{gap:12px}
.playlist{padding:8px 3px 22px}.playlist-item .thumb{border-radius:17px;border-width:3px;transition:transform .2s,border-color .2s}.playlist-item:hover .thumb{transform:translateY(-4px);border-color:#ee44bb}.playlist-item[aria-pressed=true] .thumb{border-color:#88ffdd}.playlist-item[aria-pressed=true] .lesson-label strong{color:#88ffdd}.playing-label{padding:6px 10px;font-size:10px;border-radius:0 10px 0 0}.thumb-play{font-size:34px}.lesson-label{padding:14px 4px}.playlist-item strong{font-size:18px}
@media(max-width:650px){.stream-main{width:100%;scroll-margin-top:115px}.video-stage{border-radius:16px;clip-path:inset(0 round 16px)}.stream-caption{padding-bottom:28px}.stream-caption h3{font-size:34px}.lesson-controls{justify-content:space-between;align-items:center}.lesson-controls button,.rail-controls button{width:48px;height:48px}#next-lesson{min-height:50px;padding:0 20px}.rail-heading{padding-top:22px}.rail-heading h3{font-size:28px}.playlist-item{flex-basis:82%}}

/* Centered course invitation beneath the faces */
.photo-hero{height:1050px;min-height:100svh;max-height:none;justify-content:center;background:#050505}.hero-photo{height:100%;object-position:50% 40%}.photo-hero:after{background:linear-gradient(0deg,#050505 0%,rgba(5,5,5,.95) 11%,rgba(5,5,5,.65) 29%,rgba(5,5,5,.1) 54%,transparent 76%)}
.hero-copy{width:100%;max-width:1100px;text-align:center;padding:0 24px 65px}.hero-copy h1{font-size:clamp(48px,5.5vw,82px);line-height:.98}.hero-copy p{font-size:23px;margin-top:22px}.hero-copy .actions{justify-content:center;gap:18px;margin-top:26px}.hero-copy .button{min-width:255px;padding:21px 27px;font-size:18px;border-radius:14px;box-shadow:0 6px 0 #0007}.hero-copy .button:hover{transform:translateY(-4px) rotate(-1deg)}
.lessons .section-top{justify-content:center;text-align:center;flex-direction:column;gap:18px}.lessons .section-top h2{font-size:clamp(42px,5.5vw,76px)}.lessons .section-intro{max-width:none;margin-top:0}
@media(min-width:1600px){.photo-hero{height:1100px}.hero-photo{object-position:50% 34%}}
@media(max-width:650px){.photo-hero{height:880px;min-height:880px}.hero-photo{height:550px;object-position:53% center}.photo-hero:after{background:linear-gradient(0deg,#050505 30%,rgba(5,5,5,.85) 42%,transparent 66%)}.hero-copy{padding:0 6% 42px}.hero-copy h1{font-size:clamp(36px,10vw,54px)}.hero-copy p{font-size:20px;margin-top:18px}.hero-copy .actions{gap:12px;margin-top:24px;flex-direction:column}.hero-copy .button{width:100%;max-width:340px;min-width:0;font-size:18px;padding:18px 23px}.lessons .section-top h2{font-size:12vw}}

.hero-photo{-webkit-mask-image:linear-gradient(to bottom,#000 60%,transparent 100%);mask-image:linear-gradient(to bottom,#000 60%,transparent 100%)}

@media(min-width:651px){.photo-hero{height:100svh;min-height:850px}.hero-photo{object-position:50% 48%}.hero-copy{padding-bottom:40px}.hero-copy h1{font-size:clamp(48px,5vw,76px)}}

/* Compact course heading */
.lessons{padding-top:32px}.lessons .section-top{display:block;text-align:center;margin-bottom:24px}.lessons .section-top h2{font-size:clamp(38px,4.5vw,64px)}
@media(max-width:650px){.lessons{padding-top:24px}.lessons .section-top{margin-bottom:20px}.lessons .section-top h2{font-size:10.5vw}}

/* Bold hero actions and larger cursor trail */
.hero-copy .button{font-family:Display,Impact,sans-serif;font-weight:700;text-transform:uppercase;font-size:30px;line-height:1;justify-content:center;gap:0;padding:22px 32px;min-width:280px}.hero-copy p{font-size:clamp(18px,1.8vw,23px)}
@media(max-width:650px){.hero-copy .button{font-size:29px;min-width:0;padding:20px 18px}.hero-copy p{font-size:18px;line-height:1.45}}
@media(pointer:fine){body,a,button{cursor:url('assets/cursor-white.svg') 3 2,auto}.cursor-star{width:42px;height:42px}}

/* Compact shelf with controls below */
.stream-layout>.rail-controls{justify-content:center;margin-top:8px}.stream-caption{padding-bottom:22px}.lessons{padding-bottom:44px}.playlist{padding-bottom:10px}
@media(max-width:650px){.stream-caption{padding-bottom:20px}.lessons{padding-bottom:32px}}

.playlist{scrollbar-width:none}.playlist::-webkit-scrollbar{display:none}
/* Diploma: full-screen issuance */
.diploma-modal{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:70px 6%;border:0;border-radius:0;background:#ee44bb;color:#050505;overflow-y:auto;overscroll-behavior:contain;font-family:Vinila,Arial,sans-serif;z-index:1000}.diploma-modal[open]{display:block;animation:diploma-rise .55s cubic-bezier(.2,.8,.2,1)}.diploma-modal::backdrop{background:#050505b3}.diploma-modal [hidden]{display:none!important}.diploma-shell{max-width:1050px;margin:auto;min-height:calc(100% - 10px);display:grid;align-items:center}.diploma-entry{width:min(100%,520px);margin:auto}.diploma-star{font-size:68px;line-height:1;margin-bottom:20px}.diploma-modal h1,.diploma-modal h2{font-size:clamp(38px,5vw,64px);margin-bottom:18px}.diploma-modal p{font-size:19px;line-height:1.4}.diploma-modal form{margin-top:28px}.diploma-modal label{display:block;font-size:17px;font-weight:700;margin:18px 0 8px}.diploma-modal input{width:100%;border:2px solid #050505;border-radius:12px;padding:16px 18px;background:#fff9;color:#000;font:inherit;font-size:18px}.diploma-modal input:focus-visible{outline:3px solid #fff;outline-offset:3px}.diploma-modal .diploma-note{font-size:14px;margin-top:16px;max-width:520px}.diploma-action{display:flex;align-items:center;justify-content:center;border:0;border-radius:14px;background:#050505;color:#fff;font-family:Display,Impact,sans-serif;font-size:27px;padding:18px 24px;margin-top:24px;width:100%;cursor:pointer;text-align:center;transition:transform .2s}.diploma-action:hover{transform:translateY(-3px);background:#191919}.diploma-action:disabled{opacity:.6;cursor:wait}.diploma-modal :focus-visible{outline:3px solid #fff;outline-offset:4px}.diploma-close{position:absolute;right:26px;top:20px;border:2px solid #000;border-radius:50%;width:48px;height:48px;background:transparent;color:#000;font:32px Arial;display:grid;place-items:center}.diploma-error{margin-top:12px}.diploma-result{text-align:center}.diploma-preview{width:min(100%,780px);margin:28px auto 0;border-radius:8px;box-shadow:0 15px 40px #0002}.diploma-result-actions{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap}.diploma-result-actions .diploma-action{width:auto}.diploma-edit{margin-top:24px;background:transparent;border:0;border-bottom:1px solid #000;padding:6px 0;color:#000}.diploma-result .diploma-note{margin:20px auto 0}@keyframes diploma-rise{from{transform:translateY(100%)}to{transform:translateY(0)}}@media(max-width:600px){.diploma-modal{padding:80px 22px 35px}.diploma-shell{min-height:100%}.diploma-modal p{font-size:17px}.diploma-result-actions{gap:0;flex-direction:column}.diploma-action{font-size:25px}.diploma-close{right:18px;top:18px}}@media(prefers-reduced-motion:reduce){.diploma-modal[open]{animation:none}.diploma-action{transition:none}}

/* Lilás da referência */
.ribbon{background:#d39cf9}
.diploma-logo{width:190px;height:86px;object-fit:contain;margin:0 auto 20px;filter:grayscale(1) brightness(.7) contrast(100);mix-blend-mode:multiply}.diploma-entry>h1,.diploma-entry>p{text-align:center}.diploma-close{width:52px;height:52px;padding:0;border:0;background:#050505;color:#ee44bb;transition:transform .2s,background .2s,box-shadow .2s}.diploma-close svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.diploma-close:hover{background:#050505;transform:translateY(-3px) rotate(-4deg);box-shadow:3px 4px 0 #88ffdd}@media(max-width:600px){.diploma-close{width:48px;height:48px}}@media(prefers-reduced-motion:reduce){.diploma-close{transition:none}}
/* Do aprendizado à criação */
.diploma-section{background:#ee44bb;grid-template-columns:1.15fr 1fr;align-items:center;gap:clamp(32px,6vw,100px);padding-top:76px;padding-bottom:76px}.diploma-section h2{margin:0;font-size:clamp(54px,6.3vw,100px);line-height:.98}.diploma-invitation{max-width:560px}.diploma-section p{margin:0 0 24px;font-size:clamp(18px,1.5vw,23px);line-height:1.45}.diploma-section .button{font-family:Display,Impact,sans-serif;font-size:29px;justify-content:center;border-radius:16px;padding:20px 30px;transition:transform .2s,box-shadow .2s}.diploma-section .button:hover{transform:translateY(-3px) rotate(-1deg);box-shadow:4px 5px 0 #88ffdd}@media(max-width:750px){.diploma-section{grid-template-columns:1fr;gap:28px;padding-top:48px;padding-bottom:48px}.diploma-section h2{font-size:clamp(48px,10vw,72px)}.diploma-section .button{width:100%;font-size:26px}.diploma-section p{font-size:18px}}
/* Personagens entram pelas bordas */
.diploma-section{position:relative;min-height:620px;padding-top:0;padding-bottom:0;gap:6vw}.diploma-scene{position:relative;align-self:stretch;min-height:620px;display:flex;align-items:center;isolation:isolate}.diploma-section h2{font-size:clamp(42px,4.4vw,70px);line-height:1.04;position:relative;z-index:2;margin:0 0 40px}.creator-solo{position:absolute;width:260px;max-width:none;top:-150px;right:5%;transform:rotate(180deg);pointer-events:none}.creators-trio{position:absolute;width:520px;max-width:none;bottom:-45px;left:-5.6vw;pointer-events:none}.diploma-invitation{padding:70px 0;position:relative;z-index:2}.diploma-section p{font-size:clamp(18px,1.4vw,22px)}@media(max-width:1000px) and (min-width:751px){.diploma-section,.diploma-scene{min-height:570px}.creators-trio{width:440px}.creator-solo{width:220px;top:-125px}.diploma-section h2{font-size:44px}}@media(max-width:750px){.diploma-section{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding-top:0;padding-bottom:240px}.diploma-scene{position:static;min-height:0;display:block;padding-top:155px}.diploma-section h2{font-size:clamp(38px,8.5vw,58px);text-align:center;margin:0;line-height:1.04}.creator-solo{width:220px;top:-110px;right:calc(50% - 110px)}.creators-trio{width:min(470px,110vw);left:50%;transform:translateX(-50%);bottom:-35px}.diploma-invitation{max-width:560px;width:100%;margin:auto;padding:28px 0 26px;text-align:center}.diploma-section p{font-size:18px;line-height:1.45;margin-bottom:22px}.diploma-section .button{font-size:26px}}@media(max-width:380px){.diploma-section{padding-bottom:210px}.diploma-section h2{font-size:36px}.diploma-section p{font-size:17px}}
/* Mais presença para o personagem no desktop */
@media(min-width:1001px){.creator-solo{width:440px;top:-245px;right:0}}
@media(min-width:751px) and (max-width:1000px){.creator-solo{width:350px;top:-200px;right:0}}
/* O Mutirão pelo Brasil e o próximo encontro */
.history .section-top{display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px;margin-bottom:42px}.history .section-top h2{font-size:clamp(42px,4.6vw,68px);line-height:1.02}.history .section-top .section-intro{width:100%;max-width:710px;margin:0;font-size:20px;line-height:1.5}.history .cities h3{font-size:clamp(28px,2.7vw,42px)}.history .next-stop{border:0;margin-top:54px;padding-top:0;gap:6vw;grid-template-columns:1.25fr 1fr;align-items:center}.history .next-stop .next-stop-label{font-size:20px;font-weight:700;color:#dd99ff;margin:0 0 22px;letter-spacing:.02em}.history .next-stop h3{font-size:clamp(48px,5.7vw,86px);line-height:1.06;color:#fff}.history .next-stop .funk{display:inline-block;background:#ee44bb;color:#050505;border-radius:12px;transform:rotate(-6deg);padding:3px 12px;font-size:.85em;margin-left:8px}.history .next-stop p{font-size:19px;line-height:1.5;margin:24px 0 0;max-width:560px}.history .next-stop img{width:100%;height:330px;object-fit:cover;border-radius:90px 24px 90px 24px}@media(max-width:750px){.history .section-top{gap:18px;margin-bottom:30px}.history .section-top .section-intro{font-size:18px;max-width:500px}.history .cities h3{font-size:34px}.history .next-stop{grid-template-columns:1fr;text-align:center;margin-top:44px;gap:28px}.history .next-stop .next-stop-label{font-size:17px;margin-bottom:18px}.history .next-stop h3{font-size:clamp(42px,9vw,64px)}.history .next-stop p{font-size:18px;margin:22px auto 0}.history .next-stop img{height:250px;border-radius:60px 20px 60px 20px}.history .next-stop .funk{margin-left:4px;padding:3px 9px}}
/* Identidade no topo e assinatura no rodapé da emissão */
.diploma-modal{padding:0}.diploma-modal[open]{display:flex;flex-direction:column}.diploma-top{position:relative;display:flex;justify-content:center;align-items:center;min-height:110px;flex-shrink:0;padding:20px 90px 5px}.diploma-top .diploma-logo{width:245px;height:85px;margin:0}.diploma-top .diploma-close{right:5%;top:50%;margin-top:-26px}.diploma-shell{width:100%;max-width:1170px;min-height:0;flex:1;padding:32px 6%;margin:0 auto}.diploma-footer{display:flex;justify-content:center;padding:30px 24px 28px;flex-shrink:0}.diploma-footer .partner-signature{width:330px;flex-basis:auto}.diploma-footer .partner-signature span{filter:grayscale(1) brightness(.7) contrast(100);mix-blend-mode:multiply}@media(max-width:650px){.diploma-top{min-height:100px;padding:15px 65px 25px}.diploma-top .diploma-logo{width:140px;height:60px}.diploma-top .diploma-close{right:5%;margin-top:-24px}.diploma-shell{padding:24px 22px}.diploma-footer{padding:22px 24px 25px}.diploma-footer .partner-signature{width:280px}}@media(max-width:380px){.diploma-top .diploma-logo{width:115px}}
/* Faixas com pontos e inclinações opostas */
.ribbon .ribbon-dot{display:inline-block;padding:0 28px;font-family:Arial,sans-serif;font-weight:900;font-size:.72em;vertical-align:.07em}.history{overflow:hidden}.history .city-ribbon{width:calc(100% + 14vw);margin:56px -7vw 64px;transform:rotate(1.2deg);background:#d39cf9}.history .city-ribbon+.next-stop{margin-top:0}.city-ribbon .ribbon-track{animation-duration:38s}@media(max-width:750px){.history .city-ribbon{margin-top:38px;margin-bottom:46px;transform:rotate(1.8deg)}.ribbon .ribbon-dot{padding:0 20px}}

/* Clear partner signatures, with live text labels and original PDF artwork. */
.partner-signature{display:flex;align-items:flex-start;justify-content:center;gap:26px;width:330px;max-width:100%;flex-basis:auto;color:#000}
.sponsor-group{min-width:0}.sponsor-group:first-child{flex:1.75}.sponsor-group:last-child{flex:1}
.sponsor-group small{display:block;font-size:11px;line-height:1.3;white-space:nowrap;margin-bottom:8px;font-weight:400}
.sponsor-logos{display:flex;align-items:center;gap:14px;height:40px}.sponsor-logos img{object-fit:contain;filter:brightness(0);max-height:100%}
.sponsor-logos .logo-flint{width:40%}.sponsor-logos .logo-kondzilla{width:53%}.sponsor-logos .logo-openai{width:100%}
.header-partners{width:250px;color:white;gap:20px}.header-partners .sponsor-logos{height:30px;gap:10px}.header-partners img{filter:brightness(0) invert(1)}.header-partners small{font-size:10px;margin-bottom:5px}
.project{padding-top:70px;padding-bottom:55px}.project h2{max-width:1250px}.project .closing-question{color:#000;margin-top:35px;font-size:clamp(48px,6.7vw,102px)}.project .closing-partners{margin:65px auto 0;width:400px}.closing-partners small{font-size:13px}.closing-partners .sponsor-logos{height:48px}
@media(max-width:650px){.header-partners{width:165px;gap:12px}.header-partners small{font-size:8px}.header-partners .sponsor-logos{height:22px;gap:7px}.project{padding-top:45px;padding-bottom:35px}.project .closing-question{font-size:13vw;margin-top:28px}.project .closing-partners{width:330px;margin-top:40px;gap:20px}.closing-partners small{font-size:11px}.closing-partners .sponsor-logos{height:37px}}

/* São Paulo: a compact poster and a circular photo. */
.history .next-stop{grid-template-columns:1.15fr 1fr;gap:clamp(24px,4vw,64px);max-width:1320px;margin:0 auto;padding:0;align-items:center}
.next-stop-copy{background:#88ffdd;color:#050505;border-radius:28px 100px 28px 28px;padding:clamp(28px,3.4vw,52px);position:relative}
.history .next-stop h3{font-size:clamp(45px,5.6vw,80px);line-height:1.03;margin:0;color:#050505}
.history .next-stop .funk{border-radius:12px;transform:rotate(-7deg);padding:3px 12px;margin-left:4px;box-shadow:5px 5px 0 #050505}
.history .next-stop p{font-size:clamp(17px,1.5vw,21px);line-height:1.45;margin:28px 0 0;max-width:440px}
.next-stop-photo{position:relative;width:min(100%,470px);aspect-ratio:1;margin:auto;isolation:isolate}
.next-stop-photo:before{content:"";position:absolute;inset:8px -12px -8px 12px;border-radius:50%;background:#88ffdd;z-index:-1}
.history .next-stop .next-stop-photo img{height:100%;width:100%;border-radius:50%;object-fit:cover;object-position:50% 50%}
.sp-sticker{position:absolute;right:-4px;bottom:18px;border-radius:50% 50% 15% 50%;background:#ee44bb;color:#050505;font:700 clamp(42px,5vw,68px)/1 Display,Impact,sans-serif;padding:20px 25px;transform:rotate(9deg)}
@media(max-width:650px){.history .next-stop{grid-template-columns:1fr;gap:24px;max-width:450px;text-align:left}.next-stop-copy{padding:27px 26px;border-radius:22px 65px 22px 22px}.history .next-stop h3{font-size:clamp(43px,11vw,64px)}.history .next-stop p{font-size:17px;line-height:1.4;margin:22px 0 0}.next-stop-photo{width:230px;max-width:75vw}.sp-sticker{font-size:38px;padding:14px 18px;right:-8px;bottom:6px}.next-stop-photo:before{inset:5px -8px -5px 8px}.history .city-ribbon{margin-bottom:36px}}

.header-partners{align-items:center;align-self:center}

.project-description{max-width:880px;margin-top:32px;color:#000;font-size:clamp(17px,1.5vw,22px);font-weight:400;line-height:1.5}.project-description p+p{margin-top:16px}@media(max-width:650px){.project-description{margin-top:24px;font-size:17px}}

/* More compact closing typography. */
.project h2,.project .closing-question{font-size:clamp(42px,4.8vw,72px);line-height:1.02}
@media(max-width:650px){.project h2,.project .closing-question{font-size:9.5vw;line-height:1.04}}

/* Mobile viewport and touch form behavior. */
.diploma-modal{height:100dvh;max-height:100dvh;overflow-x:hidden;-webkit-overflow-scrolling:touch}
.diploma-shell{flex:1 0 auto}.diploma-top{padding-top:max(15px,env(safe-area-inset-top))}.diploma-footer{padding-bottom:max(25px,env(safe-area-inset-bottom))}
@media(max-width:650px){
.diploma-top{min-height:88px;padding-bottom:8px}.diploma-shell{padding:18px 22px}.diploma-modal h1,.diploma-modal h2{font-size:clamp(32px,8.4vw,42px);margin-bottom:14px}.diploma-modal form{margin-top:20px}.diploma-modal label{font-size:16px;margin-top:14px}.diploma-modal input{font-size:16px;padding:14px;min-height:50px}.diploma-modal .diploma-note{font-size:13px;line-height:1.4}.diploma-action{min-height:54px;padding:16px 20px}.diploma-footer{padding-top:20px}.diploma-close:focus:not(:focus-visible){outline:none}
.hero-copy,.stream-main,.stream-caption>div,.playlist,.diploma-invitation{min-width:0}.hero-copy .button{max-width:100%;white-space:normal}.diploma-result-actions .diploma-action{max-width:100%;overflow-wrap:anywhere}
}

main{overflow-x:clip}
@media(max-width:380px){header{gap:10px}.header-partners{width:145px;max-width:calc(100% - 125px);gap:10px}.header-partners .sponsor-logos{gap:6px;height:20px}}

header .brand{display:flex;align-items:center;align-self:center}header .header-partners{margin-top:0;margin-bottom:0;align-self:center}

.diploma-logo{filter:url(#diploma-logo-ink);mix-blend-mode:normal;background:transparent}
/* Compact invitation on phones; desktop composition remains unchanged. */
@media(max-width:650px){
.diploma-section{padding-bottom:145px}
.diploma-section .diploma-scene{padding-top:115px;min-height:0}
.diploma-section h2{text-align:left;font-size:clamp(32px,8vw,42px);line-height:1.02}
.diploma-section .diploma-invitation{text-align:left;padding:20px 0 16px}
.diploma-section p{font-size:16px;line-height:1.4;margin-bottom:15px}
.diploma-section .button{font-size:24px;padding:16px 18px;border-radius:14px}
.diploma-section .creator-solo{width:180px;top:-105px;right:18px}
.diploma-section .creators-trio{width:min(360px,100vw);bottom:-50px}
}
/* São Paulo occupies the full section width as one green feature. */
.history .next-stop{max-width:none;width:100%;min-height:560px;background:#88ffdd;border-radius:32px 130px 32px 32px;padding:clamp(32px,4.2vw,72px);grid-template-columns:1.2fr 1fr;gap:clamp(28px,4vw,64px)}
.history .next-stop-copy{background:transparent;border-radius:0;padding:0}
.history .next-stop h3{font-size:clamp(48px,5.8vw,94px)}
.history .next-stop p{max-width:560px;font-size:clamp(18px,1.5vw,23px)}
.history .next-stop-photo{width:min(100%,490px)}
.history .next-stop-photo:before{background:#050505;inset:8px -10px -8px 10px}
@media(max-width:650px){.history .next-stop{min-height:0;border-radius:24px 75px 24px 24px;padding:32px 24px;grid-template-columns:1fr;gap:30px}.history .next-stop h3{font-size:clamp(40px,10.5vw,64px)}.history .next-stop p{font-size:17px;margin-top:22px}.history .next-stop-photo{width:245px;max-width:90%}}

.city-controls{display:none}.city-controls button:first-child svg{transform:rotate(180deg)}
@media(max-width:650px){.history .cities{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.history .cities::-webkit-scrollbar{display:none}.history .cities article{flex:0 0 94%;min-width:0;scroll-snap-align:start}.history .cities img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.history .cities h3{font-size:clamp(30px,8vw,38px)}.history .city-controls{display:flex;justify-content:center;gap:12px;margin-top:18px}.history .next-stop-photo{width:100%;max-width:100%}}

/* Bring the mobile invitation into view, below the faces. */
@media(max-width:650px){
.photo-hero{height:auto;min-height:0}
.hero-copy{padding:clamp(320px,83vw,360px) 6% 36px}
.hero-copy p{margin-top:16px}
.hero-copy .actions{margin-top:20px}
}

/* Keep the issued diploma a compact preview, with actions and partners in view. */
.diploma-modal:has(.diploma-result:not([hidden])) .diploma-top{min-height:88px;padding-bottom:6px}
.diploma-modal:has(.diploma-result:not([hidden])) .diploma-shell{flex:1 0 auto;padding:12px 22px;display:flex;align-items:center;justify-content:center}
.diploma-result{width:100%;max-width:720px;margin:auto}
.diploma-modal .diploma-result h2{font-size:clamp(32px,3.5vw,46px);line-height:.98;margin-bottom:10px}
.diploma-modal .diploma-result>p{font-size:17px;line-height:1.35}
.diploma-preview{width:min(480px,100%,max(100px,calc((100dvh - 370px)*1.4118)));height:auto;aspect-ratio:1920/1360;object-fit:contain;margin:16px auto 0;border:5px solid #88ffdd;border-radius:14px;box-shadow:0 8px 24px #0002}
.diploma-result-actions{gap:18px;flex-wrap:nowrap;margin-top:16px}
.diploma-result-actions .diploma-action{margin-top:0;font-size:25px;min-height:50px;padding:13px 22px}
.diploma-result-actions .diploma-edit{margin-top:0;min-height:44px;font-size:15px;flex-shrink:0}
.diploma-result .diploma-note{margin-top:10px;font-size:12px}
.diploma-modal:has(.diploma-result:not([hidden])) .diploma-footer{padding-top:14px;padding-bottom:max(16px,env(safe-area-inset-bottom))}
@media(max-width:650px){
 .diploma-modal:has(.diploma-result:not([hidden])) .diploma-top{min-height:72px;padding:8px 65px 4px;padding-top:max(8px,env(safe-area-inset-top))}
 .diploma-modal:has(.diploma-result:not([hidden])) .diploma-top .diploma-logo{height:54px}
 .diploma-modal:has(.diploma-result:not([hidden])) .diploma-shell{padding:8px 20px}
 .diploma-modal .diploma-result h2{font-size:30px;margin-bottom:8px}
 .diploma-modal .diploma-result>p{font-size:15px;max-width:330px;margin-left:auto;margin-right:auto}
 .diploma-preview{width:min(360px,100%,max(90px,calc((100dvh - 380px)*1.4118)));margin-top:12px;border-width:5px;border-radius:12px}
 .diploma-result-actions{flex-direction:column;gap:5px;margin-top:12px}
 .diploma-result-actions .diploma-action{width:min(100%,330px);font-size:23px;min-height:46px;padding:11px 16px}
 .diploma-result-actions .diploma-edit{font-size:14px;min-height:36px;padding:4px 0}
 .diploma-result .diploma-note{font-size:11px;margin-top:7px}
 .diploma-modal:has(.diploma-result:not([hidden])) .diploma-footer{padding-top:10px;padding-bottom:max(12px,env(safe-area-inset-bottom))}
 .diploma-modal:has(.diploma-result:not([hidden])) .diploma-footer .partner-signature{width:250px}
}

/* White marquees and compact mobile hero buttons. */
.ribbon,.history .city-ribbon{background:#fff;color:#000}
@media(max-width:650px){
 .hero-copy .actions{width:100%;flex-direction:column;align-items:center;gap:12px}
 .hero-copy .actions .button{width:min(100%,290px);max-width:290px;min-width:0;min-height:50px;padding:14px 18px;font-size:23px;line-height:1.05;border-radius:12px}
}

/* A single compact line for the course heading on phones. */
@media(max-width:650px){
 .lessons .section-top h2{font-size:7.2vw;line-height:1.05;white-space:nowrap;text-align:center}
}

/* Two primary certificate actions, with a quiet correction link. */
.diploma-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:480px;margin:12px auto 0}
.diploma-result-actions .diploma-action{width:100%;min-width:0;font-size:22px;line-height:1.1;min-height:48px;padding:13px 10px;overflow-wrap:normal}
.diploma-result-actions .diploma-share{background:#88ffdd;color:#050505}
.diploma-result-actions .diploma-share:hover{background:#b2ffe9}
.diploma-result>.diploma-edit{margin-top:6px;min-height:36px;font-size:14px;cursor:pointer}
.diploma-modal .diploma-result>.diploma-note{font-size:12px;line-height:1.35;margin-top:6px}
.diploma-preview{width:min(440px,100%,max(90px,calc((100dvh - 420px)*1.4118)))}
.diploma-share-fallback{max-width:440px;margin:8px auto 0;padding:10px;border:1px solid #050505;border-radius:10px}
.diploma-modal .diploma-share-fallback p{font-size:13px;line-height:1.3;margin:0 0 5px}
.diploma-share-fallback a{display:inline-block;font-size:14px;text-decoration:underline;padding:8px}
@media(max-width:650px){
 .diploma-result-actions{gap:8px;max-width:360px;margin-top:10px}
 .diploma-result-actions .diploma-action{font-size:clamp(15px,4.4vw,21px);min-height:46px;padding:11px 6px;border-radius:10px;white-space:nowrap}
 .diploma-preview{width:min(330px,100%,max(70px,calc((100dvh - 410px)*1.4118)))}
 .diploma-modal .diploma-result>.diploma-note{font-size:11px;margin-top:4px}
}

.diploma-result-actions{grid-template-columns:.85fr 1.35fr;max-width:530px}
.diploma-share-retry{display:inline-block;margin:8px auto 0;text-decoration:underline;font-size:13px}
.diploma-share-status:empty{display:none}
@media(max-width:650px){.diploma-result-actions{max-width:360px;gap:8px}.diploma-result-actions .diploma-action{font-size:clamp(13px,3.7vw,18px)}}

/* Keep the longer certificate wording compact and legible. */
.diploma-entry>h1{font-size:clamp(32px,4.4vw,56px)}
@media(max-width:650px){
 .hero-copy .actions .button{font-size:clamp(20px,5.4vw,22px)}
 .diploma-section .button{font-size:clamp(20px,5.4vw,24px)}
 .diploma-entry>h1{font-size:clamp(28px,7.8vw,42px)}
 .diploma-entry .diploma-action{font-size:clamp(21px,5.6vw,25px)}
}
