:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f6f4;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background: #f5f6f4;
}

.portal {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.business {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 7rem);
  -webkit-tap-highlight-color: transparent;
}

.business::before {
  position: absolute;
  z-index: -1;
  width: min(70vmin, 46rem);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  opacity: 0;
  filter: blur(2px);
  transform: scale(0.72);
  transition: opacity 500ms ease, transform 700ms cubic-bezier(.2, .75, .25, 1);
}

.business--vibe::before {
  background: radial-gradient(circle, rgb(244 199 181 / 42%) 0%, rgb(223 59 36 / 12%) 45%, transparent 72%);
}

.business--mammakraft::before {
  background: radial-gradient(circle, rgb(190 191 168 / 45%) 0%, rgb(190 191 168 / 12%) 47%, transparent 72%);
}

.business--vibe::after {
  position: absolute;
  top: 12%;
  right: 0;
  bottom: 12%;
  width: 1px;
  background: rgb(48 42 38 / 12%);
  content: "";
}

.logo-frame {
  display: grid;
  place-items: center;
  transition: transform 500ms cubic-bezier(.2, .75, .25, 1), filter 500ms ease;
}

.logo-frame--vibe {
  width: min(40vw, 29rem);
}

.logo-frame--mammakraft {
  width: min(19vw, 15rem);
}

.logo {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.logo--mammakraft {
  filter: drop-shadow(0 1.2rem 2rem rgb(52 54 45 / 8%));
}

.business:hover::before,
.business:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.business:hover .logo-frame,
.business:focus-visible .logo-frame {
  transform: translateY(-0.3rem) scale(1.035);
  filter: drop-shadow(0 1.2rem 2.2rem rgb(48 42 38 / 10%));
}

.business:focus-visible {
  z-index: 2;
  outline: 3px solid #3b1a0c;
  outline-offset: -6px;
}

@media (max-width: 699px) {
  .portal {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .business {
    min-height: 50vh;
    min-height: 50svh;
    padding: clamp(2rem, 9vw, 4rem);
  }

  .business--vibe::after {
    top: auto;
    right: 12%;
    bottom: 0;
    left: 12%;
    width: auto;
    height: 1px;
  }

  .logo-frame--vibe {
    width: min(76vw, 25rem);
  }

  .logo-frame--mammakraft {
    width: min(42vw, 13rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .business::before,
  .logo-frame {
    transition: none;
  }
}
