
/* IELTSGRO final interaction layer */
.btn,.btn3d,.card,.skills a,.nav-start,.menu-toggle,.day-link{transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}
.btn:hover,.btn3d:hover,.card:hover,.skills a:hover,.nav-start:hover,.day-link:hover{transform:translate(-1px,-2px);filter:brightness(1.02)}
.btn:active,.btn3d:active,.card:active,.skills a:active,.nav-start:active,.day-link:active{transform:translate(0,4px)!important;box-shadow:0 1px 0 #111!important}
button,.btn,.btn3d,.card,.skills a,.nav-start,.day-link{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:4px solid #ffd83d;outline-offset:3px}
.menu-toggle{display:inline-flex;align-items:center;justify-content:center;width:46px;height:42px;border:2px solid #111;border-radius:12px;background:#ffd83d;box-shadow:0 4px 0 #111;font-size:24px;font-weight:900}
.mobile-menu{display:none;position:absolute;top:70px;right:0;left:0;background:#fffdf7;border:2px solid #111;border-radius:0 0 16px 16px;box-shadow:0 6px 0 #111;padding:10px;z-index:99}
.mobile-menu.open{display:grid}.mobile-menu a{padding:12px 14px;color:#111;text-decoration:none;font-weight:800;border-bottom:1px solid #ddd}.mobile-menu a:last-child{border-bottom:0}
header.nav{position:sticky!important}.all-days-shortcut{background:#1468ff!important;color:#fff!important}
.hero img{object-fit:contain!important;max-height:none!important;background:#fff;width:100%!important;height:auto!important}
.day-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:8px;margin:18px 0}.day-link{display:flex;align-items:center;justify-content:center;min-height:48px;background:#fff;border:2px solid #111;border-radius:11px;box-shadow:3px 3px 0 #111;color:#111;text-decoration:none;font-weight:900}
.practice-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
@media(max-width:900px){header.nav>nav{display:none!important}.menu-toggle{display:inline-flex}.day-grid{grid-template-columns:repeat(6,1fr)}}
@media(max-width:640px){.day-grid{grid-template-columns:repeat(4,1fr)}.hero{grid-template-columns:1fr!important}.hero img{max-height:none!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Practice bottom control bar — high contrast, tactile and clearly differentiated */
.practice-action-bar{position:sticky;bottom:10px;z-index:80;display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:24px 0 8px;padding:12px;background:#171717;border:3px solid #050505;border-radius:18px;box-shadow:0 8px 0 #000,0 12px 26px rgba(0,0,0,.22)}
.practice-action-bar .btn3d{margin:0!important;min-height:46px;justify-content:center;align-items:center;border:2px solid #050505;box-shadow:0 5px 0 #000;font-weight:900;letter-spacing:.1px}
.practice-action-bar .btn3d:hover{transform:translateY(-2px);box-shadow:0 7px 0 #000}
.practice-action-bar .btn3d:active{transform:translateY(5px)!important;box-shadow:0 0 0 #000!important}
.btn-green{background:#20b56b!important;color:#06150d!important}.btn-black{background:#292929!important;color:#fff!important;border-color:#000!important}.btn-blue{background:#2878ff!important;color:#fff!important}.btn-white{background:#fff!important;color:#111!important}.btn-orange{background:#ff9d2e!important;color:#111!important}.btn-purple{background:#9b6cff!important;color:#111!important}.btn-red{background:#ef4057!important;color:#fff!important}
.speaker-status{display:inline-block;margin:14px 0 4px;padding:9px 12px;background:#fff;border:2px solid #111;border-radius:11px;box-shadow:3px 3px 0 #111;font-weight:800}
@media(max-width:640px){.practice-action-bar{bottom:6px;display:grid;grid-template-columns:1fr 1fr;padding:10px}.practice-action-bar .btn3d{width:100%;font-size:14px;padding:11px 8px}.practice-action-bar .btn-purple:last-child{grid-column:1/-1}}

/* Burger is deliberately visible at every viewport; desktop keeps full nav too. */
header.nav{position:sticky!important;overflow:visible!important}
.menu-toggle{flex:0 0 auto!important;position:relative!important;z-index:102!important}
.mobile-menu{z-index:101!important;max-height:calc(100vh - 86px);overflow:auto}
@media(max-width:900px){header.nav{padding-left:10px!important;padding-right:10px!important}header.nav>nav{display:none!important}.menu-toggle{display:inline-flex!important}.mobile-menu.open{display:grid!important}}

/* Footer navigation: outlined tactile 3D links on every page */
footer>div:not(:first-child)>a{display:block;width:fit-content;max-width:100%;margin:9px 0;padding:8px 11px;border:2px solid #111;border-radius:10px;background:#fff;color:#111!important;text-decoration:none!important;font-weight:800;box-shadow:4px 4px 0 #111;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}
footer>div:not(:first-child)>a:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 #111;background:#fff4bf;text-decoration:underline!important;text-underline-offset:3px}
footer>div:not(:first-child)>a:active{transform:translate(3px,3px);box-shadow:1px 1px 0 #111}
footer>div:not(:first-child)>a:focus-visible{outline:3px solid #2878ff;outline-offset:3px}
@media(max-width:640px){footer>div:not(:first-child)>a{width:100%;box-sizing:border-box}}

/* Global safe back button */
.global-back-button{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;margin:18px 0 4px 22px;padding:10px 16px;background:#fffdf7;color:#111;border:2px solid #111;border-radius:12px;box-shadow:4px 4px 0 #111;font-weight:900;text-decoration:none;line-height:1;position:relative;z-index:20;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}
.global-back-button:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 #111;background:#fff3c4;text-decoration:none}
.global-back-button:active{transform:translate(3px,3px);box-shadow:1px 1px 0 #111}
.global-back-button:focus-visible{outline:3px solid #2563eb;outline-offset:4px}
@media(max-width:700px){.global-back-button{margin:14px 0 2px 14px;padding:9px 14px}}

.writing-guide{border:2px solid #111;border-radius:14px;padding:12px 14px;margin:12px 0 18px;background:#fff4c7;box-shadow:4px 4px 0 #111}.practice-shell textarea{border:2px solid #111;border-radius:12px;padding:12px;font:inherit;box-sizing:border-box}.practice-shell textarea:focus{outline:3px solid #7aa7ff;outline-offset:2px}.practice-shell h2 small{font-size:.65em;font-weight:700;opacity:.7}

.ig-about{margin:22px 0;padding:18px;border:3px solid #111;border-radius:20px;background:#fff;box-shadow:6px 6px 0 #111;line-height:1.65}.ig-about h2{margin:0 0 10px;font-size:1.15rem}.ig-about p{margin:0 0 10px}.ig-about-links{font-weight:700}
