:root {
  --black: #101013;
  --white: #f8f5ec;
  --blue: #3047e8;
  --orange: #ff623e;
  --yellow: #efff55;
  --pink: #ff62aa;
  --line: rgba(16, 16, 19, .18);
  --shadow: 14px 14px 0 var(--black);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Arial Narrow", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}

body {
  max-width: 100%;
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

main,
section,
article,
header,
footer,
nav,
div,
figure,
aside {
  min-width: 0;
}

h1,
h2,
h3,
p,
li,
th,
td,
figcaption,
a {
  overflow-wrap: anywhere;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 16px;
  color: var(--black);
  background: var(--yellow);
  font-weight: 900;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: relative;
  z-index: 100;
  min-height: 96px;
  padding: 12px max(18px, 4vw);
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 28px;
  color: var(--white);
  background: var(--black);
  border-bottom: 8px solid var(--yellow);
}

.logo {
  width: 240px;
  display: block;
}

.logo img {
  width: 100%;
  filter: brightness(0) invert(1);
}

.site-header nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 46px);
}

.site-header nav a {
  position: relative;
  padding: 10px 3px;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a::before {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 4px;
  content: "";
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}

.site-header nav a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header > strong {
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--yellow);
  font-size: .78rem;
  transform: rotate(5deg);
}

.hero {
  min-height: 850px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  background: var(--blue);
  border-bottom: 8px solid var(--black);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(55px, 8vw, 120px) clamp(25px, 6vw, 100px);
  display: grid;
  align-items: center;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 89% 100%, 0 100%);
}

.hero-copy::after {
  position: absolute;
  right: -13px;
  bottom: 8%;
  width: 82px;
  aspect-ratio: 1;
  content: "";
  background: var(--orange);
  border: 5px solid var(--black);
  border-radius: 50%;
  box-shadow: 35px -55px 0 -18px var(--pink);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font: 950 clamp(4.2rem, 7.6vw, 8.8rem)/.79 var(--sans);
  letter-spacing: -.085em;
  text-transform: uppercase;
}

.hero-media {
  position: relative;
  padding: clamp(42px, 6vw, 90px);
  display: grid;
  place-items: center;
}

.hero-media::before {
  position: absolute;
  top: 7%;
  right: 7%;
  width: 130px;
  height: 35px;
  content: "";
  background: var(--pink);
  border: 4px solid var(--black);
  transform: rotate(12deg);
}

.hero-media::after {
  position: absolute;
  bottom: 5%;
  left: 5%;
  width: 90px;
  aspect-ratio: 1;
  content: "";
  border: 18px solid var(--yellow);
  border-radius: 50%;
}

.hero-media figure {
  position: relative;
  z-index: 2;
  width: min(100%, 750px);
  margin: 0;
  padding: 10px;
  background: var(--white);
  border: 5px solid var(--black);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-media figure img {
  width: 100%;
  min-height: 430px;
  max-height: 650px;
  object-fit: cover;
}

.hero-media figcaption {
  padding: 12px 7px 3px;
  font-size: .68rem;
  font-weight: 800;
}

.index-board {
  padding: clamp(60px, 8vw, 110px) max(20px, 5vw);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    var(--black);
  background-size: 42px 42px;
}

#article-index {
  width: min(1280px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

#article-index a {
  min-height: 86px;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  color: var(--black);
  background: var(--white);
  border: 2px solid var(--white);
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
  transition: transform .3s var(--ease), background .3s ease;
}

#article-index a:nth-child(3n + 1) {
  background: var(--yellow);
}

#article-index a:nth-child(3n + 2) {
  background: var(--pink);
}

#article-index a:nth-child(3n) {
  background: var(--orange);
}

#article-index a:hover {
  z-index: 2;
  transform: translateY(-7px) rotate(-1deg);
}

.article {
  width: min(980px, calc(100% - 40px));
  max-width: 100%;
  margin-inline: auto;
  padding: clamp(85px, 10vw, 160px) 0;
  color: #3e3e45;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.article > p:first-child {
  margin-top: 0;
  padding: 35px;
  color: var(--black);
  background: var(--pink);
  border: 4px solid var(--black);
  box-shadow: 10px 10px 0 var(--blue);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 700;
}

.article p {
  margin: 0 0 1.45em;
}

.article h2 {
  position: relative;
  margin: clamp(80px, 10vw, 130px) 0 30px;
  padding: 22px 24px;
  color: var(--white);
  background: var(--black);
  border-left: 14px solid var(--orange);
  font: 950 clamp(2.3rem, 4.8vw, 4.6rem)/.92 var(--sans);
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.article h2:nth-of-type(even) {
  color: var(--black);
  background: var(--yellow);
  border-left-color: var(--blue);
}

.article h3 {
  position: relative;
  margin: 50px 0 21px;
  padding-bottom: 12px;
  color: var(--blue);
  border-bottom: 5px solid var(--pink);
  font: 900 clamp(1.55rem, 2.7vw, 2.35rem)/1.08 var(--sans);
  letter-spacing: -.035em;
}

.article ul,
.article ol {
  margin: 25px 0 40px;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.article li {
  position: relative;
  margin: 9px 0;
  padding: 7px 0 7px 47px;
}

.article ul > li::before {
  position: absolute;
  top: .84em;
  left: 11px;
  width: 14px;
  height: 8px;
  content: "";
  background: var(--orange);
  border: 2px solid var(--black);
  transform: skewX(-22deg);
}

.article ol > li {
  counter-increment: item;
}

.article ol > li::before {
  position: absolute;
  top: 5px;
  left: 0;
  width: 31px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--white);
  content: counter(item);
  background: var(--blue);
  border: 2px solid var(--black);
  font-size: .68rem;
  font-weight: 900;
  transform: rotate(-4deg);
}

.article li ul,
.article li ol {
  margin: 11px 0 0;
}

.article aside {
  position: relative;
  max-width: 100%;
  margin: 52px 0;
  padding: 36px 40px 36px 82px;
  color: var(--black);
  background: var(--yellow);
  border: 4px solid var(--black);
  box-shadow: 10px 10px 0 var(--orange);
}

.article aside::before {
  position: absolute;
  top: 29px;
  left: 29px;
  content: "!";
  color: var(--blue);
  font: 950 2.8rem/1 var(--sans);
}

.article aside p:last-child,
.article aside > :last-child {
  margin-bottom: 0;
}

.article figure {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 70px 0;
  padding: 10px;
  background: var(--white);
  border: 5px solid var(--black);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(-.7deg);
}

.article figure:nth-of-type(even) {
  box-shadow: 14px 14px 0 var(--pink);
  transform: rotate(.7deg);
}

.article figure img,
.article > img {
  width: 100%;
  max-height: 730px;
  object-fit: contain;
  background: var(--black);
}

.article figcaption {
  padding: 13px 10px 4px;
  font-size: .72rem;
  font-weight: 800;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  margin: 48px 0 70px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  background: var(--white);
  border: 4px solid var(--black);
  box-shadow: 12px 12px 0 var(--blue);
  -webkit-overflow-scrolling: touch;
}

.article table {
  width: max-content;
  min-width: 100%;
  max-width: none;
  margin: 0;
  border-collapse: collapse;
  background: var(--white);
}

.article > table {
  width: 100%;
  max-width: 100%;
  margin: 48px 0 70px;
  display: block;
  overflow-x: auto;
}

.article thead {
  color: var(--white);
  background: var(--blue);
}

.article th,
.article td {
  min-width: 155px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: .85rem;
  line-height: 1.55;
}

.article th {
  color: var(--yellow);
  font-size: .69rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.article tbody tr:nth-child(even) {
  background: rgba(48, 71, 232, .055);
}

.article strong {
  color: var(--black);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.site-footer {
  min-height: 330px;
  padding: 75px max(24px, 6vw);
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  align-items: center;
  gap: 40px;
  color: var(--white);
  background: var(--blue);
  border-top: 12px solid var(--black);
  box-shadow: inset 0 12px 0 var(--yellow);
}

.site-footer > img {
  width: min(340px, 75vw);
  filter: brightness(0) invert(1);
}

.site-footer nav {
  display: flex;
  gap: 28px;
}

.site-footer nav a {
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer nav a:hover {
  color: var(--yellow);
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .74rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero {
    min-height: 760px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr);
  }

  .hero h1 {
    font-size: clamp(3.8rem, 8vw, 6.4rem);
  }

  #article-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 82px;
    padding: 10px 14px;
    grid-template-columns: 1fr auto;
  }

  .logo {
    width: 190px;
  }

  .site-header nav {
    grid-column: 1 / -1;
    justify-content: center;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, .18);
  }

  .site-header > strong {
    position: absolute;
    top: 16px;
    right: 14px;
    width: 40px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 520px;
    padding: 70px 20px 90px;
    clip-path: polygon(0 0, 100% 0, 100% 91%, 0 100%);
  }

  .hero-copy::after {
    right: 8%;
  }

  .hero h1 {
    font-size: clamp(3.65rem, 14vw, 5.6rem);
  }

  .hero-media {
    padding: 70px 24px 85px;
  }

  .hero-media figure img {
    min-height: 320px;
  }

  #article-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article {
    width: min(100% - 28px, 680px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer > img {
    margin-inline: auto;
  }

  .site-footer nav {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  .site-header nav {
    gap: 17px;
  }

  .site-header nav a {
    font-size: .67rem;
  }

  .hero-copy {
    min-height: 470px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15vw, 4.3rem);
  }

  .hero-media {
    padding-inline: 15px;
  }

  .hero-media figure {
    box-shadow: 8px 8px 0 var(--black);
  }

  #article-index {
    grid-template-columns: 1fr;
  }

  #article-index a {
    min-height: 64px;
  }

  .article > p:first-child {
    padding: 25px 20px;
  }

  .article h2 {
    padding: 18px 16px;
    border-left-width: 9px;
    font-size: 2.35rem;
  }

  .article aside {
    padding: 28px 18px 28px 57px;
    box-shadow: 7px 7px 0 var(--orange);
  }

  .article aside::before {
    top: 24px;
    left: 20px;
  }

  .article figure {
    padding: 6px;
    border-width: 3px;
    box-shadow: 8px 8px 0 var(--black);
    transform: none;
  }

  .article figure:nth-of-type(even) {
    box-shadow: 8px 8px 0 var(--pink);
    transform: none;
  }

  .table-scroll {
    border-width: 3px;
    box-shadow: 8px 8px 0 var(--blue);
  }

  .article th,
  .article td {
    min-width: 145px;
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
