﻿:root {
  --bg: #07090d;
  --bg-2: #0c1016;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.68);
  --accent: #ff2c45;
  --accent-2: #ff8b34;
  --accent-soft: rgba(255, 44, 69, 0.16);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --container: 1180px;
  --header-h: 88px;
  --mx: 50%;
  --my: 30%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 12% 4%, rgba(255, 44, 69, 0.12), transparent),
    radial-gradient(700px 420px at 90% 6%, rgba(255, 139, 52, 0.08), transparent),
    linear-gradient(180deg, #06080c, #080b10 30%, #06080c);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), 100% - 32px);
  margin: 0 auto;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.section {
  padding: 72px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sectionHead {
  margin-bottom: 26px;
}

.sectionHead .h2 {
  margin-bottom: 10px;
}

.sectionHead p,
.sectionHead .muted {
  margin: 0;
  max-width: 900px;
}

#team {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7, 11, 17, 0.96), rgba(7, 11, 17, 0.9));
}

#students {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(7, 11, 17, 0.95), rgba(7, 11, 17, 0.88));
}

#team > .container {
  position: relative;
  z-index: 1;
}

#team::before,
#team::after {
  content: none !important;
  display: none !important;
}

#team .sectionHead .h2,
#team .sectionHead .muted {
  text-shadow:
    0 4px 16px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(0, 0, 0, 0.2);
}

#winols .sectionHead .winolsLead {
  max-width: none;
  white-space: nowrap;
  font-size: 16px;
}

.list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li + li {
  margin-top: 6px;
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.panel,
.detailCard {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
}

.card {
  padding: 20px;
}

.card p {
  margin: 10px 0 0;
}

.tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.88);
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.hardwareGalleryTagBtn {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hardwareGalleryTagBtn::after {
  content: "";
  position: absolute;
  inset: -40% -70%;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.26) 50%, transparent 65%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.hardwareGalleryTagBtn:hover,
.hardwareGalleryTagBtn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 120, 135, 0.34);
  background: rgba(255, 60, 88, 0.14);
  color: #ffe9ee;
  box-shadow: 0 10px 20px rgba(255, 44, 69, 0.16);
}

.hardwareGalleryTagBtn:hover::after,
.hardwareGalleryTagBtn:focus-visible::after {
  opacity: 0.9;
  animation: evcBadgeSheen 1s ease forwards;
}

.hardwareGalleryTagBtn:focus-visible {
  outline: 2px solid rgba(255, 120, 135, 0.55);
  outline-offset: 2px;
}

.hardwareGalleryTagBtn.is-launching {
  animation: evcBadgeLaunchPulse 0.9s cubic-bezier(.18,.8,.24,1) 1;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 0 5px rgba(255, 52, 84, 0.08),
    0 12px 22px rgba(255, 44, 69, 0.2);
}

.hardwareGalleryTagBtn.is-launching::after {
  opacity: 1;
  animation: evcBadgeSheen 0.9s ease forwards;
}

.hardwareGalleryTagBtn.is-disabled {
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}

.cpcModuleTagBtn {
  min-height: 30px;
}

.cpcModulePreview {
  display: grid;
  gap: 10px;
}

.cpcModulePreview__intro {
  color: rgba(255, 245, 247, 0.92);
  line-height: 1.62;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(300px 140px at 10% 12%, rgba(255, 46, 72, 0.12), transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  padding: 14px 14px 10px;
}

.cpcModulePreview__intro h4 {
  margin: 0 0 8px;
  color: #fff;
}

.cpcModulePreview__intro ul {
  margin: 0;
  padding-left: 18px;
}

.cpcModulePreview__intro li {
  margin: 0 0 6px;
}

.cpcModulePreview__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(380px 220px at 16% 14%, rgba(255, 48, 78, 0.14), transparent 72%),
    radial-gradient(320px 200px at 82% 86%, rgba(255, 122, 52, 0.09), transparent 74%),
    #05070b;
}

.cpcModulePreview__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #040507;
}

.cpcModulePreview__caption {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.cpcDetailsModal {
  display: grid;
  gap: 14px;
}

.cpcDetailsModal__text {
  color: var(--muted);
  line-height: 1.7;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(240px 120px at 10% 12%, rgba(255, 46, 72, 0.09), transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  padding: 14px 14px 10px;
}

.cpcDetailsModal__text h4 {
  margin: 0 0 8px;
}

.cpcDetailsModal__text p,
.cpcDetailsModal__text ul {
  margin: 0 0 10px;
}

.carousel--cpcDetails .caseCard--carousel {
  flex-basis: min(420px, 34vw);
}

.cpcDetailsCard {
  min-height: 270px;
}

.link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffd7db;
  font-weight: 700;
  transition: color 0.16s ease, transform 0.16s ease;
}

.link:hover {
  color: #fff;
  transform: translateX(2px);
}

.btn {
  --btn-bg: rgba(255, 255, 255, 0.05);
  --btn-border: rgba(255, 255, 255, 0.12);
  --btn-color: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 14px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at var(--bx, 50%) var(--by, 50%), rgba(255, 255, 255, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.btn:hover::before,
.btn:focus-visible::before {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.footerLink:focus-visible,
.nav__link:focus-visible,
.mobileMenu__link:focus-visible,
.carousel__btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.btn--primary {
  --btn-bg: linear-gradient(135deg, var(--accent), #ff6235);
  --btn-border: rgba(255, 110, 120, 0.35);
  box-shadow: 0 10px 28px rgba(255, 44, 69, 0.25);
}

.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.03);
}

.btn--sm {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 12px;
  font-size: 13px;
}

.btn--lg {
  min-height: 52px;
  padding: 13px 20px;
  font-size: 16px;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  background: rgba(4, 6, 9, 0.98);
  transition: opacity 0.28s ease, visibility 0.28s ease;
  will-change: opacity;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  width: min(440px, calc(100% - 36px));
}

.preloader__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.preloader__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff2c45, #ff9142);
  box-shadow: 0 0 14px rgba(255, 44, 69, 0.45);
  transition: width 0.12s linear;
}

.preloader__label {
  margin-top: 14px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.header {
  position: sticky;
  top: 0;
  z-index: 2000;
  backdrop-filter: blur(14px);
  background: rgba(6, 8, 12, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  width: min(1520px, 100% - 32px);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-left: 6px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.brand__logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(4, 7, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 10px 28px rgba(0, 0, 0, 0.32),
    0 0 18px rgba(255, 52, 78, 0.18),
    0 18px 36px rgba(255, 44, 69, 0.12);
  flex: none;
}

.brand__wordmarkWrap {
  display: none;
}

.brand__wordmark {
  display: block;
  width: auto;
  height: 34px;
  max-width: min(44vw, 260px);
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.22));
}

.brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  line-height: 1;
  transform-origin: left center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand__name {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  border: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(20px, 2.4vw, 44px);
  line-height: 0.95;
  font-weight: 900;
  color: rgba(248, 249, 251, 0.98);
}

.brand__tag {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  border: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(8px, 0.95vw, 16px);
  line-height: 1;
  font-weight: 650;
  color: rgba(232, 236, 244, 0.84);
}

.brand:hover {
  transform: translateY(-1px);
  opacity: 0.98;
}

.brand:hover .brand__logo {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 12px 30px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(255, 52, 78, 0.22),
    0 20px 42px rgba(255, 44, 69, 0.14);
}

.brand:hover .brand__text {
  transform: translateY(-1px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav--desktop {
  margin-left: 6px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}

.langSwitch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: 8px;
  margin-right: 0;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(140px 90px at 10% 20%, rgba(255, 44, 69, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.langSwitch__label {
  display: none;
}

.langSwitch__select {
  min-width: 116px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 72, 96, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(8, 11, 16, 0.92);
  color: #f4f7ff;
  padding: 0 30px 0 10px;
  cursor: pointer;
  font-size: 13px;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.82) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.82) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 10px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  box-shadow:
    0 0 0 1px rgba(255, 44, 69, 0.06) inset,
    0 8px 20px rgba(0, 0, 0, 0.2);
}

.langSwitch__select:focus-visible {
  outline: 2px solid rgba(255, 86, 106, 0.42);
  outline-offset: 2px;
}

.langSwitch__select:hover {
  border-color: rgba(255, 86, 106, 0.32);
  box-shadow:
    0 0 0 1px rgba(255, 44, 69, 0.1) inset,
    0 10px 22px rgba(255, 44, 69, 0.08);
}

.langSwitch__select option {
  background: #0b0f15;
  color: #f5f7fb;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav__link--accent {
  color: #ffd3d8;
  border: 1px solid rgba(255, 44, 69, 0.22);
  background: rgba(255, 44, 69, 0.08);
}

.navToggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.navToggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.navToggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navToggle.is-open span:nth-child(2) {
  opacity: 0;
}

.navToggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobileMenu {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 10, 14, 0.95);
}

.mobileMenu.is-open {
  display: block;
}

.mobileMenu__inner {
  width: min(var(--container), 100% - 32px);
  margin: 0 auto;
  padding: 12px 0 16px;
  display: grid;
  gap: 6px;
}

.mobileMenu__link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid transparent;
}

.mobileMenu__link:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.mobileMenu__link--accent {
  color: #ffd3d8;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__bg {
  background:
    radial-gradient(1200px 700px at 14% 28%, rgba(255, 44, 69, 0.2), transparent 60%),
    radial-gradient(900px 580px at 80% 60%, rgba(255, 139, 52, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55)),
    var(--hero-image) center / cover no-repeat;
  transform: scale(1.03);
  will-change: transform;
}

.hero__overlay {
  background: linear-gradient(90deg, rgba(4, 6, 10, 0.88) 0%, rgba(4, 6, 10, 0.56) 52%, rgba(4, 6, 10, 0.84) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(16px, 2.4vw, 28px);
  padding: 42px 0 36px;
}

.hero__content {
  align-self: center;
  max-width: 760px;
}

#home .hero__content {
  isolation: isolate;
}

#home .hero__content > * {
  position: relative;
  z-index: 1;
}

#home .hero__content::before,
#home .hero__content::after {
  content: none;
}

.hero__topBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: default;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.badge--outline {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.badge--solid {
  background: rgba(255, 44, 69, 0.12);
  border: 1px solid rgba(255, 44, 69, 0.2);
  color: #ffe5e8;
}

.badge--solidAlt {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}

.badge:hover {
  transform: translateY(-1px);
}

.badge--outline:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.badge--solid:hover {
  background: rgba(255, 44, 69, 0.2);
  border-color: rgba(255, 110, 120, 0.35);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 44, 69, 0.2);
}

.badge--solidAlt:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.hero__title {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.92;
  letter-spacing: 0.03em;
  font-weight: 900;
  text-wrap: balance;
}

.hero__title--split {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-wrap: unset;
}

.hero__titleLine {
  display: block;
  white-space: nowrap;
}

.hero__titleLine--top {
  line-height: 0.9;
}

.hero__titleLine--bottom {
  line-height: 0.86;
  transform-origin: left center;
  transform: scaleX(1.28);
  letter-spacing: 0.015em;
  margin-top: 2px;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.hero__subtitle {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.7;
  max-width: 760px;
  font-weight: 600;
}

.hero__subtitle br {
  display: block;
  content: "";
}

.hero__subline {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  max-width: 720px;
}

@keyframes heroDragonIdleFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-4deg) scale(1);
  }
  25% {
    transform: translate3d(3px, -3px, 0) rotate(-1.5deg) scale(1.015);
  }
  50% {
    transform: translate3d(7px, -5px, 0) rotate(1.2deg) scale(1.03);
  }
  75% {
    transform: translate3d(2px, -2px, 0) rotate(-2deg) scale(1.012);
  }
}

@keyframes heroDragonAuraSweep {
  0% {
    opacity: 0;
    transform: scale(0.78) rotate(-26deg);
  }
  45% {
    opacity: 0.95;
    transform: scale(1.08) rotate(10deg);
  }
  100% {
    opacity: 0.6;
    transform: scale(1.02) rotate(18deg);
  }
}

@keyframes heroDragonAuraPulse {
  0%,
  100% {
    filter: blur(8px) saturate(1.15);
  }
  50% {
    filter: blur(10px) saturate(1.26);
  }
}

.hero__cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.statsDock {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 44, 69, 0.34);
  background:
    radial-gradient(420px 260px at 15% 12%, rgba(255, 44, 69, 0.12), transparent 70%),
    radial-gradient(340px 220px at 85% 88%, rgba(255, 96, 64, 0.08), transparent 72%),
    linear-gradient(180deg, rgba(15, 10, 15, 0.95), rgba(7, 11, 17, 0.9));
  backdrop-filter: blur(10px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 44, 69, 0.08) inset,
    0 0 28px rgba(255, 44, 69, 0.12);
  width: 100%;
  max-width: 360px;
  justify-self: end;
}

.stat {
  position: relative;
  padding: 12px 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(180px 100px at 12% 10%, rgba(255, 44, 69, 0.05), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.stat__value {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: #ffe5ea;
  text-shadow: 0 0 16px rgba(255, 74, 94, 0.14);
}

.stat__label {
  margin-top: 6px;
  color: rgba(255, 233, 236, 0.78);
  font-size: 13px;
}

.scrollHint {
  position: absolute;
  right: 0;
  bottom: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scrollHint::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  margin-right: 8px;
  background: rgba(255, 255, 255, 0.3);
  vertical-align: middle;
}

.panel {
  padding: 22px;
}

.panel--wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.panel--portalSimple {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 28px 20px;
}

.panel--portalSimple .panel__right {
  justify-items: center;
}

.panel--portalSimple .h2 {
  margin-bottom: 8px;
}

.panel--portalSimple .muted {
  margin: 0 0 14px;
}

.panel--portalLuxury {
  --portal-image-zoom: 1.03;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 58, 82, 0.22);
  background:
    radial-gradient(420px 220px at 18% 20%, rgba(255, 44, 69, 0.1), transparent 70%),
    radial-gradient(380px 220px at 82% 75%, rgba(255, 96, 64, 0.06), transparent 72%),
    linear-gradient(180deg, rgba(17, 14, 18, 0.9), rgba(8, 12, 18, 0.9));
  background-color: #090d14;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 44, 69, 0.06) inset,
    0 0 32px rgba(255, 44, 69, 0.08);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.55s ease,
    box-shadow 0.55s ease;
  animation: panelBreath 7s ease-in-out infinite;
}

.panel--portalLuxury.panel--portalSimple {
  min-height: clamp(250px, 30vw, 360px);
  align-items: center;
  justify-items: end;
  text-align: left;
  padding: 24px;
}

.panel--portalLuxury::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(6, 10, 16, 0.06) 0%, rgba(7, 11, 17, 0.14) 22%, rgba(8, 12, 18, 0.22) 46%, rgba(8, 12, 18, 0.38) 70%, rgba(8, 12, 18, 0.52) 100%),
    radial-gradient(320px 220px at 76% 70%, rgba(255, 52, 84, 0.12), transparent 72%),
    var(--hero-image, none);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center, left center, 24% center;
  background-size: 100% 100%, 100% 100%, cover;
  opacity: 1;
  transform: scale(var(--portal-image-zoom));
  transform-origin: center center;
  filter: brightness(1.02) saturate(1.08) contrast(1.04);
  pointer-events: none;
  transition:
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s ease,
    opacity 0.9s ease;
}

.panel--portalLuxury::after {
  content: "";
  position: absolute;
  inset: -35% -20%;
  z-index: 0;
  background:
    linear-gradient(114deg, transparent 34%, rgba(255, 255, 255, 0.05) 42%, rgba(255, 68, 68, 0.18) 50%, rgba(255, 171, 101, 0.08) 56%, transparent 64%);
  opacity: 0;
  transform: translateX(-42%) rotate(5deg) scale(1.05);
  pointer-events: none;
  transition:
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.75s ease;
}

.panel--portalLuxury .panel__right {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  margin-left: auto;
  padding: 6px 4px 4px;
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease;
}

.panel--portalLuxury.panel--portalSimple .panel__right {
  justify-items: start;
}

.panel--portalLuxury .h2,
.panel--portalLuxury .muted {
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(0, 0, 0, 0.2);
}

@media (hover: hover) and (pointer: fine) {
  .panel--portalLuxury:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 70, 92, 0.36);
    box-shadow:
      0 34px 82px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(255, 44, 69, 0.12) inset,
      0 0 48px rgba(255, 44, 69, 0.15);
  }

  .panel--portalLuxury:hover::before {
    transform: scale(1.04);
    filter: brightness(1.05) saturate(1.12) contrast(1.05);
    opacity: 1;
  }

  .panel--portalLuxury:hover::after {
    opacity: 0.9;
    transform: translateX(28%) rotate(5deg) scale(1.05);
  }

  .panel--portalLuxury:hover .panel__right {
    transform: translateY(-2px);
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .panel--portalLuxury::before {
    transform: scale(1.02);
    background-position: center, left center, 32% center;
    filter: brightness(1) saturate(1.05) contrast(1.03);
  }

  .panel--portalLuxury.panel--portalSimple {
    min-height: 300px;
  }

  .panel--portalLuxury .panel__right {
    width: min(100%, 520px);
  }
}

@media (max-width: 760px) {
  .panel--portalLuxury {
    --portal-image-zoom: 1.01;
  }

  .panel--portalLuxury.panel--portalSimple {
    min-height: 210px;
    justify-items: center;
    text-align: center;
    padding: 18px 14px;
  }

  .panel--portalSimple.panel--portalLuxury .panel__right {
    justify-items: center;
  }

  .panel--portalLuxury::before {
    background-position: center, center, center;
    filter: brightness(1.02) saturate(1.03) contrast(1.02);
  }

  .panel--portalLuxury::after {
    opacity: 0;
    display: none;
  }

  .panel--portalLuxury .panel__right {
    width: 100%;
    padding: 0;
  }
}

@media (min-width: 1081px) {
  .panel--portalLuxury.panel--portalSimple {
    min-height: clamp(390px, 38vw, 520px);
    padding: 32px;
  }

  .panel--portalLuxury {
    --portal-image-zoom: 1.02;
  }

  .panel--portalLuxury::before {
    background-image:
      linear-gradient(90deg, rgba(6, 10, 16, 0.08) 0%, rgba(7, 11, 17, 0.16) 18%, rgba(8, 12, 18, 0.24) 40%, rgba(8, 12, 18, 0.4) 64%, rgba(8, 12, 18, 0.58) 100%),
      radial-gradient(360px 220px at 74% 64%, rgba(255, 52, 84, 0.14), transparent 72%),
      var(--hero-image, none);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center, left center, 24% center;
    background-size: 100% 100%, 100% 100%, cover;
    filter: brightness(1.03) saturate(1.08) contrast(1.03);
  }

  .panel--portalLuxury .panel__right {
    width: min(100%, 640px);
    margin-right: clamp(12px, 2vw, 28px);
    margin-top: auto;
    padding: 8px 6px 6px;
  }

  .panel--portalLuxury .h2 {
    font-size: clamp(30px, 2.6vw, 42px);
    line-height: 1.04;
    margin-bottom: 8px;
  }

  .panel--portalLuxury .muted {
    font-size: clamp(15px, 1vw, 18px);
    line-height: 1.48;
    max-width: 34ch;
    margin-bottom: 14px;
  }

  .panel--portalLuxury .btn--lg {
    min-height: 50px;
    padding: 12px 22px;
    font-size: 17px;
    border-radius: 14px;
  }

  .panel--portalLuxury .btn--primary {
    box-shadow:
      0 16px 38px rgba(255, 44, 69, 0.34),
      0 0 26px rgba(255, 82, 96, 0.2);
  }

  .panel--portalLuxury .btn--primary:hover {
    box-shadow:
      0 20px 48px rgba(255, 44, 69, 0.42),
      0 0 36px rgba(255, 96, 110, 0.28);
  }
}

.section--evcGateway {
  padding-top: 36px;
  border-top: 0;
}

.evcGateway {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 18px;
  padding: 18px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 62, 86, 0.22);
  background:
    radial-gradient(520px 260px at 78% 14%, rgba(255, 44, 69, 0.1), transparent 75%),
    radial-gradient(400px 220px at 18% 80%, rgba(255, 139, 52, 0.06), transparent 72%),
    linear-gradient(180deg, rgba(17, 13, 17, 0.92), rgba(8, 12, 18, 0.92));
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 44, 69, 0.05) inset,
    0 0 38px rgba(255, 44, 69, 0.08);
  animation: panelBreath 8s ease-in-out infinite;
}

.evcGateway::before,
.evcGateway::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.evcGateway::before {
  width: 260px;
  height: 260px;
  left: -70px;
  top: -70px;
  background: radial-gradient(circle, rgba(255, 44, 69, 0.14), transparent 70%);
  animation: glowFloatA 9s ease-in-out infinite;
}

.evcGateway::after {
  width: 220px;
  height: 220px;
  right: -50px;
  bottom: -50px;
  background: radial-gradient(circle, rgba(255, 139, 52, 0.1), transparent 72%);
  animation: glowFloatB 12s ease-in-out infinite;
}

.evcGateway__media {
  position: relative;
  --evc-zoom-start: 1.015;
  --evc-zoom-end: 1.12;
  --evc-zoom-cycle: 20s;
  min-height: 380px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  isolation: isolate;
}

.evcGateway__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--evc-zoom-start));
  transform-origin: center center;
  transition: filter 0.5s ease;
  filter: saturate(1.03) contrast(1.04);
  will-change: transform;
}

.evcGateway__media.active img,
.evcGateway__media[data-animate].active img {
  animation: evcGatewayImageZoomLoop var(--evc-zoom-cycle) cubic-bezier(.2,.74,.24,1) infinite;
}

.evcGateway:hover .evcGateway__media img {
  filter: saturate(1.08) contrast(1.06) brightness(1.02);
}

.evcGateway__zoomGlow {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background:
    radial-gradient(360px 220px at 28% 42%, rgba(255, 56, 82, 0.22), transparent 72%),
    radial-gradient(260px 180px at 62% 68%, rgba(255, 138, 54, 0.12), transparent 74%);
  opacity: 0;
  transform: scale(0.82);
  transition: transform 0.9s cubic-bezier(.2,.8,.2,1), opacity 0.9s ease;
}

.evcGateway__zoomCore {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 124px;
  height: 124px;
  z-index: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(120px 80px at 50% 50%, rgba(255, 255, 255, 0.06), transparent 72%),
    rgba(255, 255, 255, 0.01);
  transform: translate(-50%, -50%) scale(0.26);
  opacity: 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 22px 36px rgba(0, 0, 0, 0.3);
  transition: transform 1s cubic-bezier(.16,.84,.24,1), opacity 0.85s ease;
}

.evcGateway__media.active .evcGateway__zoomGlow,
.evcGateway__media[data-animate].active .evcGateway__zoomGlow {
  opacity: 1;
  transform: scale(1);
  animation: evcGatewayZoomGlowLoop var(--evc-zoom-cycle) ease-in-out infinite;
}

.evcGateway__media.active .evcGateway__zoomCore,
.evcGateway__media[data-animate].active .evcGateway__zoomCore {
  opacity: 0.22;
  transform: translate(-50%, -50%) scale(1.05);
  animation: evcGatewayZoomCoreLoop var(--evc-zoom-cycle) ease-in-out infinite;
}

@keyframes evcGatewayImageZoomLoop {
  0% {
    transform: scale(var(--evc-zoom-start));
  }
  15% {
    transform: scale(var(--evc-zoom-end));
  }
  90% {
    transform: scale(var(--evc-zoom-end));
  }
  100% {
    transform: scale(var(--evc-zoom-start));
  }
}

@keyframes evcGatewayZoomGlowLoop {
  0% {
    opacity: 0.36;
    transform: scale(0.88);
  }
  15% {
    opacity: 0.9;
    transform: scale(1);
  }
  90% {
    opacity: 0.72;
    transform: scale(1);
  }
  100% {
    opacity: 0.36;
    transform: scale(0.88);
  }
}

@keyframes evcGatewayZoomCoreLoop {
  0% {
    opacity: 0.09;
    transform: translate(-50%, -50%) scale(0.4);
  }
  15% {
    opacity: 0.24;
    transform: translate(-50%, -50%) scale(1.06);
  }
  90% {
    opacity: 0.16;
    transform: translate(-50%, -50%) scale(1.02);
  }
  100% {
    opacity: 0.09;
    transform: translate(-50%, -50%) scale(0.4);
  }
}

.evcGateway__mediaOverlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(320px 180px at 16% 14%, rgba(255, 44, 69, 0.16), transparent 72%),
    linear-gradient(180deg, rgba(3, 5, 9, 0.12), rgba(3, 5, 9, 0.72));
}

.evcGateway__mediaBadge {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  font-family: inherit;
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: rgba(255, 248, 250, 0.95);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: calc(100% - 28px);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease;
  overflow: hidden;
  isolation: isolate;
}

.evcGateway__mediaBadge::before,
.evcGateway__mediaBadge::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.evcGateway__mediaBadge::before {
  background:
    radial-gradient(120px 44px at 14% 50%, rgba(255, 60, 92, 0.28), transparent 72%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  z-index: -1;
}

.evcGateway__mediaBadge::after {
  inset: -30% -45%;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.25) 46%, transparent 64%);
  transform: translateX(-115%);
  z-index: 0;
}

.evcGateway__mediaBadgeIcon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.96);
  font-size: 9px;
  line-height: 1;
  transform: translateX(1px);
}

.evcGateway__mediaBadge > span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.evcGateway__mediaBadge--video:hover,
.evcGateway__mediaBadge--video:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.evcGateway__mediaBadge--video:hover::before,
.evcGateway__mediaBadge--video:focus-visible::before {
  opacity: 1;
}

.evcGateway__mediaBadge--video:hover::after,
.evcGateway__mediaBadge--video:focus-visible::after {
  opacity: 0.85;
  animation: evcBadgeSheen 1.2s ease forwards;
}

.evcGateway__mediaBadge--video:hover .evcGateway__mediaBadgeIcon,
.evcGateway__mediaBadge--video:focus-visible .evcGateway__mediaBadgeIcon {
  background: rgba(255, 92, 112, 0.18);
  color: #ffdce3;
}

.evcGateway__mediaBadge.is-disabled {
  cursor: default;
  opacity: 0.72;
}

.evcGateway__mediaBadge.is-disabled:hover,
.evcGateway__mediaBadge.is-disabled:focus-visible {
  transform: none;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.evcGateway__mediaBadge--video.is-launching {
  border-color: rgba(255, 188, 198, 0.66);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 0 6px rgba(255, 56, 86, 0.08),
    0 0 24px rgba(255, 52, 84, 0.28);
  animation: evcBadgeLaunchPulse 0.95s cubic-bezier(.18,.8,.24,1) 1;
}

.evcGateway__mediaBadge--video.is-launching::before {
  opacity: 1;
}

.evcGateway__mediaBadge--video.is-launching::after {
  opacity: 1;
  animation: evcBadgeSheen 0.95s ease forwards;
}

@media (max-width: 760px) {
  .evcGateway__mediaBadge {
    top: 10px;
    left: 10px;
    min-height: 32px;
    padding: 5px 10px;
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  .evcGateway__mediaBadgeIcon {
    width: 16px;
    height: 16px;
    font-size: 8px;
  }

  .evcGateway__cta .btn {
    flex: 1 1 100%;
    font-size: 14px;
  }
}

.evcGateway__content {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  gap: 10px;
  align-content: center;
}

.evcGateway__badges {
  margin-bottom: 2px;
  row-gap: 10px;
}

.evcGateway__badgeVideoBtn {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
}

.evcGateway__badgeVideoBtn:focus-visible {
  outline: 2px solid rgba(255, 120, 135, 0.6);
  outline-offset: 2px;
}

.evcGateway__badgeVideoBtn.is-disabled {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}

.evcGateway__badgeVideoBtn.is-launching {
  animation: evcBadgeLaunchPulse 0.95s cubic-bezier(.18,.8,.24,1) 1;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 0 4px rgba(255, 52, 84, 0.08),
    0 10px 22px rgba(255, 44, 69, 0.24);
}

.evcGateway__title {
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.05;
}

.evcGateway__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 600;
}

.evcGateway__sub {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.evcGateway__cta {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.evcGateway__cta .btn {
  flex: 1 1 260px;
  min-width: 0;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1;
}

.evcGateway__cta .btn {
  box-shadow:
    0 14px 28px rgba(255, 44, 69, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

#evcTraining .tag {
  white-space: normal;
  line-height: 1.35;
  padding: 8px 12px;
}

.panel__left p {
  margin: 10px 0 0;
}

.panel__right {
  display: grid;
  justify-items: start;
  gap: 8px;
}

#services .grid {
  gap: 20px;
  margin-top: 20px;
}

#services .card {
  padding: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

#services .card .muted {
  line-height: 1.65;
}

.serviceBadge {
  position: relative;
  margin: 14px 0 4px;
  min-height: 110px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(220px 120px at 18% 20%, rgba(255, 44, 69, 0.08), transparent 72%),
    radial-gradient(200px 120px at 82% 78%, rgba(255, 139, 52, 0.06), transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 34px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.serviceBadge::before,
.serviceBadge::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.serviceBadge::before {
  width: 160px;
  height: 160px;
  left: -36px;
  top: -52px;
  background: radial-gradient(circle, rgba(255, 44, 69, 0.14), transparent 70%);
}

.serviceBadge::after {
  width: 140px;
  height: 140px;
  right: -26px;
  bottom: -40px;
  background: radial-gradient(circle, rgba(255, 139, 52, 0.12), transparent 72%);
}

.serviceBadge img {
  position: relative;
  z-index: 1;
  width: min(92%, 320px);
  max-height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.3));
  transition: transform 0.24s ease, filter 0.24s ease;
}

.serviceBadge--ghidra img {
  mix-blend-mode: screen;
  opacity: 0.95;
}

#services .card .tags {
  margin-top: 14px;
}

#services .card .link,
#services .card .btn {
  margin-top: auto;
}

.logoWall {
  margin-top: 10px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.logoWall__track {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  flex-wrap: wrap;
  row-gap: 14px;
}

.logoPill {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

#equipment .sectionHead .muted {
  font-size: 17px;
}

#equipment .logoWall {
  margin-top: 14px;
}

#equipment .grid--2 {
  gap: 24px;
  margin-top: 24px;
}

#equipment .grid--2 .card {
  padding: 28px 30px;
  min-height: 180px;
}

#equipment .grid--2 .card .muted {
  font-size: 15px;
  line-height: 1.75;
}

.casesGrid {
  margin-top: 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.caseCard {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1117;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.caseCard--carousel {
  flex: 0 0 calc((100% - 28px) / 3);
  min-width: 240px;
}

.caseCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caseCard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
}

.caseCard__play {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 95, 116, 0.26);
  background: rgba(255, 44, 69, 0.14);
  color: #ffe7ec;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.caseCard--video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(220px 120px at 82% 18%, rgba(255, 44, 69, 0.14), transparent 70%);
}

.caseCard--video:focus-visible {
  outline: 2px solid rgba(255, 84, 106, 0.78);
  outline-offset: 2px;
}

.caseCard__meta {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  gap: 6px;
}

.caseCard__title {
  font-weight: 800;
}

.caseCard__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.carousel {
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.carousel__viewport {
  overflow: hidden;
  perspective: 1200px;
}

.carousel__track {
  display: flex;
  gap: 14px;
  transition: transform 0.32s cubic-bezier(.2,.8,.22,1);
  will-change: transform;
}

.carousel--cinematic .carousel__track > * {
  opacity: 0.52;
  transform: translateY(14px) scale(0.965) rotateX(4deg);
  transform-origin: center center;
  filter: saturate(0.82) brightness(0.92);
  transition:
    opacity 0.42s ease,
    transform 0.56s cubic-bezier(.2,.8,.22,1),
    filter 0.42s ease,
    box-shadow 0.36s ease;
  transition-delay: calc(var(--carousel-fx-order, 0) * 45ms);
  will-change: transform, opacity, filter;
}

.carousel--cinematic .carousel__track > *.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
  filter: saturate(1) brightness(1);
}

.carousel--cinematic .carousel__track > *.is-primary {
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 44, 69, 0.04) inset;
}

.carousel--cinematic .carousel__track > *.is-secondary {
  filter: saturate(0.96) brightness(0.98);
}

.carousel--cinematic.is-shifting .carousel__track > *.is-visible {
  animation: carouselSlideCinematicIn 0.62s cubic-bezier(.18,.84,.22,1) both;
  animation-delay: calc(var(--carousel-fx-order, 0) * 60ms);
}

.carousel__btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.carousel__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.studentCard {
  flex: 0 0 calc((100% - 28px) / 3);
  min-width: 220px;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(220px 120px at 16% 14%, rgba(255, 52, 84, 0.08), transparent 74%),
    rgba(255, 255, 255, 0.02);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  isolation: isolate;
}

.studentCard::before,
.studentCard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.studentCard::before {
  background:
    radial-gradient(260px 160px at 20% 16%, rgba(255, 54, 86, 0.24), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 16%, transparent 68%, rgba(0, 0, 0, 0.22));
  transform: scale(0.96);
}

.studentCard::after {
  inset: -30% -45%;
  background: linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, 0.22) 49%, transparent 64%);
  transform: translateX(-120%);
}

.studentCard img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 26%;
  display: block;
  transition: transform 0.55s cubic-bezier(.2,.8,.22,1), filter 0.4s ease;
}

.teamCard img {
  aspect-ratio: 3 / 4;
  object-position: center 14%;
}

/* Student/Team cards: clean cinematic look with mild accent effect */
#students .studentCard,
#team .studentCard {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(180px 120px at 18% 12%, rgba(255, 56, 88, 0.07), transparent 72%),
    rgba(255, 255, 255, 0.02);
}

#students .studentCard img,
#team .studentCard img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 30%;
  background: #070b11;
  filter: brightness(1.02) saturate(1.04) contrast(1.03);
}

#team .studentCard img {
  object-position: center 24%;
}

#students .studentCard::before,
#students .studentCard::after,
#team .studentCard::before,
#team .studentCard::after {
  display: block;
}

#students .studentCard::before,
#team .studentCard::before {
  opacity: 0.18;
}

#students .studentCard::after,
#team .studentCard::after {
  opacity: 0;
}

#students .carousel--cinematic .carousel__track > *.is-primary,
#team .carousel--cinematic .carousel__track > *.is-primary {
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.studentCard__meta {
  padding: 12px;
  position: relative;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.02), rgba(6, 9, 14, 0.62));
}

.studentCard__name {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studentCard__badge {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studentCard__actions {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

.studentCard__videoBtn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(255, 54, 86, 0.92), rgba(255, 98, 68, 0.94));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 8px 18px rgba(255, 54, 86, 0.3);
}

.studentCard__videoBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(255, 54, 86, 0.38);
  filter: brightness(1.05);
}

.studentCard__videoBtn.is-disabled {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.footer {
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.12);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__left {
  display: grid;
  gap: 8px;
  max-width: 620px;
}

.footer__right {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 860px;
}

.footerLink {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.footerLink:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.modalRoot {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 4000;
}

.modalRoot.active {
  display: block;
}

.modalOverlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modalOverlay--videoFx {
  background:
    radial-gradient(860px 520px at 50% 54%, rgba(255, 58, 87, 0.11), rgba(0, 0, 0, 0.78) 55%, rgba(0, 0, 0, 0.9)),
    rgba(2, 3, 6, 0.88);
  backdrop-filter: blur(10px);
  animation: modalOverlayIn 360ms ease;
}

.modalOverlay--videoFx::before,
.modalOverlay--videoFx::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.modalOverlay--videoFx::before {
  background:
    radial-gradient(320px 180px at 20% 24%, rgba(255, 48, 78, 0.14), transparent 72%),
    radial-gradient(420px 220px at 76% 76%, rgba(255, 112, 46, 0.08), transparent 76%);
  opacity: 0.9;
  animation: modalNebulaPulse 5.8s ease-in-out infinite;
}

.modalOverlay--videoFx::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 14%, transparent 86%, rgba(255, 255, 255, 0.02));
}

.modalBox {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, #0b0f15, #0a0d13);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  padding: 20px;
}

.modalBox--videoFx {
  width: min(980px, 100%);
  border-color: rgba(255, 108, 126, 0.16);
  background:
    radial-gradient(520px 240px at 16% 0%, rgba(255, 48, 78, 0.1), transparent 70%),
    linear-gradient(180deg, #090d13, #090c12);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  animation: modalBoxVideoIn 420ms cubic-bezier(.18,.84,.22,1);
}

.modalBox--videoFxWide {
  width: min(1180px, calc(100vw - 40px), calc((100vh - 156px) * 16 / 9));
}

.modalBox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.modalBox__title {
  font-size: 18px;
  font-weight: 800;
}

.modalBox__body {
  color: var(--muted);
}

.modalBox__body--flush {
  margin: 0;
}

.modalBox__body h3,
.modalBox__body h4 {
  color: var(--text);
  margin: 0 0 10px;
}

.modalBox__body p,
.modalBox__body ul {
  margin: 0 0 10px;
}

.modalBox__body ul {
  padding-left: 18px;
}

.modalClose {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
  flex: none;
}

.modalVideo {
  width: 100%;
  border-radius: 14px;
  background: #000;
}

.modalBox--videoFx .modalVideo {
  display: block;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 164px);
}

.modalVideoStage {
  position: relative;
  width: 100%;
  aspect-ratio: var(--modal-video-aspect, 16 / 9);
  border-radius: 16px;
  overflow: hidden;
  background: #040507;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.modalVideoStage--cinematic {
  max-height: calc(100vh - 164px);
}

.modalVideoStage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(460px 220px at 22% 14%, rgba(255, 57, 90, 0.16), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 16%, transparent 84%, rgba(255, 255, 255, 0.02));
  z-index: 2;
}

.modalVideoStage__reveal {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(420px 220px at 52% 50%, rgba(255, 44, 69, 0.28), rgba(10, 12, 16, 0.95) 62%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.06), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.05));
  transform-origin: center center;
  animation: modalVideoReveal 900ms cubic-bezier(.18,.85,.22,1) forwards;
}

.modalVideoFrame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.modalBox--galleryFx {
  width: min(1220px, calc(100vw - 40px), calc((100vh - 152px) * 1.38));
}

/* Photo galleries: remove red cinematic tint and keep clean neutral look */
.modalOverlay--galleryFx {
  background: rgba(3, 7, 12, 0.9);
  backdrop-filter: blur(10px);
}

.modalOverlay--galleryFx::before,
.modalOverlay--galleryFx::after {
  content: none;
  display: none;
}

.modalBox--galleryFx {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #0a0f16, #090d14);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.hardwareGallery {
  display: grid;
  gap: 12px;
}

.hardwareGallery__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #05070b;
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.hardwareGallery__stageGlow,
.hardwareGallery__stageScan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hardwareGallery__stageGlow {
  display: none;
}

.hardwareGallery__stageScan {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.012));
}

.hardwareGallery__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #040507;
  filter: brightness(1) saturate(1.02);
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
}

.hardwareGallery__image.is-ready {
  opacity: 1;
  transform: scale(1);
}

.hardwareGallery__image:hover {
  filter: brightness(1.08) saturate(1.06);
}

.hardwareGallery__nav {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 8, 12, 0.58);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  line-height: 1;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.hardwareGallery__nav--prev {
  left: 12px;
}

.hardwareGallery__nav--next {
  right: 12px;
}

.hardwareGallery__nav:hover,
.hardwareGallery__nav:focus-visible {
  transform: translateY(-50%) translateY(-1px);
  background: rgba(255, 48, 78, 0.14);
  border-color: rgba(255, 118, 132, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.hardwareGallery__nav:focus-visible {
  outline: 2px solid rgba(255, 120, 135, 0.55);
  outline-offset: 2px;
}

.hardwareGallery__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hardwareGallery__metaTitle {
  font-size: 15px;
  font-weight: 800;
  color: rgba(255, 246, 248, 0.95);
  letter-spacing: 0.01em;
}

.hardwareGallery__metaCounter {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 12px;
}

.hardwareGallery__dots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(38px, 1fr));
  gap: 8px;
}

.hardwareGallery__dot {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.hardwareGallery__dot:hover,
.hardwareGallery__dot:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 110, 126, 0.3);
  background: rgba(255, 52, 84, 0.1);
  color: #fff;
}

.hardwareGallery__dot.active {
  border-color: rgba(255, 120, 135, 0.34);
  background: rgba(255, 48, 78, 0.14);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 44, 69, 0.14);
}

.hardwareGallery__dot:focus-visible {
  outline: 2px solid rgba(255, 120, 135, 0.55);
  outline-offset: 2px;
}

@keyframes modalOverlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalBoxVideoIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalNebulaPulse {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.025);
  }
}

@keyframes modalVideoReveal {
  0% {
    opacity: 0.95;
    transform: scale(1.05);
  }
  58% {
    opacity: 0.58;
    transform: scale(1.015);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes evcBadgeSheen {
  0% {
    transform: translateX(-115%);
  }
  100% {
    transform: translateX(115%);
  }
}

@keyframes evcBadgeLaunchPulse {
  0% {
    transform: scale(1);
  }
  38% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes carouselSlideCinematicIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.955) rotateX(5deg);
    filter: saturate(0.72) brightness(0.86);
  }
  52% {
    opacity: 1;
    transform: translateY(-2px) scale(1.012) rotateX(0deg);
    filter: saturate(1.04) brightness(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: saturate(1) brightness(1);
  }
}

@media (max-width: 900px) {
  .modalOverlay--videoFx {
    padding: 14px;
    backdrop-filter: blur(8px);
  }

  .modalBox--videoFxWide {
    width: min(100%, calc(100vw - 28px));
    border-radius: 18px;
    padding: 14px;
  }

  .modalBox--videoFx .modalBox__head {
    margin-bottom: 10px;
  }

  .modalBox--videoFx .modalBox__title {
    font-size: 16px;
  }

  .modalVideoStage--cinematic,
  .modalBox--videoFx .modalVideo {
    max-height: calc(100vh - 150px);
    border-radius: 14px;
  }

  .modalBox--galleryFx {
    width: min(100%, calc(100vw - 28px));
  }

  .hardwareGallery__stage {
    aspect-ratio: 4 / 3;
  }

  .hardwareGallery__metaTitle {
    font-size: 14px;
  }

  .hardwareGallery__dots {
    grid-template-columns: repeat(auto-fit, minmax(34px, 1fr));
    gap: 6px;
  }

  .cpcModulePreview__stage {
    aspect-ratio: 4 / 3;
  }

  .carousel--cpcDetails .caseCard--carousel {
    flex-basis: min(72vw, 360px);
  }

  .cpcDetailsCard {
    min-height: 240px;
  }

  .cpcModulePreview__intro {
    padding: 12px 12px 8px;
  }

  .carousel--cinematic .carousel__track > * {
    transition-delay: calc(var(--carousel-fx-order, 0) * 28ms);
  }

  .studentCard img {
    aspect-ratio: 3 / 4;
    object-position: center 22%;
  }

  .teamCard img {
    aspect-ratio: 3 / 4;
    object-position: center 14%;
  }
}

@media (max-width: 760px) {
  .modalOverlay--videoFx {
    padding: 10px;
    background:
      radial-gradient(560px 320px at 50% 52%, rgba(255, 58, 87, 0.09), rgba(0, 0, 0, 0.84) 60%, rgba(0, 0, 0, 0.92)),
      rgba(2, 3, 6, 0.9);
  }

  .modalOverlay--galleryFx {
    background: rgba(3, 7, 12, 0.92);
  }

  .modalOverlay--galleryFx::before,
  .modalOverlay--galleryFx::after {
    content: none !important;
    display: none !important;
  }

  .modalBox--videoFx,
  .modalBox--videoFxWide {
    width: min(100%, calc(100vw - 18px));
    border-radius: 16px;
    padding: 10px;
  }

  .modalBox--videoFx .modalBox__head {
    gap: 8px;
    margin-bottom: 8px;
  }

  .modalBox--videoFx .modalBox__title {
    font-size: 14px;
    line-height: 1.25;
  }

  .modalClose {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .modalVideoStage--cinematic,
  .modalBox--videoFx .modalVideo {
    max-height: calc(100vh - 132px);
    border-radius: 12px;
  }

  .modalVideoStage::before {
    background:
      radial-gradient(280px 150px at 18% 14%, rgba(255, 57, 90, 0.12), transparent 72%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 16%, transparent 84%, rgba(255, 255, 255, 0.015));
  }

  .modalBox--galleryFx {
    width: min(100%, calc(100vw - 18px));
  }

  .hardwareGallery {
    gap: 10px;
  }

  .hardwareGallery__stage {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .hardwareGallery__nav {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 17px;
  }

  .hardwareGallery__nav--prev {
    left: 8px;
  }

  .hardwareGallery__nav--next {
    right: 8px;
  }

  .hardwareGallery__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hardwareGallery__metaTitle {
    font-size: 13px;
    line-height: 1.25;
  }

  .hardwareGallery__metaCounter {
    font-size: 11px;
    padding: 4px 8px;
  }

  .hardwareGallery__dots {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .hardwareGallery__dot {
    flex: 0 0 32px;
    min-height: 30px;
    border-radius: 8px;
    font-size: 11px;
  }

  .cpcDetailsModal {
    gap: 10px;
  }

  .cpcDetailsModal__text {
    padding: 12px 12px 8px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
  }

  .cpcModulePreview__stage {
    border-radius: 12px;
  }

  .carousel--cpcDetails .caseCard--carousel {
    flex-basis: min(84vw, 320px);
  }

  .cpcModulePreview__intro {
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.55;
  }

  .carousel--cinematic .carousel__track > * {
    opacity: 0.66;
    transform: translateY(8px) scale(0.98);
    filter: saturate(0.9) brightness(0.95);
    transition-delay: calc(var(--carousel-fx-order, 0) * 20ms);
  }

  .studentCard {
    border-radius: 14px;
  }

  .studentCard img {
    aspect-ratio: 3 / 4;
    object-position: center 20%;
  }

  .teamCard img {
    aspect-ratio: 3 / 4;
    object-position: center 12%;
  }

  .studentCard__meta {
    padding: 10px;
  }

  .studentCard__name {
    font-size: 13px;
  }

  .studentCard__badge {
    font-size: 11px;
  }
}

.fxGlow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(500px 360px at var(--mx) var(--my), rgba(255, 44, 69, 0.08), transparent 65%),
    radial-gradient(300px 220px at calc(var(--mx) + 12%) calc(var(--my) - 8%), rgba(255, 139, 52, 0.04), transparent 70%);
}

#fxCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

main,
.header,
.footer,
.preloader {
  position: relative;
  z-index: 1;
}

[data-animate] {
  opacity: 1;
  transform: translateY(0);
}

[data-animate].reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate].reveal-ready.active {
  opacity: 1;
  transform: translateY(0);
}

/* Child pages */
.pageHeader {
  margin-bottom: 12px;
}

.hero.hero--page {
  min-height: 52vh;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.65));
}

.pageHeroInner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 52vh;
  padding: 40px 0;
}

.hero__sub {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.86);
  max-width: 760px;
}

.section__head {
  margin-bottom: 22px;
}

.section__head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 34px);
}

.section__head p {
  margin: 0;
  color: var(--muted);
}

.detailGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detailCard {
  padding: 20px;
}

.detailCard h3 {
  margin: 0 0 10px;
}

.ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.newsList {
  display: grid;
  gap: 16px;
}

.newsItem {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.newsItem__meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.newsItem h3 {
  margin: 0;
  font-size: 18px;
}

.newsItem p {
  margin: 10px 0 0;
  color: var(--muted);
}

.newsTagRow {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.newsTagButton {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
}

.newsItem--featured {
  border-color: rgba(255, 69, 93, 0.3);
  background:
    radial-gradient(360px 180px at 10% 14%, rgba(255, 44, 69, 0.1), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025));
}

.newsItem .btn {
  margin-top: 12px;
}

.homeNewsPanel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 72, 96, 0.24);
  background:
    radial-gradient(280px 160px at 12% 18%, rgba(255, 44, 69, 0.12), transparent 72%),
    radial-gradient(260px 140px at 86% 82%, rgba(255, 138, 54, 0.07), transparent 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.018));
}

.homeNewsPanel__content {
  display: grid;
  align-content: center;
  gap: 10px;
}

.homeNewsPanel__kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 92, 114, 0.3);
  background: rgba(255, 44, 69, 0.13);
  color: #ffe8ed;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.homeNewsPanel__content .h2 {
  margin: 0;
}

.homeNewsPanel__content .muted {
  margin: 0;
  line-height: 1.7;
}

.homeNewsPanel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.homeNewsPanel__media {
  min-width: 0;
}

.carousel--storeNews .caseCard--carousel {
  flex-basis: min(520px, 44vw);
}

.storeNewsCard {
  min-height: 300px;
}

.storeNewsFeature {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 72, 96, 0.2);
  background:
    radial-gradient(280px 160px at 12% 16%, rgba(255, 44, 69, 0.08), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
}

.storeNewsFeature__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.storeNewsFeature__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd1da;
  margin-bottom: 8px;
}

.storeNewsFeature__head .h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.storeNewsFeature__head .muted {
  margin: 0;
}

.storeNewsFeature__desc {
  margin: 12px 0 14px;
  color: var(--muted);
  line-height: 1.75;
}

.storeNewsFeature__actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.expoFeature {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 58, 82, 0.18);
  background:
    radial-gradient(260px 160px at 12% 16%, rgba(255, 44, 69, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025));
}

.expoFeature__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.expoFeature__head .h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.expoFeature__head .muted {
  margin: 0;
  max-width: 720px;
  line-height: 1.6;
}

.expoFeature .tag {
  margin-top: 2px;
  font-size: 12px;
  background: rgba(255, 44, 69, 0.1);
  border-color: rgba(255, 72, 96, 0.22);
  color: #ffe6ea;
}

.expoPhotoCard {
  min-height: 230px;
}

.expoFeature__mediaGrid {
  margin: 10px 0 16px;
}

.expoDirectoryGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.expoDirectoryCard {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 90, 112, 0.22);
  background:
    radial-gradient(260px 150px at 14% 20%, rgba(255, 44, 69, 0.11), transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.expoDirectoryCard:focus-visible {
  outline: 2px solid rgba(255, 86, 108, 0.82);
  outline-offset: 2px;
}

.expoDirectoryCard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.expoDirectoryCard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.42s ease, filter 0.42s ease;
  filter: saturate(1.03) contrast(1.03);
}

.expoDirectoryCard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(220px 120px at 15% 18%, rgba(255, 42, 68, 0.24), transparent 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.44));
}

.expoDirectoryCard__meta {
  padding: 12px 12px 13px;
  display: grid;
  gap: 8px;
}

.expoDirectoryCard__title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.expoDirectoryCard__subtitle {
  font-size: 13px;
  color: #cfd7e2;
}

.expoDirectoryCard__cta {
  font-size: 13px;
  font-weight: 800;
  color: #ffd9df;
}

.expoDirectoryCard:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 128, 0.36);
  box-shadow:
    0 24px 42px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 93, 115, 0.15) inset;
}

.expoDirectoryCard:hover .expoDirectoryCard__media img {
  transform: scale(1.06);
  filter: saturate(1.07) contrast(1.05);
}

.expoDirectoryModal {
  display: grid;
  gap: 14px;
}

.expoDirectoryModal__imageWrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.expoDirectoryModal__imageWrap img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.expoDirectoryModal__subtitle {
  color: var(--muted);
  font-size: 14px;
}

.expoDirectoryModal__desc {
  line-height: 1.72;
}

.expoDirectoryModal__hint {
  color: #ffdde3;
  font-size: 13px;
  border: 1px solid rgba(255, 98, 120, 0.22);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 52, 82, 0.1);
}

.expoDirGallery {
  display: grid;
  gap: 12px;
}

.expoDirGallery__stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c1016;
}

.expoDirGallery__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  filter: brightness(1) saturate(1.02);
  transition: filter 0.22s ease;
}

.expoDirGallery__image:hover {
  filter: brightness(1.08) saturate(1.06);
}

.expoDirGallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 12, 18, 0.62);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.expoDirGallery__nav--prev {
  left: 10px;
}

.expoDirGallery__nav--next {
  right: 10px;
}

.expoDirGallery__meta {
  display: grid;
  gap: 4px;
}

.expoDirGallery__title {
  font-size: 20px;
  font-weight: 800;
}

.expoDirGallery__subtitle {
  color: var(--muted);
  font-size: 14px;
}

.expoDirGallery__counter {
  color: #dbe6f7;
  font-size: 13px;
  font-weight: 700;
}

.expoDirGallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
  max-height: 170px;
  overflow: auto;
  padding-right: 4px;
}

.expoDirGallery__thumb {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.expoDirGallery__thumb img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  display: block;
}

.expoDirGallery__thumb.active {
  border-color: rgba(195, 210, 232, 0.82);
  box-shadow: 0 0 0 1px rgba(195, 210, 232, 0.28) inset;
}

.expoDirectoryLightbox img {
  width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  display: block;
  border-radius: 14px;
  filter: brightness(1) saturate(1.02);
  transition: filter 0.22s ease;
}

.expoDirectoryLightbox img:hover {
  filter: brightness(1.08) saturate(1.06);
}

.storeFamilyAlbumGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 10px;
}

.expoVideoFeature__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 58, 82, 0.18);
  background:
    radial-gradient(260px 140px at 14% 22%, rgba(255, 44, 69, 0.09), transparent 72%),
    radial-gradient(220px 120px at 84% 78%, rgba(255, 139, 52, 0.05), transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 14px 34px rgba(0, 0, 0, 0.26);
}

.expoVideoFeature__card--clickable {
  cursor: pointer;
}

.expoVideoFeature__card--clickable:focus-visible {
  outline: 2px solid rgba(255, 84, 106, 0.78);
  outline-offset: 2px;
}

.expoVideoFeature__posterWrap {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #0d1117;
}

.expoVideoFeature__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.34s ease, filter 0.34s ease;
  filter: saturate(1.04) contrast(1.02);
}

.expoVideoFeature__posterOverlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(200px 110px at 16% 18%, rgba(255, 44, 69, 0.2), transparent 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.55));
}

.expoVideoFeature__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 95, 116, 0.28);
  background: rgba(255, 44, 69, 0.15);
  color: #ffe6ea;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.expoVideoFeature__playIcon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 95, 116, 0.3);
  background: rgba(255, 44, 69, 0.18);
  color: #fff0f3;
  font-size: 18px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.expoVideoFeature__playIcon--disabled {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
}

.expoVideoFeature__body {
  display: grid;
  align-content: center;
  gap: 10px;
}

.expoVideoFeature__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.expoVideoFeature__desc {
  color: var(--muted);
  line-height: 1.65;
}

.expoVideoFeature__actions {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.expoVideoFeature__btn[disabled] {
  opacity: 0.8;
  cursor: not-allowed;
}

.expoVideoFeature__hint {
  line-height: 1.5;
}

.expoFeature__note {
  margin-top: 12px;
  line-height: 1.6;
}

#winols .grid {
  gap: 22px;
  margin-top: 22px;
}

#winols .card {
  padding: 24px 22px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

#winols .card .h3 {
  font-size: 19px;
}

#winols .card .muted,
#winols .card .list {
  font-size: 16px;
  line-height: 1.7;
}

#winols .card .tags {
  margin-top: 16px;
}

#winols .card .link,
#winols .card .btn {
  margin-top: auto;
}

#winols .card .small.muted {
  margin-top: auto;
}

#contact .sectionHead .muted {
  font-size: 17px;
}

#contact .grid--2 {
  gap: 20px;
}

#contact .grid--2 .card {
  min-height: 182px;
  padding: 24px;
}

#contact .grid--2 .card .muted {
  line-height: 1.65;
}

#contact > .container > .card {
  margin-top: 18px;
  padding: 24px;
}

#contact > .container > .card--mapNav {
  position: relative;
  z-index: 12;
}

#contact #emailBtn {
  box-shadow: 0 10px 28px rgba(255, 44, 69, 0.24);
}

.mapChooser {
  position: relative;
  display: inline-grid;
  gap: 10px;
  margin-top: 6px;
}

.mapChooser__trigger {
  min-width: 280px;
  justify-content: center;
}

.mapChooser__menu {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  z-index: 20;
  min-width: 260px;
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 72, 96, 0.18);
  background: rgba(10, 12, 17, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.mapChooser:hover .mapChooser__menu,
.mapChooser:focus-within .mapChooser__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mapChooser__item {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 44, 69, 0.08);
  color: #ffe6e9;
  font-weight: 700;
}

.mapChooser__item:hover,
.mapChooser__item:focus-visible {
  background: rgba(255, 44, 69, 0.18);
  border-color: rgba(255, 110, 120, 0.36);
  color: #fff;
}

#mapCoordsHint {
  margin-top: 12px;
  line-height: 1.6;
  word-break: break-word;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

@keyframes glowFloatA {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate3d(12px, -10px, 0) scale(1.06);
    opacity: 0.9;
  }
}

@keyframes glowFloatB {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate3d(-10px, 12px, 0) scale(1.08);
    opacity: 0.88;
  }
}

@keyframes panelBreath {
  0%, 100% {
    box-shadow:
      0 28px 70px rgba(0, 0, 0, 0.34),
      0 0 0 1px rgba(255, 44, 69, 0.06) inset,
      0 0 24px rgba(255, 44, 69, 0.06);
  }
  50% {
    box-shadow:
      0 32px 78px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(255, 44, 69, 0.08) inset,
      0 0 36px rgba(255, 44, 69, 0.1);
  }
}

@media (hover: hover) and (pointer: fine) {
  .card:hover,
  .panel:hover,
  .detailCard:hover,
  .newsItem:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 88, 108, 0.22);
    box-shadow:
      0 28px 70px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(255, 44, 69, 0.05) inset;
  }

  .caseCard:hover,
  .studentCard:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 88, 108, 0.22);
    box-shadow:
      0 24px 58px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(255, 44, 69, 0.05) inset;
  }

  .carousel--students .studentCard:hover {
    transform: translateY(-6px) scale(1.008);
    border-color: rgba(255, 98, 118, 0.28);
    box-shadow:
      0 28px 72px rgba(0, 0, 0, 0.48),
      0 0 0 1px rgba(255, 44, 69, 0.08) inset,
      0 0 32px rgba(255, 44, 69, 0.14);
  }

  .carousel--students .studentCard:hover::before {
    opacity: 1;
    transform: scale(1);
  }

  .carousel--students .studentCard:hover::after {
    opacity: 0.9;
    animation: evcBadgeSheen 1.05s ease forwards;
  }

  #students .studentCard:hover,
  #team .studentCard:hover {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow:
      0 24px 58px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  }

  #students .carousel--students .studentCard:hover {
    transform: translateY(-6px) scale(1.008);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
      0 28px 72px rgba(0, 0, 0, 0.48),
      0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  }

  #students .carousel--students .studentCard:hover::before,
  #team .studentCard:hover::before {
    opacity: 0.55;
    transform: scale(1);
  }

  #students .carousel--students .studentCard:hover::after,
  #team .studentCard:hover::after {
    opacity: 0.78;
    animation: evcBadgeSheen 1.05s ease forwards;
  }

  #students .studentCard:hover img,
  #team .studentCard:hover img {
    filter: brightness(1.12) saturate(1.12) contrast(1.05);
  }

  .expoVideoFeature__card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 88, 108, 0.22);
    box-shadow:
      0 28px 66px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(255, 44, 69, 0.05) inset;
  }

  .studentCard:hover img,
  .caseCard:hover img,
  .evcGateway:hover .evcGateway__media img,
  .expoVideoFeature__card:hover .expoVideoFeature__poster {
    transform: scale(1.03);
  }

  .carousel--students .studentCard:hover img {
    transform: scale(1.05);
    filter: saturate(1.08) contrast(1.04);
  }

  .logoPill:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 88, 108, 0.22);
    background: rgba(255, 44, 69, 0.08);
    box-shadow: 0 10px 22px rgba(255, 44, 69, 0.14);
  }

  .tag:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 88, 108, 0.24);
    background: rgba(255, 44, 69, 0.08);
    color: #fff;
  }

  .stat:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 98, 116, 0.22);
    background:
      radial-gradient(180px 100px at 12% 10%, rgba(255, 44, 69, 0.08), transparent 70%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  }

  .carousel__btn:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: rgba(255, 88, 108, 0.22);
    background: rgba(255, 44, 69, 0.08);
    box-shadow: 0 10px 22px rgba(255, 44, 69, 0.14);
  }

  .footerLink:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 88, 108, 0.18);
    background: rgba(255, 44, 69, 0.08);
    box-shadow: 0 10px 20px rgba(255, 44, 69, 0.08);
  }

  .evcGateway:hover {
    border-color: rgba(255, 92, 112, 0.26);
    box-shadow:
      0 40px 92px rgba(0, 0, 0, 0.46),
      0 0 0 1px rgba(255, 44, 69, 0.08) inset,
      0 0 50px rgba(255, 44, 69, 0.12);
  }

  .evcGateway__cta .btn:hover {
    transform: translateY(-2px) scale(1.01);
  }

  #services .card:hover .serviceBadge {
    transform: translateY(-2px);
    border-color: rgba(255, 88, 108, 0.2);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 18px 40px rgba(0, 0, 0, 0.32),
      0 0 22px rgba(255, 44, 69, 0.06);
  }

  #services .card:hover .serviceBadge::before {
    transform: translate3d(8px, -6px, 0) scale(1.06);
    opacity: 1;
  }

  #services .card:hover .serviceBadge::after {
    transform: translate3d(-6px, 8px, 0) scale(1.08);
    opacity: 1;
  }

  #services .card:hover .serviceBadge img {
    transform: translateY(-1px) scale(1.02);
    filter:
      drop-shadow(0 12px 24px rgba(0, 0, 0, 0.34))
      drop-shadow(0 0 10px rgba(255, 72, 96, 0.08));
  }
}

@media (max-width: 1080px) {
  :root {
    --header-h: 82px;
  }

  .brand {
    gap: 12px;
    margin-left: 0;
    padding: 0;
  }

  .brand__logo {
    width: 46px;
    height: 46px;
  }

  .brand__text {
    width: clamp(132px, 16.5vw, 172px);
    height: clamp(24px, 2.7vw, 32px);
  }

  .nav--desktop {
    display: none;
  }

  .langSwitch {
    margin-left: auto;
    margin-right: 0;
  }

  .langSwitch__label {
    display: none;
  }

  .langSwitch__select {
    min-width: 108px;
    height: 34px;
    font-size: 13px;
  }

  .navToggle {
    display: inline-flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero__title {
    font-size: clamp(40px, 7vw, 64px);
  }

  .hero__subtitle {
    font-size: clamp(17px, 2.5vw, 20px);
    max-width: 900px;
  }

  .hero__subline {
    font-size: 16px;
    max-width: 860px;
  }

  .statsDock {
    max-width: none;
    justify-self: stretch;
    align-self: start;
  }

  .panel--wide {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .evcGateway {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .evcGateway__media {
    min-height: 320px;
  }

  .evcGateway__badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .evcGateway__badges .badge {
    justify-content: center;
    text-align: center;
  }

  .evcGateway__title {
    font-size: clamp(30px, 4vw, 42px);
  }

  #evcTraining .tag {
    font-size: 11px;
  }

  #services .card,
  #winols .card {
    min-height: unset;
  }

  #equipment .grid--2 .card {
    min-height: unset;
    padding: 24px;
  }

  .casesGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studentCard {
    flex-basis: calc((100% - 14px) / 2);
  }

  .caseCard--carousel {
    flex-basis: calc((100% - 14px) / 2);
  }

  #winols .sectionHead .winolsLead {
    white-space: normal;
    font-size: 15px;
    max-width: 100%;
  }

  .footer__right {
    justify-content: flex-start;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .storeFamilyAlbumGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header__inner {
    min-height: 72px;
  }

  .hero__topBadges {
    gap: 10px;
  }

  .badge {
    min-height: 32px;
    padding: 5px 11px;
    font-size: 12px;
  }

  .hero__title {
    font-size: clamp(38px, 8vw, 56px);
    line-height: 0.96;
  }

  .hero__titleLine--bottom {
    transform: scaleX(1.08);
    line-height: 0.9;
    margin-top: 1px;
  }

  .hero__subtitle {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero__subtitle br {
    display: none;
  }

  .hero__subline {
    font-size: 15px;
    line-height: 1.7;
  }

  .btn {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px;
  }

  .btn--lg {
    min-height: 48px;
    padding: 11px 18px;
    font-size: 15px;
  }

  .stat__value {
    font-size: 30px;
  }

  .mapChooser__trigger {
    min-width: 240px;
  }

  .evcGateway__media {
    min-height: 280px;
  }

  .evcGateway__media img {
    transform: scale(var(--evc-zoom-start));
  }

  .evcGateway__media {
    --evc-zoom-start: 1.01;
    --evc-zoom-end: 1.08;
    --evc-zoom-cycle: 21s;
  }

  .evcGateway__zoomCore {
    width: 96px;
    height: 96px;
  }

  .evcGateway__lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .evcGateway__sub {
    font-size: 14px;
  }

  #evcTraining .tags {
    gap: 8px;
  }

  #evcTraining .tag {
    padding: 7px 10px;
    line-height: 1.3;
  }
}

@media (max-width: 760px) {
  .pageHeader .header__inner {
    width: min(100% - 24px, 1520px);
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    row-gap: 10px;
  }

  .pageHeader .brand {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 8px;
  }

  .pageHeader .brand__name {
    font-size: clamp(16px, 5.1vw, 22px);
  }

  .pageHeader .brand__tag {
    font-size: clamp(6px, 1.8vw, 9px);
    letter-spacing: 0.18em;
  }

  .pageHeader .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    gap: 6px;
    padding-bottom: 2px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .pageHeader .nav::-webkit-scrollbar {
    display: none;
  }

  .pageHeader .nav__link {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 13px;
  }

  .pageHeader .langSwitch {
    order: 2;
    margin-left: auto;
  }

  .storeFamilyAlbumGrid {
    grid-template-columns: 1fr;
  }

  :root {
    --header-h: 76px;
  }

  .brand {
    gap: 10px;
    margin-left: 0;
    padding: 0;
  }

  .brand__logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .brand__text {
    width: auto;
    height: auto;
    gap: 1px;
  }

  .hero__titleLine--bottom {
    transform: none;
    letter-spacing: 0.01em;
    margin-top: 0;
  }

  .section {
    padding: 56px 0;
  }

  .grid--2,
  .grid--3,
  .casesGrid,
  .detailGrid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding: 28px 0 22px;
  }

  .hero__topBadges {
    gap: 8px;
  }

  .langSwitch {
    order: 2;
    margin-left: 0;
    margin-right: 0;
  }

  .langSwitch__select {
    min-width: 98px;
    height: 32px;
    font-size: 12px;
    padding: 0 8px;
  }

  .badge {
    min-height: 30px;
    padding: 4px 10px;
    font-size: 11px;
  }

  .hero__title {
    font-size: clamp(34px, 11vw, 46px);
    line-height: 0.98;
    letter-spacing: 0.02em;
  }

  .hero__subtitle {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.58;
    font-weight: 600;
  }

  .hero__subline {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
  }

  .hero__cta {
    gap: 10px;
    margin-top: 16px;
  }

  .section--evcGateway {
    padding-top: 24px;
  }

  .evcGateway {
    padding: 14px;
    border-radius: 20px;
    gap: 14px;
  }

  .evcGateway__media {
    min-height: 220px;
    border-radius: 16px;
  }

  .evcGateway__media img {
    transform: scale(var(--evc-zoom-start));
  }

  .evcGateway__media {
    --evc-zoom-start: 1.008;
    --evc-zoom-end: 1.045;
    --evc-zoom-cycle: 22s;
  }

  .evcGateway__zoomGlow,
  .evcGateway__zoomCore {
    display: none;
  }

  .evcGateway__cta .btn {
    flex-basis: calc(50% - 6px);
    min-width: 0;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 14px;
  }

  .evcGateway__badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .evcGateway__badges .badge {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .evcGateway__title {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.08;
  }

  .evcGateway__lead {
    font-size: 14px;
    line-height: 1.6;
  }

  .evcGateway__sub {
    font-size: 13px;
    line-height: 1.55;
  }

  .evcGateway__cta {
    gap: 10px;
  }

  .evcGateway__cta .btn {
    flex-basis: 100%;
  }

  #evcTraining .tag {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .expoFeature {
    padding: 16px;
  }

  .expoFeature__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .expoFeature__head .h3 {
    font-size: 19px;
  }

  .expoFeature__mediaGrid {
    margin: 8px 0 14px;
  }

  .expoDirectoryGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .homeNewsPanel {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .homeNewsPanel__actions .btn {
    width: 100%;
  }

  .storeNewsFeature {
    padding: 16px;
  }

  .storeNewsFeature__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .storeNewsFeature__head .h3 {
    font-size: 20px;
  }

  .storeNewsFeature__desc {
    margin: 10px 0 12px;
    font-size: 14px;
    line-height: 1.65;
  }

  .storeNewsFeature__actions {
    justify-content: stretch;
  }

  .storeNewsFeature__actions .btn {
    width: 100%;
  }

  .expoVideoFeature__card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
  }

  .expoVideoFeature__posterWrap {
    min-height: 180px;
    border-radius: 12px;
  }

  .expoVideoFeature__title {
    font-size: 17px;
  }

  .expoVideoFeature__desc {
    font-size: 13px;
    line-height: 1.6;
  }

  .expoVideoFeature__actions {
    justify-items: stretch;
  }

  .expoVideoFeature__btn {
    width: 100%;
  }

  .expoDirectoryGrid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .expoDirectoryCard__title {
    font-size: 15px;
  }

  .expoDirectoryCard__subtitle,
  .expoDirectoryCard__cta {
    font-size: 12px;
  }

  .expoDirGallery__thumbs {
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    max-height: 140px;
  }

  .expoDirGallery__thumb img {
    height: 60px;
  }

  .btn,
  .btn--lg {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 14px;
  }

  #services .card,
  #contact .grid--2 .card,
  #contact > .container > .card,
  #winols .card {
    padding: 20px;
  }

  .statsDock {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px;
  }

  .stat {
    padding: 10px 9px 8px;
  }

  .stat__value {
    font-size: 24px;
  }

  .stat__label {
    font-size: 11px;
  }

  .carousel {
    grid-template-columns: 1fr;
  }

  .carousel__btn {
    display: none;
  }

  .carousel__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }

  .carousel__track {
    width: max-content;
    transform: none !important;
  }

  .studentCard {
    flex-basis: min(84vw, 300px);
    scroll-snap-align: start;
  }

  .caseCard--carousel {
    flex-basis: min(84vw, 320px);
    scroll-snap-align: start;
  }

  .footer__right {
    width: 100%;
    gap: 6px;
  }

  .footerLink {
    font-size: 13px;
    padding: 8px 10px;
  }

  .scrollHint {
    display: none;
  }

  #winols .sectionHead .winolsLead {
    font-size: 14px;
    line-height: 1.6;
  }

  .mapChooser {
    width: 100%;
  }

  .mapChooser__trigger {
    width: 100%;
    min-width: 0;
  }

  .mapChooser__menu {
    position: static;
    z-index: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0;
  }

  .mapChooser__item {
    min-height: 38px;
    font-size: 13px;
  }

  #mapCoordsHint {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }

  #fxCanvas,
  .fxGlow {
    display: none;
  }

  /* Keep embedded videos visible when motion is reduced.
     Without this, the cinematic reveal layer stays opaque. */
  .modalVideoStage__reveal {
    display: none !important;
    opacity: 0 !important;
  }

  .modalVideoStage::before {
    opacity: 0.22;
  }
}
