/* Feral File's own look (feralfile.com): PP Mori, white on black. */

@font-face {
  font-family: 'PP Mori';
  src: url('/assets/fonts/PPMori-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'PP Mori';
  src: url('/assets/fonts/PPMori-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --grey: #a6a6a6;
  --line: #4a4a4a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--black);
  color: var(--white);
  font-family: 'PP Mori', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.logo {
  display: block;
  width: 218px;
  max-width: 60%;
  height: auto;
  margin-bottom: 48px;
}

.card > * + * {
  margin-top: 16px;
}

/* The first work's image. Works come in every shape, so it keeps its own
   proportions, up to a square, on the page's black. */
.cover {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  margin-bottom: 32px;
}

.cover + * {
  margin-top: 0;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

p {
  color: var(--white);
  overflow-wrap: anywhere;
}

.eyebrow,
.meta,
.small {
  color: var(--grey);
}

.eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.small {
  font-size: 14px;
}

a {
  color: var(--white);
}

.works {
  list-style: none;
  border-top: 1px solid var(--line);
}

.works li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.actions {
  margin-top: 32px;
}

.actions > * + * {
  margin-top: 16px;
}

.button {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--white);
  border-radius: 0;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:active {
  background: var(--grey);
  border-color: var(--grey);
}

.qr {
  width: 216px;
  height: 216px;
}

.qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}
