@font-face {
  font-family: "Google Sans Flex";
  src: url("/assets/fonts/GoogleSansFlex-VariableFont_GRAD,ROND,opsz,slnt,wdth,wght.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --dept-bg: #08090a;
  --dept-fg: #f5f4f0;
  --vizn-bg: #f6f4ee;
  --vizn-fg: #1c1a16;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--dept-bg);
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--dept-bg);
  font-family: "Google Sans Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
  padding: clamp(1.5rem, 6vw, 4rem);
}

.hero--dept {
  flex: 1 1 auto;
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--dept-bg);
}

.hero--dept.is-nav {
  flex: 0 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 2rem) 0.75rem;
}

.hero.hero--vizn {
  flex: 0 0 0px;
  flex-direction: column;
  gap: clamp(0.5rem, 2vw, 1rem);
  padding: 0;
  overflow: hidden;
  background: var(--dept-bg);
  opacity: 0;
}

.brands-heading {
  margin: 0;
  color: var(--dept-fg);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.hero--vizn.is-visible {
  flex: 1 1 auto;
  padding: clamp(1.5rem, 6vw, 4rem);
  padding-top: clamp(2.5rem, 8vh, 5rem);
  overflow: visible;
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .hero--dept {
    transition: padding 0.9s cubic-bezier(0.65, 0, 0.35, 1), flex-grow 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  }

  .logo-stage--dept {
    transition: max-width 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  }

  .hero--vizn {
    transition: opacity 1s ease;
  }
}

.brand-link {
  display: flex;
  justify-content: center;
  width: 100%;
  cursor: pointer;
  outline-offset: 8px;
}

.vizn-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 560px;
  background: transparent;
  border-radius: 32px;
  padding: clamp(1.5rem, 5vw, 3rem);
  gap: clamp(0.5rem, 2vw, 1rem);
}

.logo-stage {
  width: 100%;
}

.logo-stage svg {
  display: block;
  width: 100%;
  height: auto;
}

.logo-stage--dept {
  max-width: 720px;
}

.hero--dept.is-nav .logo-stage--dept {
  max-width: 220px;
}

.logo-stage--vizn {
  max-width: 480px;
}

.vizn-wordmark {
  display: block;
  width: clamp(140px, 40vw, 240px);
  height: auto;
}

.site-footer {
  flex: 0 0 auto;
  background: var(--dept-bg);
  color: var(--dept-fg);
  text-align: center;
  padding: clamp(1rem, 4vw, 1.5rem) 1rem;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  line-height: 1.6;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 420px) {
  .hero {
    padding: 1.5rem;
  }
}
