:root {
  --ink: #2a2420;
  --paper: #f0eee9;
  --blue: #1b4f72;
  --field: #f0eee9;
  --type: #2a2420;
  --edge: 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(--blue);
  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: clamp(0.9rem, 3vw, 1.8rem);
  right: clamp(1rem, 4vw, 2.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;
}

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

.plane-blue {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--edge);
  background: var(--blue);
  z-index: 0;
}

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

.hero-clip-blue {
  left: 0;
  width: var(--edge);
}

.hero-clip-paper {
  left: var(--edge);
  right: 0;
}

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

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

.hero-clip-paper .hero {
  left: calc(-1 * var(--edge) - 4vw);
  color: var(--ink);
}

.planes-rag {
  position: absolute;
  left: calc(var(--edge) + clamp(1rem, 2.6vw, 2.2rem));
  right: clamp(1rem, 3vw, 2.4rem);
  top: clamp(38vh, 46vh, 52vh);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1em;
  margin: 0;
  overflow: hidden;
  z-index: 1;
}

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

.filmstrip {
  position: absolute;
  left: clamp(1rem, 4vw, 2.6rem);
  right: clamp(1rem, 4vw, 2.6rem);
  bottom: 0.7rem;
  margin: 0;
  padding: 0.55rem 0 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.18rem 0.28rem;
  border-top: 1px solid transparent;
  border-image: linear-gradient(to right, var(--paper) var(--edge), var(--ink) var(--edge)) 1;
  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);
  background-image: linear-gradient(to right, var(--paper) var(--edge), var(--ink) var(--edge));
  background-attachment: fixed;
  background-size: 100vw 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.filmstrip a:hover,
.filmstrip a:focus {
  color: var(--blue);
  -webkit-text-fill-color: var(--blue);
  background-image: none;
  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;
  right: clamp(1rem, 4vw, 2.6rem);
  bottom: clamp(2.6rem, 6vw, 3.4rem);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.22rem;
  pointer-events: none;
  color: var(--caption);
  text-align: right;
  z-index: 2;
}

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

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

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

  :root {
    --edge: 56%;
  }

  .hero {
    font-size: clamp(2.1rem, 13.5vw, 4.1rem);
    top: 9vh;
  }

  .planes-rag {
    top: 36vh;
  }

  .planes-rag p {
    font-size: clamp(0.95rem, 4.1vw, 1.35rem);
  }
}

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