@font-face {
  font-family: "SansPlomb";
  src: url("assets/sansplomb.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0d192b;
  --paper: #ece8e2;
  --reveal-ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background: radial-gradient(ellipse at 20% 35%, #faf8f4, #e4dcd3 80%);
}

.campaign {
  container-type: inline-size;
  position: relative;
  width: 100%;
  max-width: 1080px;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  overflow: clip;
  isolation: isolate;
  background: url("assets/backdrop.webp") center / 100% 100% no-repeat;
}

.headline {
  position: absolute;
  z-index: 2;
  top: 4.583333%;
  left: 8.333333%;
  margin: 0;
  font-family: "SansPlomb", Impact, sans-serif;
  font-size: 15.740741cqw;
  font-weight: 900;
  line-height: .847058824;
  letter-spacing: 0;
}

.headline-line,
.headline-reveal,
.headline-text {
  display: block;
}

.headline-line {
  clip-path: inset(-1.5cqw -2cqw -1.5cqw -2cqw);
}

.headline-text {
  width: max-content;
  white-space: nowrap;
  transform: scaleX(var(--line-scale, 1));
  transform-origin: left center;
}

.product-scene {
  position: absolute;
  z-index: 1;
  top: 31.25%;
  left: 0;
  width: 100%;
  margin: 0;
}

.product-image {
  display: block;
  width: 100%;
  height: auto;
}

.signature {
  position: absolute;
  z-index: 3;
  top: 95.677083%;
  left: 50%;
  width: 17.685185%;
  transform: translateX(-50%);
}

.brand {
  display: block;
  color: inherit;
  transform-origin: center;
  transition: transform 350ms var(--reveal-ease);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.brand:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 8px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brand:hover { transform: translateY(-3px) rotate(-2deg); }
}

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