:root {
  --bg-dark: #0f1012;
  --text-main: #f2f0eb;
  --text-muted: #c9c1b4;
  --ease-architectural: cubic-bezier(0.77, 0, 0.175, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: var(--bg-dark);
  color: var(--text-main);
}

body {
  min-height: 100vh;
  overflow: hidden;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 300;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("../images/hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02) translate3d(-0.4%, -0.2%, 0);
  animation: heroBackgroundCycle 77600ms ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(70% 56% at 50% 35.5%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.28) 78%),
    linear-gradient(180deg, rgba(10, 10, 12, 0.12), rgba(10, 10, 12, 0.42));
}

.coming-soon {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

.background-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  will-change: opacity, transform;
}

.background-layer--blue-hour {
  opacity: 0;
  background-image: url("../images/blue-hour.png");
  transform: scale(1.02) translate3d(0.4%, 0.25%, 0);
  animation: blueHourBackgroundCycle 77600ms ease-in-out infinite;
}

.coming-soon__content {
  min-height: 100vh;
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  text-align: center;
}

.verna-wordmark {
  position: fixed;
  top: 35.5%;
  left: 50%;
  z-index: 4;
  width: min(46vw, 560px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.verna-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1.6rem 5rem rgba(0, 0, 0, 0.36));
}

.coming-soon__message {
  position: fixed;
  bottom: 1.18rem;
  left: 50%;
  z-index: 4;
  width: min(880px, 100%);
  padding: 0 2rem;
  transform: translateX(-50%);
}

.coming-soon__message p {
  margin: 0;
}

.coming-soon__line {
  position: fixed;
  top: 60vh;
  left: 50%;
  width: min(880px, 100%);
  padding: 0 2rem;
  transform: translateX(-50%);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.18rem, 2vw, 1.58rem);
  line-height: 1.45;
  color: rgba(235, 230, 220, 0.84);
}

.coming-soon__agency,
.coming-soon__status {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-right: -0.2em;
}

.coming-soon__agency {
  font-size: clamp(0.64rem, 0.95vw, 0.78rem);
  color: rgba(242, 240, 235, 0.72);
}

.coming-soon__status {
  margin-top: 0.34rem;
  font-size: clamp(0.62rem, 0.86vw, 0.72rem);
  color: rgba(201, 193, 180, 0.76);
}

.language-switcher {
  position: fixed;
  top: 1.02rem;
  right: 1.18rem;
  z-index: 5;
  display: flex;
  gap: 0.38rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease-architectural), border-color 260ms var(--ease-architectural);
}

body.language-visible .language-switcher,
.language-switcher:hover,
.language-switcher:focus-within {
  opacity: 1;
  pointer-events: auto;
}

.language-switcher__item,
.audio-toggle {
  appearance: none;
  display: grid;
  place-items: center;
  min-width: 0;
  height: auto;
  padding: 0.2rem 0.32rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.18rem;
  background: rgba(8, 9, 12, 0.34);
  color: rgba(255, 255, 255, 0.88);
  font-family: "Inter", Arial, sans-serif;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition:
    background 240ms var(--ease-architectural),
    border-color 240ms var(--ease-architectural),
    opacity 240ms var(--ease-architectural);
}

.language-switcher__item {
  cursor: pointer;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.language-switcher__item:hover,
.language-switcher__item:focus-visible,
.language-switcher__item.is-active {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.44);
}

.audio-toggle {
  position: fixed;
  right: 1.18rem;
  bottom: 0.56rem;
  z-index: 5;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  min-width: 0;
  color: rgba(226, 218, 205, 0.9);
  cursor: pointer;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.05rem;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: opacity 420ms var(--ease-architectural), color 420ms var(--ease-architectural), transform 420ms var(--ease-architectural);
}

.audio-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.18rem;
  height: 1.5px;
  border-radius: 999px;
  background: rgba(232, 223, 210, 0.92);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-42deg);
}

.audio-toggle:hover,
.audio-toggle:focus-visible,
.audio-toggle.is-playing {
  background: transparent;
  border-color: transparent;
  color: rgba(255, 255, 255, 1);
  opacity: 0.9;
}

.audio-toggle.is-muted {
  opacity: 0.32;
  color: rgba(226, 218, 205, 0.72);
}

.audio-toggle.is-muted::after {
  opacity: 0.96;
}

.info-toggle {
  appearance: none;
  position: fixed;
  right: 3.16rem;
  bottom: 0.56rem;
  z-index: 7;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(226, 218, 205, 0.82);
  cursor: pointer;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.22rem;
  font-style: italic;
  line-height: 1;
  transition: opacity 420ms var(--ease-architectural), color 420ms var(--ease-architectural);
}

.info-toggle:hover,
.info-toggle:focus-visible,
.info-toggle.is-open {
  outline: none;
  color: rgba(255, 255, 255, 1);
  opacity: 0.92;
}

.studio-info-panel {
  position: fixed;
  right: 1.18rem;
  bottom: 3.65rem;
  z-index: 8;
  width: min(390px, calc(100vw - 2.36rem));
  max-height: min(620px, calc(100vh - 5.3rem));
  overflow: auto;
  padding: 1.05rem 1.05rem 1.18rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.18rem;
  background: rgba(11, 12, 14, 0.58);
  color: rgba(242, 240, 235, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1.8rem 4.8rem rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0.55rem, 0);
  transition:
    opacity 420ms var(--ease-architectural),
    transform 420ms var(--ease-architectural),
    border-color 420ms var(--ease-architectural);
}

.studio-info-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  border-color: rgba(255, 255, 255, 0.24);
}

.studio-info-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.05rem;
}

.studio-info-panel__header p,
.studio-info-panel__eyebrow {
  margin: 0;
  color: rgba(214, 206, 191, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.studio-info-panel__close {
  appearance: none;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 0;
  background: transparent;
  color: rgba(226, 218, 205, 0.82);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.studio-info-panel__close:hover,
.studio-info-panel__close:focus-visible {
  outline: none;
  color: rgba(255, 255, 255, 1);
}

.studio-info-panel__body h2 {
  margin: 0.25rem 0 0.8rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.55rem, 3.8vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
}

.studio-info-panel__body p {
  margin: 0;
  color: rgba(235, 230, 220, 0.78);
  font-size: 0.9rem;
  line-height: 1.6;
}

.studio-info-list {
  display: grid;
  gap: 0.72rem;
  margin: 1.15rem 0 0;
}

.studio-info-list div {
  display: grid;
  gap: 0.18rem;
}

.studio-info-list dt {
  color: rgba(214, 206, 191, 0.62);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.studio-info-list dd {
  margin: 0;
  color: rgba(242, 240, 235, 0.84);
  font-size: 0.86rem;
  line-height: 1.5;
}

.studio-info-list a {
  color: inherit;
  text-decoration: none;
}

.studio-info-list a:hover,
.studio-info-list a:focus-visible {
  outline: none;
  color: rgba(255, 255, 255, 1);
}

.hero-rays {
  position: fixed;
  inset: -8%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.64;
  background:
    radial-gradient(62% 92% at 8% 10%, rgba(255, 176, 92, 0.2), rgba(255, 176, 92, 0) 67%),
    radial-gradient(56% 78% at 82% 14%, rgba(255, 150, 70, 0.16), rgba(255, 150, 70, 0) 72%),
    linear-gradient(112deg, rgba(255, 172, 88, 0.18) 0%, rgba(255, 172, 88, 0.06) 24%, rgba(255, 172, 88, 0) 56%),
    linear-gradient(126deg, rgba(255, 154, 74, 0.14) 0%, rgba(255, 154, 74, 0.04) 26%, rgba(255, 154, 74, 0) 58%);
  filter: blur(5px) saturate(1.2) brightness(1.05);
  transform: translate3d(0, 0, 0) scale(1.02);
  animation: heroRaysDrift 18000ms ease-in-out infinite alternate,
             heroRaysPulse 18000ms ease-in-out infinite;
  will-change: transform, opacity, filter;
}

.hero-rays::after {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
  mix-blend-mode: plus-lighter;
  background:
    radial-gradient(50% 42% at 18% 14%, rgba(255, 155, 74, 0.18), rgba(255, 155, 74, 0) 74%),
    radial-gradient(36% 28% at 30% 18%, rgba(255, 136, 58, 0.14), rgba(255, 136, 58, 0) 78%),
    linear-gradient(120deg, rgba(255, 146, 66, 0.1) 0%, rgba(255, 146, 66, 0) 54%);
  opacity: 0;
  filter: blur(7.4px) saturate(1.08) brightness(1.01);
  transform: translate3d(-1.2%, -0.8%, 0) scale(1.02);
  animation: heroSunBreak 70000ms ease-in-out infinite;
}

.hero-birds {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.bird-flock {
  position: absolute;
  display: block;
  width: 150px;
  height: 40px;
  opacity: 0;
  filter: blur(1.1px) contrast(1.02) saturate(0.66);
  will-change: transform, opacity;
}

.bird {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(18, 24, 30, 0.72);
  opacity: 0.68;
  --bird-bob: 1.4px;
  animation: birdMicroBob 2600ms ease-in-out infinite alternate;
}

.bird--1 { left: 8px; top: 20px; animation-duration: 2300ms; animation-delay: -180ms; --bird-bob: 1.6px; }
.bird--2 { left: 24px; top: 16px; animation-duration: 2800ms; animation-delay: -620ms; --bird-bob: 1.9px; }
.bird--3 { left: 42px; top: 24px; animation-duration: 2500ms; animation-delay: -320ms; --bird-bob: 1.7px; }
.bird--4 { left: 60px; top: 14px; animation-duration: 3000ms; animation-delay: -760ms; --bird-bob: 2.1px; }
.bird--5 { left: 80px; top: 22px; animation-duration: 2400ms; animation-delay: -420ms; --bird-bob: 1.5px; }
.bird--6 { left: 98px; top: 18px; animation-duration: 2700ms; animation-delay: -980ms; --bird-bob: 1.8px; }
.bird--7 { left: 116px; top: 26px; animation-duration: 2550ms; animation-delay: -540ms; --bird-bob: 1.6px; }
.bird--8 { left: 132px; top: 15px; animation-duration: 2900ms; animation-delay: -840ms; --bird-bob: 2px; }
.bird--9 { left: 144px; top: 21px; animation-duration: 2450ms; animation-delay: -260ms; --bird-bob: 1.7px; }

.bird-flock--a {
  top: 22%;
  left: -22%;
  transform: scale(0.54);
  animation: heroBirdsFlockPass 66000ms linear infinite;
  animation-delay: 3s;
}

@keyframes heroRaysDrift {
  0% {
    transform: translate3d(-2.6%, -1.8%, 0) scale(1.03) rotate(-0.9deg);
    filter: blur(4.8px) saturate(1.2) brightness(0.9);
  }

  50% {
    transform: translate3d(1.8%, 1.2%, 0) scale(1.1) rotate(0.4deg);
    filter: blur(4.2px) saturate(1.42) brightness(1.32);
  }

  100% {
    transform: translate3d(3.3%, 2.2%, 0) scale(1.14) rotate(1.05deg);
    filter: blur(5.1px) saturate(1.3) brightness(1.14);
  }
}

@keyframes heroRaysPulse {
  0%,
  100% {
    opacity: 0.08;
  }

  14% {
    opacity: 0.18;
  }

  38% {
    opacity: 0.52;
  }

  56% {
    opacity: 0.56;
  }

  74% {
    opacity: 0.2;
  }

  88% {
    opacity: 0.1;
  }
}

@keyframes heroSunBreak {
  0%,
  100% {
    opacity: 0;
    filter: blur(8px) brightness(0.98);
    transform: translate3d(-1.2%, -0.8%, 0) scale(1.02);
  }

  24% {
    opacity: 0;
  }

  34% {
    opacity: 0.08;
    filter: blur(7px) brightness(1.06);
  }

  46% {
    opacity: 0.12;
    filter: blur(6.2px) brightness(1.14);
    transform: translate3d(-0.55%, -0.45%, 0) scale(1.04);
  }

  58% {
    opacity: 0.06;
    filter: blur(7.2px) brightness(1.03);
  }

  70% {
    opacity: 0;
  }
}

@keyframes heroBackgroundCycle {
  0% {
    opacity: 1;
    transform: scale(1.02) translate3d(-0.4%, -0.2%, 0);
  }

  43.814% {
    opacity: 1;
    transform: scale(1.08) translate3d(-1.3%, -0.8%, 0);
  }

  50% {
    opacity: 0;
    transform: scale(1.14) translate3d(-2.4%, -1.6%, 0);
  }

  50.001%,
  93.814% {
    opacity: 0;
    transform: scale(1.02) translate3d(-0.4%, -0.2%, 0);
  }

  100% {
    opacity: 1;
    transform: scale(1.02) translate3d(-0.4%, -0.2%, 0);
  }
}

@keyframes blueHourBackgroundCycle {
  0%,
  43.814% {
    opacity: 0;
    transform: scale(1.02) translate3d(0.4%, 0.25%, 0);
  }

  50% {
    opacity: 1;
    transform: scale(1.02) translate3d(0.4%, 0.25%, 0);
  }

  71.907% {
    opacity: 1;
    transform: scale(1.08) translate3d(-0.7%, -0.45%, 0);
  }

  93.814% {
    opacity: 1;
    transform: scale(1.14) translate3d(-1.8%, -1.15%, 0);
  }

  100% {
    opacity: 0;
    transform: scale(1.14) translate3d(-1.8%, -1.15%, 0);
  }
}

@keyframes heroBirdsFlockPass {
  0% {
    transform: translate3d(0, 0.8vh, 0) scale(0.54) rotate(-0.35deg);
    opacity: 0;
  }

  4% {
    opacity: 0.72;
  }

  28% {
    transform: translate3d(35vw, 0.1vh, 0) scale(0.56) rotate(0.08deg);
    opacity: 0.7;
  }

  52% {
    transform: translate3d(66vw, -0.9vh, 0) scale(0.58) rotate(-0.06deg);
    opacity: 0.66;
  }

  76% {
    transform: translate3d(98vw, -1.2vh, 0) scale(0.6) rotate(0.05deg);
    opacity: 0.56;
  }

  94% {
    transform: translate3d(118vw, -0.6vh, 0) scale(0.62) rotate(-0.04deg);
    opacity: 0.44;
  }

  98% {
    opacity: 0.22;
  }

  100% {
    transform: translate3d(125vw, -0.5vh, 0) scale(0.64) rotate(0.03deg);
    opacity: 0;
  }
}

@keyframes birdMicroBob {
  0% {
    transform: translateY(calc(var(--bird-bob, 1.4px) * -1));
  }

  100% {
    transform: translateY(var(--bird-bob, 1.4px));
  }
}

@media (max-width: 720px) {
  .verna-wordmark {
    width: min(64vw, 360px);
  }

  .coming-soon__message {
    bottom: 0.82rem;
    padding: 0 1.35rem;
  }

  .coming-soon__line {
    top: 58vh;
    padding: 0 1.35rem;
  }

  .audio-toggle {
    right: 1.18rem;
    bottom: 0.24rem;
    width: 1.96rem;
    height: 1.96rem;
    font-size: 0.88rem;
  }

  .info-toggle {
    right: 3rem;
    bottom: 0.24rem;
    width: 1.96rem;
    height: 1.96rem;
  }

  .studio-info-panel {
    right: 1rem;
    bottom: 3.1rem;
    width: calc(100vw - 2rem);
    max-height: calc(100vh - 4.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
