/* A dark optical-glass shell around the institute's content. */
:root {
  --navy:#081a2b;
  --bg:#0b2033;
  --surface:#122c40;
  --raised:#1b3a4e;
  --edge:#36536a;
  --ink:#f2f8fa;
  --muted:#b5cbd6;
  --accent:#ffb473;
  --violet:#88d6e5;
  --glass-rim:rgba(199,234,248,.46);
  --ice:#a4e6e8;
}
.header {
  width:min(calc(100% - 32px),1254px);
  margin:12px auto -86px;
  top:12px;
  background:#102b3f;
  border:1px solid var(--glass-rim);
  border-radius:28px;
  box-shadow:inset 0 1px 0 #ffffff24,0 10px 35px #00132040;
}
.header .container {width:calc(100% - 38px)}
.navbar {min-height:72px}
.logo img {width:152px}
.nav-menu {gap:clamp(.2rem,1vw,.95rem)}
.nav-menu a.nav-link {border:0; border-radius:22px; padding:.65rem .9rem; color:#d8e9ee}
.nav-menu a.nav-link:hover,.nav-menu a.nav-link[aria-current=page] {background:#c7edff19; color:#fff}
.nav-cta .btn {border-color:#98bbc880; color:#f3faff}
.menu-toggle {width:44px; height:44px; border:1px solid #beddec69; border-radius:50%; padding:0; background:#92c5d21a}
.menu-toggle .bar {width:18px; height:2px; background:#e3f6f7; margin:4px auto}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .header {background:linear-gradient(115deg,#365267c9,#112b40c9); -webkit-backdrop-filter:blur(18px) saturate(135%); backdrop-filter:blur(18px) saturate(135%)}
}
.studio-hero,.page-mast {
  position:relative; isolation:isolate; overflow:hidden;
  padding-top:90px; border-bottom:1px solid #7693a440;
  background:radial-gradient(ellipse at 82% 44%,#284b61 0,transparent 47%),linear-gradient(112deg,#081827 2%,#0c263c 53%,#153951);
}
.studio-hero:before,.page-mast:before {
  content:""; pointer-events:none; position:absolute; inset:0; z-index:-1;
  background:repeating-radial-gradient(ellipse at 88% 128%,transparent 0 63px,#a5dcea16 64px,transparent 65px 96px);
  mask-image:linear-gradient(112deg,transparent 19%,black 90%);
}
.studio-hero:after,.page-mast:after {
  content:""; pointer-events:none; position:absolute; inset:auto 0 0; height:1px;
  background:linear-gradient(90deg,transparent,#96b9ce66 34%,#bccedc80 66%,transparent);
}
.studio-grid {grid-template-columns:1.03fr .97fr; gap:7%; padding-block:clamp(3.7rem,6.5vw,6.65rem)}
.location {display:inline-flex; align-items:center; color:#bee2ed; font:600 .83rem/1.5 Roboto,Arial,sans-serif; letter-spacing:.04em}
.location i {color:var(--accent)}
.studio-copy h1 {font-size:clamp(3.5rem,6.2vw,6.3rem); font-weight:600; line-height:.99; margin:.95rem 0 1.15rem; letter-spacing:-.06em}
.studio-copy h1 em {color:var(--ice); font:inherit}
.studio-summary {color:#cedee6; max-width:46ch; line-height:1.6}
.hero-actions {display:flex; gap:.7rem; align-items:center}
.hero-actions .btn {min-height:48px; padding:.7rem 1.25rem}
.hero-shortcuts {display:flex; flex-wrap:wrap; gap:.6rem 1.5rem; margin-top:1.12rem}
.hero-shortcuts a {color:#d3e8ef; display:inline-flex; align-items:center; gap:.45rem; min-height:36px; font-size:.92rem}
.hero-shortcuts a:hover {color:var(--accent); text-decoration:underline}
.hero-shortcuts i {color:var(--ice)}
.btn,.filter-btn {border-radius:99px}
.btn-primary {background:linear-gradient(145deg,#ffd396,#ff9c60); color:#242023; border-color:#ffce9e; box-shadow:inset 0 1px 0 #fff9,0 5px 20px #040e1840}
.btn-primary:hover {background:#ffcf9a; color:#191b23}
.btn-outline,.filter-btn {background:#183447; color:#effaff; border:1px solid #668393}
.btn-outline:hover,.filter-btn:hover,.filter-btn.active {background:#2d4b5b; color:#fff; border-color:var(--ice)}
.depth-stage {
  position:relative; isolation:isolate; perspective:1050px; width:min(100%,468px); justify-self:center;
  padding:25px 22px 20px; --pitch:0deg; --yaw:0deg;
}
.depth-stage figure {
  position:relative; z-index:2; width:100%; max-width:none; border-radius:32px; overflow:hidden;
  color:#fff; border:1px solid #e3f6f5a1;
  background:linear-gradient(138deg,#f9dda03d,#8ba7b324 32%,#527b9524 77%,#dbf6fd5c),#173146a6;
  box-shadow:inset 1px 2px 2px #ffffff4d,inset -2px -2px 4px #cae9ff22,0 20px 46px -17px #010d1fcc;
  transform:rotateX(calc(1deg + var(--pitch))) rotateY(calc(-5deg + var(--yaw)));
  transition:transform 180ms ease-out;
}
.depth-stage .portrait-field {
  width:clamp(125px,66%,284px); aspect-ratio:1; margin:clamp(22px,3.5vw,46px) auto 20px;
  border:1px solid #dbf5fe; border-radius:50%; background:linear-gradient(140deg,#fff5d9,#d6ecee 52%,#87afc8);
  box-shadow:0 0 0 7px #d8e9f313,0 0 0 8px #d8e9f32b,0 14px 35px #00152746;
}
.portrait-field:before {display:none}
.depth-stage .studio-photo figcaption {background:#0c2234d9; border-top:1px solid #c8e6f54d; padding:1.1rem 1.35rem}
.studio-photo strong {font-size:1.4rem}
.studio-photo small {color:#c0d7df}
.instructor-phone {color:#ffcd98; text-decoration-color:#dfab737d}
.depth-wafer,.depth-floor {position:absolute; pointer-events:none}
.depth-wafer {border:1px solid #fff5; box-shadow:inset 0 1px 2px #fffc,0 13px 34px #020e1d40}
.depth-wafer-back {
  z-index:0; width:43%; aspect-ratio:1; top:0; left:-1%; border-radius:26%;
  background:linear-gradient(35deg,#ff285e,#ff682e 52%,#ffb42c); transform:rotate(-9deg);
}
.depth-wafer-front {
  width:39%; aspect-ratio:1; bottom:-1%; right:-2%; border-radius:27%;
  background:linear-gradient(145deg,#256387,#55bbd4 60%,#abf5ec); transform:rotate(15deg);
}
.depth-floor {inset:auto 12% -6% 12%; height:9%; border-radius:50%; background:radial-gradient(ellipse,#0313218c,transparent 73%)}
.mast-grid .depth-stage {width:100%; padding:13px}
.mast-grid {padding-block:clamp(2.2rem,5vw,4.5rem)}
.motion-tools {position:absolute; z-index:3; right:35px; top:38px}
.mast-grid .motion-tools {right:21px; top:21px}
.motion-toggle {display:grid; place-items:center; width:44px; height:44px; border:1px solid #cee9f794; border-radius:50%; background:#0d283c; color:white}
.motion-toggle:hover {background:#284d63}
.social-bar,.footer {background:var(--navy); border-color:var(--edge)}
.social-link i {color:var(--ice)}
.bg-dark,.instructors,#software {background:#0c2132; border-color:#304656}
.courses,.gallery {background:#102839}
.course-card,.gallery-item,.software-grid article,.why-card,.instructor-card,.testimonial-card,.contact-form-container,.stat-card {border-radius:20px; box-shadow:0 12px 24px -20px #0009}
.section-title:before,.cta-content h2:before {content:""; display:block; width:2.6rem; height:3px; margin-bottom:.8rem; border-radius:3px; background:linear-gradient(90deg,#ff9862,#ffbf76)}
.software-grid article:nth-child(3) {border-top-color:#8be0b9}
.cta-section {background:linear-gradient(110deg,#15384d,#0d2536); border-color:var(--edge)}
input,textarea,select {background:#0b1d2b; border-color:#678395; border-radius:10px}
@media(max-width:900px) {
  .header {margin-bottom:-74px}
  .navbar {min-height:60px}
  .nav-menu {top:calc(100% + 6px); left:auto; right:0; width:min(320px,100%); background:#142d40; border:1px solid var(--edge); border-radius:22px; padding:.7rem; max-height:calc(100dvh - 100px); overflow:auto}
  .nav-menu.active {grid-template-columns:1fr; gap:.12rem}
  .nav-menu a.nav-link {display:flex; min-height:44px; align-items:center}
  .studio-hero,.page-mast {padding-top:76px}
}
@media(max-width:700px) {
  .header {width:calc(100% - 20px); top:8px; margin-top:8px; border-radius:22px}
  .header .container {width:calc(100% - 26px)}
  .logo img {width:133px}
  .studio-grid {grid-template-columns:1fr; gap:1.8rem; padding-block:2.6rem 3.4rem}
  .studio-copy h1 {font-size:clamp(3.2rem,12vw,4.5rem)}
  .hero-actions {gap:.6rem}
  .hero-actions .btn {min-height:46px; padding:.55rem .82rem; font-size:.88rem}
  .depth-stage {width:min(94%,400px); padding:18px 15px 13px}
  .depth-stage .portrait-field {width:52%; margin:20px auto 16px}
  .depth-stage figure {border-radius:24px}
  .motion-tools {top:26px; right:24px}
}
@media(scripting:none) and (max-width:900px) {
  .header {position:static; margin-bottom:8px}
  .navbar {flex-wrap:wrap; height:auto}
  .menu-toggle {display:none}
  .nav-menu {display:flex; position:static; width:100%; max-height:none; flex-wrap:wrap; gap:.4rem}
  .studio-hero,.page-mast {padding-top:0}
}
@keyframes depth-drift {from {translate:0 0} to {translate:0 -7px}}
@media(prefers-reduced-motion:no-preference) {
  .depth-stage[data-motion] figure,.depth-stage[data-motion] .depth-wafer {animation:depth-drift 5s ease-in-out infinite alternate; animation-play-state:paused}
  .depth-stage[data-motion] .depth-wafer-back {animation-direction:alternate-reverse}
  .depth-stage[data-motion] .depth-wafer-front {animation-delay:-2s}
  .depth-stage[data-motion="playing"] figure,.depth-stage[data-motion="playing"] .depth-wafer {animation-play-state:running}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .course-card,.software-grid article {transition:transform .2s ease}
  html:not([data-motion-paused]) :is(.course-card,.software-grid article):hover {transform:translateY(-3px)}
}
@media(prefers-reduced-motion:reduce) {
  .depth-stage figure {transform:none; transition:none}
}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) {
  .header,.depth-stage figure,.depth-stage .studio-photo figcaption {background:#102638; -webkit-backdrop-filter:none; backdrop-filter:none}
  .header,.nav-menu,.btn-outline,.depth-stage figure {border-color:#bdd9e6}
}
@media(forced-colors:active) {
  .header,.depth-stage figure {background:Canvas; border:1px solid CanvasText; backdrop-filter:none}
  .depth-wafer,.depth-floor {display:none}
}
