@font-face {
  font-family: Marcellus;
  src: url('assets/marcellus.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --wine: #790d29;
  --ivory: #f7f2e9;
  --inset: 24px;
  color: var(--ivory);
  background: var(--wine);
  font-family: Marcellus, Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-width: 0; }
body { min-height: 100vh; min-height: 100svh; min-height: 100dvh; }
::selection { color: var(--wine); background: var(--ivory); }
.campaign {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: max(35px, calc(env(safe-area-inset-top) + 12px));
  padding-right: max(var(--inset), env(safe-area-inset-right));
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
  padding-left: max(var(--inset), env(safe-area-inset-left));
}
.campaign-media, .campaign-media picture, .film-poster, .campaign-film, .campaign-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.campaign-media { z-index: -3; background: var(--wine); }
.film-poster, .campaign-film { display: block; object-fit: cover; object-position: center; }
.campaign-film { opacity: 0; transition: opacity 650ms cubic-bezier(.22, 1, .36, 1); }
.has-film .campaign-film { opacity: 1; }
.campaign-shade {
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(31 8 13 / 42%) 0%, rgb(31 8 13 / 0%) 32%, rgb(31 8 13 / 0%) 61%, rgb(38 4 15 / 82%) 100%);
}
.brand { display: flex; align-items: flex-start; justify-content: center; }
.brand-logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  filter: grayscale(1) invert(1) contrast(1.8);
  mix-blend-mode: screen;
}
.campaign-footer { display: block; font-size: clamp(2.75rem, 11.5vw, 3.125rem); line-height: 1.1; overflow-wrap: anywhere; }
h1 {
  display: inline;
  margin: 0;
  color: var(--ivory);
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  letter-spacing: .01em;
  text-transform: none;
}
h1 span { display: inline; }
.motion-control {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  vertical-align: baseline;
  margin-left: 3px;
  width: 50px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.motion-control:disabled { opacity: 1; cursor: default; }
.motion-control:focus-visible { outline: 1px solid var(--ivory); outline-offset: 5px; }
.waiting-dots { display: inline-flex; letter-spacing: .025em; }
.waiting-dots span { display: inline-block; }
.has-motion .waiting-dots span { animation: waiting-pulse 3.2s cubic-bezier(.4, 0, .2, 1) infinite; }
.has-motion .waiting-dots span:nth-child(2) { animation-delay: .22s; }
.has-motion .waiting-dots span:nth-child(3) { animation-delay: .44s; }
@keyframes waiting-pulse {
  0%, 42%, 100% { opacity: .5; }
  21% { opacity: 1; }
}
@media (min-width: 701px) {
  :root { --inset: clamp(32px, 4vw, 72px); }
  .campaign { padding-top: max(var(--inset), calc(env(safe-area-inset-top) + 12px)); padding-bottom: calc(34px + env(safe-area-inset-bottom)); }
  .brand-logo { width: 270px; }
  .campaign-footer { font-size: clamp(2.75rem, 4vw, 4rem); }
  .headline-break { display: none; }
  .campaign-shade { background: linear-gradient(180deg, rgb(31 8 13 / 42%) 0%, rgb(31 8 13 / 2%) 32%, rgb(31 8 13 / 0%) 57%, rgb(38 4 15 / 75%) 100%); }
}
@media (max-height: 480px) {
  :root { --inset: 26px; }
  .campaign { padding-top: max(24px, calc(env(safe-area-inset-top) + 12px)); padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .brand-logo { width: 180px; }
  .campaign-footer { font-size: clamp(2rem, 5vw, 2.5rem); }
  .headline-break { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .campaign-film { transition: none; }
}
