@font-face {
  font-family: "Barlow Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  font-weight: 100 900;
  size-adjust: 67.5%;
  ascent-override: 148.148%;
  descent-override: 29.63%;
  line-gap-override: 0%;
}
@font-face {
  font-family: Barlow;
  src: url(media/barlow.woff2) format('woff2');
  font-display: swap;
  font-weight: 100 900;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #101012;
  color: #f8f3e8;
  font:
    17px/1.6 system-ui,
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button,
a.button {
  cursor: pointer;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid #aaa;
  border-radius: 3px;
  color: inherit;
  background: #252528;
  font-weight: 700;
}
a.button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.button.primary {
  background: #de2035;
  border-color: #de2035;
  color: #fff;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffdd73;
  outline-offset: 5px;
}
img,
video {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3 {
  font-family: Barlow, "Barlow Fallback", Impact, sans-serif;
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
  margin: 0 0 22px;
}
h1 {
  font-size: clamp(3.5rem, 7.5vw, 7.5rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
}
h3 {
  font-size: 2rem;
}
p {
  max-width: 66ch;
}
header,
footer,
.section {
  max-width: 1260px;
  margin: auto;
  padding: 28px 32px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  position: relative;
  background: #fff;
  display: block;
  width: 172px;
  height: 58px;
  overflow: hidden;
  border-radius: 3px;
}
.logo img {
  position: absolute;
  width: 132%;
  height: auto;
  max-width: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #f0ba67;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 32px;
  padding-top: 64px;
  padding-bottom: 90px;
}
h1 em {
  color: #ff4255;
  font-style: normal;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.meta {
  font-size: 13px;
  color: #c7c2bc;
}
.desk {
  position: relative;
  min-height: 540px;
  background:
    linear-gradient(#271a1644, #271a1666),
    url(media/school-desk.webp) center/cover;
  border: 1px solid #615048;
  box-shadow: 0 18px 60px #0007;
  overflow: hidden;
}
.card {
  position: absolute;
  top: 95px;
  width: 43%;
  padding: 10px;
  background: #f6eaca;
  color: #211b17;
  border: 6px solid #d9c9a6;
  box-shadow: 7px 14px 15px #0007;
  transform: rotate(var(--turn));
  animation:
    deal 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) both,
    hover 8s 1.6s ease-in-out infinite;
}
.card img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.card strong {
  display: block;
  font-family: Barlow, "Barlow Fallback", Impact, sans-serif;
  text-transform: uppercase;
  font-size: 30px;
  line-height: 1.1;
  margin-top: 10px;
}
.card small {
  font-size: 11px;
  letter-spacing: 0.1em;
}
.card:nth-child(1) {
  left: 3%;
  --turn: -13deg;
}
.card:nth-child(2) {
  left: 29%;
  --turn: 3deg;
  animation-delay: 0.2s, 1.8s;
  z-index: 2;
}
.card:nth-child(3) {
  left: 55%;
  --turn: 14deg;
  animation-delay: 0.4s, 2s;
}
.desk-note {
  position: absolute;
  bottom: 35px;
  left: 30px;
  color: #fcebc5;
  font:
    bold italic 24px Georgia,
    serif;
  transform: rotate(-4deg);
}
.controls {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 8px 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #101012ee;
  border-block: 1px solid #ffffff26;
  backdrop-filter: blur(8px);
}
.controls button {
  padding: 8px 16px;
  min-height: 44px;
}
.section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.paper {
  background: #f2e8ce;
  color: #261f19;
}
.paper .eyebrow {
  color: #8f1726;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.album-reveal {
  perspective: 1000px;
  overflow: hidden;
}
.album-reveal img {
  display: block;
  max-height: 650px;
  width: 100%;
  object-fit: contain;
  animation: reveal 1.7s ease both;
  box-shadow: 12px 12px 0 #34251c22;
}
.caption {
  font-size: 12px;
  line-height: 1.5;
  color: #bbb;
  margin-top: 12px;
}
.paper .caption {
  color: #635447;
}
.steps {
  padding-left: 23px;
}
.steps li {
  padding: 7px 0;
}
.tryout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 32px;
  border: 1px solid #61564a;
  padding: 28px;
  margin-top: 30px;
  background: #1a1818;
}
.tryout img {
  width: 210px;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.tryout h3 {
  margin-top: 16px;
}
label {
  display: block;
  font-weight: 700;
  margin: 12px 0 8px;
}
select,
input {
  width: 100%;
  max-width: 500px;
  padding: 12px;
  border: 1px solid #7a6b5c;
  border-radius: 3px;
  background: #faf2e1;
  color: #1b1713;
  min-height: 48px;
}
#trial-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
#trial-result {
  min-height: 100px;
  padding: 15px;
  border-left: 3px solid #ed3448;
  background: #ffffff09;
}
#next-duel {
  margin-bottom: 12px;
}
.formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0;
}
.formats article {
  padding: 24px;
  border-top: 4px solid #d92035;
  background: #1b1b1f;
}
.film {
  width: 100%;
  max-height: 650px;
  display: block;
  background: #161616;
  aspect-ratio: 16/9;
  object-fit: contain;
}
figure {
  margin: 0;
}
details {
  border-block: 1px solid #857d6d;
  padding: 20px 0;
}
summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 20px;
  min-height: 44px;
}
#roster {
  columns: 3;
  list-style: none;
  padding: 0;
  margin-top: 30px;
}
#roster li {
  break-inside: avoid;
  padding: 8px 0;
  line-height: 1.35;
}
#roster a {
  font-size: 12px;
  display: block;
  color: #8c2130;
}
.credits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.skip {
  position: absolute;
  left: -10000px;
  top: 10px;
}
.skip:focus {
  left: 10px;
  z-index: 10;
  background: #fff;
  color: #111;
  padding: 10px;
}
.closing {
  padding: 70px 32px;
  text-align: center;
  border-top: 1px solid #444;
}
.closing p {
  margin-inline: auto;
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: #c8c3bb;
}
[hidden] {
  display: none !important;
}
.js-control {
  display: none;
}
.enhanced .js-control {
  display: block;
}
.still,
.still * {
  animation-play-state: paused !important;
}
@keyframes deal {
  from {
    translate: 50px -650px;
    opacity: 0;
  }
  to {
    translate: 0 0;
    opacity: 1;
  }
}
@keyframes hover {
  50% {
    translate: 0 -10px;
  }
}
@keyframes reveal {
  from {
    transform: rotateY(-18deg);
    opacity: 0.5;
  }
  to {
    transform: rotateY(0);
    opacity: 1;
  }
}
@media (max-width: 800px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 30px;
    gap: 32px;
  }
  .desk {
    min-height: 470px;
  }
  .split {
    gap: 28px;
  }
  #roster {
    columns: 2;
  }
  .section {
    padding: 50px 22px;
  }
  .formats {
    gap: 15px;
  }
  .tryout {
    padding: 18px;
    grid-template-columns: 140px 1fr;
    gap: 20px;
  }
  .tryout img {
    width: 140px;
  }
  header {
    padding: 20px 22px;
  }
  nav a:not(.button) {
    display: none;
  }
  .credits-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 440px) {
  h1 {
    font-size: 3.7rem;
  }
  header {
    gap: 10px;
  }
  header .logo {
    width: 146px;
  }
  header .button {
    padding: 10px 13px;
  }
  .hero {
    padding-inline: 20px;
  }
  .desk {
    min-height: 350px;
  }
  .card {
    top: 55px;
    padding: 5px;
    border-width: 4px;
  }
  .card strong {
    font-size: 20px;
  }
  .card small {
    font-size: 8px;
  }
  .desk-note {
    font-size: 20px;
    bottom: 18px;
  }
  .formats {
    grid-template-columns: 1fr;
  }
  .tryout {
    grid-template-columns: 1fr;
  }
  .tryout img {
    width: 150px;
  }
  .trial-card {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .trial-card h3 {
    font-size: 1.8rem;
  }
  .controls {
    gap: 8px;
    padding: 8px;
  }
  .controls button {
    font-size: 14px;
    padding: 8px 12px;
  }
  #trial-stats {
    grid-template-columns: 1fr;
  }
  #roster {
    columns: 1;
  }
  .film {
    aspect-ratio: 9/16;
    max-height: 80vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
