:root {
  --pratt-green: #87c802;
  --black: #050505;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background: var(--pratt-green);
  color: var(--black);
  font-family: 'Arial Narrow', 'HelveticaNeue-CondensedBold', 'Roboto Condensed', Arial, Helvetica, sans-serif;
  cursor: url("assets/cursor-face.png") 32 32, auto;
  overflow-x: hidden;
  user-select: none;
}


body,
button,
a,
code {
  font-family: 'Arial Narrow', 'HelveticaNeue-CondensedBold', 'Roboto Condensed', Arial, Helvetica, sans-serif;
  font-stretch: condensed;
}

a,
button {
  cursor: url("assets/cursor-face.png") 32 32, pointer;
}

.top-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  overflow: hidden;
  border-bottom: 2px solid var(--black);
  background: var(--black);
  color: var(--pratt-green);
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  animation: ticker-scroll 24s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-size: clamp(13px, 2vw, 16px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.ticker-track span::after {
  content: "•";
  margin-left: 18px;
}

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

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 48px 28px 20px;
}

.hero {
  width: min(760px, 100%);
  transform: translateY(-12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  width: min(760px, 96vw);
  height: clamp(132px, 20vw, 178px);
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05);
}

.tagline {
  margin: -36px 0 0;
  font-size: clamp(18px, 3.5vw, 28px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

.links {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.links a {
  min-width: 104px;
  padding: 10px 16px;
  border: 2px solid var(--black);
  border-radius: 999px;
  color: var(--black);
  background: transparent;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  transition: transform 140ms ease, background 140ms ease, color 140ms ease;
}

.links a:hover,
.links a:focus-visible {
  background: var(--black);
  color: var(--pratt-green);
  transform: translateY(-2px);
}

.info-grid {
  margin-top: 18px;
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.info-cell {
  padding: 12px 14px;
  border: 2px solid var(--black);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--black);
  text-align: left;
  text-decoration: none;
}

.info-link {
  transition: transform 140ms ease, background 140ms ease, color 140ms ease;
}

.info-link:hover,
.info-link:focus-visible {
  background: var(--black);
  color: var(--pratt-green);
  transform: translateY(-2px);
}

.info-link:hover span,
.info-link:focus-visible span {
  opacity: 1;
}

.info-cell span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.info-cell strong {
  display: block;
  font-size: clamp(20px, 4vw, 30px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.08em;
  text-transform: lowercase;
}

.ca-box {
  margin-top: 18px;
  width: min(680px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 2px solid var(--black);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.ca-label {
  font-weight: 900;
  font-size: 14px;
}

#contract-address {
  max-width: 100%;
  color: var(--black);
  font-family: 'Arial Narrow', 'HelveticaNeue-CondensedBold', 'Roboto Condensed', Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: break-all;
}

#copy-button,
#manifesto-copy-button {
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: var(--pratt-green);
  padding: 8px 13px;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  transition: transform 140ms ease, opacity 140ms ease;
}

#copy-button:hover,
#copy-button:focus-visible,
#manifesto-copy-button:hover,
#manifesto-copy-button:focus-visible {
  transform: translateY(-2px);
}

.manifesto-card {
  margin-top: 18px;
  width: min(680px, 100%);
  border: 2px solid var(--black);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  text-align: left;
}

.manifesto-header {
  padding: 9px 12px;
  border-bottom: 2px solid var(--black);
  background: var(--black);
  color: var(--pratt-green);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.manifesto-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px 16px;
}

#manifesto-copy {
  flex: 1;
  min-height: 54px;
  margin: 0;
  color: var(--black);
  font-size: clamp(18px, 4vw, 28px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.065em;
  text-transform: lowercase;
  transition: opacity 180ms ease, transform 180ms ease;
}

#manifesto-copy-button {
  flex: 0 0 auto;
  background: var(--black);
  color: var(--pratt-green);
  padding: 8px 13px;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  border-radius: 999px;
  transition: transform 140ms ease, opacity 140ms ease;
}

#manifesto-copy.is-changing {
  opacity: 0;
  transform: translateY(6px);
}

.disclaimer {
  margin: 18px 0 0;
  max-width: 680px;
  color: var(--black);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
  opacity: 0.82;
}

.burst-face {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--size, 58px);
  height: var(--size, 58px);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  animation: burst 2.5s cubic-bezier(0.15, 0.85, 0.25, 1) forwards;
}

@keyframes burst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) translate(0, 0) scale(0.9) rotate(0deg);
  }

  82% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(var(--x), var(--y)) scale(0.35) rotate(var(--r));
  }
}

.secret-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 5, 5, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.secret-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.secret-card {
  position: relative;
  width: min(420px, 92vw);
  padding: 30px 24px 26px;
  border: 3px solid var(--black);
  border-radius: 28px;
  background: var(--pratt-green);
  box-shadow: 10px 10px 0 var(--black);
  color: var(--black);
  text-align: center;
  transform: translateY(12px) scale(0.96) rotate(-1deg);
  transition: transform 180ms ease;
}

.secret-modal.show .secret-card {
  transform: translateY(0) scale(1) rotate(-1deg);
}

.secret-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: var(--pratt-green);
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.secret-eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.secret-card h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 8vw, 52px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.08em;
  text-transform: lowercase;
}

.secret-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 18px;
  border: 3px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: var(--pratt-green);
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  transition: transform 140ms ease;
}

.secret-link:hover,
.secret-link:focus-visible {
  transform: translateY(-2px) rotate(1deg);
}

.secret-unlocked .logo {
  animation: logo-wiggle 520ms ease-in-out 2;
}

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

@media (max-width: 560px) {
  .page-shell {
    padding: 58px 20px 20px;
  }

  .hero {
    transform: translateY(-8px);
  }

  .logo {
    width: min(520px, 104vw);
    height: 122px;
  }

  .tagline {
    margin-top: -24px;
  }

  .links {
    margin-top: 24px;
    gap: 10px;
  }

  .links a {
    min-width: 96px;
  }

  .info-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .ca-box {
    align-items: stretch;
  }

  #copy-button {
    width: 100%;
  }

  .manifesto-body {
    align-items: stretch;
    flex-direction: column;
  }

  #manifesto-copy-button {
    width: 100%;
  }
}
