:root {
  --great-ink: #111014;
  --great-paper: #f0e5c7;
  --great-red: #e33422;
  --great-yellow: #f4c928;
  --great-blue: #47739c;
  --great-pink: #e4a5b3;
  --great-green: #34755e;
}

.greatish-page {
  color: var(--great-ink);
  background: var(--great-paper);
}

.greatish-header {
  position: absolute;
  z-index: 30;
  inset: 0 0 auto;
  width: min(1380px, calc(100% - 2rem));
  color: var(--great-paper);
  background: transparent;
}

.greatish-header .brand,
.greatish-header .main-nav a {
  color: var(--great-paper);
}

.greatish-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  min-height: 100svh;
  padding: clamp(7rem, 12vw, 11rem) clamp(1.2rem, 8vw, 8rem) clamp(5rem, 9vw, 8rem);
  color: var(--great-paper);
  background:
    radial-gradient(circle at 77% 46%, rgba(244,201,40,.2), transparent 29rem),
    repeating-linear-gradient(125deg, transparent 0 36px, rgba(255,255,255,.025) 36px 38px),
    #19161e;
  border-bottom: 10px solid var(--great-yellow);
}

.greatish-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 15%;
  right: -4%;
  width: 54%;
  height: 72%;
  border: 2px dashed rgba(240,229,199,.18);
  transform: rotate(-5deg);
}

.hero-copy {
  position: relative;
  z-index: 5;
  min-width: 0;
}

.issue-line,
.margin-note {
  margin: 0 0 .8rem;
  color: var(--great-yellow);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.greatish-hero h1 {
  display: flex;
  align-items: baseline;
  margin: 0;
  font-size: clamp(4.3rem, 10.5vw, 11rem);
  font-weight: 1000;
  line-height: .72;
  letter-spacing: -.1em;
  text-transform: uppercase;
  -webkit-text-stroke: .04em var(--great-paper);
}

.greatish-hero h1 span:first-child {
  color: var(--great-red);
}

.greatish-hero h1 b {
  color: var(--great-yellow);
  font-size: .74em;
  transform: translateY(-.05em);
}

.greatish-hero h1 span:last-child {
  color: var(--great-paper);
}

.hero-declaration {
  margin: 1.8rem 0 .7rem;
  color: var(--great-pink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
}

.hero-description {
  max-width: 660px;
  margin: 0 0 2rem;
  color: rgba(240,229,199,.84);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.55;
}

.greatish-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.7rem;
  padding: .8rem 1.35rem;
  border: 4px solid var(--great-ink);
  color: var(--great-ink);
  background: var(--great-yellow);
  box-shadow: .5rem .5rem 0 var(--great-red);
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.greatish-button:hover,
.greatish-button:focus-visible {
  transform: translate(.15rem, .15rem);
  box-shadow: .34rem .34rem 0 var(--great-red);
}

.cover-stack {
  position: relative;
  justify-self: center;
  width: min(100%, 620px);
  min-width: 0;
  min-height: 650px;
}

.opened-greatish {
  overflow: hidden;
  width: min(100%, 720px);
  min-height: 500px;
  border: 6px solid var(--great-paper);
  background: #0d1115;
  box-shadow: 1.1rem 1.2rem 0 rgba(0,0,0,.35);
  transform: rotate(1.5deg);
}

.opened-greatish > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opened-greatish .stack-note {
  right: 1rem;
  bottom: 1rem;
}

.stack-cover {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(54%, 330px);
  border: 5px solid var(--great-ink);
  box-shadow: 1.1rem 1.2rem 0 rgba(0,0,0,.35);
}

.stack-one {
  transform: translate(-105%, -48%) rotate(-11deg);
}

.stack-two {
  transform: translate(-2%, -52%) rotate(9deg);
}

.stack-three {
  z-index: 3;
  transform: translate(-53%, -51%) rotate(-1deg);
}

.stack-note {
  position: absolute;
  z-index: 5;
  right: 1%;
  bottom: 2%;
  width: 15rem;
  padding: 1rem;
  color: var(--great-ink);
  background: var(--great-yellow);
  border: 3px solid var(--great-ink);
  box-shadow: .45rem .45rem 0 var(--great-red);
  font-size: .78rem;
  font-weight: 950;
  line-height: 1.3;
  text-transform: uppercase;
  transform: rotate(4deg);
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr);
  gap: 2rem 5rem;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 8vw, 8rem);
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(17,16,20,.06) 49.8% 50.2%, transparent 50.2%),
    var(--great-paper);
}

.manifesto > .margin-note {
  grid-column: 1 / -1;
  color: var(--great-red);
}

.manifesto h2,
.archive-heading h2,
.editor-desk h2,
.greatish-exit h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.5rem, 7.4vw, 7.6rem);
  font-weight: 1000;
  line-height: .82;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.manifesto-copy {
  align-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.5;
}

.manifesto-copy p:last-child {
  color: var(--great-red);
  font-size: 1.25em;
  font-style: italic;
}

.topic-ribbon {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 2rem;
  padding: 1rem;
  border-block: 5px solid var(--great-ink);
  background: var(--great-yellow);
}

.topic-ribbon span {
  flex: 1 1 auto;
  padding: .45rem .8rem;
  border: 2px solid var(--great-ink);
  background: var(--great-paper);
  font-size: .72rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.issue-archive {
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 7vw, 7rem);
  color: var(--great-paper);
  background:
    radial-gradient(circle at 12% 12%, rgba(227,52,34,.2), transparent 25rem),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(240,229,199,.035) 38px 39px),
    #1b1a20;
}

.archive-heading {
  display: grid;
  grid-template-columns: 1fr .6fr;
  gap: 2rem;
  align-items: end;
  max-width: 1320px;
  margin: 0 auto 4rem;
}

.archive-heading > p {
  margin: 0;
  color: rgba(240,229,199,.78);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2.2rem);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

.issue-card {
  margin: 0;
  padding: .6rem .6rem 1rem;
  color: var(--great-ink);
  background: var(--great-paper);
  border: 4px solid var(--great-ink);
  box-shadow: .65rem .7rem 0 rgba(0,0,0,.35);
  transition: transform .18s ease;
}

.issue-card:hover {
  z-index: 4;
  transform: rotate(0) translateY(-.6rem);
}

.issue-card img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 2px solid var(--great-ink);
}

.issue-card figcaption {
  padding: .8rem .2rem 0;
}

.issue-card strong,
.issue-card span {
  display: block;
}

.issue-card strong {
  color: var(--great-red);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.issue-card span {
  margin-top: .35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1.15;
}

.tilt-left {
  transform: rotate(-1.7deg);
}

.tilt-right {
  transform: rotate(1.7deg);
}

.issue-feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .7fr);
  align-items: end;
  color: var(--great-paper);
  background: var(--great-red);
}

.issue-feature figcaption {
  align-self: center;
  padding: 2rem;
}

.issue-feature strong {
  color: var(--great-yellow);
}

.issue-feature span {
  font-size: clamp(1.7rem, 2.5vw, 3rem);
}

.archive-action {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 4px solid var(--great-paper);
}

.archive-action p {
  max-width: 650px;
  font-weight: 700;
  line-height: 1.5;
}

.button-dark {
  background: var(--great-paper);
}

.editor-desk {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2rem, 7vw, 8rem);
  align-items: center;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 8vw, 8rem);
  background:
    linear-gradient(15deg, transparent 0 48%, rgba(17,16,20,.055) 48% 49%, transparent 49%),
    #d6c39b;
}

.editor-desk .margin-note {
  color: var(--great-green);
}

.desk-copy > p:not(.margin-note) {
  max-width: 650px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
}

.not-yet {
  display: inline-block;
  margin-top: 1.2rem;
  padding: .55rem .7rem;
  color: var(--great-paper);
  background: var(--great-green);
  border: 3px solid var(--great-ink);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.desk-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .55fr);
  gap: 1.5rem;
  align-items: center;
}

.evidence-photo {
  padding: .75rem .75rem 1rem;
  background: var(--great-paper);
  border: 4px solid var(--great-ink);
  box-shadow: 1rem 1rem 0 rgba(17,16,20,.18);
  transform: rotate(-3deg);
}

.evidence-photo img {
  display: block;
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.85) contrast(1.04);
}

.evidence-photo span {
  display: block;
  padding: .8rem .2rem 0;
  font-size: .64rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

.next-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 390px;
  padding: 2rem;
  border: 6px solid var(--great-red);
  outline: 3px solid var(--great-ink);
  outline-offset: -.9rem;
  background:
    repeating-radial-gradient(circle at center, transparent 0 10px, rgba(227,52,34,.12) 11px 12px),
    var(--great-paper);
  text-align: center;
  transform: rotate(4deg);
}

.next-card strong {
  font-size: 2rem;
  line-height: .95;
  text-transform: uppercase;
}

.next-card p {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
}

.card-corner {
  position: absolute;
  top: 1rem;
  left: 1.2rem;
  color: var(--great-red);
  font-size: 2rem;
  font-weight: 1000;
}

.card-corner.bottom {
  inset: auto 1.2rem 1rem auto;
  transform: rotate(180deg);
}

.greatish-exit {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 8vw, 8rem);
  color: var(--great-paper);
  background:
    linear-gradient(100deg, transparent 0 60%, rgba(244,201,40,.1) 60% 62%, transparent 62%),
    var(--great-red);
}

.greatish-exit .margin-note {
  color: var(--great-yellow);
}

.exit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
}

.return-link-greatish {
  padding-bottom: .25rem;
  border-bottom: 4px solid currentColor;
  color: var(--great-paper);
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.greatish-footer {
  color: var(--great-paper);
  background: #0a090c;
}

@media (max-width: 980px) {
  .greatish-hero,
  .manifesto,
  .archive-heading,
  .editor-desk {
    grid-template-columns: 1fr;
  }

  .cover-stack {
    min-height: 610px;
  }

  .opened-greatish {
    min-height: 440px;
  }

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

  .issue-feature {
    grid-column: span 2;
  }
}

@media (max-width: 700px) {
  .greatish-header {
    width: calc(100% - 1rem);
  }

  .greatish-header .main-nav {
    gap: .65rem;
    font-size: .68rem;
  }

  .greatish-hero {
    grid-template-columns: 1fr;
  }

  .greatish-hero h1 {
    max-width: 100%;
    font-size: clamp(3.3rem, 17vw, 4.5rem);
    letter-spacing: -.11em;
  }

  .cover-stack {
    width: 100%;
    min-height: 480px;
  }

  .opened-greatish {
    min-height: 330px;
  }

  .stack-cover {
    width: 58%;
  }

  .stack-note {
    right: 0;
    bottom: 0;
    width: 12rem;
  }

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

  .archive-heading h2 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10.5vw, 2.9rem);
    letter-spacing: -.065em;
  }

  .issue-feature {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .issue-feature figcaption {
    padding: 1rem .5rem;
  }

  .archive-action,
  .desk-art {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .desk-art {
    display: grid;
  }

  .next-card {
    min-height: 300px;
  }
}

@media (max-width: 420px) {
  .cover-stack {
    min-height: 420px;
  }

  .opened-greatish {
    min-height: 280px;
  }

  .stack-cover {
    width: 62%;
  }

  .stack-note {
    width: 10rem;
    font-size: .64rem;
  }

  .issue-card {
    padding: .35rem .35rem .7rem;
  }

  .issue-card span {
    font-size: .88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .issue-card {
    transition: none;
  }
}
