:root {
  --bg: #0c0718;
  --panel: #1a122b;
  --panel-2: #150c1e;
  --text: #ffffff;
  --muted: #bdb3d9;
  --primary: #480d87;
  --secondary: #ff39b3;
  --link: #ffffff;
  --linkhover: #140129;
  --radius: 4px;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 500px at 80% -50%, rgba(177, 92, 255, .25), transparent 60%),
    radial-gradient(900px 500px at 10% -60%, rgba(255, 57, 179, .2), transparent 50%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1 {
  font-weight: 800;
  font-size: 3rem;
}

a {
  color: var(--link);
  text-decoration: underline;

}

a:hover {
  text-decoration: none;
  outline: 0;
}

a:focus-visible {
  text-decoration: none;
  color: var(--linkhover);
  background: var(--text);
  outline: 0;
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 66px;
  display: flex;
  align-items: center;
  background: rgba(12, 7, 24, .55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .35s ease, transform .35s ease, background .25s ease;
  pointer-events: none;
}

.lang-wrapper {
  @media (max-width:1360px) {
    margin-right: 120px;
  }

  @media (max-width:560px) {
    display: none;
  }
}

.nav.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  width: 100%;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  letter-spacing: .6px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .35s ease .05s, transform .35s ease .05s;
}

.nav.show .brand {
  opacity: 1;
  transform: none;
}

.brand .logo {
  width: 270px;

  @media (max-width:560px) {
    width: 180px;
  }

}

.menu {
  display: none !important;
}

.burger-fixed {
  position: fixed;
  top: .725rem;
  right: 4rem;
  z-index: 80;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: .25rem;
  border: 0;
  cursor: pointer;
  color: #fff;
  display: flex;
  gap: .5rem;
  background: transparent;
  transition: transform .15s ease, box-shadow .2s ease;

  @media (max-width:1360px) {
    right: 2rem;
  }
}

.burger-fixed:active {
  transform: translateY(1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

.burger-icon {
  font-size: clamp(32px, 2.2vw, 28px);
  line-height: 1;
}

/* HERO WITH PARALLAX */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  --parallax: 0px;

  @media (min-width:500px) {
    min-height: 70vh;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url(/img/studio-purple_mobile.webp) center/cover no-repeat;

  margin-top: -300px;
  transform: translateY(var(--parallax)) scale(1);
  will-change: transform;
  backface-visibility: hidden;

  @media (min-width:500px) {
    background: url(/img/studio-purple.webp) center/cover no-repeat;
  }
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 140px;
  z-index: 1;
  background: url(/img/topSection.png) bottom left / auto 76px repeat-x, linear-gradient(to top, rgba(142, 0, 255, 0.6) 0%, rgba(142, 0, 255, 0.2) 60%, rgba(142, 0, 255, 0) 100%);

  @media (min-width:500px) {
    height: 200px;
  }
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4.25rem 1rem 160px;
  display: flex;
  flex-direction: column;
  align-items: center;

  @media (min-width:500px) {
    padding: 80px 22px 70px;
  }
}

.center-logo {
  width: 140px;
  margin: auto;
  margin-bottom: 9px;

  @media (min-width:500px) {
    width: 200px;
  }
}

.eyebrow {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .85rem
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
  margin: .4rem 0 1rem;
  line-height: 1.12;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-align: center;
  font-weight: 900;
  text-shadow: 0 2px 35px rgba(0, 0, 0, .55)
}

.tagline {
  max-width: 680px;
}

.cta {
  margin-top: 28px;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap
}

.btn {

  background-color: var(--primary);
  border: 0;
  color: white;
  font-weight: 800;
  letter-spacing: .03em;
  padding: 14px 22px;
  cursor: pointer;
  display: block;
  width: fit-content;
  border-radius: var(--radius);
  text-decoration: none;
}

.btn:hover {
  background-color: transparent;
  outline: 2px solid white;
}

.btn:focus-visible {
  background-color: white;
  outline: 2px solid var(--linkhover);
  color: var(--linkhover);
}

.btn:focus-visible:hover {
  background-color: white;
  outline: 2px solid var(--linkhover);
  color: var(--linkhover);
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: none
}

section {
  padding: 2rem 1rem;

  @media (min-width:500px) {
    padding: 6rem 1.5rem;
  }
}

.container {
  max-width: 1100px;
  margin: 0 auto
}

.container-wide {
  max-width: 2360px;
  margin: 0 auto;
}

h2.section-title {
  font-size: 1.5rem;
  line-height: 2rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 0 0 1rem;

  @media (min-width:500px) {
    font-size: 2.5rem;
    line-height: 2.8rem;
  }
}

.lead {
  color: var(--white);
  max-width: 800px
}

.band {
  background-color: var(--panel-2);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center
}

@media (max-width:980px) {
  .split {
    grid-template-columns: 1fr
  }
}

.card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  padding: 24px;
  border-radius: var(--radius);
}

.card h2.section-title {
  margin: 0;
}

/* SERVICES */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width:900px) {
  .grid-3 {
    grid-template-columns: 1fr
  }
}

.service {
  position: relative
}

.service h3 {
  margin: 0 0 8px
}

.service p {
  color: var(--white)
}

.service .icon {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  opacity: .85;
  display: grid;
  place-items: center;
  font-weight: 900;
  filter: brightness(0) invert(1);
}

.gallery-container {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  justify-content: center;
  max-width: 2360px;
  margin: 0 auto;

  @media (max-width:560px) {
    flex-direction: column;
  }

}

.gallery-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact {
  background: linear-gradient(180deg, rgba(177, 92, 255, .12) 0, rgba(255, 57, 179, .08) 100%), var(--panel)
}

.contact .card {
  display: grid;
  place-items: start
}

.contact .mini {
  font-size: .95rem;
}

/* GEAR */
.gear {
  background: var(--panel-2)
}

.gear .columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

@media (max-width:1000px) {
  .gear .columns {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:560px) {
  .gear .columns {
    grid-template-columns: 1fr
  }
}

.gear h4 {
  margin: 0 0 10px
}

.gear ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.9
}

/* FOOTER */
footer {
  padding: 46px 22px;
  text-align: center;
  background: transparent
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(.98);
  filter: blur(2px)
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity .8s ease, transform .8s ease, filter .8s ease
}

:target::before {
  content: "";
  display: block;
  height: 78px;
  margin-top: -78px;
  visibility: hidden
}

.backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .25s ease;
}

.backdrop.show {
  opacity: 1;
  display: block;
}

.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
  width: min(330px, 88vw);
  z-index: 80;
  padding: 22px;
  background: rgba(12, 7, 24, .97);
  border-left: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow);
  transition: right .3s ease;
}

.drawer.open {
  right: 0;
}

.drawer a {
  display: flex;
  padding: 14px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.drawer a img {
  margin-right: .5rem;
  filter: brightness(0) invert(1);
  width: 1rem;
  max-width: 1rem;
}

#english-lang.hidden,
#swedish-lang.hidden {
  display: none;
}