/* The Studio Chess landing page — intentionally designed to feel like the front door to the app. */
.studio-wrap{width:min(1320px,calc(100% - clamp(28px,5vw,76px)));margin-inline:auto}
.studio-bar{background:rgba(255,255,255,.96);border-bottom:1px solid #dce2ec}
.studio-bar .studio-wrap{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:66px}
.studio-brand{display:inline-flex;align-items:center;gap:9px;color:#182238;text-decoration:none;font-size:1.1rem;font-weight:850;letter-spacing:-.04em;white-space:nowrap}
.studio-brand img{display:block;width:33px;height:33px}
.studio-nav{display:flex;align-items:center;justify-content:center;gap:clamp(9px,1.6vw,22px);flex-wrap:wrap}
.studio-nav a,.studio-tools a{color:#526176;text-decoration:none;font-size:.79rem;font-weight:700}
.studio-nav a:hover,.studio-tools a:hover{color:#304bd6}
.studio-nav a[aria-current=page]{color:#304bd6}
.studio-tools{display:flex;align-items:center;gap:9px;white-space:nowrap}
.studio-tools button,.studio-tools a{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border:1px solid #dce2ec;border-radius:8px;background:#fff;color:#43516a;font:inherit;font-size:.76rem;font-weight:700;cursor:pointer}
.studio-tools a:last-child{background:#304bd6;border-color:#304bd6;color:#fff}
.studio-tools kbd{margin-left:7px;padding:1px 5px;border:1px solid #dce2ec;border-radius:4px;color:#7a879a;font-size:.65rem}
main.studio-wrap{max-width:none;padding:26px 0 68px}
.studio-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);align-items:center;gap:20px;min-height:340px;padding:clamp(28px,4.2vw,56px);overflow:hidden;border:1px solid #d8e1f1;border-radius:22px;background:linear-gradient(112deg,#eef2ff 0%,#f8faff 52%,#e5ecfb 100%);box-shadow:0 15px 40px rgba(34,54,104,.075)}
.studio-hero:before{content:"";position:absolute;z-index:-1;right:4%;top:-50%;width:480px;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(84,111,231,.14),rgba(84,111,231,0) 68%)}
.studio-hero:after{content:"";position:absolute;z-index:-1;inset:0;background-image:radial-gradient(#7186c72e .8px,transparent .9px);background-size:18px 18px;mask-image:linear-gradient(90deg,transparent 30%,#000 100%);opacity:.35;pointer-events:none}
.hero-copy-new{position:relative;z-index:1;max-width:600px}
.hero-eyebrow,.studio-label{display:inline-flex;align-items:center;gap:7px;color:#4056b6;font-size:.68rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
.hero-eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#df5864;box-shadow:0 0 0 4px #df58641a}
.hero-copy-new h1{max-width:11ch;margin:13px 0 14px;color:#182238;font-size:clamp(2.8rem,5.1vw,5rem);line-height:.98;font-weight:820;letter-spacing:-.075em}
.hero-copy-new p:not(.hero-eyebrow){max-width:52ch;margin:0;color:#526176;font-size:clamp(1rem,1.5vw,1.14rem);line-height:1.65}
.studio-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:23px 0 0}
.studio-actions a,.studio-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 15px;border:1px solid #cbd5e6;border-radius:9px;background:#fff;color:#3549ad;text-decoration:none;font-size:.82rem;font-weight:800;box-shadow:0 2px 4px rgba(25,42,76,.035);transition:transform .15s,box-shadow .15s,background .15s}
.studio-actions a:hover,.studio-button:hover{transform:translateY(-1px);box-shadow:0 7px 15px rgba(25,42,76,.09);text-decoration:none}
.studio-actions a:first-child,.studio-button:not(.secondary){background:#304bd6;border-color:#304bd6;color:#fff}
.studio-actions a:first-child:hover,.studio-button:not(.secondary):hover{background:#263fbe}
.studio-hero>img{display:block;width:100%;height:100%;max-height:300px;min-height:230px;object-fit:contain;filter:drop-shadow(0 18px 17px rgba(35,51,86,.15));transform:scale(1.04)}
.studio-proof{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:16px;margin:20px 0 0}
.studio-proof-board,.studio-proof-review{min-width:0;border:1px solid #dce2ec;border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(25,42,76,.045)}
.studio-proof-board{padding:clamp(17px,2.2vw,25px)}
.proof-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
.proof-heading h2,.studio-proof-review h2{margin:5px 0 5px;color:#182238;font-size:clamp(1.35rem,2.2vw,1.8rem);line-height:1.12;letter-spacing:-.05em}
.proof-heading p{margin:0;color:#66748a;font-size:.83rem;line-height:1.5}
.proof-heading>a{flex:0 0 auto;color:#304bd6;font-size:.76rem;font-weight:800;text-decoration:none}
.proof-heading>a:hover{text-decoration:underline}
.studio-proof-board .academy-board{width:min(100%,440px);margin:14px auto 10px;border-radius:7px;box-shadow:0 4px 16px rgba(27,43,73,.09)}
.sample-board-status{min-height:1.5em;margin:8px 0;color:#56647b;font-size:.79rem;text-align:center}
.sample-board-actions{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}
.sample-board-actions button{min-height:33px;padding:6px 10px;border:1px solid #dce2ec;border-radius:8px;background:#f8f9fc;color:#526176;font-size:.74rem;font-weight:750;cursor:pointer}
.sample-board-actions button:hover{border-color:#b8c5e0;background:#f0f3fb}
.studio-proof-review{position:relative;display:flex;flex-direction:column;justify-content:center;overflow:hidden;padding:clamp(20px,3vw,32px);border-color:#263f9f;background:linear-gradient(145deg,#243a91 0%,#304bd6 58%,#4663dc 100%);color:#fff}
.studio-proof-review:after{content:"";position:absolute;right:-70px;bottom:-130px;width:300px;height:300px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 28px rgba(255,255,255,.035),0 0 0 58px rgba(255,255,255,.025);pointer-events:none}
.studio-proof-review .studio-label{color:#cbd6ff}
.studio-proof-review h2{max-width:15ch;color:#fff;font-size:clamp(1.8rem,3vw,2.55rem)}
.studio-proof-review>p:not(.sample-moves){position:relative;z-index:1;max-width:55ch;color:#e5eaff;font-size:.9rem;line-height:1.65}
.sample-moves{position:relative;z-index:1;margin:13px 0;padding:14px 16px;border:1px solid rgba(255,255,255,.15);border-radius:11px;background:rgba(15,27,83,.26);color:#fff;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:1.05rem;font-weight:800;letter-spacing:.02em}
.sample-review-facts{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:13px 0 17px}
.sample-review-facts span{display:grid;gap:3px;padding:9px 10px;border:1px solid rgba(255,255,255,.13);border-radius:9px;background:rgba(255,255,255,.09);color:#dbe3ff;font-size:.68rem}
.sample-review-facts strong{color:#fff;font-size:1rem}
.studio-proof-review .studio-button{position:relative;z-index:1;align-self:flex-start;border-color:#fff;background:#fff;color:#263eaa}
.studio-section{margin-top:42px}
.studio-section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:15px}
.studio-title{margin:0;color:#182238;font-size:clamp(1.65rem,2.7vw,2.2rem);line-height:1.08;font-weight:820;letter-spacing:-.06em}
.studio-section-heading>a{color:#304bd6;font-size:.8rem;font-weight:800;text-decoration:none}
.studio-section-heading>a:hover{text-decoration:underline}
.studio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.studio-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:184px;padding:18px;border:1px solid #dce2ec;border-radius:14px;background:#fff;color:#182238;text-decoration:none;box-shadow:0 5px 18px rgba(25,42,76,.035);transition:transform .16s,border-color .16s,box-shadow .16s}
.studio-card:hover{transform:translateY(-3px);border-color:#b9c7eb;box-shadow:0 13px 26px rgba(25,42,76,.085);text-decoration:none}
.studio-card .studio-label{margin-bottom:9px;color:#5165bc;font-size:.62rem;letter-spacing:.1em}
.studio-card h3{margin:0 0 7px;color:#1c2940;font-size:1.06rem;line-height:1.25;letter-spacing:-.035em}
.studio-card p{margin:0 0 14px;color:#66748a;font-size:.81rem;line-height:1.55}
.studio-symbol{display:grid;place-items:center;width:37px;height:37px;margin-bottom:12px;border-radius:11px;background:#edf1ff;color:#304bd6}
.studio-symbol svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.studio-arrow{display:inline-flex;align-items:center;gap:5px;margin-top:auto;color:#304bd6;font-size:.76rem;font-weight:850}
.studio-foot{margin-top:30px;border-top:1px solid #dce2ec;background:#fff}
.studio-foot>div{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:22px 0}
.studio-foot strong{color:#34425b;font-size:.82rem}
.studio-foot nav{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.studio-foot a{color:#66748a;font-size:.74rem;text-decoration:none}
.studio-foot a:hover{color:#304bd6;text-decoration:underline}
.studio-dialog{width:min(620px,calc(100% - 28px));max-width:620px;border:1px solid #dce2ec;border-radius:16px;padding:22px;background:#fff;color:#182238;box-shadow:0 24px 80px rgba(20,33,61,.2)}
.studio-dialog::backdrop{background:rgba(20,31,53,.42);backdrop-filter:blur(3px)}
@media(max-width:1000px){.studio-nav{gap:9px}.studio-nav a{font-size:.72rem}.studio-hero{grid-template-columns:minmax(0,1fr) minmax(290px,.85fr)}.studio-proof{grid-template-columns:1fr 1fr}.studio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.studio-wrap{width:calc(100% - 28px)}.studio-bar .studio-wrap{min-height:55px}.studio-nav{display:none}.studio-tools{margin-left:auto}.studio-hero{grid-template-columns:1fr;gap:4px;min-height:0;padding:24px 21px 14px;border-radius:17px}.hero-copy-new h1{font-size:clamp(2.65rem,11vw,4.1rem)}.studio-hero>img{max-height:205px;min-height:150px;transform:none}.studio-proof{grid-template-columns:1fr}.studio-proof-board,.studio-proof-review{border-radius:14px}.studio-section{margin-top:32px}.studio-grid{grid-template-columns:1fr 1fr}.studio-card{min-height:170px;padding:14px}.studio-foot>div{align-items:flex-start;flex-direction:column}.sample-review-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:470px){.studio-tools button{display:none}.studio-tools a{min-height:31px;padding:5px 8px}.studio-grid{grid-template-columns:1fr}.studio-card{min-height:150px}.proof-heading{flex-direction:column}.sample-review-facts span{padding:8px 7px;font-size:.62rem}}
@media(prefers-reduced-motion:reduce){.studio-card,.studio-actions a,.studio-button{transition:none}}

.studio-skip{position:absolute;z-index:130;left:14px;top:-60px;padding:9px 13px;border:1px solid #dce2ec;border-radius:8px;background:#fff;color:#304bd6;font-weight:750;box-shadow:0 6px 18px rgba(25,42,76,.12)}
.studio-skip:focus{top:12px}

/* The Studio Chess 2.5 home commerce preview: crisp geometric editorial cards. */
.home-section-intro{max-width:62ch;margin:.4rem 0 0;color:#6b7890;font-size:.92rem;line-height:1.55}
.home-study-section{padding:clamp(20px,3vw,30px);border:1px solid #e0e7f2;border-radius:20px;background:linear-gradient(125deg,#fff 0%,#f7f9ff 65%,#f0faf6 100%);box-shadow:0 9px 26px rgba(34,54,104,.045)}
.home-study-section .studio-section-heading{align-items:flex-end}
.home-study-section .studio-section-heading>div{max-width:780px}
.home-study-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:18px}
.home-study-card{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:14px;min-width:0;padding:13px;border:1px solid #e0e6f1;border-radius:15px;background:#fff;color:#1d2b45;text-decoration:none;box-shadow:0 5px 16px rgba(38,55,99,.035);transition:transform .17s ease,border-color .17s ease,box-shadow .17s ease}
.home-study-card:hover{transform:translateY(-3px);border-color:#bfcdf4;box-shadow:0 13px 25px rgba(38,55,99,.09);text-decoration:none}
.home-study-art{position:relative;display:grid;place-items:center;min-height:118px;overflow:hidden;border-radius:12px;background:linear-gradient(145deg,#e7edff,#f4f7ff)}
.home-study-art:before{content:"";position:absolute;inset:10px;border:1px solid rgba(67,92,190,.16);border-radius:8px;background:repeating-conic-gradient(#fff9 0 25%,transparent 0 50%) 0 0/19px 19px;transform:skewY(-12deg)}
.home-study-art:after{content:"";position:absolute;width:34px;height:53px;left:calc(50% - 17px);top:27px;border:4px solid var(--piece,#3658d7);border-radius:6px 6px 4px 4px;background:linear-gradient(180deg,var(--light,#fff),var(--tone,#aebdf1));box-shadow:0 9px 0 -3px var(--piece,#3658d7),0 17px 0 -7px rgba(31,52,111,.15);transform:skewY(-7deg)}
.home-study-art i{position:absolute;z-index:1;bottom:18px;left:22%;right:22%;height:8px;border-radius:99px;background:var(--piece,#3658d7);opacity:.85}
.home-study-art b{position:absolute;right:13px;top:14px;width:11px;height:11px;border-radius:3px;background:var(--accent,#e58a7d);transform:rotate(22deg)}
.home-study-art.art-calculation{--piece:#3658d7;--light:#fff;--tone:#b8c5f5;--accent:#e58a7d}
.home-study-art.art-opening{background:linear-gradient(145deg,#e3f6f0,#f6fcf9);--piece:#258c80;--light:#fff;--tone:#afe5d9;--accent:#6abcae}
.home-study-art.art-collection{background:linear-gradient(145deg,#eeeaff,#f9f7ff);--piece:#7957c9;--light:#fff;--tone:#c9b9f1;--accent:#e4a77e}
.home-study-copy{display:grid;gap:5px;min-width:0}
.home-study-copy small{color:#5368bd;font-size:.59rem;line-height:1.35;font-weight:850;letter-spacing:.085em}
.home-study-copy strong{color:#1d2b45;font-size:.97rem;line-height:1.22;letter-spacing:-.03em}
.home-study-copy>span{color:#6c7890;font-size:.75rem;line-height:1.45}
.home-study-copy em{margin-top:4px;color:#3658d7;font-size:.73rem;font-style:normal;font-weight:850}
.home-shop-note{margin:14px 0 0;color:#8290a4;font-size:.7rem;font-weight:650;letter-spacing:.02em}
@media(max-width:1050px){.home-study-grid{grid-template-columns:1fr}.home-study-card{grid-template-columns:112px minmax(0,1fr)}}
@media(max-width:760px){.home-study-section{padding:18px 14px}.home-study-section .studio-section-heading{align-items:flex-start}.home-study-card{grid-template-columns:90px minmax(0,1fr);gap:11px;padding:10px}.home-study-art{min-height:108px}}
@media(prefers-reduced-motion:reduce){.home-study-card{transition:none}}

/* The Studio Chess 3.2 · the complete six-volume learning library */
.home-mastery-section{padding:clamp(20px,3vw,30px);border:1px solid #dfe7f3;border-radius:22px;background:linear-gradient(125deg,#fff 0%,#f6f9ff 58%,#edf9f6 100%);box-shadow:0 12px 32px rgba(34,54,104,.055)}
.home-mastery-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:18px}
.home-mastery-book{display:grid;gap:8px;min-width:0;padding:10px;border:1px solid #e1e8f2;border-radius:14px;background:#fff;color:#1c2e4d;text-decoration:none;box-shadow:0 6px 18px rgba(32,54,105,.045);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.home-mastery-book:hover{transform:translateY(-3px);border-color:#b9c9f3;box-shadow:0 14px 28px rgba(32,54,105,.1);text-decoration:none}
.home-mastery-book img{display:block;width:100%;aspect-ratio:5/7;object-fit:cover;border-radius:8px;box-shadow:0 9px 18px rgba(14,39,81,.16)}
.home-mastery-book span{color:#5570c6;font-size:.57rem;line-height:1.35;font-weight:850;letter-spacing:.09em}
.home-mastery-book strong{color:#1f3151;font-size:.8rem;line-height:1.3;letter-spacing:-.02em}
.home-mastery-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px;padding:15px 17px;border:1px solid #dce5f4;border-radius:14px;background:linear-gradient(105deg,#edf2ff,#f7fbff 60%,#eef9f5)}
.home-mastery-footer>div{display:grid;gap:3px}.home-mastery-footer strong{color:#253d66;font-size:.9rem}.home-mastery-footer span{color:#687a95;font-size:.75rem}
@media(max-width:1100px){.home-mastery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.home-mastery-section{padding:18px 14px}.home-mastery-section .studio-section-heading{align-items:flex-start}.home-mastery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.home-mastery-book{padding:7px}.home-mastery-book strong{font-size:.72rem}.home-mastery-footer{align-items:flex-start;flex-direction:column}}
@media(max-width:420px){.home-mastery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.home-mastery-book{transition:none}}

/* The Studio Chess 3.3 home — more colour, motion and clear learning hierarchy */
.studio-hero{min-height:clamp(330px,38vw,470px);padding:clamp(26px,4vw,48px);border:1px solid #dce7fa;border-radius:30px;background:radial-gradient(circle at 88% 18%,rgba(70,143,255,.18),transparent 25%),radial-gradient(circle at 75% 88%,rgba(53,185,154,.16),transparent 25%),linear-gradient(115deg,#fff 0%,#f1f6ff 54%,#eaf6ff 100%);box-shadow:0 22px 58px rgba(28,72,151,.10)}
.studio-hero img{filter:drop-shadow(0 16px 22px rgba(28,71,146,.12));animation:home-art-float 7s ease-in-out infinite alternate}
.hero-copy-new h1{max-width:13ch;font-size:clamp(2.7rem,5.4vw,5.4rem);line-height:.98}
.hero-copy-new h1 em,.hero-copy-new h1 strong{color:#2864e8}
.studio-proof{gap:16px}
.studio-proof-board,.studio-proof-review{border-radius:22px;box-shadow:0 12px 34px rgba(29,70,146,.075)}
.home-learning-loop{padding:clamp(20px,3vw,34px);border-radius:24px;background:linear-gradient(120deg,#edf4ff,#fff 52%,#effaf7);border:1px solid #dce8f8}
.home-learning-loop-steps a{background:#fff;border:1px solid #dce7f8;border-radius:17px;box-shadow:0 7px 20px rgba(26,72,152,.06)}
.home-learning-loop-steps a:hover{transform:translateY(-3px)}
.home-study-card,.home-mastery-book{border-radius:18px;overflow:hidden}
.home-mastery-book img{transition:transform .22s ease,filter .22s ease;filter:drop-shadow(0 7px 10px rgba(11,39,91,.12))}
.home-mastery-book:hover img{transform:translateY(-5px) rotate(-1deg);filter:drop-shadow(0 14px 18px rgba(11,39,91,.18))}
.home-level-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:26px 0}
.home-level-path{position:relative;overflow:hidden;display:grid;gap:12px;min-height:205px;padding:20px;border:1px solid #dce6f6;border-radius:20px;background:linear-gradient(145deg,#fff,#f2f6ff);text-decoration:none;color:#1b3155;box-shadow:0 9px 26px rgba(25,65,136,.07)}
.home-level-path:after{content:"";position:absolute;right:-28px;bottom:-38px;width:150px;height:150px;border:16px solid rgba(49,104,224,.09);transform:rotate(35deg);border-radius:28px}
.home-level-path:nth-child(2){background:linear-gradient(145deg,#fff,#effaf7)}.home-level-path:nth-child(2):after{border-color:rgba(38,171,139,.12)}
.home-level-path:nth-child(3){background:linear-gradient(145deg,#fff,#f5f1ff)}.home-level-path:nth-child(3):after{border-color:rgba(133,103,225,.12)}
.home-level-path span{position:relative;z-index:1;color:#4167cc;font-size:.68rem;font-weight:850;letter-spacing:.12em}
.home-level-path strong{position:relative;z-index:1;font-size:1.25rem}.home-level-path small{position:relative;z-index:1;max-width:30ch;color:#62738c;line-height:1.55}
@keyframes home-art-float{from{transform:translateY(0)}to{transform:translateY(-9px)}}
@media(max-width:850px){.home-level-paths{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.home-level-paths{grid-template-columns:1fr}.studio-hero{border-radius:20px}}
@media(prefers-reduced-motion:reduce){.studio-hero img{animation:none}}

/* Level-path cards: one cover per curriculum, with a floating geometry accent. */
.home-level-path{grid-template-columns:minmax(0,1fr) 116px;grid-template-rows:auto auto 1fr;align-items:start;gap:8px 14px;min-height:230px}
.home-level-path>span,.home-level-path>strong,.home-level-path>small{grid-column:1;z-index:2}
.home-level-path>img{grid-column:2;grid-row:1 / span 3;width:100%;max-height:174px;object-fit:contain;align-self:center;filter:drop-shadow(0 12px 12px rgba(13,44,98,.19));animation:home-art-float 4.8s ease-in-out infinite alternate}
.home-level-path:nth-child(2)>img{animation-delay:-1.7s}.home-level-path:nth-child(3)>img{animation-delay:-3.1s}
.home-level-path:hover>img{transform:translateY(-7px) rotate(1deg)}
@media(max-width:560px){.home-level-path{grid-template-columns:minmax(0,1fr) 96px;min-height:190px;padding:16px}.home-level-path>img{max-height:142px}}
@media(prefers-reduced-motion:reduce){.home-level-path>img{animation:none}}
