@font-face {
  font-family: Barlow;
  src: url("../font/Barlow-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("../font/Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("../font/Barlow-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("../font/Barlow-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("../font/Barlow-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0e0a08;
  --ink: #f4ece4;
  --ember: #f85401;
  /* The grey of “Slay” in the logo. */
  --slay: #cecece;
  /* Portion of the window the corridor may use. 0.7 is 70%. */
  --corridor-share: 0.7;
  /* Narrowest visible slice of each side image. */
  --debris-min-share: 0.2;
  /* Native width of img/corridor_l.png and corridor_r.png. */
  --debris-w: 288px;
  /* Draw the strips smaller than their file size. 0.5 is half. */
  --debris-scale: 0.5;
  /* Distance from the inner edge where the strip becomes opaque. */
  --debris-fade: 6rem;
  /* Window width where the side images are fully uncovered and the corridor locks. Lower to get there sooner. */
  --reveal-at: 1130px;
  --corridor-pad-inline: 1.75rem;
  /* How far the column reaches into each side strip. The inner edge is mostly transparent. */
  --corridor-overlap: 2rem;
  --menu-gap: 1.35rem;
  --space-above-logo: .7rem;
  --space-above-menu: 1rem;
  --space-above-content: 1.75rem;
  --space-scale: 1;
}

@media (max-width: 700px) {
  :root {
    --debris-min-share: 0.5;
    --corridor-pad-inline: 1rem;
    --corridor-overlap: 4rem;
    --menu-gap: 0;
    --space-scale: 0.5;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Barlow, "Segoe UI", sans-serif;
  font-weight: 400;
}

.slay {
  color: var(--slay);
}

.frame {
  --debris-draw: calc(var(--debris-w) * var(--debris-scale));
  --side-min: calc(var(--debris-draw) * var(--debris-min-share));
  --ramp-start: calc(2 * var(--side-min) / (1 - var(--corridor-share)));
  --span: calc(var(--reveal-at) - var(--ramp-start));
  --side-grow: calc(var(--debris-draw) - var(--side-min));
  --corridor-max: calc(var(--reveal-at) - 2 * var(--debris-draw));
  --corridor-ramp: calc(
    100% - 2 * var(--side-min) - 2 * var(--side-grow) * (100% - var(--ramp-start)) / var(--span)
  );
  min-height: 100vh;
  display: grid;
  grid-template-columns:
    1fr
    max(0px, min(
      calc(100% - 2 * var(--side-min)),
      calc(100% * var(--corridor-share)),
      var(--corridor-max),
      var(--corridor-ramp)
    ))
    1fr;
}

.wisp {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0.1;
  pointer-events: none;
}

.wisp::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  top: -100vw;
  height: calc(100vh + 200vw);
  background-image: url("../img/wisp.png");
  background-repeat: repeat-y;
  background-size: 100vw 100vw;
  animation: wisp-rise 20s linear infinite;
}

@keyframes wisp-rise {
  to { transform: translateY(-100vw); }
}

@media (prefers-reduced-motion: reduce) {
  .wisp { animation: none; }
  .wisp::before { animation: none; }
}

.wing {
  container-type: inline-size;
  position: relative;
  z-index: 0;
}

.wing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: repeat-y;
  background-size: var(--debris-draw) auto;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.wing-l::before {
  background-image: url("../img/corridor_l.png");
  background-position: left calc(min(0px, 100cqw - var(--debris-draw))) top;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 var(--debris-fade));
  mask-image: linear-gradient(to left, transparent 0, #000 var(--debris-fade));
}

.wing-r::before {
  background-image: url("../img/corridor_r.png");
  background-position: left calc(max(0px, 100cqw - var(--debris-draw))) top;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--debris-fade));
  mask-image: linear-gradient(to right, transparent 0, #000 var(--debris-fade));
}

.corridor {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin-inline: calc(var(--corridor-overlap) * -1);
  padding: calc(var(--space-above-logo) * var(--space-scale)) var(--corridor-pad-inline) 2rem;
}

h1 {
  margin: 0;
}

.logo {
  display: block;
  width: min(100%, 40rem);
  height: auto;
  margin-inline: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: var(--menu-gap);
  margin-top: calc(var(--space-above-menu) * var(--space-scale));
}

.rule {
  flex: 1 1 0;
  min-width: 0;
  height: 3px;
  background: var(--ember);
}

.menu ul {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  gap: 0.7rem .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  display: inline-block;
  padding-bottom: 0.4rem;
  border-bottom: 6px solid transparent;
  color: var(--ink);
  font-size: 1.56rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu a[aria-current="page"] {
  color: var(--ember);
  border-bottom-color: var(--ember);
}

.menu a:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 4px;
}

.copy {
  width: min(100%, 40rem);
  margin: calc(var(--space-above-content) * var(--space-scale)) auto 4.5rem;
}

.copy h2 {
  margin: 2.4rem 0 0.8rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.copy h2:first-child {
  margin-top: 0;
}

.copy p {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
}

.sheet {
  --rule: #827970;
  text-align: center;
  padding: 0.25rem 0 0;
}

.copy .sheet p {
  max-width: 36rem;
  margin-right: auto;
  margin-left: auto;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
  text-wrap: pretty;
}

.sheet .kicker {
  display: inline-block;
  max-width: none;
  margin: 0 0 1.25rem;
  padding: 0.45rem 1.2rem;
  background: var(--ember);
  color: var(--bg);
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
  font-size: clamp(0.95rem, 2.5vw, 1.3rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.07em;
  line-height: 1.25;
  text-transform: uppercase;
}

.copy .sheet .display {
  margin: 0;
  text-align: center;
  font-size: clamp(1.8rem, 4.3vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-transform: uppercase;
  text-wrap: balance;
}

.copy .sheet .standout {
  margin: 0.7rem auto 0;
  text-align: center;
  font-size: clamp(1.1rem, 3vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.065em;
  line-height: 1.3;
  text-transform: uppercase;
}

.sheet .dot {
  color: var(--ember);
}

.sheet .divider {
  position: relative;
  width: min(75%, 22rem);
  height: 1px;
  margin: 1.8rem auto;
  background: var(--rule);
}

.sheet .divider::after {
  content: "";
  position: absolute;
  width: 2rem;
  height: 3px;
  left: 50%;
  top: -1px;
  transform: translateX(-50%);
  background: var(--ember);
}

.copy .sheet .title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.3rem, 3.3vw, 1.8rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-wrap: balance;
}

.copy .sheet .lead {
  font-weight: 400;
}

.sheet .block {
  margin-top: 2.25rem;
}

.copy .sheet .section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
  color: var(--ember);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sheet .section-title::before,
.sheet .section-title::after {
  content: "";
  height: 1px;
  background: var(--ember);
  flex: 1 1 0;
}

.sheet .roster {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sheet .roster li {
  position: relative;
  padding: 1rem 0;
  font-size: clamp(1.3rem, 3.5vw, 2.1rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.sheet .roster li + li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  width: 70%;
  height: 1px;
  background: var(--rule);
  opacity: 0.65;
}

.sheet .posters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 1.25rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.sheet .posters figure {
  margin: 0;
}

.sheet .posters figure > a {
  display: block;
}

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

.sheet .posters figcaption a {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.sheet .posters figcaption {
  margin-top: 0.75rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.15;
  text-transform: uppercase;
}

.copy .sheet .posters .bio {
  max-width: none;
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

.sheet .bio a {
  font-size: inherit;
}

.sheet .socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.45rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.sheet .socials a {
  display: block;
  font-size: inherit;
  text-decoration: none;
}

.sheet .socials img {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.sheet .video {
  aspect-ratio: 16 / 9;
  max-width: 36rem;
  margin: 0 auto;
  background: #050403;
  overflow: hidden;
}

.sheet .video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.copy .sheet .note {
  margin: 0.6rem auto 0;
  font-size: 0.95rem;
  font-weight: 400;
  font-style: italic;
  opacity: 0.8;
}

.copy .sheet .when {
  margin: 0 auto 0.3rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}

.copy .sheet .where {
  margin: 0 auto 0.7rem;
}

.copy .sheet .fine {
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.55;
}

.sheet .actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  max-width: none;
  margin: 2rem auto;
}

.sheet a {
  color: var(--ember);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.sheet a:hover {
  color: var(--ink);
}

.sheet a:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 5px;
}

.copy .sheet .signoff {
  margin: 2rem auto 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.sheet .signoff a {
  font-size: inherit;
}

@media (max-width: 480px) {
  .sheet .section-title {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    gap: 0.5rem;
  }

  .sheet .block {
    margin-top: 1.8rem;
  }
}

.site-footer {
  margin-top: auto;
  text-align: center;
}

.footer-rule {
  position: relative;
  display: flex;
  align-items: center;
  height: 3px;
}

.footer-rule::before {
  content: "";
  width: 100%;
  height: 1px;
  background: #5c534c;
}

.footer-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2.4rem;
  height: 3px;
  transform: translateX(-50%);
  background: var(--ember);
}

.footer-name {
  margin: 1.25rem 0 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-next {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
}

.footer-next a {
  color: var(--ember);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.footer-next a:hover {
  color: var(--ink);
}

.footer-dot {
  margin: 0 0.3rem;
  color: var(--ember);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.15rem;
  margin-top: 1.1rem;
}

.footer-nav a {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-nav a[aria-current="page"] {
  color: var(--ember);
}

.footer-nav a:hover {
  color: var(--ember);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.4rem;
  margin: 1.05rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-social a:hover {
  color: var(--ember);
}

.footer-social img {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  object-fit: cover;
}

.site-footer a:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 4px;
}

.footer-credit {
  margin: 1.15rem 0 0.15rem;
  color: #a89c93;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
}

.footer-credit a {
  color: var(--ink);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.footer-credit a:hover {
  color: var(--ember);
}
