/* StudioProgrammer / game workshop. This layer keeps the previous design reversible. */
:root { --bg: #f8f9fb; --ink: #202431; --muted: #626b79; --line: #dfe3e9; --orange: #fa713c; --night: #151923; }
body { font-size: 20px; }
.wrap { max-width: 1280px; padding-left: 48px; padding-right: 48px; }
.section { padding-top: 76px; padding-bottom: 76px; }
h2 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.16; }
.eyebrow { font-size: 11px; letter-spacing: 1.8px; }
.section-head { align-items: end; gap: 32px; margin-bottom: 32px; }
.section-head > p { font-size: 17px; line-height: 1.6; max-width: 34%; }
.ambient-collage { display: none; }
.header-shell { position: relative; z-index: 10; color: #f8f9fd; background: var(--night); border-bottom: 1px solid #ffffff12; }
.header { min-height: 86px; height: auto; flex-wrap: nowrap; padding-top: 18px; padding-bottom: 18px; gap: 26px; }
.header .brand { font-size: 28px; }
.header .brand .brand-icon { width: 40px; height: 40px; flex-basis: 40px; padding: 4px; border-radius: 12px; }
.header .brand-icon svg { width: 32px; height: 32px; }
.header nav { order: initial; width: auto; gap: 24px; flex-wrap: nowrap; font-size: 14px; }
.header-phone { display: block; margin-left: auto; font-size: 15px; }
.hero-shell { position: relative; isolation: isolate; overflow: hidden; color: #f8f9fd; background: var(--night); }
.hero-shell::before { content: ''; position: absolute; z-index: -2; inset: -10%; background: radial-gradient(ellipse at 79% 40%, #5a69d42b, transparent 39%), radial-gradient(ellipse at 98% 90%, #fa713c15, transparent 40%); }
.hero-shell::after { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background-image: linear-gradient(#ffffff03 1px, transparent 1px), linear-gradient(90deg, #ffffff03 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent 25%, #000); }
.hero { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 640px; padding-top: 52px; padding-bottom: 66px; gap: 45px; }
.hero .eyebrow { color: #c6ccd9; font-size: 11px; margin-bottom: 22px; letter-spacing: 1.5px; }
.hero .dot { width: 7px; height: 7px; box-shadow: 0 0 0 5px #fa713c16; }
.hero .hero-title { font-size: clamp(52px, 5.8vw, 76px); line-height: 1.08; margin: 0 0 28px; letter-spacing: -.055em; }
.hero .orange { color: #ff8a57; }
.hero .lead { font-size: 23px; color: #e7e9f0; line-height: 1.5; margin-bottom: 12px; }
.hero-format { font-size: 15px; color: #a7b0c2; margin-bottom: 24px; }
.hero-trial { display: flex; align-items: center; gap: 9px; width: fit-content; margin: 0 0 12px; color: #d8edaf; font-size: 18px; font-weight: 600; }
.hero-trial > span { font-size: 25px; line-height: 1; }
.hero-price { font-size: 14px; gap: 6px 14px; margin-bottom: 25px; color: #abb5c8; }
.hero-price strong { color: #fff; font-size: 27px; }
.hero-price small { color: #abb5c8; font-size: 14px; }
.hero .actions { gap: 22px; }
.hero .button { padding: 17px 21px; font-size: 17px; border-radius: 12px; min-height: 58px; }
.hero .text-link { font-size: 15px; color: #e4e7ef; }
.hero .text-link:hover { color: #ff9c70; }
.hero-notes { margin-top: 28px; gap: 24px; color: #9ba7bc; font-size: 12px; }
.hero-notes b { font-size: 19px; color: #e2e6ef; }
.hero-art { width: 100%; max-width: 560px; height: 510px; margin: 0; justify-self: end; }
.hero-art::before { content: ''; position: absolute; inset: 12% -8%; border-radius: 50%; background: radial-gradient(ellipse, #636edf42, #547be714 45%, transparent 70%); z-index: -2; }
.hero-art .orbit-one { width: 90%; height: 90%; background: none; border: 1px solid #8d9de019; }
.hero-art .orbit-two { width: 100%; height: 86%; border-color: #a6b3e72e; }
.hero-art .code-window { width: 96%; max-width: 540px; border: 1px solid #67738f66; padding: 10px; background: #222938; border-radius: 20px; box-shadow: 0 30px 65px #05070d70, 0 0 60px #6a76e412; transform: rotate(-4deg); }
.hero-art .window-bar { font-size: 11px; padding: 5px 6px 16px; color: #a8b5cc; }
.hero-art .window-dots { font-size: 11px; letter-spacing: 2px; }
.hero-art .code-content { font-size: clamp(10px, 1.05vw, 13px); gap: 6px 10px; padding: 10px 12px 23px; }
.hero-art .game-preview { height: 255px; background: linear-gradient(155deg, #25374b, #263251 55%, #3f3961); border: 1px solid #8298d52b; border-radius: 10px; color: #f0f3ff; }
.hero-art .game-grid { background-image: linear-gradient(#a4c7ff0b 1px, transparent 1px), linear-gradient(90deg, #a4c7ff0b 1px, transparent 1px); background-size: 32px 32px; }
.hero-art .game-caption { color: #c0cee2; font-size: 9px; left: 18px; top: 18px; }
.hero-art .bot { scale: 1.13; transform-origin: bottom left; left: 80px; }
.hero-art .platform { box-shadow: 0 5px 16px #0b0c2540; background: #756bca; border-color: #a89cf5; }
.hero-art .p1 { width: 170px; }
.hero-art .p2 { width: 110px; right: 55px; }
.hero-art .coin { color: #ffce73; text-shadow: 0 0 20px #ffc15a55; }
.hero-art .game-message { color: #dbe9ff; background: #ffffff12; border: 1px solid #ffffff20; font-size: 11px; bottom: 16px; right: 16px; }
.hero-art .floating-tag { top: 4px; left: 34px; font-size: 12px; padding: 12px 18px; color: #dce8ff; background: #334358; border: 1px solid #869ed64d; box-shadow: 0 5px 15px #10131b30; }
.hero-art .sticker { bottom: 10px; right: -5px; font-size: 16px; padding: 14px 22px; color: #262231; background: #ffc86a; box-shadow: 0 7px 25px #10131b36; }
.hero-art .sticker span { font-size: 30px; }
.hero-art .spark-one { top: 0; right: -4px; font-size: 64px; }
.hero-art .spark-two { bottom: 6px; left: 0; font-size: 58px; color: #b5a2ec; }
.motion-toggle { position: absolute; bottom: 18px; right: 48px; display: inline-flex; align-items: center; gap: 7px; min-height: 28px; border: 0; padding: 4px 8px; border-radius: 6px; background: transparent; color: #a7b4cb; font-size: 11px; cursor: pointer; }
.motion-toggle:hover { color: #fff; background: #ffffff0a; }
.ticker { background: #1b202c; border-color: #ffffff13; color: #c7cfdf; }
.ticker-inner { gap: 16px 26px; padding-top: 16px; padding-bottom: 16px; justify-content: space-between; }
.ticker-inner span { font-size: 13px; }
.ticker-inner i { font-size: 24px; }

/* Images lead each course. Content and links remain in natural reading order. */
#courses { position: relative; isolation: isolate; }
#courses::before { content: ''; position: absolute; z-index: -1; top: 10px; right: 25px; width: 280px; height: 230px; background: url('assets/rpg-maker.png') center / cover; opacity: .045; transform: rotate(10deg); mask-image: linear-gradient(#000, transparent); pointer-events: none; }
.courses { gap: 26px; }
.course { padding: 0; background: #fff; border: 1px solid #dce1e8; border-radius: 24px; overflow: hidden; box-shadow: 0 5px 20px #28345004; min-height: 0; }
.course-media { position: relative; flex-shrink: 0; overflow: hidden; border-bottom: 1px solid #2024310a; }
.lavender .course-media { background: radial-gradient(ellipse at 30% 40%, #f8f4ff, transparent 75%), #e4dff4; }
.peach .course-media { background: radial-gradient(ellipse at 30% 40%, #fff4e9, transparent 75%), #f4ddcf; }
.lime .course-media { background: radial-gradient(ellipse at 30% 40%, #f4f9e5, transparent 75%), #e0e9cd; }
.blue .course-media { background: radial-gradient(ellipse at 30% 40%, #eff7ff, transparent 75%), #d8e5f5; }
.course-top { position: absolute; top: 18px; left: 22px; right: 22px; z-index: 6; min-height: 28px; margin: 0; display: flex; align-items: center; }
.course-top .pill { max-width: none; background: #ffffff80; border-color: #20243120; padding: 6px 10px; font-size: 9px; letter-spacing: 1px; }
.course-symbol { font-size: 27px; color: #454958; margin: 0; line-height: 1; }
.course .course-collage { display: block; width: 100%; max-width: none; height: 340px; min-height: 0; margin: 0; border: 0; border-radius: 0; background: none; overflow: hidden; }
.course .collage-label { display: none; }
.screen-panel { padding: 7px; border-radius: 10px; box-shadow: 0 12px 26px #25304719; }
.screen-panel figcaption { font-size: 12px; padding: 3px 5px 7px; }
.screen-kumir { width: 54%; left: 6%; top: 71px; }
.screen-piktomir { width: 52%; right: 5%; top: 114px; }
.real-basics .screen-python { width: 41%; left: 10%; bottom: 35px; }
.real-basics .screen-python img { height: 105px; }
.screen-rpg { top: 68px; left: 6%; width: 75%; }
.screen-rpg img { max-height: 236px; object-fit: cover; object-position: top; }
.real-games .screen-python { width: 46%; right: 5%; bottom: 36px; }
.real-games .screen-python img { height: 132px; }
.course .exam-books { padding: 62px 28px 32px; }
.exam-books .book-covers { height: 246px; max-width: 380px; margin: auto; }
.exam-books .book-covers figure { width: 46%; max-width: 166px; padding: 6px; border-radius: 9px; box-shadow: 0 12px 24px #34412b20; }
.exam-books .book-covers figure:first-child { left: 7%; top: 2px; }
.exam-books .book-covers figure:last-child { right: 6%; top: 12px; }
.exam-books .book-covers img { height: 203px; object-fit: contain; }
.exam-books .book-covers figcaption { font-size: 10px; margin: 6px 0 2px; }
.course .ai-collage { padding: 0; }
.ai-prompt { top: 71px; left: 7%; width: 77%; padding: 17px; border-radius: 13px; }
.ai-prompt strong { font-size: 20px; }
.ai-card-caption { font-size: 8px; margin-bottom: 7px; }
.ai-prompt-parts { margin-top: 9px; }
.ai-prompt-parts span { padding: 4px 8px; font-size: 10px; }
.ai-local { top: 195px; right: 6%; width: 76%; grid-template-columns: 38px 1fr; gap: 0 12px; padding: 15px; border-radius: 13px; }
.ai-local svg { width: 38px; }
.ai-local strong { font-size: 19px; }
.ai-local p { font-size: 10px; margin-top: 8px; }
.ai-result { display: none; }
.course-content { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: 26px 28px; }
.course h3 { font-size: clamp(25px, 2.6vw, 33px); line-height: 1.2; min-height: 0; margin: 0; text-wrap: balance; }
.course-content > p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; }
.course-ages { min-height: 0; gap: 5px; margin: 0; font-size: 14px; line-height: 1.6; }
.planned-list { gap: 6px; margin: 0; font-size: 14px; line-height: 1.5; }
.planned-list li { padding-bottom: 6px; border-color: #2024310a; }
.planned-list li::before { color: #7381af; margin-right: 8px; }
.course-content > a { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 48px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 600; }
.course-content > a span { transition: transform .25s ease; }
.course-content > a:hover { color: #bf4314; }
.course-help { font-size: 16px; padding-top: 30px; flex-wrap: wrap; }

/* Alternating light / dark chapters; the original studio photographs stay intact. */
.about-section { position: relative; isolation: isolate; overflow: hidden; background: #191e29; color: #f6f7fb; --muted: #adb6c8; --ink: #f1f4fc; }
.about-section::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 86% 55%, #435b883d, transparent 55%); }
.about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.about-grid > div { min-width: 0; }
.about-section .eyebrow { color: #aebbd5; }
.about-section h2 { font-size: clamp(36px, 4vw, 50px); }
.about-section .body-copy { font-size: 18px; line-height: 1.65; max-width: 490px; }
.about-features { margin-top: 25px; }
.about-features > div { padding-top: 16px; margin-top: 16px; border-top: 1px solid #ffffff15; }
.about-features b { font-size: 12px; color: #ff9c70; }
.about-features strong { font-size: 17px; }
.about-features span { font-size: 15px; line-height: 1.6; }
.photo-composition { width: 100%; min-height: 490px; }
.studio-main { width: 92%; height: 370px; border-radius: 24px; border: 1px solid #ffffff26; box-shadow: 0 18px 40px #05081140; }
.studio-detail { width: 47%; height: 245px; border: 6px solid #191e29; border-radius: 20px; }
.photo-note { left: -12px; bottom: 40px; color: #302819; font-size: 17px; padding: 18px 23px; }
.photo-note b { font-size: 28px; }
.teachers h2 { font-size: 44px; }
.teachers .body-copy { font-size: 18px; line-height: 1.65; }
.teacher h3 { font-size: 21px; }
.teacher p { font-size: 16px; }
.price-card { background: #fff; border-color: var(--line); box-shadow: 0 6px 20px #25304704; border-radius: 24px; }
.price-individual { background: #edf0f6; }
.price-card h3 { font-size: 29px; }
.price-card > p { font-size: 18px; line-height: 1.65; }
.price-card .price { font-size: 54px; }
.price-card > .button { min-height: 60px; font-size: 17px; padding: 16px 20px; }
.price-card > .pill { font-size: 10px; }
.trial-offer { display: grid; grid-template-columns: 230px minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-bottom: 26px; padding: 16px 28px 16px 16px; border: 1px solid #353f51; border-radius: 24px; background: #202735; color: #f7f8fc; }
.trial-photo { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 726; object-fit: cover; border-radius: 14px; }
.trial-copy { min-width: 0; }
.trial-copy .eyebrow { color: #c9dda5; font-size: 10px; letter-spacing: 1.2px; margin: 0 0 9px; }
.trial-copy h3 { font-size: 27px; line-height: 1.22; margin: 0 0 10px; letter-spacing: -.7px; }
.trial-copy > p:last-child { color: #bcc5d4; font-size: 15px; line-height: 1.6; margin: 0; }
.trial-offer > .button { font-size: 16px; min-height: 54px; white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1100px) {
 .trial-offer { grid-template-columns: 190px minmax(0, 1fr); gap: 18px 25px; }
 .trial-photo { grid-row: 1 / 3; height: 100%; max-height: 220px; }
 .trial-offer > .button { grid-column: 2; justify-self: start; }
}
.video-placeholder { min-height: 205px; }
.contact-section { position: relative; isolation: isolate; overflow: hidden; background: #191e29; }
.contact-section::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 90% 0, #4e5e9c3b, transparent 60%); }
.contact-section h2 { font-size: clamp(36px, 4.6vw, 58px); }
.contact-section .contact-card { background: #ffffff07; border: 1px solid #ffffff12; }
.contact-messengers .button { font-size: 18px; min-height: 66px; }
.contact-strip h3 { font-size: 28px; }
.button:hover { transform: scale(1.025); }
.button:active { transform: scale(.98); }

/* Small, bounded motion. Hover never moves a whole card upwards. */
.course, .price-card { transition: scale .3s ease, box-shadow .3s ease, border-color .3s ease; }
@media (hover: hover) and (pointer: fine) {
 .course:hover, .price-card:hover { scale: 1.012; box-shadow: 0 12px 34px #34436615; border-color: #aebddd; }
 .course-content > a:hover span { transform: translateX(3px); }
 .course:hover .screen-kumir { transform: rotate(-6deg) translateX(-3px); }
 .course:hover .screen-piktomir { transform: rotate(6deg) translateX(4px); }
 .course:hover .screen-rpg { transform: rotate(-4deg) translateX(-3px); }
 .course:hover .screen-python { transform: rotate(2deg) translateX(3px); }
 .course:hover .book-covers figure:first-child { transform: rotate(-10deg) translateX(-3px); }
 .course:hover .book-covers figure:last-child { transform: rotate(9deg) translateX(3px); }
 .course:hover .ai-prompt { transform: rotate(-5deg) translateX(-3px); }
 .course:hover .ai-local { transform: rotate(5deg) translateX(3px); }
}
.screen-panel, .book-covers figure, .ai-prompt, .ai-local { transition: transform .35s ease; }
@media (prefers-reduced-motion: no-preference) {
 .hero-art::before { animation: workshop-glow 10s ease-in-out infinite; animation-play-state: paused; }
 .hero-playing .hero-art::before { animation-play-state: running; }
 .hero .code-window, .hero .floating-tag, .hero .sticker, .hero .spark, .hero .coin { animation: none; }
 .hero.hero-playing .coin { animation: coin-shine 2.4s 2; }
 .hero.hero-playing .spark-one { animation: spark-turn 2.4s 2; }
 .hero.hero-playing .code-window { animation: window-float 2.4s ease-in-out 2; }
 .hero.hero-playing .floating-tag { animation: tag-float 2.4s ease-in-out 2; }
 .hero.hero-playing .sticker { animation: sticker-wave 2.4s ease-in-out 2; }
 .hero.motion-paused *, .hero.motion-paused *::before, .hero.motion-paused *::after { animation-play-state: paused !important; }
 .reveal-ready { transform: translateY(12px); transition-duration: .5s; }
 .reveal-ready.is-visible { transform: translateY(0); }
}
@keyframes workshop-glow { 0%, 100% { opacity: .65; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
 .motion-toggle { display: none; }
 .hero-art::before { opacity: .8; }
 .course:hover, .price-card:hover { scale: 1; }
 .screen-panel, .book-covers figure, .ai-prompt, .ai-local { transition: none; }
}

@media (max-width: 1100px) {
 .wrap { padding-left: 32px; padding-right: 32px; }
 .header { gap: 20px; }
 .header nav { gap: 18px; }
 .header-phone { display: none; }
 .hero { gap: 28px; min-height: 590px; }
 .hero .hero-title { font-size: 58px; }
 .hero-art { height: 460px; }
 .hero-art .code-content { font-size: 10px; }
 .hero-art .game-preview { height: 220px; }
 .hero-art .floating-tag { top: 7px; font-size: 10px; }
 .hero-art .sticker { font-size: 13px; bottom: 18px; }
 .hero .lead { font-size: 20px; }
 .hero .actions { gap: 14px; }
 .hero .text-link { font-size: 13px; }
 .hero .button { font-size: 15px; padding: 16px 18px; }
 .hero-notes { gap: 10px 20px; }
 .motion-toggle { right: 32px; }
 .course .course-collage { height: 310px; }
 .screen-kumir { top: 76px; }
 .screen-piktomir { top: 108px; }
 .real-basics .screen-python img { height: 89px; }
 .real-games .screen-python img { height: 108px; }
 .course-content { padding: 23px; }
 .course h3 { font-size: 28px; }
 .course-content > p { font-size: 16px; }
 .course .exam-books { padding-top: 60px; }
 .exam-books .book-covers img { height: 175px; }
 .exam-books .book-covers figure { max-width: 147px; }
 .ai-prompt { padding: 14px; top: 74px; }
 .ai-prompt strong { font-size: 17px; }
 .ai-local { top: 185px; padding: 13px; }
 .ai-local strong { font-size: 16px; }
 .ai-local svg { width: 32px; }
 .ai-local p { font-size: 9px; }
 .about-grid { gap: 38px; }
 .photo-composition { min-height: 410px; }
 .studio-main { height: 300px; }
 .studio-detail { height: 210px; }
}
@media (max-width: 900px) {
 .hero { grid-template-columns: 1fr; gap: 12px; padding-top: 40px; padding-bottom: 50px; }
 .hero-copy { max-width: 620px; }
 .hero .hero-title { font-size: 64px; }
 .hero-art { max-width: 480px; height: 460px; justify-self: center; margin-top: 16px; }
 .hero-art .code-content { font-size: 12px; }
 .hero-art .floating-tag { top: 0; }
 .about-grid { grid-template-columns: 1fr; gap: 32px; }
 .about-section h2 br { display: none; }
 .photo-composition { max-width: 560px; justify-self: center; min-height: 450px; }
 .studio-main { height: 350px; }
 .studio-detail { height: 245px; }
 .section-head { flex-wrap: wrap; }
 .section-head > p { max-width: 100%; }
 .ticker-inner { justify-content: center; }
}
@media (max-width: 760px) {
 .hero-trial { font-size: 16px; margin-bottom: 10px; }
 .hero-trial > span { font-size: 22px; }
 .hero .actions .text-link { align-self: center; padding: 3px 0; }
 .trial-offer { grid-template-columns: 1fr; gap: 21px; padding: 14px 14px 24px; border-radius: 21px; }
 .trial-photo { max-height: 220px; }
 .trial-copy { padding: 0 9px; }
 .trial-copy h3 { font-size: 27px; }
 .trial-offer > .button { margin: 0 9px; }
 .wrap { padding-left: 20px; padding-right: 20px; }
 .header { min-height: 74px; gap: 12px; padding-top: 15px; padding-bottom: 15px; justify-content: space-between; }
 .header .brand { font-size: 24px; }
 .header .brand .brand-icon { width: 36px; height: 36px; flex-basis: 36px; padding: 3px; margin-right: 8px; }
 .header .brand-icon svg { width: 30px; height: 30px; }
 .header .menu { display: block; width: 40px; height: 40px; font-size: 24px; color: #e7ecf7; border: 1px solid #ffffff25; border-radius: 10px; background: #ffffff05; }
 .header nav { display: none; position: absolute; top: 68px; left: 16px; right: 16px; width: auto; z-index: 20; padding: 18px; flex-direction: column; align-items: stretch; gap: 4px; background: #242b3a; border: 1px solid #ffffff20; border-radius: 14px; box-shadow: 0 16px 30px #05070d50; }
 .header nav.open { display: flex; }
 .header nav a { padding: 10px 8px; font-size: 16px; }
 .hero { padding-top: 30px; padding-bottom: 42px; min-height: 0; gap: 0; }
 .hero .eyebrow { font-size: 10px; letter-spacing: 1.2px; margin-bottom: 20px; }
 .hero .hero-title { font-size: clamp(41px, 11.1vw, 64px); line-height: 1.09; margin-bottom: 22px; }
 .hero .lead { font-size: 18px; line-height: 1.5; margin-bottom: 10px; }
 .hero .lead br { display: none; }
 .hero-format { font-size: 13px; margin-bottom: 18px; }
 .hero-price { font-size: 12px; margin-bottom: 20px; gap: 5px 12px; }
 .hero-price strong { font-size: 25px; }
 .hero-price small { font-size: 13px; }
 .hero .actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
 .hero .button { min-height: 52px; font-size: 15px; padding: 14px 17px; }
 .hero .text-link { font-size: 12px; justify-self: center; }
 .hero-notes { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; font-size: 11px; gap: 12px; }
 .hero-notes b { display: block; font-size: 17px; }
 .hero-art { max-width: 400px; height: 350px; margin: 22px 0 0; }
 .hero-art .code-window { width: 94%; max-width: 94%; padding: 7px; border-radius: 15px; }
 .hero-art .window-bar { font-size: 9px; padding-bottom: 10px; }
 .hero-art .code-content { font-size: 9px; line-height: 1.5; gap: 5px 6px; padding: 6px 8px 15px; grid-template-columns: 16px 1fr; }
 .hero-art .game-preview { height: 173px; }
 .hero-art .game-caption { font-size: 7px; left: 13px; top: 12px; }
 .hero-art .bot { scale: .8; left: 50px; }
 .hero-art .p1 { width: 140px; left: 25px; }
 .hero-art .p2 { width: 90px; right: 25px; }
 .hero-art .coin { font-size: 30px; }
 .hero-art .coin-one { right: 95px; top: 50px; }
 .hero-art .game-message { font-size: 8px; padding: 4px 6px; }
 .hero-art .floating-tag { font-size: 9px; padding: 9px 12px; top: 2px; left: 22px; }
 .hero-art .sticker { font-size: 12px; padding: 10px 16px; bottom: 3px; right: 3px; }
 .hero-art .sticker span { font-size: 24px; margin-left: 10px; }
 .hero-art .spark-one { font-size: 48px; top: 0; right: 2px; }
 .hero-art .spark-two { font-size: 42px; bottom: 10px; }
 .motion-toggle { right: 20px; bottom: 7px; font-size: 10px; }
 .ticker-inner { padding-top: 14px; padding-bottom: 14px; gap: 8px 14px; }
 .ticker-inner span { font-size: 11px; }
 .ticker-inner i { font-size: 18px; }
 .section { padding-top: 46px; padding-bottom: 46px; }
 h2, .teachers h2, .studio-map h2 { font-size: clamp(31px, 8vw, 40px); }
 .section-head { margin-bottom: 24px; }
 .section-head > p { font-size: 15px; margin-top: 14px; }
 #courses::before { width: 180px; right: 20px; height: 160px; opacity: .035; }
 .courses { gap: 22px; }
 .course { border-radius: 21px; }
 .course-top { top: 15px; left: 18px; right: 18px; }
 .course-top .pill { font-size: 8px; padding: 6px 9px; letter-spacing: .7px; }
 .course-symbol { font-size: 25px; }
 .course .course-collage { height: 280px; margin: 0; max-width: none; }
 .course .collage-label { font-size: 7px; bottom: 10px; left: 18px; }
 .screen-panel { padding: 5px; }
 .screen-panel figcaption { font-size: 10px; padding-bottom: 5px; }
 .screen-kumir { top: 64px; left: 5%; }
 .screen-piktomir { top: 96px; right: 5%; }
 .real-basics .screen-python { left: 9%; bottom: 28px; }
 .real-basics .screen-python img { height: 84px; }
 .screen-rpg { top: 64px; left: 6%; }
 .screen-rpg img { height: 173px; object-fit: cover; }
 .real-games .screen-python { bottom: 28px; right: 5%; }
 .real-games .screen-python img { height: 105px; }
 .course .exam-books { padding: 57px 15px 25px; }
 .exam-books .book-covers { height: 195px; max-width: 310px; }
 .exam-books .book-covers figure { width: 46%; max-width: 135px; padding: 5px; }
 .exam-books .book-covers img { height: 155px; }
 .exam-books .book-covers figcaption { font-size: 9px; margin: 4px 0 0; }
 .ai-prompt { top: 64px; left: 6%; width: 80%; padding: 13px; }
 .ai-card-caption { font-size: 7px; margin-bottom: 6px; }
 .ai-prompt strong { font-size: 16px; }
 .ai-prompt-parts { gap: 4px; margin-top: 8px; }
 .ai-prompt-parts span { font-size: 8px; padding: 3px 6px; }
 .ai-local { top: 173px; width: 80%; right: 6%; padding: 12px; grid-template-columns: 30px 1fr; gap: 0 10px; }
 .ai-local svg { width: 30px; height: 32px; }
 .ai-local strong { font-size: 15px; }
 .ai-local p { font-size: 8px; margin-top: 6px; }
 .course-content { padding: 23px 22px 20px; gap: 14px; }
 .course h3 { font-size: 26px; line-height: 1.22; margin: 0; }
 .course-content > p { font-size: 16px; line-height: 1.6; }
 .course-ages { font-size: 13px; margin: 0; }
 .planned-list { font-size: 13px; margin: 0; }
 .course-content > a { font-size: 15px; padding-top: 16px; min-height: 46px; }
 .course-help { font-size: 14px; padding-top: 25px; }
 .about-section h2 { font-size: 36px; }
 .about-section .body-copy { font-size: 16px; }
 .about-features > div { gap: 14px; }
 .about-features strong { font-size: 16px; }
 .about-features span { font-size: 14px; }
 .about-grid { gap: 26px; }
 .photo-composition { min-height: 330px; margin-top: 5px; max-width: 420px; }
 .studio-main { height: 270px; }
 .studio-detail { height: 175px; }
 .photo-note { left: 0; bottom: 22px; padding: 13px 17px; font-size: 14px; }
 .photo-note b { font-size: 23px; }
 .teachers .body-copy { font-size: 16px; }
 .teacher h3 { font-size: 19px; }
 .teacher p { font-size: 15px; }
 .price-card { border-radius: 21px; padding: 24px; }
 .price-card h3 { font-size: 26px; }
 .price-card > p { font-size: 16px; }
 .price-card .price { font-size: 46px; }
 .price-card > .button { font-size: 16px; min-height: 54px; }
 .reviews, .faq { padding-top: 0; }
 .video-placeholder { min-height: 150px; }
 .contact-section { padding: 46px 0; }
 .contact-section h2 { font-size: 35px; }
 .contact-section p { font-size: 16px; }
 .contact-messengers .button { font-size: 17px; min-height: 56px; }
 .contact-strip h3 { font-size: 24px; }
 .footer { padding-bottom: 90px; }
}
@media (min-width: 500px) and (max-width: 760px) {
 .course .course-collage { height: 330px; }
 .screen-kumir { width: 46%; }
 .screen-piktomir { width: 44%; right: 10%; }
 .real-basics .screen-python { width: 34%; left: 17%; }
 .real-basics .screen-python img { height: 108px; }
 .screen-rpg { width: 68%; left: 8%; }
 .screen-rpg img { height: 228px; }
 .real-games .screen-python { width: 39%; right: 8%; }
 .real-games .screen-python img { height: 138px; }
 .course .exam-books { padding-top: 65px; }
 .exam-books .book-covers { max-width: 370px; height: 235px; }
 .exam-books .book-covers figure { max-width: 162px; }
 .exam-books .book-covers img { height: 198px; }
 .ai-prompt { width: 72%; left: 9%; top: 70px; padding: 17px; }
 .ai-prompt strong { font-size: 21px; }
 .ai-local { width: 72%; right: 9%; top: 200px; padding: 16px; }
 .ai-local strong { font-size: 19px; }
}
@media (max-width: 380px) {
 .wrap { padding-left: 16px; padding-right: 16px; }
 .header .brand { font-size: 21px; }
 .hero .hero-title { font-size: 39px; }
 .hero .actions { grid-template-columns: 1fr; gap: 12px; }
 .hero .text-link { justify-self: start; }
 .hero-art { height: 330px; }
 .hero-art .code-content { font-size: 8px; }
 .hero-art .game-preview { height: 160px; }
 .course h3 { font-size: 24px; }
 .course-content { padding: 21px 18px; }
 .course-top { left: 14px; right: 14px; }
 .ai-prompt strong { font-size: 14px; }
}

/* Real classroom photographs: a full group view and two closer moments. */
.photo-composition.studio-gallery {
 display: grid;
 grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
 gap: 16px;
 width: 100%;
 max-width: 620px;
 min-height: 0;
 margin: 0;
 align-self: center;
}
.studio-shot {
 position: relative;
 min-width: 0;
 margin: 0;
 padding: 7px;
 overflow: hidden;
 border: 1px solid #ffffff20;
 border-radius: 17px;
 background: #262e3b;
 box-shadow: 0 15px 35px #080b1226;
}
.studio-shot img {
 display: block;
 width: 100%;
 height: auto;
 aspect-ratio: 4 / 3;
 object-fit: cover;
 border-radius: 11px;
}
.studio-shot-wide { grid-column: 1 / -1; }
.studio-shot-wide img { aspect-ratio: 20 / 9; }
.studio-shot-focus { transform: rotate(-2deg); transform-origin: top center; }
.studio-shot-focus img { object-position: 50% 48%; }
.studio-shot-together { transform: rotate(2deg); transform-origin: top center; }
.studio-shot-together img { object-position: 50% 18%; }
.studio-shot figcaption {
 display: flex;
 align-items: center;
 gap: 8px;
 padding: 13px 7px 7px;
 color: #d7dfed;
 font-size: 12px;
 line-height: 1.5;
 font-weight: 500;
}
.studio-shot-wide figcaption { font-size: 13px; }
.studio-live-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #ff9c70; }
@media (max-width: 1100px) and (min-width: 901px) {
 .photo-composition.studio-gallery { gap: 12px; }
 .studio-shot figcaption { font-size: 10px; padding-left: 3px; padding-right: 3px; }
 .studio-shot-wide figcaption { font-size: 12px; }
}
@media (max-width: 760px) {
 .photo-composition.studio-gallery { max-width: 500px; gap: 12px; margin: 6px auto 0; }
 .studio-shot { padding: 5px; border-radius: 13px; }
 .studio-shot img { border-radius: 9px; }
 .studio-shot-focus img, .studio-shot-together img { aspect-ratio: 1 / 1; }
 .studio-shot-focus img { object-position: 50% 45%; }
 .studio-shot-together img { object-position: 50% 18%; }
 .studio-shot figcaption { font-size: 10px; padding: 10px 3px 5px; }
 .studio-shot-wide figcaption { font-size: 12px; padding: 11px 5px 6px; }
}
@media (max-width: 380px) {
 .photo-composition.studio-gallery { gap: 10px; }
 .studio-shot figcaption { font-size: 9px; letter-spacing: -.1px; }
 .studio-shot-wide figcaption { font-size: 11px; }
}
