:root {
  --pink: #e8a4b0;
  --pink-deep: #d4788a;
  --pink-soft: #f3c5ce;
  --pink-wash: #f8dfe4;
  --kraft: #c9a07a;
  --kraft-deep: #8b5e3c;
  --kraft-soft: #e4c9a8;
  --cream: #f7f0e6;
  --cream-deep: #efe4d4;
  --paper: #fbf6ef;
  --ink: #2c1a12;
  --ink-soft: #5a4032;
  --silver: #c5c8cc;
  --shadow: 0 18px 40px rgba(74, 40, 28, 0.14);
  --shadow-soft: 0 10px 24px rgba(74, 40, 28, 0.1);
  --radius: 28px;
  --display: "Bagel Fat One", "Fredoka", system-ui, sans-serif;
  --ui: "Fredoka", system-ui, sans-serif;
  --hand: "Caveat", cursive;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--ui);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.bg-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(232, 164, 176, 0.38), transparent 60%),
    radial-gradient(720px 480px at 92% 8%, rgba(201, 160, 122, 0.22), transparent 58%),
    radial-gradient(640px 420px at 70% 90%, rgba(232, 164, 176, 0.16), transparent 60%),
    linear-gradient(180deg, #f8efe6 0%, #f3e6d8 48%, #f7eee5 100%);
}

.bg-knit {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(212, 120, 138, 0.09) 10px 11px),
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(139, 94, 60, 0.07) 10px 11px);
  mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 78%);
}

.bg-grain {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.bokeh-a {
  width: 180px;
  height: 180px;
  left: 8%;
  top: 18%;
  background: rgba(243, 197, 206, 0.45);
}

.bokeh-b {
  width: 120px;
  height: 120px;
  right: 12%;
  top: 28%;
  background: rgba(228, 201, 168, 0.4);
  animation-delay: -6s;
}

.bokeh-c {
  width: 90px;
  height: 90px;
  left: 18%;
  bottom: 16%;
  background: rgba(232, 164, 176, 0.32);
  animation-delay: -11s;
}

.bokeh-d {
  width: 140px;
  height: 140px;
  right: 20%;
  bottom: 10%;
  background: rgba(251, 246, 239, 0.5);
  animation-delay: -3s;
}

#yarn-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 7vw;
  background: rgba(251, 246, 239, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 2px dashed rgba(139, 94, 60, 0.18);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 8px 24px rgba(44, 26, 18, 0.08);
  background: rgba(251, 246, 239, 0.92);
}

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

.nav-logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  padding: 4px;
  background: repeating-conic-gradient(from 12deg, var(--pink-soft) 0 14deg, var(--pink-deep) 14deg 20deg, var(--pink) 20deg 32deg);
  box-shadow: 0 6px 0 var(--kraft-deep);
}

.nav-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--paper);
}

.nav-word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.nav-name {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.nav-ticker {
  color: var(--pink-deep);
  font-weight: 700;
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
}

.nav-links a:not(.nav-buy)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  border-radius: 99px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:not(.nav-buy):hover::after {
  transform: scaleX(1);
}

.nav-buy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pink-soft), var(--pink-deep));
  color: #fff !important;
  box-shadow: 0 6px 0 #8d3f52;
  transition: transform 0.2s ease;
}

.nav-buy img {
  width: 18px;
  height: 18px;
}

.nav-buy:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 4px 0 var(--kraft);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 3px;
  border-radius: 99px;
  background: var(--ink);
}

.hero {
  position: relative;
  padding: 72px 7vw 90px;
}

.yarn-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background:
    radial-gradient(circle at 8px 4px, var(--pink-deep) 3px, transparent 4px) 0 0 / 22px 8px,
    linear-gradient(90deg, transparent, var(--pink), transparent);
  opacity: 0.55;
  animation: yarn-slide 10s linear infinite;
}

.yarn-line-hero {
  top: 0;
}

.hero-stage {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.hero-portrait {
  position: relative;
  display: grid;
  place-items: center;
}

.knit-halo {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 164, 176, 0.45), transparent 68%);
  animation: pulse-halo 4.8s ease-in-out infinite;
}

.knit-ring {
  position: relative;
  width: min(360px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 16px;
  background: repeating-conic-gradient(from 0deg, var(--pink-soft) 0 10deg, var(--pink) 10deg 16deg, var(--pink-deep) 16deg 22deg, #f6d4db 22deg 28deg);
  box-shadow:
    0 18px 0 rgba(139, 94, 60, 0.28),
    inset 0 0 0 6px rgba(251, 246, 239, 0.35);
  animation: float-logo 5.4s ease-in-out infinite;
}

.knit-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 7px solid var(--paper);
  box-shadow: inset 0 0 0 4px var(--kraft-soft);
}

.knit-ring-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: portrait-sway 7s ease-in-out infinite;
}

.hole {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f4e6d2, #b8895d 70%, #7a4e2d);
  box-shadow: inset 0 8px 12px rgba(44, 26, 18, 0.25), 0 6px 0 rgba(139, 94, 60, 0.2);
}

.hole-l {
  left: 4%;
  top: 18%;
  animation: hole-bob 3.6s ease-in-out infinite;
}

.hole-r {
  right: 2%;
  bottom: 16%;
  animation: hole-bob 4.2s ease-in-out infinite reverse;
}

.spark {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
  animation: sparkle 2.4s ease-in-out infinite;
}

.spark-1 { top: 8%; right: 18%; }
.spark-2 { left: 10%; bottom: 22%; animation-delay: 0.7s; }
.spark-3 { right: 8%; top: 42%; animation-delay: 1.3s; }

.hand-note {
  font-family: var(--hand);
  font-size: 1.55rem;
  color: var(--pink-deep);
  transform: rotate(-2deg);
}

.chain-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(139, 94, 60, 0.16);
  font-weight: 600;
  font-size: 0.92rem;
}

.chain-pill img {
  width: 18px;
  height: 18px;
}

.hero-copy h1 {
  display: flex;
  flex-direction: column;
  line-height: 0.92;
  margin: 6px 0 10px;
}

.title-ink {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  color: #fffaf4;
  text-shadow:
    3px 3px 0 var(--ink),
    -2px 2px 0 var(--ink),
    2px -2px 0 var(--ink),
    0 8px 0 rgba(44, 26, 18, 0.18);
}

.title-knit {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
  color: #e28b9b;
  text-shadow:
    3px 3px 0 #2c1a12,
    -2px 2px 0 #2c1a12,
    2px -2px 0 #2c1a12,
    -2px -2px 0 #2c1a12,
    4px 8px 0 rgba(139, 94, 60, 0.2);
}

.ticker-stamp {
  display: inline-block;
  margin: 8px 0 16px;
  padding: 6px 14px 8px;
  border-radius: 10px;
  background: #7c4a2d;
  color: #f7efe4;
  font-family: var(--display);
  letter-spacing: 0.08em;
  transform: rotate(-1.5deg);
  box-shadow: 4px 5px 0 rgba(44, 26, 18, 0.2);
}

.hero-bio {
  max-width: 34rem;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.tag-ca {
  margin: 22px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #eceff2, #c4c8cd);
  box-shadow:
    inset 0 1px 0 #fff,
    0 8px 0 #8e9398,
    var(--shadow-soft);
  max-width: 100%;
}

.tag-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5d6166;
}

#contract-display {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
  color: #2b2f33;
}

.copy-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.copy-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.copy-btn.copied {
  background: #3f8f5b;
}

.copy-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.hero-actions,
.buy-cta,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 18px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn:hover {
  transform: translateY(-3px) rotate(-0.4deg);
}

.btn-knit {
  background: linear-gradient(180deg, #f4c8d0, #d4788a);
  color: #fff;
  box-shadow: 0 7px 0 #8d3f52;
}

.btn-kraft {
  background: linear-gradient(180deg, #edd3b4, #c9a07a);
  color: var(--ink);
  box-shadow: 0 7px 0 #8b5e3c;
}

.btn-kraft img {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 0 #000);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.62);
  border: 2px dashed rgba(139, 94, 60, 0.28);
  box-shadow: 0 6px 0 rgba(139, 94, 60, 0.16);
}

.section,
.hero {
  scroll-margin-top: 88px;
}

.section {
  padding: 84px 7vw;
  position: relative;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

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

.section-head .title-knit {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pink-wash);
  color: #8d3f52;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.section-lead {
  margin-top: 10px;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.paper-card,
.trait-card,
.step-card,
.join-panel {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.paper-card:hover,
.trait-card:hover,
.step-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: 0 22px 44px rgba(74, 40, 28, 0.18);
}

.paper-card {
  padding: 36px 32px 30px;
  border: 2px solid rgba(201, 160, 122, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 30%),
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(201, 160, 122, 0.09) 27px 28px),
    #f8efdf;
}

.bag-holes {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.bag-holes span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #f3e3cd, #a06b3f);
  box-shadow: inset 0 4px 6px rgba(44, 26, 18, 0.22);
}

.paper-card h3,
.trait-card h3,
.step-card h3 {
  font-family: var(--display);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.paper-card p,
.trait-card p,
.step-card p {
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 1.05rem;
}

.paper-card p + p {
  margin-top: 14px;
}

.about-note {
  margin-top: 20px;
}

.trait-stack {
  display: grid;
  gap: 16px;
}

.trait-card {
  padding: 22px 22px 20px;
  border: 2px dashed rgba(212, 120, 138, 0.4);
  overflow: hidden;
}

.trait-card:nth-child(2) {
  transform: rotate(0.8deg);
}

.trait-card:nth-child(3) {
  transform: rotate(-0.7deg);
}

.trait-num {
  font-family: var(--display);
  color: var(--pink-deep);
  font-size: 1.3rem;
}

.howtobuy {
  background: linear-gradient(180deg, transparent, rgba(232, 164, 176, 0.08), transparent);
}

.buy-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.yarn-track {
  position: absolute;
  top: 46px;
  left: 8%;
  right: 8%;
  height: 6px;
  border-radius: 99px;
  background: repeating-linear-gradient(90deg, var(--pink-deep) 0 12px, var(--pink-soft) 12px 20px);
  animation: yarn-slide 8s linear infinite;
  opacity: 0.55;
}

.step-card {
  padding: 22px 18px 20px;
  text-align: center;
  border: 2px solid rgba(201, 160, 122, 0.28);
  z-index: 1;
}

.step-orb {
  width: 74px;
  height: 74px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fff, var(--pink-wash));
  box-shadow: 0 8px 0 rgba(212, 120, 138, 0.35);
  animation: bob 3.4s ease-in-out infinite;
}

.step-card:nth-child(3) .step-orb { animation-delay: 0.4s; }
.step-card:nth-child(4) .step-orb { animation-delay: 0.8s; }
.step-card:nth-child(5) .step-orb { animation-delay: 1.2s; }

.step-orb img,
.step-orb svg {
  width: 36px;
  height: 36px;
}

.step-index {
  display: block;
  margin-bottom: 6px;
  color: var(--pink-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.buy-cta {
  justify-content: center;
  margin-top: 32px;
}

.chart-frame {
  border-radius: 30px;
  overflow: hidden;
  background: #1b1410;
  box-shadow: var(--shadow);
  border: 8px solid #d8b48c;
  outline: 4px solid rgba(212, 120, 138, 0.35);
}

.chart-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: repeating-linear-gradient(90deg, #e8a4b0 0 10px, #d4788a 10px 16px, #f3c5ce 16px 24px);
}

.chart-dots {
  display: flex;
  gap: 6px;
}

.chart-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(44, 26, 18, 0.28);
}

.chart-title {
  flex: 1;
  font-family: var(--display);
  color: #fffaf4;
  text-shadow: 0 2px 0 rgba(44, 26, 18, 0.25);
}

.chart-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 0.85rem;
}

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

.chart-stage {
  position: relative;
  height: min(640px, 72vh);
  background: #111;
}

.chart-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


.banner-frame {
  position: relative;
  margin: 0 0 28px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--kraft);
}

.banner-stitch {
  position: absolute;
  inset: 10px;
  border: 3px dashed rgba(255, 247, 240, 0.55);
  border-radius: 24px;
  pointer-events: none;
  z-index: 2;
  animation: stitch-dash 8s linear infinite;
}

.banner-frame img {
  width: 100%;
  height: min(560px, 68vw);
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.02);
  animation: banner-drift 16s ease-in-out infinite;
}

.banner-caption {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 3;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(251, 246, 239, 0.88);
}

.join-panel {
  padding: 28px;
  border: 2px dashed rgba(139, 94, 60, 0.22);
  text-align: center;
}

.join-bio {
  max-width: 40rem;
  margin: 0 auto 22px;
  font-size: 1.2rem;
  line-height: 1.55;
}

.social-row {
  justify-content: center;
}

.social-card {
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, var(--cream-deep));
  box-shadow: 0 7px 0 rgba(139, 94, 60, 0.18);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.social-card img {
  width: 22px;
  height: 22px;
}

.social-card:hover {
  transform: translateY(-4px) rotate(1deg);
}

.footer {
  padding: 40px 7vw 48px;
  border-top: 2px dashed rgba(139, 94, 60, 0.18);
  background: rgba(251, 246, 239, 0.7);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

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

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--pink-soft);
}

.footer-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
}

.footer-brand em {
  font-style: normal;
  color: var(--pink-deep);
  font-weight: 700;
}

.footer-bio {
  max-width: 34rem;
  color: var(--ink-soft);
}

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

.footer-links a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 0 var(--kraft);
}

.footer-links img {
  width: 20px;
  height: 20px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #7a5b49;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  filter: blur(6px);
  animation: none;
}

.reveal.visible {
  animation: rise-in 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.32s; }

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

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

.nav-links a.active:not(.nav-buy) {
  color: var(--ink);
}

.nav-links a.active:not(.nav-buy)::after {
  transform: scaleX(1);
}

@keyframes portrait-sway {
  0%, 100% { transform: scale(1.02) rotate(0); }
  50% { transform: scale(1.06) rotate(-1.2deg); }
}

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

@keyframes hole-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes sparkle {
  0%, 100% { transform: scale(0.6) rotate(0); opacity: 0.35; }
  50% { transform: scale(1.2) rotate(20deg); opacity: 1; }
}

@keyframes yarn-slide {
  to { background-position: 40px 0; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes bokeh-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -16px) scale(1.08); }
}

@keyframes banner-drift {
  0%, 100% { transform: scale(1.02) translateY(0); }
  50% { transform: scale(1.06) translateY(-8px); }
}

@keyframes stitch-dash {
  to { stroke-dashoffset: 24; border-color: rgba(255, 247, 240, 0.8); }
}

@media (max-width: 980px) {
  .hero-stage,
  .about-grid,
  .buy-path {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .yarn-track {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 16px 7vw 22px;
    background: rgba(251, 246, 239, 0.96);
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 2px dashed rgba(139, 94, 60, 0.18);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-name {
    display: none;
  }
}

@media (max-width: 640px) {
  .tag-ca {
    flex-wrap: wrap;
    border-radius: 22px;
  }

  #contract-display {
    width: 100%;
    flex-basis: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .chart-open span {
    display: none;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
