:root {
  color: #4b3540;
  background: #ffffff;
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next Rounded", "Arial Rounded MT Bold", "Nunito", "Trebuchet MS", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --embi-reveal-color: #df6070;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #ffffff;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: #ffffff;
}

.page-reveal {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  pointer-events: none;
}

.page-reveal-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 100vmax var(--embi-reveal-color);
  transform: translate(-50%, -50%);
  animation: embi-center-reveal 960ms cubic-bezier(0.74, 0, 0.26, 1) both;
  will-change: width, height;
}

.motion-control {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  position: fixed;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  z-index: 10;
}

.motion-toggle {
  display: grid;
  width: 2rem;
  height: 2rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: #d94d5c;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.motion-toggle:hover {
  color: #c83c50;
  transform: translateY(-1px);
}

.motion-toggle:active {
  transform: translateY(0) scale(0.98);
}

.motion-toggle:focus-visible {
  outline: 0.18rem solid #6f7f3b;
  outline-offset: 0.22rem;
}

.motion-toggle-icon {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  color: inherit;
  transition: color 180ms ease;
}

.motion-toggle-icon svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.1;
}

.motion-icon-play,
.motion-icon-pause {
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 0.82, 0.24, 1);
}

.motion-icon-play {
  fill: currentColor;
  stroke: none;
  opacity: 0;
  transform: scale(0.55) rotate(-12deg);
}

.motion-icon-pause {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

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

.motion-toggle[aria-pressed="false"] .motion-toggle-icon {
  color: #8a6d79;
}

.motion-toggle[aria-pressed="false"] .motion-icon-play {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.motion-toggle[aria-pressed="false"] .motion-icon-pause {
  opacity: 0;
  transform: scale(0.55) rotate(12deg);
}

.shuffle-toggle {
  color: #8a6d79;
}

.shuffle-toggle:hover {
  color: #d94d5c;
}

.shuffle-toggle-icon svg {
  width: 1.16rem;
  height: 1.16rem;
  fill: none;
}

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

.site-shell {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
}

main {
  display: flex;
  flex: 1;
}

.hero {
  display: flex;
  width: min(68rem, calc(100% - 4rem));
  min-height: clamp(34rem, 70svh, 46rem);
  margin: auto;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 10vh, 7rem) 0 clamp(4.5rem, 10vh, 7rem);
  text-align: center;
}

.hero-copy {
  position: relative;
  max-width: 33rem;
  margin-inline: auto;
}

.hero-spacer {
  display: none;
}

.wordmark {
  position: relative;
  z-index: 101;
  width: min(100%, 25.5rem);
  margin: 0 auto;
  line-height: 0;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0.55rem 0.7rem rgba(104, 36, 50, 0.12));
  will-change: transform;
}

.intro-pending .wordmark img {
  visibility: hidden;
}

.hero-message {
  max-width: 25rem;
  margin: clamp(1.15rem, 2.3vw, 1.55rem) auto 0;
  color: #4b3540;
  font-size: clamp(1.38rem, 2.2vw, 1.92rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.13;
}

.hero-support {
  margin: 0.85rem auto 0;
  color: #8a6d79;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.floating-embis {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: visible;
  pointer-events: none;
  z-index: 20;
}

.floating-embi {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--size);
  max-width: none;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 0.75rem 0.8rem rgba(67, 52, 57, 0.12));
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  transform: translate3d(var(--x), var(--y), 0) translate3d(-50%, -50%, 0) rotate(var(--rotation));
  transition: transform 180ms ease, filter 180ms ease;
  will-change: transform;
}

.floating-embis.is-motion-enabled .floating-embi {
  transition: filter 180ms ease;
}

.floating-embi.is-hovered {
  filter: drop-shadow(0 1rem 1.1rem rgba(67, 52, 57, 0.19));
  transform: translate3d(var(--x), var(--y), 0) translate3d(-50%, -50%, 0) rotate(var(--rotation)) scale(1.16);
}

.floating-embi.is-dragging {
  cursor: grabbing;
  filter: drop-shadow(0 1.1rem 1.25rem rgba(67, 52, 57, 0.22));
  transition: none;
  z-index: 100;
}

.floating-embi.is-throwing {
  transition: none;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 0 clamp(1.25rem, 5vw, 4rem) 0.9rem;
}

.footer-inner {
  display: grid;
  max-width: 68rem;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.78fr);
  gap: clamp(1rem, 4vw, 3rem);
  border-top: 1px solid rgba(99, 51, 69, 0.16);
  padding-top: 0.62rem;
}

.footer-brand,
.footer-legal p,
.footer-legal address,
.footer-contact p {
  margin: 0;
}

.footer-legal,
.footer-contact {
  color: #8a727d;
  font-size: 0.78rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

@keyframes embi-center-reveal {
  from {
    width: 0;
    height: 0;
  }

  to {
    width: 200vmax;
    height: 200vmax;
  }
}

.footer-contact {
  justify-self: end;
  align-self: center;
  min-width: min(100%, 14rem);
}

.footer-brand {
  color: #6b3049;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.footer-legal .footer-brand + p {
  margin-top: 0.24rem;
}

.footer-contact p + p,
.footer-legal address {
  margin-top: 0.04rem;
}

.footer-legal address {
  font-style: normal;
  overflow-wrap: anywhere;
}

.email-link {
  color: #6b3049;
  font-weight: 700;
  text-decoration-color: rgba(107, 48, 73, 0.3);
  text-underline-offset: 0.18em;
}

.company-link {
  color: inherit;
  text-decoration-color: rgba(107, 48, 73, 0.28);
  text-underline-offset: 0.16em;
}

.company-link:hover {
  color: #d94d5c;
  text-decoration-color: #d94d5c;
}

.email-link:hover {
  color: #d94d5c;
  text-decoration-color: #d94d5c;
}

.email-link:focus-visible {
  outline: 0.18rem solid #6f7f3b;
  outline-offset: 0.25rem;
  border-radius: 0.15rem;
}

.company-link:focus-visible {
  outline: 0.18rem solid #6f7f3b;
  outline-offset: 0.2rem;
  border-radius: 0.15rem;
}

@media (max-width: 44rem) {
  .hero {
    width: min(100% - 2rem, 36rem);
    min-height: clamp(36rem, 76svh, 46rem);
    padding-top: clamp(4rem, 10vh, 6.5rem);
  }

  .wordmark {
    width: min(100%, 21rem);
  }

  .hero-message {
    max-width: 22rem;
    font-size: clamp(1.3rem, 6vw, 1.65rem);
  }

  .floating-embi {
    filter: drop-shadow(0 0.55rem 0.65rem rgba(67, 52, 57, 0.12));
  }

  .floating-embi.is-hovered {
    filter: drop-shadow(0 0.75rem 0.85rem rgba(67, 52, 57, 0.18));
  }

  .motion-toggle {
    width: 1.85rem;
    height: 1.85rem;
  }

  .motion-toggle-icon {
    width: 1.35rem;
    height: 1.35rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-top: 0.95rem;
  }

  .site-footer {
    padding-inline: 1rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }

  .footer-legal,
  .footer-contact {
    width: 100%;
    max-width: none;
    min-width: 0;
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .footer-contact {
    justify-self: start;
    align-self: start;
  }

  .footer-legal .footer-brand + p {
    margin-top: 0.38rem;
  }

  .footer-contact p + p,
  .footer-legal address {
    margin-top: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-reveal {
    display: none;
  }

  .floating-embi {
    transition: none;
  }
}
