:root {
  --ink: #171717;
  --paper: #f4ead7;
  --paper-deep: #dfcba8;
  --green: #20bf55;
  --green-dark: #0f8136;
  --gold: #f4b942;
  --red: #e94f37;
  --blue: #1877c9;
  --line: rgba(23, 23, 23, 0.18);
  --shadow: 8px 8px 0 rgba(23, 23, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.045) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(23, 23, 23, 0.04) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--paper);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  background-image:
    radial-gradient(rgba(23, 23, 23, 0.16) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
  mix-blend-mode: multiply;
}

.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 2px solid var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: white;
}

nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

nav a {
  padding: 9px 12px;
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 800;
}

nav a:hover {
  border-color: var(--ink);
  background: var(--gold);
}

main {
  overflow: hidden;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 50px 0 76px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  width: fit-content;
  padding: 7px 11px 8px;
  color: white;
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--gold);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(72px, 12vw, 150px);
  line-height: 0.82;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 6px 6px 0 var(--green), 10px 10px 0 var(--ink);
}

.lead {
  max-width: 680px;
  margin-bottom: 26px;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.12;
  font-weight: 850;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-width: 120px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  font-weight: 950;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.button.primary {
  background: var(--green);
}

.button.ghost:nth-child(2) {
  background: white;
}

.button.ghost:nth-child(3) {
  background: var(--gold);
}

.hero-art {
  justify-self: center;
  position: relative;
  width: min(100%, 440px);
  transform: rotate(2deg);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: -1;
  background: var(--red);
  border: 3px solid var(--ink);
  transform: rotate(-8deg);
}

.hero-art img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid var(--ink);
  background: white;
  box-shadow: var(--shadow);
  filter: saturate(0.95) contrast(1.03);
}

.ticker {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 16px 0;
  border-block: 3px solid var(--ink);
  background: var(--green);
  font-size: clamp(18px, 3vw, 42px);
  font-weight: 1000;
  white-space: nowrap;
  animation: crawl 22s linear infinite;
}

.ticker span {
  padding-inline: 18px;
}

@keyframes crawl {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.story,
.poster,
.contract {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 5vw, 76px);
  padding: 86px 0 36px;
  align-items: end;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 6vw, 78px);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.story > p,
.poster p {
  margin-bottom: 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.23;
  font-weight: 760;
}

.flip-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 90px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.flip-grid article {
  min-height: 236px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 3px solid var(--ink);
  background: white;
  box-shadow: 6px 6px 0 rgba(23, 23, 23, 0.2);
}

.flip-grid article:nth-child(2) {
  background: var(--gold);
  transform: rotate(1.5deg);
}

.flip-grid article:nth-child(3) {
  background: var(--green);
  transform: rotate(-1deg);
}

.flip-grid span {
  font-size: 15px;
  font-weight: 1000;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 0.95;
  text-transform: uppercase;
}

.flip-grid p {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 750;
}

.poster {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding: 28px 0 88px;
}

.poster img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  background: var(--paper-deep);
}

.poster h2 {
  margin-bottom: 18px;
}

.contract {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 1fr);
  gap: clamp(20px, 4vw, 50px);
  align-items: center;
  padding: 36px 0 86px;
  border-top: 3px solid var(--ink);
}

.ca-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border: 3px solid var(--ink);
  background: white;
  box-shadow: var(--shadow);
}

code {
  min-width: 0;
  overflow: hidden;
  padding: 14px 12px;
  border: 2px solid var(--line);
  background: #f8f8f8;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 800;
}

.copy {
  min-width: 86px;
  border: 2px solid var(--ink);
  background: var(--gold);
  cursor: pointer;
  font-weight: 950;
}

footer {
  width: min(1180px, calc(100% - 32px));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 2px solid var(--ink);
  font-size: 14px;
  font-weight: 850;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 38px 0 56px;
  }

  .hero-art {
    width: min(100%, 330px);
  }

  .story,
  .poster,
  .contract {
    grid-template-columns: 1fr;
  }

  .flip-grid {
    grid-template-columns: 1fr;
  }

  .flip-grid article {
    min-height: 190px;
  }

  .contract {
    padding-bottom: 60px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .story,
  .flip-grid,
  .poster,
  .contract,
  footer {
    width: min(100% - 22px, 1180px);
  }

  h1 {
    font-size: clamp(62px, 22vw, 98px);
    text-shadow: 4px 4px 0 var(--green), 7px 7px 0 var(--ink);
  }

  .lead {
    font-size: 19px;
  }

  .button {
    flex: 1 1 120px;
  }

  .ca-box {
    grid-template-columns: 1fr;
  }

  .copy {
    min-height: 46px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}
