/* Game world theme, inspired by the owner's orange / charcoal reference. */
:root { --bg: #fbf8f3; --ink: #251f29; --muted: #6c6673; --line: #e7e0da; --orange: #ff7d14; --night: #19141e; }
.header-shell { background: #19141e; border-bottom-color: #f4b47a14; }
.header .brand, .footer .brand { letter-spacing: -1px; }
.header .brand .brand-wordmark, .footer .brand .brand-wordmark { font-weight: 400; }
.brand-wordmark b { font-weight: 800; }
.header .brand .brand-icon { color: #ff871a; background: transparent; border-radius: 0; width: 44px; flex-basis: 44px; padding: 0; filter: drop-shadow(0 0 10px #ff7d1426); }
.header .brand-icon svg { width: 44px; height: 44px; }
.header nav a { position: relative; transition: color .2s; }
.header nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: #ff871a; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.header nav a:hover::after { transform: scaleX(1); }
.hero-shell { background: #19141e; color: #fff8ed; }
.hero-shell::before { inset: 0; background: radial-gradient(ellipse at 80% 45%, #61408b59, transparent 49%), radial-gradient(ellipse at 65% 95%, #ff681b23, transparent 48%); }
.hero-shell::after { background-image: linear-gradient(#fbbd8505 1px, transparent 1px), linear-gradient(90deg, #fbbd8505 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000); }
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; padding-top: 46px; padding-bottom: 64px; min-height: 720px; }
.hero-copy { position: relative; z-index: 2; }
.hero .eyebrow { font-size: 11px; letter-spacing: 1.8px; color: #dccbd6; margin-bottom: 24px; }
.hero .hero-title { font-size: clamp(54px, 5.9vw, 78px); line-height: .99; font-weight: 850; text-transform: uppercase; letter-spacing: -.055em; margin-bottom: 26px; }
.hero .hero-title .orange { display: block; margin-top: 7px; color: #ff8415; text-shadow: 0 0 35px #ff7d141a; }
.hero .lead { color: #fff7ed; font-size: 24px; font-weight: 600; line-height: 1.4; margin: 0 0 19px; letter-spacing: -.5px; }
.hero-age { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #ff942e; border-radius: 99px; padding: 8px 17px; color: #ffeddb; background: #ff7d1408; font-size: 14px; font-weight: 600; margin: 0 0 22px; }
.hero-age::before { content: '+'; font: 800 18px/1 monospace; color: #ff952c; }
.hero .actions { gap: 16px 22px; }
.button.primary, .mobile-contact { background: linear-gradient(115deg, #ff9229, #ff711a); color: #241409; box-shadow: 0 7px 24px #ff751a23, inset 0 1px 0 #ffc98e; font-weight: 750; border: 1px solid #ffa557; }
.button.primary:hover, .mobile-contact:hover { background: linear-gradient(115deg, #ffa33e, #ff8125); box-shadow: 0 8px 32px #ff751a40; }
.hero .button { padding: 18px 22px; border-radius: 13px; font-size: 16px; min-height: 60px; }
.hero .text-link { font-size: 14px; color: #eadce7; }
.hero-notes { padding-top: 21px; border-top: 1px solid #ffffff17; margin-top: 29px; gap: 14px 23px; color: #b6a5bc; }
.hero-notes b { color: #fff1e1; }
.game-hero-art { position: relative; width: 100%; aspect-ratio: 1.05; isolation: isolate; align-self: center; }
.game-hero-art::before { content: ''; position: absolute; z-index: -1; inset: 15% -14% -6%; background: radial-gradient(ellipse, #934dff37, #ff872515 40%, transparent 70%); filter: blur(22px); }
.game-world { position: absolute; width: 118%; height: auto; max-width: none; left: -7%; top: 6%; display: block; filter: drop-shadow(0 28px 30px #06020a66); }
.game-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 11px 15px; border: 1px solid #bca5e64a; border-radius: 12px; background: #2a2036ee; box-shadow: 0 10px 32px #0c06174d; color: #e8d9ff; font: 500 12px/1.5 'Golos Text', sans-serif; }
.game-chip-code { top: 6%; left: -1%; transform: rotate(-6deg); }
.game-chip-code span { color: #ffab4d; font: 700 17px monospace; }
.game-chip-code code { font: 11px/1.5 Consolas, monospace; }
.game-chip-idea { right: 2%; bottom: 0; transform: rotate(4deg); background: #fff1d9; color: #332119; border-color: #ffd08e; font-weight: 700; }
.game-chip-idea span { color: #e96709; font-size: 21px; line-height: 1; }
.game-pixel { position: absolute; border: 1px solid #ffc58c; border-radius: 3px; width: 13px; height: 13px; background: #ff821a; box-shadow: 0 0 20px #ff872c7a; transform: rotate(20deg); }
.game-pixel-one { top: 1%; left: 50%; }
.game-pixel-two { bottom: 8%; left: 10%; width: 9px; height: 9px; }
.game-pixel-three { right: -3%; top: 57%; width: 7px; height: 7px; }
.ticker { background: #ff8a22; color: #2a180d; border: 0; }
.ticker-inner { padding-top: 17px; padding-bottom: 17px; }
.ticker-inner span { font-size: 13px; font-weight: 650; }
.ticker-inner i { color: #6b3016; font-size: 21px; }
.section-head .eyebrow, .teachers > div:first-child .eyebrow, .faq > .eyebrow { color: #ac4c15; }
.section-head h2 .orange { color: #e85d16; }
#courses::before { background: none; width: 120px; height: 120px; top: 55px; right: 40px; border: 16px solid #ff7d1414; border-radius: 23px; transform: rotate(18deg); opacity: 1; mask-image: none; }
.course { border-color: #e8e0d8; box-shadow: 0 10px 26px #3e253506; }
.lavender .course-media { background: radial-gradient(ellipse at 30% 50%, #7758a8, transparent 90%), #322444; }
.peach .course-media { background: radial-gradient(ellipse at 65% 40%, #9e5036, transparent 85%), #3c2732; }
.lime .course-media { background: radial-gradient(ellipse at 55% 45%, #57744b, transparent 90%), #263c31; }
.blue .course-media { background: radial-gradient(ellipse at 45% 60%, #4e5c93, transparent 88%), #22283e; }
.course-top .pill { color: #fff7ee; background: #0f091b3d; border-color: #fff1db45; }
.course-symbol { color: #ffc17d; text-shadow: 0 0 20px #ff9b2633; }
.screen-panel, .exam-books .book-covers figure { box-shadow: 0 14px 30px #0f081e35; }
.course-content > a { color: #8b3d16; }
.course-content > a span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff0df; color: #d95909; }
.course-content > a:hover { color: #ce510c; }
.about-section, .contact-section { background: #1d1622; }
.about-section::before { background: radial-gradient(ellipse at 90% 60%, #55306345, transparent 54%), radial-gradient(ellipse at 0 20%, #ff6f1414, transparent 40%); }
.about-section .eyebrow { color: #ffac65; }
.about-section .orange { color: #ff9a3a; }
.about-features b { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #ff932c4d; border-radius: 8px; color: #ffb36c; background: #ff7d1410; }
.studio-shot { background: #302335; border-color: #d7bbef24; box-shadow: 0 15px 35px #08010d40; }
.studio-shot figcaption { color: #e8d6e5; }
.studio-live-dot { background: #ff9d3e; box-shadow: 0 0 10px #ff9b4977; }
.teacher { background: #fff; border-color: #e8ded6; box-shadow: 0 8px 22px #3c243406; }
.teacher-photo { outline: 3px solid #ffe1bf; outline-offset: 3px; }
.trial-offer { background: radial-gradient(ellipse at 55% 0, #5932365e, transparent 70%), #221923; border-color: #ff9e494d; box-shadow: 0 12px 36px #3922320c; }
.trial-copy .eyebrow { color: #ffab59; }
.trial-copy h3 { color: #fff2e2; }
.trial-copy > p:last-child { color: #c6b5ca; }
.price-card { border-color: #e8ded6; }
.price-individual { background: #f3edf5; }
.price-card > .pill { color: #874211; border-color: #edb98a; background: #fff0dc; }
.price-individual > .pill { color: #624479; border-color: #cdb8db; background: #f0e3f8; }
.button.dark { background: #2b2031; color: #fff6eb; }
.button.outline { border-color: #8c7997; }
.video-placeholder { background: #fffaf3; border-color: #dacabd; }
.video-placeholder:nth-child(2) { background: #f2ebf9; }
.video-placeholder:nth-child(3) { background: #eef2e5; }
.faq summary { transition: color .2s; }
.faq summary:hover { color: #b34e0d; }
.contact-section::before { background: radial-gradient(ellipse at 90% 20%, #73395145, transparent 63%), radial-gradient(ellipse at 4% 100%, #ff88151c, transparent 42%); }
.contact-section .eyebrow { color: #f2b17e; }
.contact-section h2 { color: #fff3e8; }
.contact-section .contact-card { border-color: #f5b47826; background: #f5cae508; }
.footer { border-top: 1px solid #e7ded6; }
.footer .brand-icon { background: #ff8119; }
.enquiry-dialog { border-color: #f0c69e; }
.hero .button, .game-chip, .game-world { will-change: auto; }
@media (hover: hover) and (pointer: fine) {
 .course:hover, .price-card:hover { border-color: #e7b58c; box-shadow: 0 14px 35px #743d2016; }
 .teacher { transition: scale .3s, box-shadow .3s; }
 .teacher:hover { scale: 1.01; box-shadow: 0 14px 30px #65342512; }
}
@media (prefers-reduced-motion: no-preference) {
 .hero-title-intro { animation: hero-title-glow 8s ease-in-out infinite; animation-play-state: paused; }
 .hero-playing .hero-title-intro { animation-play-state: running; }
 @supports (background-clip: text) or (-webkit-background-clip: text) {
  .hero .hero-title .orange { background: #ff8415 linear-gradient(110deg, #ff8415 41%, #ffba60 46%, #fff2d4 50%, #ffba60 54%, #ff8415 59%) 130% 0 / 300% 100% no-repeat; background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: hero-title-shine 8s ease-in-out infinite; animation-play-state: paused; }
  .hero.hero-playing .hero-title .orange { animation-play-state: running; }
 }
 .game-world { animation: game-world-float 7s ease-in-out infinite; animation-play-state: paused; }
 .game-pixel { animation: game-pixel-float 5s ease-in-out infinite; animation-play-state: paused; }
 .game-pixel-two { animation-delay: -1.8s; }
 .game-pixel-three { animation-delay: -3.3s; }
 .hero-playing .game-world, .hero-playing .game-pixel { animation-play-state: running; }
}
@keyframes hero-title-shine { 0%, 58% { background-position: 130% 0; } 84%, 100% { background-position: -30% 0; } }
@keyframes hero-title-glow { 0%, 57%, 88%, 100% { text-shadow: 0 0 0 #ffcb8a00; } 70% { text-shadow: 0 0 22px #ffc58c55, 0 0 48px #ff9d2926; } }
@keyframes game-world-float { 0%, 100% { transform: translateY(0) rotate(-.5deg); } 50% { transform: translateY(-10px) rotate(.5deg); } }
@keyframes game-pixel-float { 0%, 100% { transform: translateY(0) rotate(20deg); opacity: .6; } 50% { transform: translateY(-12px) rotate(40deg); opacity: 1; } }
@media (max-width: 1100px) {
 .hero { gap: 20px; min-height: 660px; }
 .hero .hero-title { font-size: clamp(49px, 5.9vw, 66px); }
 .hero .lead { font-size: 21px; }
 .hero .actions { gap: 16px; }
 .hero .button { font-size: 15px; padding: 16px 18px; }
 .hero .text-link { font-size: 13px; }
 .game-world { width: 120%; left: -9%; top: 5%; }
 .game-chip { padding: 9px 12px; font-size: 11px; }
 .game-chip-code code { font-size: 10px; }
}
@media (max-width: 900px) {
 .hero { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 60px; gap: 0; }
 .hero-copy { max-width: none; }
 .hero .hero-title { font-size: clamp(52px, 8.5vw, 72px); }
 .hero .hero-title br { display: none; }
 .game-hero-art { width: 86%; max-width: 580px; margin: 14px auto 15px; aspect-ratio: 1.28; }
 .game-world { width: 109%; left: -4%; top: 0; }
 .game-chip-code { top: -1%; left: 0; }
 .game-chip-idea { right: -1%; bottom: -1%; }
 .game-pixel-one { top: -4%; }
 .hero-notes { margin-top: 25px; }
}
@media (max-width: 760px) {
 .header .brand { font-size: 23px; }
 .header .brand .brand-icon { width: 36px; flex-basis: 36px; margin-right: 7px; }
 .header .brand-icon svg { width: 36px; height: 36px; }
 .header nav { background: #2a2031; border-color: #ffba8040; }
 .header nav a::after { display: none; }
 .header .menu { color: #ffddbd; border-color: #ffb36d45; background: #ff9b2907; }
 .hero { padding-top: 28px; padding-bottom: 47px; }
 .hero .eyebrow { font-size: 9px; letter-spacing: 1.2px; margin-bottom: 20px; }
 .hero .hero-title { font-size: clamp(38px, 10.2vw, 63px); line-height: 1.04; margin-bottom: 19px; letter-spacing: -.05em; }
 .hero .hero-title .orange { margin-top: 4px; }
 .hero .lead { font-size: 20px; line-height: 1.35; margin-bottom: 16px; max-width: 380px; }
 .hero-age { font-size: 12px; padding: 7px 13px; margin-bottom: 21px; }
 .hero .actions { grid-template-columns: 1fr; gap: 13px; }
 .hero .button { min-height: 54px; font-size: 15px; }
 .hero .text-link { font-size: 13px; justify-self: center; }
 .hero-notes { grid-template-columns: 1fr 1fr; padding-top: 16px; margin-top: 20px; gap: 15px; font-size: 11px; }
 .hero-notes b { font-size: 18px; }
 .game-hero-art { width: 100%; max-width: 460px; margin: 28px auto 8px; aspect-ratio: 1.25; }
 .game-world { width: 110%; left: -5%; }
 .game-chip { padding: 8px 10px; border-radius: 9px; font-size: 10px; }
 .game-chip-code { left: 1%; top: -3%; }
 .game-chip-code code { font-size: 9px; }
 .game-chip-code span { font-size: 14px; }
 .game-chip-idea { bottom: -3%; right: 1%; }
 .game-chip-idea span { font-size: 18px; }
 .game-pixel-one { width: 8px; height: 8px; }
 .game-pixel-three { right: 0; }
 .ticker-inner { padding-top: 14px; padding-bottom: 14px; gap: 10px 13px; }
 .ticker-inner span { font-size: 11px; }
 .ticker-inner i { font-size: 17px; }
 #courses::before { top: 32px; right: 25px; width: 80px; height: 80px; border-width: 12px; border-radius: 16px; }
 .teacher-photo { outline-width: 2px; outline-offset: 2px; }
 .course-content > a span { width: 27px; height: 27px; }
}
@media (max-width: 380px) {
 .header .brand { font-size: 21px; }
 .hero .hero-title { font-size: 10.5vw; }
 .hero .lead { font-size: 18px; }
 .hero .actions .text-link { justify-self: center; }
 .game-chip-code code { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
 .game-world, .game-pixel { animation: none; }
 .teacher:hover { scale: 1; }
}

/* Three real course topics in one layered collage: OGE, EGE and the owner's VsOSh artwork. */
.exam-trio { position: relative; width: 100%; max-width: 470px; height: 246px; margin: 0 auto; }
.exam-with-vsosh .book-covers { width: 100%; max-width: none; height: 100%; margin: 0; }
.exam-with-vsosh .book-covers figure { width: 31%; max-width: 146px; padding: 6px; }
.exam-with-vsosh .book-covers figure:first-child { left: 1%; top: 0; }
.exam-with-vsosh .book-covers figure:last-child { left: 23%; right: auto; top: 25px; }
.exam-with-vsosh .book-covers img { width: 100%; height: auto; max-height: none; }
.vsosh-panel { position: absolute; z-index: 4; top: 82px; right: 0; width: 44%; margin: 0; padding: 7px; border: 1px solid #dce5e4; border-radius: 11px; background: #fff; box-shadow: 0 15px 27px #071d173d; transform: rotate(-8deg); transition: transform .35s ease; }
.vsosh-panel img { display: block; width: 100%; height: auto; border-radius: 5px; }
.vsosh-panel figcaption { margin: 7px 0 2px; font-size: 11px; line-height: 1.5; font-weight: 650; text-align: center; color: #244c58; }
@media (hover: hover) and (pointer: fine) {
 .course:hover .vsosh-panel { transform: rotate(-6deg) scale(1.02); }
 .course:hover .exam-with-vsosh .book-covers figure:last-child { transform: rotate(7deg); }
}
@media (max-width: 1100px) {
 .exam-trio { height: 218px; }
 .exam-with-vsosh .book-covers figure { max-width: 130px; padding: 5px; }
 .vsosh-panel { top: 82px; padding: 6px; }
 .vsosh-panel figcaption { font-size: 10px; }
}
@media (max-width: 760px) {
 .exam-trio { max-width: 355px; height: 198px; }
 .exam-with-vsosh .book-covers figure { width: 31%; max-width: 115px; padding: 4px; }
 .exam-with-vsosh .book-covers figure:first-child { top: 4px; }
 .exam-with-vsosh .book-covers figure:last-child { top: 26px; }
 .vsosh-panel { top: 78px; padding: 5px; border-radius: 8px; }
 .vsosh-panel figcaption { margin: 5px 0 1px; font-size: 9px; }
}
@media (min-width: 500px) and (max-width: 760px) {
 .exam-trio { max-width: 450px; height: 235px; }
 .exam-with-vsosh .book-covers figure { max-width: 143px; padding: 6px; }
 .vsosh-panel { top: 92px; padding: 7px; }
 .vsosh-panel figcaption { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
 .vsosh-panel { transition: none; }
 .course:hover .vsosh-panel { transform: rotate(-8deg); }
}

/* Full-width location map with a contact note below it. */
.studio-map > .map-frame iframe { height: 520px; }
.studio-map .map-help {
 display: flex;
 align-items: baseline;
 flex-wrap: wrap;
 gap: 6px 18px;
 margin: 16px 0 0;
 padding: 18px 22px;
 border: 1px solid var(--line);
 border-radius: 16px;
 background: #eeeee7;
 font-size: 17px;
 line-height: 1.6;
}
.studio-map .map-help a { white-space: nowrap; font-size: 21px; }
@media (max-width: 760px) {
 .studio-map > .map-frame iframe { height: 360px; }
 .studio-map .map-help { padding: 16px 18px; font-size: 15px; gap: 6px 12px; }
 .studio-map .map-help a { font-size: 20px; }
}
@media (max-width: 420px) {
 .studio-map > .map-frame iframe { height: 320px; }
}

/* Semantic service heading */
.hero h1.lead { font-family: 'Golos Text', Arial, sans-serif; }
/* Show the offer and action immediately; keep the periodic glow and game motion. */
.hero-copy > .eyebrow, .hero .hero-title, .hero h1.lead,
.hero-copy > .actions, .hero-notes { animation: none; }
