:root {
  --red: #e10613;
  --red-dark: #a90912;
  --ink: #090909;
  --paper: #f2efe8;
  --paper-2: #e7e3db;
  --lime: #c7ff22;
  --shadow: 7px 7px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .7), transparent 44%),
    var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  position: fixed;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .55;
  background-image:
    linear-gradient(90deg, transparent 49.7%, rgba(0, 0, 0, .025) 50%, transparent 50.3%),
    linear-gradient(0deg, transparent 49.7%, rgba(0, 0, 0, .02) 50%, transparent 50.3%);
  background-size: 28px 28px;
}

::selection {
  color: var(--paper);
  background: var(--red);
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 18px 20px;
}

.hero {
  position: relative;
  padding: 14px 0 26px;
}

.registration-mark {
  position: absolute;
  top: 0;
  right: 1px;
  font: 700 22px/1 monospace;
}

.brand-logo {
  display: block;
  width: 300px;
  height: auto;
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  padding: 5px 8px 4px;
  color: var(--paper);
  background: var(--ink);
  font: 900 11px/1 Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
strong,
.status {
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
}

h1 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(54px, 15vw, 86px);
  font-weight: 950;
  line-height: .78;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

h1 span,
.manifesto h2 span {
  color: var(--red);
}

.intro {
  width: min(86%, 410px);
  margin: 18px 0 0;
  padding-left: 13px;
  border-left: 5px solid var(--red);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.links {
  display: grid;
  gap: 12px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 12px 0 9px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.section-heading span {
  font-size: 27px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 86px;
  overflow: hidden;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: rgba(242, 239, 232, .94);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.link-card[hidden] {
  display: none;
}

.link-card::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  content: "";
  background: var(--red);
}

.link-card:hover,
.link-card:focus-visible {
  outline: none;
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--ink);
  background: #fffdf8;
}

.icon-box {
  display: grid;
  place-items: center;
  align-self: stretch;
  border-right: 2px solid var(--ink);
  background: var(--red);
}

.icon-box svg {
  width: 27px;
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-copy {
  min-width: 0;
  padding: 12px 12px 12px 16px;
}

.card-copy strong {
  display: block;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.card-copy small {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
}

.arrow {
  padding: 0 16px;
  font-size: 27px;
  font-weight: 900;
}

.link-card--disabled {
  cursor: not-allowed;
  opacity: .82;
  background: var(--paper-2);
  box-shadow: none;
}

.link-card--disabled::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(9, 9, 9, .055) 10px 14px);
}

.link-card--disabled .icon-box {
  background: var(--ink);
}

.status {
  position: relative;
  z-index: 1;
  margin-right: 10px;
  padding: 8px 10px 7px;
  border: 1px solid var(--ink);
  background: var(--lime);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-2deg);
}

.manifesto {
  position: relative;
  margin-top: 34px;
  overflow: hidden;
  padding: 22px 17px 20px;
  border-left: 12px solid var(--red);
  color: var(--paper);
  background: var(--ink);
}

.manifesto::after {
  position: absolute;
  right: -35px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  content: "";
  opacity: .85;
  background: var(--red);
  clip-path: polygon(50% 0, 100% 100%, 0 70%);
}

.manifesto p,
.manifesto h2 {
  position: relative;
  z-index: 1;
}

.manifesto p {
  margin: 0 0 9px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.manifesto h2 {
  margin: 0;
  font-size: clamp(42px, 12vw, 66px);
  line-height: .86;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

footer {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 10px;
  border-top: 2px solid var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-decoration {
  position: fixed;
  z-index: 0;
  pointer-events: none;
}

.page-decoration span {
  position: absolute;
  display: block;
  background: var(--red);
  opacity: .96;
}

.page-decoration--top {
  top: 0;
  right: 0;
  width: 42vw;
  height: 42vh;
}

.page-decoration--top span:nth-child(1) { width: 78%; height: 34%; right: -16%; top: -4%; clip-path: polygon(12% 0, 100% 0, 85% 100%, 0 55%); }
.page-decoration--top span:nth-child(2) { width: 42%; height: 30%; right: 4%; top: 17%; background: var(--red-dark); clip-path: polygon(44% 0, 100% 15%, 54% 100%, 0 52%); }
.page-decoration--top span:nth-child(3) { width: 26%; height: 24%; right: 26%; top: 5%; clip-path: polygon(0 0, 100% 50%, 19% 100%); }
.page-decoration--top span:nth-child(4) { width: 20%; height: 20%; right: 0; top: 37%; clip-path: polygon(0 13%, 100% 0, 70% 100%); }
.page-decoration--top span:nth-child(5) { width: 18%; height: 18%; right: 42%; top: 30%; background: var(--red-dark); clip-path: polygon(50% 0, 100% 100%, 0 67%); }

.page-decoration--bottom {
  bottom: 0;
  left: 0;
  width: 45vw;
  height: 34vh;
}

.page-decoration--bottom span:nth-child(1) { width: 58%; height: 55%; left: -12%; bottom: -20%; clip-path: polygon(0 30%, 100% 0, 72% 100%, 0 80%); }
.page-decoration--bottom span:nth-child(2) { width: 35%; height: 40%; left: 20%; bottom: -7%; background: var(--red-dark); clip-path: polygon(40% 0, 100% 100%, 0 77%); }
.page-decoration--bottom span:nth-child(3) { width: 25%; height: 30%; left: 48%; bottom: 4%; clip-path: polygon(0 0, 100% 37%, 25% 100%); }
.page-decoration--bottom span:nth-child(4) { width: 20%; height: 20%; left: 15%; bottom: 28%; background: var(--red-dark); clip-path: polygon(50% 0, 100% 100%, 0 65%); }

@media (min-width: 760px) {
  body {
    padding: 30px;
  }

  .page-shell {
    width: min(100%, 920px);
    min-height: calc(100vh - 60px);
    padding: 34px 44px 28px;
    border: 3px solid var(--ink);
    background: rgba(242, 239, 232, .92);
    box-shadow: 12px 12px 0 var(--red);
  }

  .brand-logo {
    width: 300px;
  }

  h1 {
    width: 600px;
    max-width: 600px;
    font-size: clamp(74px, 9vw, 112px);
  }

  .intro {
    font-size: 18px;
  }

  .links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    grid-column: 1 / -1;
  }

  .link-card--featured {
    grid-column: 1 / -1;
  }

  .manifesto {
    padding: 30px 28px 26px;
  }
}

@media (max-width: 390px) {
  .link-card {
    grid-template-columns: 50px minmax(0, 1fr) auto;
  }

  .arrow {
    padding: 0 11px;
  }

  .status {
    margin-right: 7px;
    padding-inline: 7px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
