/* Tabfall's pages: the app's gig-poster world. Paper, two inks a section, slipped overprint, condensed type. */
@font-face {
  font-family: 'Big Shoulders';
  src: url('/tabfall/big-shoulders-black.woff') format('woff');
  font-weight: 900;
  font-display: swap;
}
body:has(.tf) {
  --paper: #f1e9d8;
  --ink: #161412;
  --muted: #5c554c;
  --line: #161412;
  --accent: #d93a1e;
  --accent-soft: #e4d9c3;
  --card: #f1e9d8;
  --code: #e4d9c3;
  color-scheme: light;
  font-size: 18px;
}
body:has(.tf) main,
body:has(.tf) main > .wrap {
  max-width: none;
  margin: 0;
  padding: 0;
}
.tf {
  --field: #090908;
  --coral: #ff2b5c;
  --acid: #e8ff1a;
  --bone: #f2e8d4;
  --blue: #14387a;
  --spot: #d93a1e;
  --press: #161412;
  overflow-x: clip;
}
.tf h1,
.tf h2,
.tf h3,
.tf .big {
  font-family: 'Big Shoulders', 'Arial Narrow', Impact, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0;
  margin: 0;
  border: 0;
}
.tf .print {
  padding: clamp(56px, 8vw, 120px) clamp(20px, 5vw, 72px);
}
.tf .inner {
  max-width: 1240px;
  margin: 0 auto;
}
.tf p {
  max-width: 34em;
}
.tf .shot {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero: the player's inverted print */
.tf .hero {
  background: var(--field);
  color: var(--bone);
  padding-bottom: 0;
}
.tf .hero .inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}
.tf .hero h1 {
  font-size: clamp(96px, 17.5vw, 262px);
  color: var(--acid);
  text-shadow: 0.028em 0.022em 0 var(--coral);
}
.tf .hero .lede {
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.3;
  color: var(--bone);
  margin: 28px 0 20px;
}
.tf .hero .text {
  padding-bottom: clamp(56px, 8vw, 120px);
}
.tf .status {
  display: inline-block;
  border: 2px solid var(--acid);
  color: var(--acid);
  padding: 10px 16px;
  font-size: 16px;
  line-height: 1.35;
  max-width: 30em;
}
.tf a.status {
  background: var(--acid);
  color: #090908;
  font-weight: 700;
  text-decoration: none;
}
.tf .hero figure {
  margin: 0 0 -1px;
  border: 0;
  box-shadow: 14px 0 0 var(--coral);
  max-width: 460px;
  justify-self: end;
  height: clamp(420px, 56vw, 720px);
  overflow: hidden;
}

/* The Ear */
.tf .ear {
  background: var(--acid);
  color: var(--press);
}
.tf .ear h2 {
  font-size: clamp(76px, 15vw, 224px);
  text-shadow: 0.022em 0.018em 0 var(--coral);
}
.tf .ear .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px clamp(24px, 5vw, 72px);
  margin-top: 36px;
  font-size: 21px;
  line-height: 1.45;
}
.tf .ear p {
  margin: 0;
}

/* Modes: paper, black and spot */
.tf .modes .inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.tf .mode {
  border-top: 6px solid var(--press);
  padding: 16px 0 34px;
}
.tf .mode h3 {
  font-size: clamp(56px, 8vw, 112px);
  color: var(--press);
  text-shadow: 0.03em 0.024em 0 var(--spot);
}
.tf .mode p {
  margin: 10px 0 0;
}
.tf .plate {
  box-shadow: 12px 12px 0 var(--spot);
  max-width: 440px;
  justify-self: end;
}

/* Wall */
.tf .wall {
  background: var(--paper);
  padding-top: 0;
}
.tf .wall h2 {
  font-size: clamp(64px, 11vw, 170px);
  color: var(--blue);
  text-shadow: 0.022em 0.018em 0 var(--spot);
}
.tf .wall .note {
  margin: 18px 0 30px;
}
.tf .grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 16px);
}
.tf .grid img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 3px 3px 0 #b4aea1;
}

/* Import: blue on paper */
.tf .own {
  background: var(--blue);
  color: var(--bone);
}
.tf .own .inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.tf .own h2 {
  font-size: clamp(64px, 10vw, 150px);
  color: var(--bone);
  text-shadow: 0.022em 0.018em 0 var(--spot);
}
.tf .own .big {
  display: block;
  font-size: clamp(40px, 5.2vw, 76px);
  color: var(--acid);
  margin: 26px 0;
  line-height: 1;
  text-transform: none;
}
.tf .own .plate {
  box-shadow: 12px 12px 0 var(--spot);
}

/* Setup */
.tf .setup h2,
.tf .answers h2,
.tf .credits h2 {
  font-size: clamp(52px, 8vw, 110px);
  text-shadow: 0.022em 0.018em 0 var(--spot);
  margin-bottom: 26px;
}
.tf .pairs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px clamp(24px, 5vw, 64px);
}
.tf .pairs div {
  border-top: 4px solid var(--press);
  padding: 12px 0 24px;
}
.tf .pairs strong {
  display: block;
}
.tf .pairs p {
  margin: 4px 0 0;
}

/* Price */
.tf .price {
  background: var(--coral);
  color: var(--field);
}
.tf .price h2 {
  font-size: clamp(84px, 17vw, 250px);
  text-shadow: 0.022em 0.018em 0 var(--acid);
}
.tf .price p {
  font-size: 22px;
  line-height: 1.4;
  margin: 26px 0 0;
}

.tf .credits {
  font-size: 15px;
  line-height: 1.5;
  background: var(--accent-soft);
}
.tf .credits h2 {
  font-size: clamp(40px, 5vw, 64px);
}
.tf .credits h3 {
  font-size: 30px;
  margin: 26px 0 8px;
}
.tf .credits ul {
  padding-left: 18px;
  margin: 0;
}
.tf .credits p {
  max-width: 60em;
}

/* Long-read pages */
.tf.doc .print {
  padding-top: clamp(40px, 6vw, 80px);
}
.tf.doc .inner {
  max-width: 900px;
}
.tf.doc h1 {
  font-size: clamp(56px, 9vw, 112px);
  text-shadow: 0.022em 0.018em 0 var(--spot);
  margin-bottom: 26px;
}
.tf.doc h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 44px 0 14px;
}
.tf.doc .table {
  overflow-x: auto;
}
.tf.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.35;
}
.tf.doc th,
.tf.doc td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 2px solid var(--press);
  vertical-align: top;
}
.tf.doc tr.ours td {
  background: var(--acid);
  padding-left: 8px;
}

@media (max-width: 760px) {
  .tf .hero .inner,
  .tf .modes .inner,
  .tf .own .inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .tf .hero .text {
    padding-bottom: 16px;
  }
  .tf .hero figure {
    justify-self: center;
    width: 86%;
    height: 460px;
  }
  .tf .plate {
    justify-self: start;
    width: 88%;
  }
  .tf .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Site header and footer line up with the prints; links stay legible on paper. */
body:has(.tf) header.site .wrap,
body:has(.tf) footer.site .wrap {
  max-width: 1384px;
  padding: 0 clamp(20px, 5vw, 72px);
}
.tf a {
  color: inherit;
  text-decoration-color: var(--spot);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.tf a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.tf.doc ul {
  padding-left: 20px;
}
.tf.doc li {
  margin-bottom: 10px;
}
