:root {
  --ink: #2a2420;
  --paper: #f0eee9;
  --turquoise: #1db8b0;
  --field: #f0eee9;
  --type: #2a2420;
  --deck: 60%;
  --rule: rgba(42, 36, 32, 0.28);
  --mute: rgba(42, 36, 32, 0.58);
  --caption: #2a2420;
  --folio: #2a2420;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--type);
}

body {
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Franklin Gothic Condensed", "Helvetica Neue", Arial, sans-serif;
}

.skip {
  position: absolute;
  left: -999px;
  z-index: 3;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 3;
  background: var(--turquoise);
  color: var(--paper);
  padding: 0.4rem 0.7rem;
  text-decoration: none;
}

.skip-strip:focus {
  top: 3.2rem;
}

.print {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.folio {
  position: absolute;
  top: calc(var(--deck) + clamp(0.55rem, 1.6vw, 1rem));
  right: clamp(0.7rem, 2.4vw, 1.6rem);
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--folio);
  z-index: 2;
}

.deck {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.deck-plane {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--deck);
  background: var(--turquoise);
  z-index: 0;
}

.hero-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-clip-turquoise {
  clip-path: polygon(0 0, 100% 0, 100% var(--deck), 0 var(--deck));
}

.hero-clip-paper {
  clip-path: polygon(0 var(--deck), 100% var(--deck), 100% 100%, 0 100%);
}

.hero {
  position: absolute;
  top: calc(var(--deck) - 0.41em);
  left: -4vw;
  right: -4vw;
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Franklin Gothic Condensed", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.2rem, 7.2vw, 7.2rem);
  font-weight: 800;
  font-stretch: condensed;
  letter-spacing: -0.07em;
  line-height: 0.82;
  white-space: nowrap;
  text-align: left;
}

.hero-clip-turquoise .hero {
  color: var(--paper);
}

.hero-clip-paper .hero {
  color: var(--ink);
}

.deck-rag {
  position: absolute;
  top: calc(var(--deck) + clamp(3.4rem, 8.4vw, 6.6rem));
  left: clamp(1rem, 3.2vw, 2.2rem);
  right: clamp(1rem, 3vw, 2.4rem);
  bottom: clamp(2.8rem, 7vw, 4.2rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.12em;
  margin: 0;
  overflow: hidden;
  z-index: 1;
}

.deck-rag p {
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Franklin Gothic Condensed", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 2.15rem);
  font-weight: 800;
  font-stretch: condensed;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--ink);
  text-align: left;
}

.filmstrip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  margin: 0;
  padding: 0.55rem clamp(0.7rem, 2.2vw, 1.4rem) 0.85rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.18rem 0.28rem;
  border-top: 1px solid var(--rule);
  z-index: 2;
}

.filmstrip a {
  display: block;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
}

.filmstrip a:hover,
.filmstrip a:focus {
  color: var(--turquoise);
  outline: none;
}

.filmstrip .origin a {
  font-size: 0.5rem;
  letter-spacing: 0.1em;
}

.filmstrip .tick a {
  font-size: 0.42rem;
  letter-spacing: 0.06em;
  opacity: 0.78;
}

.filmstrip .recent a {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  opacity: 1;
}

.caption {
  position: absolute;
  left: clamp(0.55rem, 1.6vw, 1.1rem);
  bottom: clamp(2.6rem, 6vw, 3.4rem);
  right: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.22rem;
  pointer-events: none;
  color: var(--caption);
  text-align: left;
  z-index: 2;
}

.brand {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.meta {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--caption) 78%, var(--mute));
}

@media (max-width: 640px) {
  .print {
    min-height: 100dvh;
  }

  :root {
    --deck: 56%;
  }

  .hero {
    font-size: clamp(1.35rem, 8.2vw, 2.4rem);
  }

  .deck-rag {
    top: calc(var(--deck) + 2.8rem);
    padding: 0;
  }

  .deck-rag p {
    font-size: clamp(0.88rem, 3.8vw, 1.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body,
  .deck,
  .deck-plane,
  .hero,
  .hero-clip,
  .deck-rag,
  .folio,
  .filmstrip {
    animation: none !important;
    transition: none !important;
  }
}
