:root {
  --cream: #fff6df;
  --mint: #e8f8d9;
  --leaf: #2f8f3a;
  --leaf-dark: #174f29;
  --lime: #b7df42;
  --orange: #ff8b3d;
  --yellow: #ffd86b;
  --coral: #ff5f4a;
  --ink: #20311f;
  --muted: #6d7a61;
  --white: #ffffff;
  --line: rgba(32, 49, 31, 0.12);
  --shadow: 0 28px 70px rgba(43, 77, 36, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 216, 107, 0.38), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(183, 223, 66, 0.34), transparent 28%),
    var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(255, 246, 223, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--leaf-dark);
  font-weight: 950;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--leaf);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 5px 5px 0 var(--yellow);
}

.site-nav {
  gap: clamp(12px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 850;
}

.site-nav a:hover {
  color: var(--leaf-dark);
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px) clamp(36px, 6vw, 72px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  max-width: 9ch;
  color: var(--leaf-dark);
  font-size: clamp(4rem, 8vw, 7.6rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.9rem);
  letter-spacing: 0;
}

h3 {
  font-size: 1.22rem;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero-copy p {
  max-width: 610px;
  font-size: 1.13rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 950;
  box-shadow: 5px 5px 0 rgba(32, 49, 31, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(32, 49, 31, 0.18);
}

.button.primary {
  color: var(--white);
  background: var(--leaf);
}

.button.secondary {
  color: var(--leaf-dark);
  background: var(--white);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 36px);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 216, 107, 0.9), transparent 20%),
    radial-gradient(circle at 86% 78%, rgba(255, 139, 61, 0.75), transparent 22%),
    var(--mint);
  border: 3px solid var(--ink);
  border-radius: 46px;
  box-shadow: 14px 14px 0 rgba(23, 79, 41, 0.2);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.hero-visual::before {
  width: 140px;
  height: 140px;
  left: -42px;
  bottom: 80px;
  background: var(--coral);
}

.hero-visual::after {
  width: 170px;
  height: 170px;
  right: -54px;
  top: 64px;
  background: var(--lime);
}

.fruit-badge {
  position: absolute;
  z-index: 4;
  padding: 10px 16px;
  color: var(--leaf-dark);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 950;
  box-shadow: 5px 5px 0 rgba(32, 49, 31, 0.18);
}

.badge-one {
  top: 34px;
  left: 28px;
  transform: rotate(-8deg);
}

.badge-two {
  right: 30px;
  bottom: 42px;
  transform: rotate(7deg);
}

.cover-card,
.board-card,
.asset-card {
  margin: 0;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cover-card {
  position: relative;
  z-index: 2;
  width: min(100%, 690px);
  transform: rotate(-3deg);
}

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

.challenge-card {
  position: absolute;
  z-index: 5;
  right: 28px;
  bottom: 30px;
  width: min(320px, 72%);
  padding: 20px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 8px 0 rgba(32, 49, 31, 0.18);
}

.challenge-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.challenge-card strong {
  display: block;
  color: var(--leaf-dark);
  font-size: 1.15rem;
}

.challenge-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(52px, 7vw, 86px);
}

.overview article {
  min-height: 136px;
  padding: 24px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: 7px 7px 0 rgba(32, 49, 31, 0.12);
}

.overview span {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-weight: 950;
  text-transform: uppercase;
}

.overview strong {
  color: var(--leaf-dark);
  font-size: 1.35rem;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.section-title {
  max-width: 900px;
  margin-bottom: 30px;
}

.section-title.centered {
  margin-inline: auto;
  text-align: center;
}

.intro-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
}

.intro-text {
  padding: clamp(24px, 4vw, 38px);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 34px;
  box-shadow: 9px 9px 0 rgba(32, 49, 31, 0.12);
}

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

.rules-section {
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 139, 61, 0.2), transparent 24%),
    radial-gradient(circle at 90% 75%, rgba(183, 223, 66, 0.28), transparent 26%),
    var(--cream);
}

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

.rule-card {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 30px;
  box-shadow: 8px 8px 0 rgba(32, 49, 31, 0.12);
}

.rule-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 9px 12px;
  color: var(--leaf-dark);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 950;
}

.rule-card.win {
  grid-column: span 4;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  background: var(--leaf-dark);
}

.rule-card.win span {
  background: var(--orange);
}

.rule-card.win h3,
.rule-card.win p {
  color: var(--white);
}

.education-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  background: var(--leaf);
}

.nutrition-panel {
  padding: clamp(28px, 5vw, 54px);
  color: var(--white);
  background: var(--leaf-dark);
  border: 3px solid var(--ink);
  border-radius: 42px;
  box-shadow: 12px 12px 0 rgba(32, 49, 31, 0.2);
}

.nutrition-panel h2,
.nutrition-panel p {
  color: var(--white);
}

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-list article {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 30px;
  box-shadow: 8px 8px 0 rgba(32, 49, 31, 0.14);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: var(--leaf);
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-weight: 950;
}

.benefit-icon.orange {
  background: var(--orange);
}

.benefit-icon.red {
  background: var(--coral);
}

.gallery-section {
  background: var(--cream);
}

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

.asset-card {
  padding: 12px;
}

.asset-card.large {
  grid-column: span 2;
}

.asset-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 20px;
  background: var(--mint);
}

.asset-card figcaption {
  padding: 13px 6px 5px;
  color: var(--leaf-dark);
  font-weight: 950;
}

.closing-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--yellow);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.creator-section {
  background: var(--mint);
  border-bottom: 1px solid var(--line);
}

.creator-grid {
  max-width: 700px;
  margin: 0 auto;
}

.creator-card {
  display: flex;
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 34px;
  box-shadow: 9px 9px 0 rgba(32, 49, 31, 0.12);
}

.creator-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  color: var(--white);
  background: var(--orange);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 6px 6px 0 var(--yellow);
  font-size: 2rem;
  font-weight: 950;
}

.creator-info p {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.creator-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-badge {
  display: inline-flex;
  padding: 6px 14px;
  color: var(--leaf-dark);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 850;
}

.meta-badge strong {
  color: var(--orange);
}

.contact-section {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background: var(--leaf-dark);
  text-align: center;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-inner .eyebrow {
  color: var(--lime);
}

.contact-inner h2 {
  color: var(--white);
}

.contact-inner p {
  margin: 16px 0 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  color: var(--leaf-dark);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 850;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.contact-link:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.contact-icon {
  font-size: 1.15rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  font-weight: 850;
  transition: color 150ms ease;
}

.footer-links a:hover {
  color: var(--leaf-dark);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #fff;
  background: none;
  border: none;
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 150ms ease;
}

.lightbox-close:hover {
  opacity: 1;
}

.asset-card img {
  cursor: zoom-in;
}

@media (max-width: 1080px) {
  .hero,
  .intro-grid,
  .education-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

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

  .rule-card.win,
  .asset-card.large {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.84rem;
  }

  h1 {
    font-size: clamp(3.5rem, 17vw, 5.3rem);
  }

  .hero-visual {
    min-height: 430px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: clamp(18px, 4vw, 36px);
  }

  .challenge-card {
    position: static;
    width: min(320px, 100%);
    margin-top: 0;
  }

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

  .rule-card.win,
  .asset-card.large {
    grid-column: auto;
  }

  .creator-card {
    flex-direction: column;
    text-align: center;
  }

  .creator-meta {
    justify-content: center;
  }

  .contact-links {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-link {
    justify-content: center;
  }

  .rule-card.win,
  .closing-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .button {
    width: 100%;
  }
}
