@font-face {
  font-family: 'Reload Affiche';
  src: url('polices/reload-affiche.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root[data-motion-preference] {
  color-scheme: dark;
  --affiche-display: 'Reload Affiche', 'Barlow Condensed', Impact, sans-serif;
  --affiche-body: 'DM Sans', Arial, sans-serif;
  --affiche-black: #1b1b1b;
  --affiche-pink: #fb087c;
  --affiche-red: #ff213c;
  --affiche-white: #fffaf9;
}
.studio-motion.affiche {
  --bg: var(--affiche-black);
  --header: #151515;
  --ink: var(--affiche-white);
  --muted: #e6dfe2;
  --accent: #ff729f;
  --accent-hover: #fff;
  --surface: #222;
  --surface-raised: #303030;
  --line: #686064;
  --line-strong: #eee6e9;
  --button-text: #fff;
  --button-radius: 99rem;
  --display: var(--affiche-display);
  --heading-weight: 400;
  --body: var(--affiche-body);
  --radius: 0;
  font-family: var(--affiche-body);
  background: var(--bg);
  color: var(--ink);
}
.affiche main { background: var(--affiche-black); }
.affiche ::selection { color: white; background: #ae0055; }
.affiche :focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.affiche .skip-link { position: fixed; background: #181818; color: white; }
.affiche .skip-link:focus-visible { outline-color: white; z-index: 50; }

.studio-motion.affiche .site-header {
  position: relative;
  z-index: 15;
  top: auto;
  color: var(--affiche-white);
  background: #171717;
  border: 0;
  --ink: #fffaf9;
  --muted: white;
  --accent: #ff7da3;
}
.studio-motion.affiche .affiche-header-home {
  position: absolute;
  inset: 0 0 auto;
  background: linear-gradient(180deg, rgb(23 23 23 / .92), rgb(23 23 23 / .84));
}
.affiche .site-header .header-grid {
  display: grid;
  width: calc(100% - 4vw);
  max-width: none;
  min-height: clamp(3.7rem,5.65vw,5.3rem);
  padding: .25rem 0;
  grid-template-columns: 1fr auto auto;
  column-gap: clamp(.85rem,1.45vw,2.15rem);
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.affiche .site-header .brand, .affiche .site-footer .brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  color: var(--affiche-white);
  text-decoration: none;
}
.affiche .brand .brand-mark { display: none; }
.affiche .brand .brand-name {
  font: 400 clamp(1.65rem,2.55vw,2.75rem)/1 var(--affiche-display);
  text-transform: uppercase;
  letter-spacing: -.015em;
}
.affiche .site-header .main-nav {
  grid-column: auto;
  grid-row: auto;
  display: flex;
  gap: clamp(1.35rem,2.65vw,3.1rem);
  justify-content: end;
  padding: 0;
}
.affiche .site-header .main-nav a {
  position: relative;
  white-space: nowrap;
  color: #fffaf9;
  font: 500 clamp(.91rem,1.12vw,1.05rem)/1.2 var(--affiche-body);
  padding: .7rem 0;
  text-decoration: none;
}
.affiche .site-header .main-nav a:is([aria-current],:hover,:focus-visible) {
  color: #ff93b3;
}
.affiche .site-header .main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + .64em);
  bottom: auto;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
}
.affiche .site-header .main-nav a:is([aria-current],:hover,:focus-visible)::after { transform: scaleX(1); }
.affiche .site-header .header-actions { grid-column: auto; grid-row: auto; }
.affiche .site-header .header-cta, .affiche .button, .affiche .affiche-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.55rem;
  min-height: 2.75rem;
  color: #fff;
  background: transparent;
  border: 1.5px solid currentColor;
  border-radius: 100vw;
  box-shadow: none;
  font: 700 .94rem/1.1 'Barlow Condensed', Arial, sans-serif;
  letter-spacing: .015em;
  text-transform: uppercase;
  text-decoration: none;
}
.affiche .site-header .header-cta::after, .affiche .button::after { content: none; }
.affiche .site-header .header-cta:is(:hover,:active,:focus-visible,[aria-current],[data-reload-press]),
.affiche .button:is(:hover,:focus-visible,:active,[data-reload-press]),
.affiche .affiche-menu[aria-expanded=true] {
  background: white;
  border-color: white;
  color: #1b1b1b;
}
.affiche .site-header :focus-visible { outline-color: white; }
.affiche .header-cta .arrow, .affiche .button .arrow { display: none; }
.affiche .site-header .studio-progress { background: #ff126f; height: 1px; }
.affiche .affiche-header-home .studio-progress { display: none; }
.affiche .affiche-menu { cursor: pointer; }
.affiche .affiche-menu span {
  width: 1.05em;
  height: .48em;
  border-block: 1px solid currentColor;
}
.affiche .site-footer {
  --ink: white;
  --muted: #e1dadc;
  --accent: #ff81a8;
  --line: #675b60;
  padding-block: clamp(3.5rem,7vw,7rem);
  border-top: 1px solid #706369;
  color: var(--ink);
  background: #151515;
}
.affiche .site-footer::before, .affiche .site-footer::after { content: none; }
.affiche .site-footer .footer-grid { width: min(92%,96rem); gap: clamp(1.6rem,3vw,4rem); }
.affiche .site-footer .brand-name { font-size: clamp(3.3rem,6.5vw,7rem); }
.affiche .site-footer .brand + p { margin-top: 1.15rem; max-width: 29ch; }
.affiche .site-footer a:is(:hover,:focus-visible), .affiche .site-footer .text-link { color: #ff91b3; }
.affiche .site-footer .motion-toggle {
  display: inline-flex;
  min-height: 2.75rem;
  padding-inline: 0;
  margin-top: .5rem;
  color: white;
  font: 500 .88rem var(--affiche-body);
}
.affiche .site-footer .motion-toggle span { border-color: #ff91b3; }
.affiche .site-footer .motion-toggle[aria-pressed=true] span { background: #ff91b3; }

@media (prefers-reduced-motion: no-preference) {
  html[data-motion-preference][data-reload-passage] {
    --passage-front: #151315;
    --passage-back: #ed005e;
    --passage-edge: #ff3447;
  }
  html[data-motion-preference][data-reload-passage]:not(.studio-still)::before,
  html[data-motion-preference][data-reload-passage]:not(.studio-still)::after {
    clip-path: polygon(0 0,100% 0,100% 99%,66% 98%,47% 100%,0 98%);
    border-radius: 0;
    border: 0;
  }
  html[data-motion-preference][data-reload-passage]:not(.studio-still)::before {
    background: linear-gradient(105deg,#b30063 0%,#fc007d 58%,#ff2237);
  }
  html[data-motion-preference][data-reload-passage]:not(.studio-still)::after {
    background: linear-gradient(115deg,#100d10 0%,#27101a 55%,#43051f);
  }
}
@media (max-width: 760px) {
  .affiche .site-header .header-grid {
    width: calc(100% - 2rem);
    grid-template-columns: minmax(0,1fr) auto auto;
    min-height: 3.8rem;
    gap: 0 .55rem;
  }
  .affiche .site-header .brand { grid-area: 1 / 1; }
  .affiche .site-header .header-actions { grid-area: 1 / 3; }
  .affiche .site-header .affiche-menu { grid-area: 1 / 2; }
  .affiche .site-header :is(.affiche-menu,.header-cta) { min-height: 2.75rem; padding: .55rem .85rem; }
  .affiche .site-header .main-nav {
    grid-area: 2 / 1 / auto / -1;
    flex-wrap: wrap;
    justify-content: start;
    column-gap: .95rem;
    row-gap: 0;
    background: #171517;
    padding-inline: .8rem;
  }
  .affiche .site-header .main-nav a { min-height: 2.75rem; font-size: .94rem; }
  .affiche .site-header.affiche-menu-open {
    background: #171517;
    border-bottom: 1px solid #fa4887;
  }
  .affiche .site-header.affiche-menu-open .main-nav {
    padding: .6rem 0 1.4rem;
    gap: .15rem 1.5rem;
  }
  .affiche .site-header.affiche-menu-open .main-nav a { font-size: 1.05rem; }
}
@media (max-width: 380px) {
  .affiche .site-header .header-grid { width: calc(100% - 1.45rem); gap: 0 .45rem; }
}
