:root {
  --ink: #102014;
  --muted: #42614b;
  --field: #31c749;
  --field-deep: #0b8f2a;
  --sky: #0b9df4;
  --sun: #ffe85b;
  --pink: #ff51b6;
  --orange: #ff8b16;
  --blue: #1757ff;
  --paper: #fffdf0;
  --line: rgba(16, 32, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

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

.ticker {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--sun);
  color: var(--ink);
  font-weight: 900;
  font-size: 0.78rem;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 14s linear infinite;
  will-change: transform;
}

.ticker__group {
  display: flex;
  min-width: 100vw;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
}

.ticker__group span {
  padding: 0.45rem 1.4rem;
  white-space: nowrap;
}

.site-header {
  position: fixed;
  top: 31px;
  left: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  color: white;
}

.brand,
.nav {
  display: flex;
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(8, 46, 28, 0.26);
  box-shadow: 0 14px 40px rgba(4, 46, 74, 0.18);
  backdrop-filter: blur(10px);
}

.brand {
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  border-radius: 999px;
  font-weight: 900;
}

.brand__mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--field);
  color: white;
  font-family: "Baloo 2", cursive;
  font-size: 1.25rem;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.16);
}

.nav {
  gap: 0.2rem;
  min-height: 44px;
  padding: 0.28rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav a {
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 9rem clamp(1rem, 5vw, 4.5rem) 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 53, 25, 0.72), rgba(7, 53, 25, 0.34) 42%, rgba(7, 53, 25, 0.06) 76%),
    linear-gradient(0deg, rgba(49, 199, 73, 0.2), transparent 45%);
}

.hero__content {
  width: min(680px, 100%);
  color: white;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.22);
}

.section-kicker {
  margin: 0 0 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(5.5rem, 17vw, 13rem);
  line-height: 0.78;
}

.hero__copy {
  max-width: 620px;
  margin: 1.15rem 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  line-height: 1.16;
  font-weight: 800;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.button,
.text-link,
.phrase-card,
.spin-button {
  min-height: 48px;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.86rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--ink);
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.phrase-card:hover,
.phrase-card:focus-visible,
.spin-button:hover,
.spin-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button:active,
.phrase-card:active,
.spin-button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--ink);
}

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

.button--secondary {
  background: white;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4.5rem);
  background: white;
}

.section-kicker {
  color: var(--field-deep);
  font-size: 0.82rem;
}

.intro h2,
.manifesto h2,
.phrase-section h2 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.92;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.stats article {
  min-height: 220px;
  padding: 1.1rem;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #f7fff1;
}

.stats span {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: var(--pink);
  font-family: "Baloo 2", cursive;
  font-size: 2rem;
  font-weight: 800;
}

.stats h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.stats p,
.manifesto p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4.5rem);
  background:
    linear-gradient(180deg, rgba(11, 157, 244, 0.16), rgba(49, 199, 73, 0.18)),
    var(--paper);
}

.portrait-wrap {
  position: relative;
  align-self: stretch;
  min-height: 460px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 12px 12px 0 var(--ink);
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spin-button {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  min-width: 92px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 6px 0 var(--ink);
  font-family: "Baloo 2", cursive;
  font-size: 1.1rem;
}

.portrait-wrap.is-spinning img {
  animation: wiggle 520ms ease both;
}

.manifesto__content {
  max-width: 680px;
}

.manifesto__content p {
  margin-top: 1rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--sky);
  color: white;
  box-shadow: 0 6px 0 var(--ink);
}

.phrase-section {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 4.5rem);
  text-align: center;
  background: var(--field);
}

.phrase-card {
  width: min(880px, 100%);
  margin-top: 1.2rem;
  padding: clamp(1rem, 4vw, 2rem);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 0 var(--ink);
  font-family: "Baloo 2", cursive;
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 0.98;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 5vw, 4.5rem);
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.footer p {
  margin: 0;
}

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

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-2deg) scale(1.02);
  }
  50% {
    transform: rotate(2deg) scale(1.02);
  }
  75% {
    transform: rotate(-1deg) scale(1.01);
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    gap: 0.7rem;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 90vh;
    padding-top: 8.5rem;
    align-items: flex-end;
  }

  .hero__image {
    object-position: 68% center;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(5, 42, 22, 0.78), rgba(5, 42, 22, 0.22) 68%),
      linear-gradient(90deg, rgba(5, 42, 22, 0.42), rgba(5, 42, 22, 0.02));
  }

  .intro,
  .manifesto {
    grid-template-columns: 1fr;
  }

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

  .stats article {
    min-height: auto;
  }

  .portrait-wrap {
    min-height: 360px;
  }
}

@media (max-width: 520px) {
  .nav a {
    padding: 0.58rem 0.52rem;
    font-size: 0.72rem;
  }

  .hero__actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .phrase-card {
    font-size: clamp(1.65rem, 11vw, 3.4rem);
  }
}

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