/* Landscape-led entrance and a working, scroll-revealed workshop. */
.home-page .hero-shell{position:relative;background:#075a44;isolation:isolate;overflow:clip}
.home-page .hero-immersive{position:relative;min-height:850px;min-height:max(850px,100svh);padding:175px 0 270px;display:flex;align-items:flex-start;justify-content:center;text-align:center;isolation:isolate}
.hero-immersive .hero-scene{position:absolute;inset:0;height:100%;z-index:-2;overflow:hidden}
.hero-immersive .hero-scene img{object-position:center bottom;transform:scale(1.02) translateY(var(--landscape-shift,0px));transform-origin:center bottom}
.hero-immersive .hero-scene:after{inset:0;height:auto;background:linear-gradient(180deg,#123f5de0 0%,#123f5dc9 24%,#10475669 43%,#063d3410 66%,#075a44 100%)}
.hero-immersive .hero-copy{display:flex;flex-direction:column;align-items:center;gap:0;padding:0;position:relative;color:#fff8e9}
.hero-immersive .hero-kicker{font-family:'Outfit',sans-serif!important;font-size:12px;font-weight:600;letter-spacing:2.1px;color:#fff6e7;margin:0 0 22px;display:flex;align-items:center;gap:10px}
.hero-kicker>span{font-size:23px;color:#f3d675}
.hero-immersive h1{font-size:clamp(52px,5.7vw,86px);line-height:1.05;font-weight:600;letter-spacing:-3.8px;max-width:1180px;margin:0;text-wrap:balance;text-shadow:0 3px 24px #14392d30}
.hero-immersive h1 em{color:#f5dc89;font-style:normal}
.hero-immersive .hero-description{font-size:20px;line-height:1.6;margin:24px 0 26px;color:#fff6e9;text-shadow:0 2px 15px #123d34}
.hero-immersive .hero-actions{justify-content:center;gap:12px}
.hero-immersive .btn{min-height:56px;padding:16px 24px;border-radius:12px;font-size:16px;box-shadow:0 6px 18px #123b3320}
.hero-secondary{color:#fff8e9;border:1px solid #fff6e7b0;background:#164c45bd;backdrop-filter:blur(10px)}
.hero-grades{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin-top:28px}
.hero-grades a{font-family:'Outfit',sans-serif;font-weight:600;font-size:14px;min-height:44px;padding:10px 16px;border-radius:10px;background:var(--class-bg);color:#193a31;border:1px solid #fff5;box-shadow:inset 0 2px 2px #fff6,0 3px 0 #13392e35;transition:transform .25s,box-shadow .25s}
.hero-grades a:nth-child(1){rotate:-6deg}.hero-grades a:nth-child(2){rotate:3deg}.hero-grades a:nth-child(4){rotate:-3deg}.hero-grades a:nth-child(5){rotate:6deg}
.hero-scroll{position:absolute;bottom:25px;left:50%;translate:-50% 0;display:flex;flex-direction:column;align-items:center;gap:8px;color:#fff3d8;min-height:48px;white-space:nowrap}
.hero-scroll span:first-child{font:500 10px 'Outfit',sans-serif;letter-spacing:2px}.hero-scroll span:last-child{font-size:23px}
.portal-section{background:linear-gradient(180deg,#075a44 0%,#1c6549 20%,#729a69 54%,#dce3c8 100%);padding:30px 0 70px;position:relative;overflow:clip;scroll-margin-top:24px}
.portal-intro{text-align:center;color:#fff6e6;margin-bottom:35px}.portal-intro .eyebrow{color:#dce6b0;font-size:11px}.portal-intro h2{font-size:clamp(30px,3.4vw,46px);letter-spacing:-1.6px;margin:12px 0}.portal-intro p{font-size:17px;color:#e5ead7;margin:0}
.portal-perspective{perspective:1800px;width:min(1120px,calc(100% - 96px))}
.workshop-preview{background:#fff5e7;border:1px solid #fff9;border-radius:22px;box-shadow:0 35px 90px #14382950,0 3px 5px #153b2920;transform-origin:center 15%;position:relative;transition:box-shadow .25s}
.hero-motion .workshop-preview{transform:translateY(var(--panel-y,45px)) rotateX(var(--panel-angle,7deg)) scale(var(--panel-scale,.92));will-change:transform}
.preview-chrome{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 24px;border-bottom:1px solid #244b3914;color:#5b6d59;font-family:'Outfit',sans-serif;font-size:12px;letter-spacing:.3px}
.preview-dots{display:flex;gap:6px}.preview-dots i{height:8px;width:8px;border-radius:50%;background:#d5c9b5}.preview-dots i:first-child{background:#e98d71}.preview-dots i:nth-child(2){background:#edc85f}.preview-dots i:nth-child(3){background:#a5bd77}
.preview-live{display:flex;align-items:center;gap:7px}.preview-live i{width:6px;height:6px;border-radius:50%;background:#49794e}
.preview-body{padding:28px 36px 24px}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.preview-heading .eyebrow{font-size:10px;letter-spacing:1.5px;color:#596d50}.preview-heading h3{font-size:34px;letter-spacing:-1.3px;font-weight:600;margin:7px 0 16px}
.preview-number{width:66px;height:66px;border-radius:21px;display:grid;place-items:center;font:600 44px 'Outfit',sans-serif;background:var(--class-bg);box-shadow:inset -3px -4px 5px #183c2b15,3px 4px 0 #193b3010;rotate:7deg;transition:background .25s}
.preview-grades{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 24px}.preview-grades button{font:600 14px 'Outfit',sans-serif;padding:10px 18px;min-height:44px;border:1px solid #d9d5bf;border-radius:10px;background:transparent;color:#38523c;cursor:pointer;transition:background .2s,transform .2s}.preview-grades button[aria-pressed=true]{background:var(--class-bg);border-color:transparent;box-shadow:inset 0 2px 2px #fff5,0 3px 0 #153a311a}
.preview-tabs{display:flex;gap:25px;border-bottom:1px solid #d6d9c5}.preview-tabs button{display:flex;align-items:center;gap:16px;min-height:48px;padding:10px 2px 13px;background:none;border:0;border-bottom:3px solid transparent;color:#60715a;font-size:16px;font-weight:700;cursor:pointer}.preview-tabs button[aria-selected=true]{color:#204b3b;border-bottom-color:#204b3b}.preview-tabs button span{font-size:13px}
.preview-status{font-size:13px;color:#56694f;margin:15px 0}.preview-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-height:260px}.preview-card{display:flex;flex-direction:column;background:#fffaf0;border:1px solid #dedbc5;border-radius:14px;overflow:hidden;transition:transform .25s,box-shadow .25s,background .25s}.preview-card>img{width:100%;height:135px;object-fit:cover}.preview-card-body{padding:14px 16px;display:flex;flex-direction:column;flex:1;gap:7px}.preview-card-body>span:first-child{font:600 10px 'Outfit',sans-serif;letter-spacing:1px;color:#52654a}.preview-card h4{font-size:20px;font-weight:600;line-height:1.2;letter-spacing:-.6px;margin:0}.preview-code{font:500 11px 'Outfit',sans-serif;color:#5c6b54}.preview-card-go{font-size:13px;font-weight:800;margin-top:auto;padding-top:4px;display:flex;justify-content:space-between}
.preview-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:30px;background:#f1edda;border:1px dashed #9eae8a;border-radius:14px}.preview-empty h4{font-size:24px;line-height:1.2;margin:0 0 12px}.preview-empty p{font-size:16px;max-width:520px;margin:0 0 15px}.preview-empty button{min-height:44px;border:1px solid #859977;border-radius:8px;background:#fffae9;padding:10px 16px;font-weight:700;color:#204b3b;cursor:pointer}
.preview-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #d6d9c5;margin-top:22px;padding-top:18px;font-size:13px;color:#56694f}.preview-footer a{font-weight:800;min-height:44px;display:flex;align-items:center;gap:20px;color:#204b3b}
@media(hover:hover){.hero-grades a:hover{transform:translateY(-5px);box-shadow:inset 0 2px 2px #fff6,0 8px 16px #123d3440}.preview-card:hover{transform:translateY(-5px);background:color-mix(in srgb,var(--class-bg) 25%,#fffaf0);box-shadow:0 12px 22px #244d3920}.preview-grades button:hover{transform:translateY(-2px);background:var(--class-bg)}}
@keyframes hero-enter{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){.hero-kicker{animation:hero-enter .7s both}.hero-immersive h1{animation:hero-enter .8s .1s both}.hero-description{animation:hero-enter .8s .22s both}.hero-immersive .hero-actions{animation:hero-enter .8s .32s both}.hero-grades{animation:hero-enter .8s .42s both}}
@media(min-width:1600px){.hero-immersive .hero-scene img{object-fit:fill}}
@media(max-width:1000px){.hero-immersive h1{font-size:clamp(48px,6.8vw,68px);letter-spacing:-2.6px}.preview-body{padding:24px}.preview-card h4{font-size:19px}.preview-card>img{height:120px}.portal-perspective{width:calc(100% - 48px)}}
@media(max-width:700px){.home-page .hero-immersive{min-height:800px;min-height:max(800px,100svh);padding:135px 0 230px}.hero-immersive .hero-copy{width:calc(100% - 32px);padding:0}.hero-immersive .hero-kicker{font-size:9px;letter-spacing:1.2px;gap:6px;margin-bottom:22px}.hero-kicker>span{font-size:18px}.hero-immersive h1{font-size:clamp(34px,7.8vw,52px);letter-spacing:-1.4px;line-height:1.12}.hero-immersive .hero-description{font-size:17px;margin:20px 0 22px}.hero-immersive .hero-actions{width:100%;gap:10px}.hero-immersive .hero-actions .btn{flex:0 1 auto;min-height:52px;font-size:14px;padding:14px 16px;gap:14px}.hero-grades{gap:6px;margin-top:25px}.hero-grades a{padding:9px 10px;font-size:12px}.hero-immersive .hero-scene img{object-position:center bottom;object-fit:cover}.hero-immersive .hero-scene:after{background:linear-gradient(180deg,#123f5ded 0%,#123f5dc9 32%,#10475650 59%,#075a4410 80%,#075a44 100%)}.portal-section{padding:20px 0 40px}.portal-intro{width:calc(100% - 40px);margin-bottom:24px}.portal-intro h2{font-size:30px}.portal-intro p{font-size:16px}.portal-perspective{width:calc(100% - 24px);perspective:none}.workshop-preview{border-radius:16px}.hero-motion .workshop-preview{transform:none;will-change:auto}.preview-chrome{padding:12px 14px;font-size:10px;gap:9px}.preview-live{font-size:10px}.preview-body{padding:20px 16px 14px}.preview-heading .eyebrow{font-size:8px;letter-spacing:.8px}.preview-heading h3{font-size:27px;letter-spacing:-1px;margin-bottom:10px}.preview-number{height:49px;width:49px;flex:none;font-size:33px;border-radius:15px}.preview-grades{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:12px 0 20px}.preview-grades button{font-size:12px;padding:8px 3px;min-width:0}.preview-tabs{gap:22px}.preview-tabs button{font-size:15px}.preview-cards{grid-template-columns:1fr;gap:10px;min-height:0}.preview-card{display:grid;grid-template-columns:105px minmax(0,1fr);min-height:127px;border-radius:12px}.preview-card>img{width:100%;height:100%;min-height:127px;object-fit:cover}.preview-card-body{padding:12px;gap:6px;min-width:0}.preview-card h4{font-size:20px}.preview-card-go{font-size:12px}.preview-code{font-size:10px;overflow-wrap:anywhere}.preview-footer{flex-direction:column;gap:5px;align-items:flex-start;margin-top:18px;padding-top:14px}.preview-footer>span{font-size:12px}.preview-footer a{font-size:14px;justify-content:space-between;width:100%}.preview-empty{padding:24px 18px}.hero-scroll{bottom:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-immersive *, .workshop-preview,.preview-card,.preview-grades button,.hero-grades a{animation:none!important;transition:none!important}.hero-motion .workshop-preview,.hero-immersive .hero-scene img{transform:none!important}}
/* One pinned stage: the workshop rises OVER the landscape as the page scrolls. */
.entrance-stage{position:relative}
.entrance-motion .entrance-sequence{height:240svh;position:relative;background:#075a44}
.entrance-motion .entrance-stage{position:sticky;top:0;height:100svh;overflow:hidden;isolation:isolate}
.entrance-motion .entrance-stage .hero-shell{position:absolute;inset:0;height:100%;overflow:hidden}
.entrance-motion .hero-immersive{height:100%;min-height:0;padding:clamp(125px,17svh,180px) 0 100px}
.entrance-motion .hero-immersive .hero-copy{transform:translateY(var(--copy-y,0px)) scale(var(--copy-scale,1));opacity:var(--copy-opacity,1);transform-origin:center 25%;will-change:transform,opacity}
.entrance-motion .hero-immersive .hero-scene img{transform:scale(var(--scene-scale,1.02));filter:blur(var(--scene-blur,0px));will-change:transform,filter}
.entrance-motion .entrance-stage .site-header{opacity:var(--copy-opacity,1);transform:translateY(calc(var(--copy-y,0px) * .3))}
.entrance-motion .hero-scroll{opacity:var(--copy-opacity,1)}
.entrance-motion .portal-section{position:absolute;inset:0;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:transparent;padding:22px 0;overflow:visible;pointer-events:none;perspective:1800px;z-index:12}
.entrance-motion .portal-intro{display:none}
.entrance-motion .portal-perspective{perspective:1800px;transform:translateY(var(--panel-y,110vh)) scale(var(--panel-scale,.55)) rotateX(var(--panel-angle,28deg));opacity:var(--panel-opacity,0);transform-origin:center center;will-change:transform,opacity}
.entrance-motion .workshop-preview{transform:none!important;will-change:auto;max-height:calc(100svh - 48px);overflow:auto;overscroll-behavior-y:auto;box-shadow:0 35px 100px #062b31a0,0 0 0 1px #fff8}
.entrance-motion .panel-ready .portal-section{pointer-events:auto}
.entrance-motion .panel-ready .hero-shell{pointer-events:none}
@keyframes clay-bob{0%,100%{translate:0 0}50%{translate:0 -9px}}
@keyframes scroll-cue{0%,100%{translate:0 0}50%{translate:0 7px}}
@media(prefers-reduced-motion:no-preference){.hero-grades a{animation:clay-bob 3.6s ease-in-out infinite}.hero-grades a:nth-child(2){animation-delay:-.7s}.hero-grades a:nth-child(3){animation-delay:-1.4s}.hero-grades a:nth-child(4){animation-delay:-2.1s}.hero-grades a:nth-child(5){animation-delay:-2.8s}.hero-scroll span:last-child{animation:scroll-cue 1.8s ease-in-out infinite}}
@media(max-width:700px){.entrance-motion .entrance-sequence{height:220svh}.entrance-motion .hero-immersive{min-height:0;padding:125px 0 70px}.entrance-motion .portal-perspective{width:calc(100% - 24px)}.entrance-motion .workshop-preview{max-height:calc(100svh - 32px)}.entrance-motion .preview-body{padding-top:16px}.entrance-motion .hero-grades{margin-top:20px}.entrance-motion .hero-scroll{bottom:15px}}
/* The entrance itself has independent, continuous clay motion. */
.scene-ornaments{position:absolute;inset:0;pointer-events:none;z-index:-1;opacity:var(--copy-opacity,1);overflow:hidden}
.clay-cloud{position:absolute;width:150px;height:48px;background:#f6ecd3;border-radius:65px;filter:drop-shadow(3px 7px 5px #163f4230);box-shadow:inset -7px -10px 12px #c2b79980,inset 6px 7px 10px #fff7;isolation:isolate}
.clay-cloud i{position:absolute;display:block;border-radius:50%;background:#f6ecd3;box-shadow:inset -7px -8px 9px #c2b79970,inset 5px 5px 8px #fff9;z-index:-1;bottom:10px;width:64px;height:64px;left:15px}.clay-cloud i:nth-child(2){width:80px;height:80px;left:48px;bottom:12px}.clay-cloud i:nth-child(3){left:98px;width:50px;height:50px;bottom:8px}
.cloud-left{top:24%;left:3%;rotate:-5deg}.cloud-right{top:20%;right:3%;scale:.72;rotate:4deg}
.clay-fraction,.clay-plus{position:absolute;display:grid;place-items:center;font-family:'Outfit',sans-serif!important;font-weight:700;line-height:1;box-shadow:inset 5px 5px 7px #fff6,inset -7px -8px 8px #703a3830,7px 13px 20px #0f403c45;text-shadow:2px 3px 2px #702f2425}
.clay-fraction{left:9%;bottom:22%;width:84px;height:94px;border-radius:25px;background:#ee967a;color:#fff5d8;font-size:62px;rotate:-13deg}
.clay-ring{position:absolute;right:8%;bottom:24%;width:100px;height:100px;border:22px solid #c8a4d8;border-radius:50%;box-shadow:inset 5px 6px 7px #4f427a50,5px 8px 6px #3f316940,0 0 0 2px #ddc0e0;rotate:18deg}
.clay-plus{right:18%;bottom:12%;width:58px;height:58px;border-radius:18px;background:#f1cd61;color:#305746;font-size:51px;rotate:12deg}
.title-line{display:block;overflow:hidden;padding-bottom:.1em;margin-bottom:-.1em}.title-line>span,.title-line>em{display:block}
@keyframes landscape-arrive{from{transform:scale(1.2);filter:blur(5px);opacity:.45}to{transform:scale(1);filter:blur(0);opacity:1}}
@keyframes title-unfold{from{transform:translateY(115%) rotate(3deg);opacity:0}to{transform:translateY(0) rotate(0);opacity:1}}
@keyframes clay-drift{0%,100%{translate:0 0;transform:rotate(-3deg)}50%{translate:12px -25px;transform:rotate(6deg)}}
@keyframes cloud-drift{0%,100%{translate:-15px 0}50%{translate:26px 10px}}
@keyframes ornament-arrive{from{opacity:0;scale:.6}to{opacity:1;scale:1}}
@media(prefers-reduced-motion:no-preference){
 .hero-immersive .hero-scene{animation:landscape-arrive 2.2s cubic-bezier(.16,1,.3,1) both}
 .hero-immersive h1{animation:none}
 .title-line>span{animation:title-unfold 1.25s .3s cubic-bezier(.16,1,.3,1) both}
 .title-line>em{animation:title-unfold 1.25s .6s cubic-bezier(.16,1,.3,1) both}
 .hero-immersive .hero-description{animation-delay:.9s;animation-duration:1s}
 .hero-immersive .hero-actions{animation-delay:1.1s;animation-duration:1s}
 .hero-grades{animation-delay:1.3s;animation-duration:1s}
 .clay-cloud{animation:cloud-drift 9s ease-in-out infinite}.cloud-right{animation-delay:-4.5s}
 .clay-fraction{animation:ornament-arrive 1.2s .4s both,clay-drift 4.8s 1.6s ease-in-out infinite}
 .clay-ring{animation:ornament-arrive 1.2s .6s both,clay-drift 5.6s 1.8s ease-in-out infinite reverse}
 .clay-plus{animation:ornament-arrive 1.2s .8s both,clay-drift 4.2s 2s ease-in-out infinite}
}
@media(max-width:1000px){.clay-fraction{left:3%;width:64px;height:74px;font-size:48px;bottom:18%}.clay-ring{right:3%;width:75px;height:75px;border-width:17px;bottom:19%}.clay-plus{right:18%;bottom:9%}.cloud-left{left:-50px;top:27%;scale:.7}.cloud-right{right:-55px;top:19%;scale:.6}}
@media(max-width:700px){.clay-cloud{opacity:.8}.cloud-left{top:16%;left:-80px;scale:.5}.cloud-right{top:13%;right:-75px;scale:.5}.clay-fraction{width:47px;height:55px;font-size:36px;bottom:16%;left:5%;border-radius:16px}.clay-ring{width:58px;height:58px;border-width:13px;right:6%;bottom:18%}.clay-plus{display:none}}
/* Hand-drawn cover on “keşfet”, wiped away once the heading settles. */
.reveal-word{position:relative;display:inline-block;white-space:nowrap}
.word-scribble{display:none;position:absolute;inset:-.04em -.035em -.02em;z-index:1;pointer-events:none;clip-path:inset(0 0 0 0)}
.word-scribble svg{display:block;width:100%;height:100%;overflow:visible}
.word-eraser{display:none;position:absolute;z-index:2;top:22%;left:0;width:.25em;height:.62em;border-radius:.06em;background:linear-gradient(180deg,#f7edda 0 67%,#d9cdb9 67%);border:1px solid #fff6;box-shadow:.025em .04em .06em #142d2c40;transform:translateX(-50%) rotate(12deg);pointer-events:none;opacity:0}
@keyframes erase-scribble{from{clip-path:inset(0 0 0 0)}to{clip-path:inset(0 0 0 100%)}}
@keyframes eraser-pass{0%{left:0;opacity:0;transform:translateX(-50%) translateY(-12%) rotate(14deg)}5%{opacity:1}15%,35%,55%,75%,95%{transform:translateX(-50%) translateY(17%) rotate(-12deg)}25%,45%,65%,85%{transform:translateX(-50%) translateY(-17%) rotate(14deg)}96%{opacity:1}100%{left:100%;opacity:0;transform:translateX(-50%) translateY(0) rotate(-8deg)}}
@media(prefers-reduced-motion:no-preference){.word-scribble{display:block;animation:erase-scribble 2.3s 2s linear both}.word-eraser{display:block;animation:eraser-pass 2.3s 2s linear both}}

/* A clay aperture reveals the workshop as the viewer travels through it. */
.clay-gateway{display:none;pointer-events:none}
.entrance-motion .clay-gateway{display:block;position:absolute;left:50%;top:55%;width:500px;height:500px;z-index:20;opacity:var(--gateway-opacity,0);transform:translate(-50%,-50%) scale(var(--gateway-scale,.1));will-change:transform,opacity}
.clay-gateway svg{width:100%;height:100%;overflow:visible}
.entrance-motion .portal-section{background:radial-gradient(ellipse at 50% 30%,#f8efd8,#e1e6cd 80%);clip-path:circle(var(--gateway-radius,18px) at 50% 55%);opacity:var(--gateway-opacity,0);will-change:clip-path}
.entrance-motion .portal-perspective{transform:scale(var(--panel-scale,.82));opacity:1;perspective:none}
.entrance-motion .scene-ornaments{opacity:1}
.entrance-motion .clay-fraction{margin-left:calc(var(--ornament-spread,0px) * -1)}
.entrance-motion .clay-ring{margin-right:calc(var(--ornament-spread,0px) * -1)}
.entrance-motion .clay-plus{margin-right:calc(var(--ornament-spread,0px) * -1);margin-bottom:calc(var(--ornament-spread,0px) * -.5)}
.entrance-motion .panel-ready .clay-gateway{visibility:hidden}
.entrance-motion .portal-section .portal-perspective{pointer-events:none}
.entrance-motion .panel-ready .portal-section .portal-perspective{pointer-events:auto}
@media(prefers-reduced-motion:reduce){.clay-gateway{display:none!important}}
/* Each grade inhabits the same clay world with its own colour and object. */
.entrance-motion .portal-section{background:radial-gradient(ellipse at 50% 25%,#fff6e6,var(--world-bg,#eee7c8) 80%);transition:background .45s}
.workshop-preview{border-top:5px solid var(--world-color,#edca69);background:color-mix(in srgb,var(--world-bg,#eee7c8) 16%,#fff5e7)}
.class-world{height:114px;position:relative;isolation:isolate;border-radius:15px;overflow:hidden;display:flex;align-items:center;justify-content:space-between;padding:16px 26px;margin-bottom:22px;background:var(--world-bg,#eee7c8);box-shadow:inset 0 2px 4px #fff9,inset 0 -4px 12px #193d3010}
.class-world:before,.class-world:after{content:'';position:absolute;z-index:-1;width:70%;height:120px;border-radius:50%;background:var(--world-color,#edca69);opacity:.25;bottom:-88px;left:-5%;rotate:7deg;box-shadow:inset 0 6px 10px #fff7}
.class-world:after{left:45%;bottom:-76px;rotate:-10deg;opacity:.4}
.class-world .eyebrow{font-size:9px;color:#35513e;letter-spacing:1px}.class-world p{font:600 23px 'Bricolage Grotesque',sans-serif;letter-spacing:-.5px;color:#244836;margin:10px 0;max-width:440px}
#class-world-object{width:144px;height:125px;flex:none}.clay-motif{width:100%;height:100%;filter:drop-shadow(3px 7px 3px #173f302b)}.clay-motif svg{display:block;width:100%;height:100%;overflow:visible}
.preview-visual{position:relative;overflow:hidden;isolation:isolate;height:135px}.preview-visual>img{height:100%;width:100%;object-fit:cover}.preview-visual>.clay-motif,.feature-visual>.clay-motif{position:absolute;bottom:8px;right:9px;width:70px;height:65px;padding:5px;border-radius:18px;background:#fff6e7eb;box-shadow:inset 0 2px 3px #fff,0 4px 10px #16372c20}
.feature-visual{position:relative}
.motif-angle{transform-origin:100px 144px}.motif-balance{transform-origin:100px 63px}.motif-geometry,.motif-cubes{transform-origin:100px 92px}
@keyframes angle-discover{0%,100%{transform:rotate(0)}45%{transform:rotate(48deg)}}
@keyframes balance-discover{0%{transform:rotate(-13deg)}45%{transform:rotate(9deg)}75%{transform:rotate(-4deg)}100%{transform:rotate(0)}}
@keyframes shape-discover{0%,100%{transform:rotate(0) scale(1)}50%{transform:rotate(12deg) scale(.88)}}
@keyframes half-discover{0%,100%{transform:translateX(0)}50%{transform:translateX(15px)}}
@keyframes bead-discover{0%,100%{transform:translateX(0)}50%{transform:translateX(9px)}}
@media(prefers-reduced-motion:no-preference){
 #class-world-object .clay-motif{animation:hero-enter .5s both}
 :is(.preview-card,.activity-launch):is(:hover,:focus-visible) .motif-angle,.feature:is(:hover,:focus-visible) .motif-angle{animation:angle-discover 1.6s ease-in-out}
 :is(.preview-card,.activity-launch):is(:hover,:focus-visible) .motif-balance,.feature:is(:hover,:focus-visible) .motif-balance{animation:balance-discover 1.6s ease-in-out}
 :is(.preview-card,.activity-launch):is(:hover,:focus-visible) :is(.motif-geometry,.motif-cubes),.feature:is(:hover,:focus-visible) :is(.motif-geometry,.motif-cubes){animation:shape-discover 1.6s ease-in-out}
 :is(.preview-card,.activity-launch):is(:hover,:focus-visible) .motif-half,.feature:is(:hover,:focus-visible) .motif-half{animation:half-discover 1.6s ease-in-out}
 :is(.preview-card,.activity-launch):is(:hover,:focus-visible) .motif-abacus,.feature:is(:hover,:focus-visible) .motif-abacus{animation:bead-discover 1.6s ease-in-out}
}
.fraction-demo{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:390px;padding:30px;background:radial-gradient(ellipse at 40% 20%,#f5edce,#d4dfbb);color:#244836;border-radius:25px;box-shadow:inset 0 3px 6px #fff9;overflow:hidden}
.fraction-demo>.eyebrow{color:#405b39;font-size:11px}.fraction-stage{width:260px;height:205px;position:relative;display:grid;place-items:center;margin:12px 0}.fraction-symbol{font:600 140px 'Outfit',sans-serif;position:absolute;color:#31583f}
.fraction-model{width:156px;height:156px;position:relative;display:flex;gap:4px;opacity:0;transform:scale(.4);filter:drop-shadow(6px 12px 6px #34523233)}
.fraction-model>span{height:156px;width:76px;background:#e59577;border-radius:90px 0 0 90px;box-shadow:inset 8px 7px 9px #ffd6ac,inset -5px -6px 10px #a75c3e80}
.fraction-model>span+span{border-radius:0 90px 90px 0;background:#eace77;box-shadow:inset 6px 7px 9px #fff1b4,inset -7px -7px 10px #b3933d80}
.fraction-demo p{text-align:center;font-size:19px;line-height:1.6;margin:0 0 20px}.fraction-demo button{min-height:48px;padding:12px 20px;background:#fff6e6;border:1px solid #76916b;border-radius:12px;color:#244836;font:800 15px 'Nunito Sans',sans-serif;cursor:pointer;display:flex;gap:20px;align-items:center}
@keyframes symbol-to-clay{0%,20%{opacity:1;transform:scale(1)}65%,100%{opacity:0;transform:scale(.4) rotate(-12deg)}}
@keyframes clay-from-symbol{0%,25%{opacity:0;transform:scale(.4) rotate(12deg)}70%,100%{opacity:1;transform:scale(1) rotate(0)}}
@keyframes equal-halves{0%,60%{translate:0 0}100%{translate:18px 0}}
@media(prefers-reduced-motion:no-preference){.is-demonstrating .fraction-symbol{animation:symbol-to-clay 2.4s both}.is-demonstrating .fraction-model{animation:clay-from-symbol 2.4s both}.is-demonstrating .fraction-model>span+span{animation:equal-halves 3s both}}
@media(hover:none) and (prefers-reduced-motion:no-preference){.motif-seen .motif-angle{animation:angle-discover 1.6s ease-in-out}.motif-seen .motif-balance{animation:balance-discover 1.6s ease-in-out}.motif-seen :is(.motif-geometry,.motif-cubes){animation:shape-discover 1.6s ease-in-out}.motif-seen .motif-half{animation:half-discover 1.6s ease-in-out}.motif-seen .motif-abacus{animation:bead-discover 1.6s ease-in-out}}
@media(max-width:1000px){.preview-visual{height:120px}}
@media(max-width:700px){.class-world{height:104px;padding:14px;margin-bottom:18px}.class-world p{font-size:19px;max-width:175px}.class-world .eyebrow{font-size:7px;letter-spacing:.6px}#class-world-object{width:100px;height:104px}.preview-visual{height:100%;min-height:127px}.preview-visual>.clay-motif{width:48px;height:46px;right:4px;bottom:5px;padding:3px;border-radius:12px}.fraction-demo{min-height:370px;padding:24px 14px}.fraction-stage{width:220px;height:190px}}
@media(prefers-reduced-motion:reduce){.fraction-symbol{display:none}.fraction-model{opacity:1;transform:none}.fraction-model>span+span{translate:18px 0}.clay-motif *{animation:none!important}.fraction-demo button{display:none}}

.activity-visual{position:relative}.activity-visual>.clay-motif{position:absolute;right:12px;bottom:12px;width:76px;height:70px;background:#fff7e9ee;border-radius:18px;padding:7px;box-shadow:0 4px 12px #183c3020}
.catalog-page{background:linear-gradient(180deg,var(--world-bg,#f9f2e5),#fff7e9 800px)}.catalog-world{margin:24px 0;height:150px}.catalog-world #class-world-object{height:145px;width:165px}.catalog-world p{font-size:28px}
@keyframes mirror-discover{0%{opacity:.15;transform:translateX(-20px)}100%{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:no-preference){:is(.preview-card,.activity-launch,.feature):is(:hover,:focus-visible) .motif-mirror{animation:mirror-discover 1.4s both}}
@media(hover:none) and (prefers-reduced-motion:no-preference){.motif-seen .motif-mirror{animation:mirror-discover 1.4s both}}
@media(max-width:700px){.catalog-world{height:120px}.catalog-world p{font-size:21px}.catalog-world #class-world-object{width:110px;height:115px}.activity-visual>.clay-motif{width:60px;height:56px}}
.fraction-demo{aspect-ratio:auto;width:100%;min-width:0}.discovery-grid>*{min-width:0}
/* Larger entrance typography and controls, balanced for each viewport. */
.hero-immersive .hero-kicker{font-size:15px;letter-spacing:1.8px}.hero-kicker>span{font-size:30px}
.hero-immersive h1{font-size:clamp(60px,6.4vw,98px);max-width:1260px}
.hero-immersive .hero-description{font-size:24px;line-height:1.55;margin:26px 0 30px}
.hero-immersive .btn{font-size:19px;min-height:64px;padding:18px 30px;gap:24px}.hero-immersive .btn>span{font-size:23px}
.hero-grades{gap:12px;margin-top:32px}.hero-grades a{font-size:17px;min-height:50px;padding:12px 20px}
.hero-scroll span:first-child{font-size:12px}.hero-scroll span:last-child{font-size:29px}
@media(min-width:1001px){.clay-fraction{width:100px;height:110px;font-size:73px}.clay-ring{width:118px;height:118px;border-width:25px}.clay-plus{width:70px;height:70px;font-size:60px}}
@media(max-width:1000px){.hero-immersive h1{font-size:clamp(54px,7.2vw,76px);letter-spacing:-2.8px}.hero-immersive .hero-kicker{font-size:12px}.hero-immersive .hero-description{font-size:22px}.hero-immersive .btn{font-size:18px;padding:17px 24px}.hero-grades a{font-size:16px;padding:11px 17px}}
@media(max-width:700px){.hero-immersive .hero-kicker{font-size:10px;letter-spacing:1px;gap:7px}.hero-kicker>span{font-size:23px}.hero-immersive h1{font-size:clamp(37px,8.5vw,57px);letter-spacing:-1.6px}.hero-immersive .hero-description{font-size:19px;margin:22px 0 24px}.hero-immersive .hero-actions{gap:10px}.hero-immersive .hero-actions .btn{font-size:16px;min-height:56px;padding:15px 17px;gap:14px}.hero-immersive .btn>span{font-size:21px}.hero-grades{gap:7px}.hero-grades a{font-size:14px;min-height:46px;padding:10px 12px}.hero-scroll span:first-child{font-size:11px}.clay-fraction{width:55px;height:64px;font-size:42px}.clay-ring{width:67px;height:67px;border-width:15px}}
@media(max-width:360px){.hero-immersive .hero-kicker{font-size:9px;letter-spacing:.7px}.hero-immersive .hero-actions .btn{font-size:15px;padding:13px 15px}.hero-grades{gap:6px}.hero-grades a{font-size:13px;padding:10px 9px}}
@media(max-height:740px) and (min-width:701px){.entrance-motion .hero-immersive{padding-top:110px}.hero-immersive h1{font-size:clamp(54px,6vw,82px)}.hero-immersive .hero-kicker{margin-bottom:15px}.hero-immersive .hero-description{margin:18px 0 20px}.hero-grades{margin-top:22px}}
@media(max-width:700px){.clay-fraction{bottom:7%;left:4%}.clay-ring{bottom:7%;right:4%}}
/* Bring the workshop forward against a soft green landscape. */
.entrance-motion .portal-section{background:#37634e;isolation:isolate}
.entrance-motion .portal-section:before{content:'';position:absolute;inset:-45px;z-index:-1;background:linear-gradient(135deg,#204f42b8,#547b56c7),url('../../assets/clay-hero.webp') center 65%/cover no-repeat;filter:blur(22px);pointer-events:none}
.entrance-motion .portal-section .portal-perspective{width:min(1680px,calc(100% - 64px));max-width:none}
.entrance-motion .workshop-preview{max-height:calc(100svh - 40px);box-shadow:0 22px 70px #102f3050,0 0 0 1px #fff8}
.entrance-motion .preview-chrome{font-size:14px;padding:15px 28px}.entrance-motion .preview-live{font-size:13px}
.entrance-motion .preview-body{padding:26px 32px 22px}.entrance-motion .preview-heading h3{font-size:40px}.entrance-motion .preview-heading .eyebrow{font-size:11px}
.entrance-motion .class-world p{font-size:27px}.entrance-motion .class-world .eyebrow{font-size:11px}.entrance-motion #class-world-object{width:165px}
.entrance-motion .preview-grades button{font-size:17px;padding:12px 22px;min-height:48px}.entrance-motion .preview-tabs button{font-size:19px}.entrance-motion .preview-tabs button span{font-size:18px}
.entrance-motion .preview-status{font-size:15px}.entrance-motion .preview-card h4{font-size:25px}.entrance-motion .preview-card-body>span:first-child{font-size:12px}.entrance-motion .preview-code{font-size:13px}.entrance-motion .preview-card-go{font-size:16px}
.entrance-motion .preview-visual{height:clamp(135px,14svh,190px)}.entrance-motion .preview-footer{font-size:15px}.entrance-motion .preview-footer a{font-size:17px}
@media(min-width:1500px){.entrance-motion .preview-body{padding:30px 42px}.entrance-motion .class-world{height:130px}.entrance-motion .preview-heading h3{font-size:44px}.entrance-motion .preview-card h4{font-size:28px}}
@media(max-width:1000px){.entrance-motion .portal-section .portal-perspective{width:calc(100% - 32px)}.entrance-motion .preview-body{padding:22px}.entrance-motion .preview-card h4{font-size:22px}}
@media(max-width:700px){.entrance-motion .portal-section .portal-perspective{width:calc(100% - 20px)}.entrance-motion .workshop-preview{max-height:calc(100svh - 24px)}.entrance-motion .preview-body{padding:16px 14px}.entrance-motion .preview-chrome{font-size:10px;padding:12px 14px}.entrance-motion .preview-live{font-size:10px}.entrance-motion .preview-heading h3{font-size:29px}.entrance-motion .preview-heading .eyebrow{font-size:8px}.entrance-motion .class-world p{font-size:20px}.entrance-motion .class-world .eyebrow{font-size:8px}.entrance-motion #class-world-object{width:95px}.entrance-motion .preview-grades button{font-size:13px;padding:9px 3px;min-height:46px}.entrance-motion .preview-tabs button{font-size:17px}.entrance-motion .preview-status{font-size:13px}.entrance-motion .preview-card h4{font-size:21px}.entrance-motion .preview-card-body>span:first-child{font-size:10px}.entrance-motion .preview-code{font-size:11px}.entrance-motion .preview-card-go{font-size:14px}.entrance-motion .preview-visual{height:100%;min-height:140px}.entrance-motion .preview-footer{font-size:13px}.entrance-motion .preview-footer a{font-size:15px}}
.entrance-motion .entrance-stage{overflow:clip}

/* Touch devices use composited fades and transforms instead of a viewport mask. */
.entrance-lite .portal-section{clip-path:none!important;will-change:opacity;opacity:var(--lite-reveal,0);perspective:none;transition:none}
.entrance-lite .portal-section:before{inset:0;filter:none;background:radial-gradient(ellipse at 15% 20%,#709a7caa,transparent 60%),radial-gradient(ellipse at 85% 75%,#285c46,transparent 65%),linear-gradient(135deg,#47735f,#315b47)}
.entrance-lite .portal-section .portal-perspective{transform:translate3d(0,var(--lite-y,28px),0);will-change:transform;perspective:none}
.entrance-lite .hero-immersive .hero-scene{animation:none!important}
.entrance-lite .hero-immersive .hero-scene img{transform:none!important;filter:none!important;will-change:auto}
.entrance-lite .hero-immersive .hero-copy{transform:translate3d(0,var(--copy-y,0px),0)}
.entrance-lite .clay-gateway{width:200px;height:200px;transform:translate(-50%,-50%) scale(var(--lite-ring-scale,.25));opacity:var(--lite-ring-opacity,0);filter:none}
.entrance-lite .clay-gateway svg{display:none}
.entrance-lite .clay-gateway:after{content:'';position:absolute;inset:0;border:24px solid #ebc975;border-radius:48% 51% 49% 50%;box-shadow:inset 3px 4px 2px #ab874f,3px 4px 0 #c6a25d}
.entrance-lite .workshop-preview{box-shadow:0 10px 28px #102f3033}
.entrance-lite .hero-secondary{backdrop-filter:none}
.entrance-lite .scene-ornaments,.entrance-lite .clay-motif{filter:none}
.entrance-lite.entrance-motion .entrance-travelling :is(.clay-cloud,.clay-fraction,.clay-ring,.clay-plus,.hero-grades a){animation-play-state:paused}
.entrance-lite .entrance-travelling .hero-shell{pointer-events:none}
.entrance-lite .entrance-travelling .clay-fraction,.entrance-lite .entrance-travelling .clay-ring,.entrance-lite .entrance-travelling .clay-plus{margin:0}
.entrance-lite .preview-visual .clay-motif{animation:none}
.class-world>div:first-child{min-width:0;flex:1}
@media(max-width:360px){.entrance-motion .class-world p{font-size:18px;line-height:1.25}.entrance-motion .class-world .eyebrow{font-size:7px;letter-spacing:.3px}.entrance-motion #class-world-object{width:80px}}

/* T16: a small clay strand follows the active tab; text/content remains immediate. */
.preview-tabs{position:relative}
.preview-tabs.has-clay-indicator:before{content:'';position:absolute;left:0;bottom:-2px;width:var(--tab-indicator-width,0px);height:6px;border-radius:48% 42% 45% 40% / 55% 45% 55% 45%;background:var(--world-color,var(--yellow));box-shadow:inset 0 1px 1px #fff8,0 2px 1px #204b3b25;transform:translateX(var(--tab-indicator-x,0px));transition:transform var(--tab-indicator-duration,0ms) cubic-bezier(.22,1,.36,1);pointer-events:none}
.preview-tabs.has-clay-indicator button[aria-selected=true]{border-bottom-color:transparent}
.preview-tabs button:focus-visible{outline:3px solid var(--forest);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.preview-tabs.has-clay-indicator:before{transition:none}}
