:root {
  --ink: #171515;
  --muted: #625d58;
  --paper: #f7f1e7;
  --panel: #fffaf1;
  --yellow: #f8ce45;
  --red: #df4b3f;
  --blue: #2f70b7;
  --green: #3f8f68;
  --shadow: 0 24px 60px rgba(34, 25, 15, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 21, 21, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(23, 21, 21, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 2px solid var(--ink);
  background: rgba(247, 241, 231, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Archivo, sans-serif;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.site-nav a {
  padding: 9px 12px;
  border: 2px solid transparent;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--ink);
  background: var(--panel);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 150px);
  padding: clamp(42px, 6vw, 86px) clamp(18px, 5vw, 70px) 36px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-family: Archivo, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Archivo, sans-serif;
  line-height: 0.95;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.8rem, 6vw, 5.55rem);
  overflow-wrap: break-word;
  text-transform: uppercase;
}

h2 {
  max-width: 880px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.35rem;
}

.hero-text {
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  background: var(--red);
  color: #fffaf1;
}

.button-secondary {
  background: var(--yellow);
}

.hero-art {
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow), 8px 8px 0 var(--ink);
  transform: rotate(1deg);
}

.hero-art img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}

.ticker {
  display: flex;
  overflow: hidden;
  border-block: 2px solid var(--ink);
  background: var(--blue);
  color: #fffaf1;
}

.ticker span {
  min-width: max-content;
  padding: 14px 28px;
  border-right: 2px solid var(--ink);
  font-family: Archivo, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.scoreboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 2px solid var(--ink);
  background: var(--panel);
}

.scoreboard div {
  padding: clamp(22px, 4vw, 38px);
  border-right: 2px solid var(--ink);
}

.scoreboard div:last-child {
  border-right: 0;
}

.scoreboard strong {
  display: block;
  font-family: Archivo, sans-serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.9;
}

.scoreboard span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: clamp(54px, 8vw, 102px) clamp(18px, 5vw, 70px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 6vw, 84px);
  align-items: end;
}

.intro p:last-child,
.submit-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-button {
  min-height: 40px;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  background: var(--panel);
  font-weight: 900;
  cursor: pointer;
}

.filter-button.is-active {
  background: var(--yellow);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.entry-card {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  border: 2px solid var(--ink);
  background: var(--panel);
  box-shadow: 5px 5px 0 var(--ink);
}

.entry-card.is-hidden {
  display: none;
}

.entry-visual {
  position: relative;
  display: grid;
  min-height: 170px;
  place-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

.entry-visual::before,
.entry-visual::after,
.entry-visual span {
  position: absolute;
  content: "";
  border: 2px solid var(--ink);
  background: #f0b58f;
}

.entry-visual::before {
  width: 118px;
  height: 46px;
  border-radius: 80px 80px 28px 28px;
  transform: rotate(-26deg) translate(-12px, -8px);
}

.entry-visual::after {
  width: 108px;
  height: 48px;
  border-radius: 28px 28px 80px 80px;
  transform: rotate(28deg) translate(14px, 18px);
}

.entry-visual span {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--yellow);
}

.visual-one {
  background: #f8d66d;
}

.visual-two {
  background: #8fc7db;
}

.visual-three {
  background: #95c996;
}

.visual-four {
  background: #ed9d88;
}

.entry-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 0;
  color: var(--red);
  font-family: Archivo, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.entry-meta strong {
  color: var(--ink);
  font-size: 1.7rem;
}

.entry-card h3 {
  padding: 12px 16px 0;
}

.entry-card p {
  margin: 0;
  padding: 12px 16px 18px;
  color: var(--muted);
  line-height: 1.55;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  border-block: 2px solid var(--ink);
  background: var(--green);
  color: #fffaf1;
}

.feature-band .eyebrow,
.feature-band p {
  color: #fffaf1;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  border: 2px solid var(--ink);
  background: rgba(255, 250, 241, 0.14);
  padding: 18px;
}

.feature-list p {
  margin: 10px 0 0;
  line-height: 1.55;
}

.submit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.75fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  padding: 12px 14px;
  border: 2px solid var(--ink);
  background: var(--panel);
  font-weight: 800;
}

.submission-form {
  display: grid;
  gap: 16px;
  border: 2px solid var(--ink);
  background: var(--panel);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 8px 8px 0 var(--ink);
}

.submission-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 900;
}

.submission-form input,
.submission-form select,
.submission-form textarea {
  width: 100%;
  border: 2px solid var(--ink);
  background: #fffef9;
  color: var(--ink);
  padding: 12px;
}

.submission-form textarea {
  min-height: 120px;
  resize: vertical;
}

.consent-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.preview-section {
  padding-top: 0;
}

.preview-card {
  margin-top: 24px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  padding: clamp(20px, 4vw, 34px);
  box-shadow: 8px 8px 0 var(--ink);
}

.preview-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--red);
  font-family: Archivo, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-card h3 {
  font-size: clamp(2rem, 4vw, 4rem);
  text-transform: uppercase;
}

.preview-card p {
  max-width: 760px;
  margin: 14px 0 0;
  line-height: 1.6;
}

.rules {
  border-top: 2px solid var(--ink);
  background: var(--panel);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.rules-grid article {
  border-left: 6px solid var(--red);
  padding: 18px 0 0 18px;
}

.rules-grid span {
  color: var(--blue);
  font-family: Archivo, sans-serif;
  font-size: 2rem;
  font-weight: 900;
}

.rules-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 70px);
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--panel);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 900;
}

@media (max-width: 1080px) {
  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header,
  .section-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .intro,
  .feature-band,
  .submit-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    transform: none;
  }

  .scoreboard,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .scoreboard div {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .scoreboard div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav a {
    padding-inline: 0;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 3.35rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .entry-card {
    min-height: 0;
  }
}
