:root {
  --bg: #0b1f31;
  --bg-deep: #11263a;
  --surface: rgba(10, 28, 46, 0.82);
  --surface-soft: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.18);
  --text: #f8fbff;
  --muted: #c5def2;
  --blue: #2fb8ff;
  --blue-strong: #0f8ee0;
  --green: #38dc7a;
  --shadow: 0 28px 50px rgba(4, 12, 25, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(47, 184, 255, 0.28), transparent 24%),
    linear-gradient(180deg, #1293d8 0%, #0f416b 18%, #0a1e31 100%);
  font-family: "Nunito", "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.14), transparent 16%),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.1), transparent 14%);
  opacity: 0.8;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(18, 87, 132, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 1.9rem;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(6, 23, 39, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-home {
  min-height: 76vh;
  display: grid;
  place-items: center;
}

.hero-page {
  min-height: 42vh;
  display: grid;
  place-items: center;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 34, 55, 0.24) 0%, rgba(8, 20, 31, 0.68) 100%),
    url("assets/mainmenu.png") center/cover no-repeat;
  filter: saturate(1.05);
  transform: scale(1.02);
}

.hero-page .hero-backdrop {
  opacity: 0.58;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 88px 0;
  text-align: center;
}

.hero-content h1,
.section-heading h2,
.card-feature h2,
.studio-copy h2,
.page-copy h2 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.02;
}

.hero-copy,
.card p,
.page-copy p,
.footer-grid p,
.footer-grid a,
.bullet-list,
.meta-list {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  width: min(760px, 100%);
  margin: 20px auto 0;
  font-size: 1.2rem;
}

.hero-media {
  width: min(760px, 100%);
  margin: 28px auto 0;
}

.hero-video {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(5, 12, 22, 0.85);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: #dff6ff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-actions,
.button-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: #111;
  color: #fff;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.24);
}

.button-light {
  background: #fff;
  color: #0d2142;
  box-shadow: 0 18px 30px rgba(6, 25, 42, 0.18);
}

.button-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: rgba(5, 15, 26, 0.18);
}

.section-heading {
  margin-bottom: 24px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.info-grid2,
.card-image img2,

.info-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.card-image img2 {
  width: 100%;
  height: auto;
  display: block;
}

.info-grid,
.feature-grid-four,
.promo-grid,
.split-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

.info-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.card-feature,
.mini-card,
.page-copy,
.contact-card {
  padding: 28px;
}

.card-feature h2,
.studio-copy h2,
.page-copy h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 16px;
}

.card-image {
  overflow: hidden;
  min-height: 100%;
}

.feature-preview {
  min-height: 100%;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bullet-list,
.meta-list {
  margin: 18px 0 0;
  padding-left: 20px;
}

.bullet-list li + li,
.meta-list li + li {
  margin-top: 10px;
}

.mini-card h3,
.contact-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.studio-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px;
}

.studio-logo img {
  width: 180px;
  border-radius: 28px;
  box-shadow: 0 22px 34px rgba(2, 12, 22, 0.28);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: #fff;
  font-weight: 800;
}

.page-stack {
  display: grid;
  gap: 20px;
}

.site-footer {
  padding: 36px 0 22px;
  background: rgba(7, 15, 28, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer-grid h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

@media (max-width: 960px) {
  .info-grid,
  .feature-grid-four,
  .split-grid,
  .three-up,
  .contact-grid,
  .footer-grid,
  .studio-card {
    grid-template-columns: 1fr;
  }

  .studio-logo {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 20px, 1120px);
  }

  .nav-shell {
    min-height: 78px;
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .brand {
    font-size: 1.35rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
  }

  .hero-home {
    min-height: 68vh;
  }

  .hero-content {
    padding: 74px 0 60px;
  }

  .hero-content h1,
  .section-heading h2,
  .card-feature h2,
  .studio-copy h2,
  .page-copy h2 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-media {
    margin-top: 22px;
  }

  .button,
  .button-row .button {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .card,
  .card-feature,
  .mini-card,
  .page-copy,
  .contact-card {
    border-radius: 24px;
  }
}
