:root {
  --ink: #14161a;
  --charcoal: #1c1f24;
  --heather: #2a2e34;
  --sock: #7c838d;
  --sock-light: #b4b8bf;
  --cream: #f3e6c3;
  --cream-soft: #efe6d4;
  --paper: #f6f1e7;
  --ginger: #d47836;
  --ginger-deep: #b45f20;
  --lime: #8fbf4a;
  --lime-deep: #5f8730;
  --forest: #3a4636;
  --burgundy: #5a3338;
  --line: rgba(243, 230, 195, 0.14);
  --shadow: 0 24px 60px rgba(8, 9, 11, 0.45);
  --display: "Bagel Fat One", "Segoe UI", sans-serif;
  --yarn: "Gluten", "Segoe UI", sans-serif;
  --body: "Nunito", "Segoe UI", sans-serif;
  --radius: 28px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--body);
  color: var(--cream-soft);
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(212, 120, 54, 0.16), transparent 55%),
    radial-gradient(900px 600px at 100% 8%, rgba(143, 191, 74, 0.12), transparent 50%),
    linear-gradient(180deg, #1a1d22 0%, #16181c 42%, #1b1f24 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0 10px,
      rgba(0, 0, 0, 0.05) 10px 12px,
      rgba(255, 255, 255, 0.02) 12px 22px,
      rgba(0, 0, 0, 0.04) 22px 24px
    );
  mix-blend-mode: soft-light;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

#fiber-field,
.ambient,
.knit-veil {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#fiber-field { z-index: 1; }

.ambient { z-index: 0; overflow: hidden; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  animation: orb-drift 18s ease-in-out infinite;
}

.orb-ginger {
  width: 380px;
  height: 380px;
  background: #d47836;
  top: 8%;
  left: -6%;
}

.orb-lime {
  width: 300px;
  height: 300px;
  background: #7eab3d;
  right: -4%;
  top: 18%;
  animation-delay: -6s;
}

.orb-cream {
  width: 240px;
  height: 240px;
  background: #f3e6c3;
  bottom: 10%;
  left: 40%;
  opacity: 0.12;
  animation-delay: -11s;
}

.knit-veil {
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath d='M6 12c8 6 14 6 22 0 8 6 14 6 22 0 8 6 14 6 22 0' fill='none' stroke='%23f3e6c3' stroke-opacity='.07' stroke-width='2'/%3E%3Cpath d='M6 36c8 6 14 6 22 0 8 6 14 6 22 0 8 6 14 6 22 0' fill='none' stroke='%23d47836' stroke-opacity='.05' stroke-width='2'/%3E%3Cpath d='M6 60c8 6 14 6 22 0 8 6 14 6 22 0 8 6 14 6 22 0' fill='none' stroke='%238fbf4a' stroke-opacity='.05' stroke-width='2'/%3E%3C/svg%3E");
  opacity: 0.7;
}

.sock-cuff {
  position: relative;
  z-index: 4;
  height: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #8a9098, #5d636c);
  box-shadow: inset 0 -6px 10px rgba(0,0,0,.25);
}

.rib-track {
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    #9aa0a8 0 8px,
    #6a7078 8px 14px,
    #b8bdc4 14px 16px,
    #5c626a 16px 22px
  );
  animation: cuff-slide 22s linear infinite;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(22, 24, 28, 0.72);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, background .3s ease;
}

.site-header.compact {
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  background: rgba(16, 18, 21, 0.86);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-hoop {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px dashed var(--lime);
  box-shadow: 0 0 0 4px rgba(143, 191, 74, 0.12);
  animation: hoop-breathe 4.5s ease-in-out infinite;
}

.brand-hoop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--display);
  letter-spacing: 0.04em;
  color: var(--cream);
}

.brand-sub {
  font-family: var(--yarn);
  font-size: 12px;
  color: var(--sock-light);
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  font-family: var(--yarn);
  font-size: 15px;
  color: var(--cream-soft);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 8px, transparent 8px 12px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(243, 230, 195, 0.1);
  border: 1px solid rgba(243, 230, 195, 0.32);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.icon-link img,
.btn img,
.row-icon img,
.join-card img,
.chart-bar img,
.mini-logo {
  filter: drop-shadow(0 1px 2px rgba(8, 9, 11, 0.45));
}

.icon-link img {
  width: 18px;
  height: 18px;
}

.icon-link:hover,
.btn:hover,
.join-card:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 191, 74, 0.45);
  box-shadow: 0 10px 24px rgba(143, 191, 74, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--yarn);
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.btn img {
  width: 18px;
  height: 18px;
}

.btn-buy img {
  background: #1c1f24;
  border-radius: 50%;
  padding: 4px;
  box-sizing: content-box;
}

.btn-buy {
  background: linear-gradient(180deg, #e3924e, #c56a28);
  color: #1a120b;
  box-shadow: 0 8px 0 #7a3d14, 0 16px 30px rgba(212, 120, 54, 0.28);
}

.btn-buy:hover { box-shadow: 0 6px 0 #7a3d14, 0 18px 32px rgba(212, 120, 54, 0.34); }

.btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--line);
  color: var(--cream);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
}

.tape {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(10, 12, 14, 0.55);
}

.tape-track {
  display: flex;
  gap: 36px;
  width: max-content;
  padding: 10px 0;
  animation: tape-run 38s linear infinite;
}

.tape-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--yarn);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tape-item .up { color: var(--lime); }
.tape-item .down { color: var(--ginger); }
.tape-item .sym { color: var(--cream); }

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

section {
  padding: 92px 0 20px;
}

.kicker {
  margin: 0 0 10px;
  font-family: var(--yarn);
  color: var(--lime);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0 20px;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.yarn-halo {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,120,54,.22), transparent 62%);
  animation: halo-pulse 5s ease-in-out infinite;
}

.hoop {
  position: relative;
  width: min(420px, 88vw);
  aspect-ratio: 1;
  animation: hoop-float 6s ease-in-out infinite;
}

.hoop-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: hoop-spin 28s linear infinite;
}

.hoop-wood {
  fill: none;
  stroke: #8d939c;
  stroke-width: 16;
}

.hoop-inner {
  fill: none;
  stroke: #4d535b;
  stroke-width: 8;
}

.hoop-stitch {
  fill: none;
  stroke: var(--cream);
  stroke-width: 3;
  stroke-dasharray: 7 9;
  opacity: 0.7;
}

.hoop-photo {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: inset 0 0 0 6px rgba(20,22,26,.35);
}

.hoop-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hoop-badge {
  position: absolute;
  right: 6%;
  bottom: 10%;
  min-width: 86px;
  padding: 8px 12px 10px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, #3a3f46, #23272d);
  clip-path: polygon(12% 0, 88% 0, 100% 18%, 100% 82%, 88% 100%, 12% 100%, 0 82%, 0 18%);
  box-shadow: 0 0 0 2px #6d9a3a, 0 8px 18px rgba(0,0,0,.35);
  animation: badge-pop 3.4s ease-in-out infinite;
}

.hoop-badge span {
  display: block;
  font-family: var(--yarn);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cream);
}

.hoop-badge strong {
  font-family: var(--display);
  font-size: 28px;
  font-style: italic;
  letter-spacing: 0.02em;
}

.yarn-end {
  position: absolute;
  width: 140px;
  height: 140px;
  right: 2%;
  bottom: 4%;
  border-radius: 50%;
  border: 8px solid #c56a28;
  box-shadow: inset 0 0 0 18px #d47836, 0 0 0 6px rgba(197,106,40,.25);
  animation: yarn-roll 9s linear infinite;
  opacity: 0.85;
}

.hero-title {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(54px, 8vw, 92px);
  line-height: 0.88;
  color: var(--cream);
  text-shadow:
    0 0 2px #6d9a3a,
    0 0 14px rgba(143, 191, 74, 0.55),
    0 0 34px rgba(143, 191, 74, 0.28),
    4px 6px 0 rgba(20, 22, 26, 0.45);
  -webkit-text-stroke: 1px rgba(95, 135, 48, 0.55);
}

.hero-title .line {
  display: block;
  animation: title-wave 4.8s ease-in-out infinite;
}

.hero-title .line:nth-child(2) { animation-delay: .15s; }

.badge-500 {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 22px 8px;
  font-size: 0.46em;
  font-style: italic;
  color: #fff;
  background: #2a2e34;
  border: 2px dashed #8fbf4a;
  border-radius: 18px 6px 18px 6px;
  -webkit-text-stroke: 0;
  text-shadow: none;
  box-shadow: 0 8px 0 #1a1d21;
}

.manifesto {
  margin: 0 0 16px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.35;
  color: var(--paper);
}

.manifesto em {
  font-family: var(--display);
  font-style: normal;
  color: var(--ginger);
}

.rule-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
}

.rule-row li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px dashed rgba(243, 230, 195, 0.28);
  background: rgba(255,255,255,.03);
  font-family: var(--yarn);
}

.lede {
  margin: 0 0 22px;
  color: var(--sock-light);
  font-size: 18px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.ca-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 8px 8px 12px;
  border-radius: 999px;
  background: rgba(10,12,14,.45);
  border: 1px solid var(--line);
}

.ca-label {
  font-family: var(--yarn);
  color: var(--lime);
  font-size: 12px;
}

#ca-display {
  font-size: 13px;
  color: var(--cream-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
}

.copy-btn {
  padding: 6px 12px;
  border-radius: 999px;
  background: #2f343b;
  font-family: var(--yarn);
  font-size: 12px;
}

.copy-btn.copied { background: var(--lime-deep); color: #fff; }

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-head h2,
.about h3,
.row-copy h3,
.holding h3 {
  font-family: var(--display);
  letter-spacing: 0.02em;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 0.95;
  color: var(--cream);
  text-shadow: 0 0 18px rgba(143, 191, 74, 0.18);
}

.section-lead {
  margin: 0;
  color: var(--sock-light);
  font-size: 18px;
  line-height: 1.6;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.printout {
  padding: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(246,241,231,.08), rgba(246,241,231,.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}

.printout::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(243,230,195,.16);
  border-radius: 20px;
  pointer-events: none;
}

.printout header {
  display: flex;
  justify-content: space-between;
  font-family: var(--yarn);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lime);
  margin-bottom: 18px;
}

.printout h3 {
  margin: 0 0 8px;
  font-size: 28px;
  color: var(--cream);
}

.printout p {
  margin: 0 0 16px;
  color: var(--cream-soft);
  line-height: 1.65;
}

.print-foot {
  font-family: var(--yarn);
  color: var(--ginger) !important;
}

.holdings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.holding {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  animation-delay: var(--delay);
}

.holding::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 14px 0 0 currentColor;
  color: rgba(243,230,195,.2);
}

.holding-weight {
  font-family: var(--display);
  font-size: 28px;
  color: var(--ginger);
}

.holding h3 { margin: 6px 0 8px; font-size: 22px; }

.holding p {
  margin: 0;
  color: var(--sock-light);
  line-height: 1.5;
}

.mini-logo {
  width: 22px;
  margin-top: 10px;
}

.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  position: relative;
}

.rows::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: repeating-linear-gradient(180deg, var(--ginger) 0 10px, transparent 10px 16px);
  opacity: 0.45;
}

.row-card {
  display: grid;
  grid-template-columns: 64px 72px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(20, 22, 26, 0.55);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.row-num {
  font-family: var(--display);
  font-size: 28px;
  color: var(--cream);
}

.row-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #2a2e34;
  border: 1px dashed rgba(243,230,195,.28);
}

.row-icon img { width: 34px; height: 34px; }

.row-copy h3 { margin: 0 0 6px; font-size: 24px; }

.row-copy p { margin: 0; color: var(--sock-light); }

.text-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--yarn);
  color: var(--lime);
  border-bottom: 1px dashed var(--lime);
}

.chart-frame {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f1114;
  box-shadow: var(--shadow);
}

.chart-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #191c21;
  font-family: var(--yarn);
}

.chart-bar a {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
}

.chart-bar img { width: 16px; height: 16px; }

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: live 1.4s ease-in-out infinite;
}

#dex-embed {
  width: 100%;
  height: min(720px, 78vh);
  border: 0;
  background: #0f1114;
}

.poster {
  margin: 0 0 28px;
  border-radius: 30px;
  overflow: hidden;
  border: 8px solid #4d535b;
  box-shadow:
    0 0 0 4px rgba(143,191,74,.25),
    var(--shadow);
  position: relative;
}

.poster img {
  width: 100%;
  height: auto;
  display: block;
  animation: poster-shift 18s ease-in-out infinite;
}

.poster figcaption {
  padding: 12px 16px 14px;
  background: #1a1d22;
  font-size: 13px;
  color: var(--sock-light);
  font-family: var(--yarn);
}

.join-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.join-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}

.join-card img { width: 28px; height: 28px; }
.join-card span { font-family: var(--display); font-size: 22px; }
.join-card small { color: var(--sock-light); }

.site-footer {
  margin-top: 80px;
  padding: 40px 0 50px;
  border-top: 1px solid var(--line);
  background: rgba(10,12,14,.45);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin: 20px 0;
  font-family: var(--yarn);
}

.disclaimer, .copy {
  color: var(--sock);
  line-height: 1.6;
}

.copy { margin-bottom: 0; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.in {
  animation: rise .9s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@keyframes cuff-slide {
  to { background-position: 220px 0; }
}

@keyframes tape-run {
  to { transform: translateX(-50%); }
}

@keyframes hoop-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes hoop-spin {
  to { transform: rotate(360deg); }
}

@keyframes hoop-breathe {
  0%, 100% { box-shadow: 0 0 0 4px rgba(143,191,74,.12); }
  50% { box-shadow: 0 0 0 7px rgba(143,191,74,.22); }
}

@keyframes halo-pulse {
  0%, 100% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes badge-pop {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(4deg) scale(1.04); }
}

@keyframes yarn-roll {
  to { transform: rotate(360deg); }
}

@keyframes title-wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes orb-drift {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(40px, -30px, 0); }
}

@keyframes live {
  50% { opacity: .35; transform: scale(.8); }
}

@keyframes poster-shift {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@media (max-width: 960px) {
  .hero-grid,
  .about-split,
  .join-links { grid-template-columns: 1fr; }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    padding: 16px;
    flex-direction: column;
    background: #1c1f24;
    border: 1px solid var(--line);
    border-radius: 18px;
  }

  .nav.open { display: flex; }
  .menu-btn { display: flex; }
  .header-inner { min-height: 70px; }
  .hero-stage { min-height: 420px; }
  .yarn-end { display: none; }
}

@media (max-width: 640px) {
  .header-actions .icon-link { display: none; }
  .btn-buy span { font-size: 14px; }
  .holdings,
  .row-card { grid-template-columns: 1fr; }
  .rows::before { display: none; }
  .hero-title { font-size: 54px; }
  .hero-stage { min-height: 300px; }
  .hoop { width: min(280px, 72vw); }
  #dex-embed { height: 540px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
