/* =========================================================
   refresh.css — paper & pastel redesign for $MATT
   Loaded after gum.css. Overrides only what we restyle;
   leaves Webflow scaffolding untouched.
   ========================================================= */

:root {
  --ink:        #1a1a1a;
  --ink-soft:   #3a3a3a;
  --paper:      #faf6ee;
  --paper-2:    #f3ede0;
  --mint:       #b8e4c9;
  --coral:      #ff6b6b;
  --sky:        #cfe6f5;
  --sun:        #ffd166;
  --shadow:     rgba(26, 26, 26, .12);
  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  28px;
  --ease:       cubic-bezier(.22,.61,.36,1);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Mono", ui-monospace, monospace;
}

img { max-width: 100%; height: auto; }

a { transition: color .2s var(--ease); }

/* Hero text-stroke override (replaces the inline <style> we removed) */
.hero-heading,
.hero-heading-2 {
  -webkit-text-stroke: 4px var(--ink);
  color: #fff;
  text-shadow: -10px 10px 0 var(--ink);
  cursor: default;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.hero-heading:hover,
.hero-heading-2:hover,
.hero-heading-2._2:hover,
.hero-heading-2._3:hover {
  color: var(--sun);
}
@media (max-width: 1024px) {
  .hero-heading, .hero-heading-2 { -webkit-text-stroke: 3px var(--ink); text-shadow: -6px 6px 0 var(--ink); }
}
@media (max-width: 640px) {
  .hero-heading, .hero-heading-2 { -webkit-text-stroke: 2px var(--ink); text-shadow: -4px 4px 0 var(--ink); }
}

/* ---------- Navbar ---------- */
.navbar.w-nav {
  background: var(--paper) !important;
  border: none !important;
  border-bottom: 2.5px solid var(--ink) !important;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 4px 0 rgba(26,26,26,.04);
}
.navbar .container.w-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.navbar .brand.w-nav-brand,
.navbar .brand {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: var(--ink) !important;
}
.brand .nav-link.logo {
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  letter-spacing: .06em;
  font-size: 1.4em;
  color: var(--ink) !important;
  padding: 0 !important;
  background: transparent !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}
.brand img.mint-card-image._000 {
  width: 44px !important;
  height: 44px !important;
  max-width: none !important;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 50%;
  margin-right: 0;
  display: block;
}
.navbar .nav-menu.w-nav-menu {
  display: flex !important;
  align-items: center;
  gap: 4px;
  position: static !important;
  background: transparent !important;
  width: auto !important;
}
.nav-link.w-nav-link {
  color: var(--ink) !important;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: .95rem;
  padding: 10px 14px !important;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.nav-link.w-nav-link:hover { color: var(--coral) !important; }

.button.nav.w-button {
  background: var(--ink);
  color: var(--paper) !important;
  border-radius: 999px;
  padding: 12px 22px !important;
  margin-left: 8px;
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  font-weight: 700;
  letter-spacing: .12em;
  font-size: .9rem;
  border: 2px solid var(--ink);
  box-shadow: -3px 3px 0 var(--ink);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.button.nav.w-button:hover {
  background: var(--coral);
  color: var(--paper) !important;
  transform: translate(2px, -2px);
  box-shadow: -5px 5px 0 var(--ink);
}

.navbar .menu-button.w-nav-button { display: none !important; }
@media (max-width: 860px) {
  .navbar .nav-menu.w-nav-menu {
    display: none !important;
  }
  .navbar .menu-button.w-nav-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 10px;
    border: 2px solid var(--ink);
  }
  .navbar .menu-button .icon { color: var(--paper); font-size: 1.4em; }
  .navbar.w-nav-open .nav-menu.w-nav-menu {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    position: absolute !important;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper) !important;
    border-bottom: 2px solid var(--ink);
    padding: 8px 16px 16px;
    gap: 0;
  }
  .navbar.w-nav-open .nav-link.w-nav-link {
    padding: 14px 8px !important;
    border-bottom: 1px solid rgba(26,26,26,.1);
  }
  .navbar.w-nav-open .button.nav.w-button { margin: 12px 0 0; align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero-section {
  background: var(--paper);
  animation: none !important;
  min-height: 100vh;
  padding: 110px 16px 80px;
  position: relative;
  overflow: hidden;
}
.hero-blob,
.hero-dots {
  position: absolute;
  inset: -10% -5%;
  pointer-events: none;
  will-change: transform;
}
.hero-blob {
  background-image: url("../images/blob-hero.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-dots {
  background-image: url("../images/dot-pattern.svg");
  background-size: 32px 32px;
  background-repeat: repeat;
  opacity: .35;
  z-index: 1;
}

.hero-container { gap: 18px; }

.hero-letters {
  gap: clamp(8px, 1.5vw, 22px);
  z-index: 2;
}

.hero-heading-2 {
  font-size: clamp(80px, 14vw, 220px);
  line-height: .9;
}

/* Curated character placement — only show 2, hide the rest */
.hero-section .image-9 { display: none; }
.hero-section .image-9.tl,
.hero-section .image-9.tr {
  display: block;
  position: absolute;
  width: clamp(110px, 14vw, 220px);
  z-index: 1;
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: 6px;
  box-shadow: -6px 6px 0 var(--ink);
  animation: float 6s ease-in-out infinite;
}
.hero-section .image-9.tl {
  top: clamp(80px, 14vh, 180px);
  left: clamp(16px, 6vw, 90px);
  transform: rotate(-6deg);
}
.hero-section .image-9.tr {
  top: clamp(80px, 14vh, 180px);
  right: clamp(16px, 6vw, 90px);
  transform: rotate(6deg);
  animation-delay: -3s;
}
@media (max-width: 768px) {
  .hero-section .image-9.tl,
  .hero-section .image-9.tr {
    width: 90px;
    top: 100px;
  }
  .hero-section .image-9.tl { left: 10px; }
  .hero-section .image-9.tr { right: 10px; }
}

.hero-price, .hero-price._7782 {
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 10px 22px;
  font-family: "Space Mono", monospace;
  font-size: .85rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid var(--ink);
  transition: background .2s var(--ease), transform .2s var(--ease);
  z-index: 2;
  display: inline-block;
  max-width: 92vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-price:hover { background: var(--coral); }
.hero-price._7782 { display: none; }

.hero-price strong { font-weight: 600; }

/* Hero CTA button — clean stamp with subtle pulse */
.primary-button-2.hero,
.primary-button-2.hero.w-button {
  background: var(--mint);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: -4px 4px 0 var(--ink);
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  font-size: 1.4em;
  letter-spacing: .12em;
  padding: 18px 38px;
  margin: 26px 0 18px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  z-index: 3;
  animation: cta-pulse 2.6s var(--ease) infinite;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: -4px 4px 0 var(--ink); }
  50%      { box-shadow: -6px 6px 0 var(--ink); }
}
.primary-button-2.hero:hover {
  background: var(--coral);
  color: var(--paper);
  transform: translate(2px, -2px);
  box-shadow: -6px 6px 0 var(--ink);
  animation: none;
}
.primary-button-2.hero:active {
  transform: translate(0);
  box-shadow: -2px 2px 0 var(--ink);
  animation: none;
}

/* ---------- Generic primary button ---------- */
.primary-button,
.primary-button.w-button {
  background: var(--coral);
  color: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: -4px 4px 0 var(--ink);
  padding: 16px 32px;
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  font-size: 1.1em;
  letter-spacing: .1em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.primary-button:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translate(2px, -2px);
  box-shadow: -6px 6px 0 var(--ink);
}
.primary-button.footer {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: -5px 5px 0 var(--coral);
}
.primary-button.footer:hover {
  background: var(--coral);
  color: var(--paper);
  box-shadow: -7px 7px 0 var(--ink);
}

/* ---------- Marquee (top — service-banner) ---------- */
.service-banner {
  background: var(--ink);
  color: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 18px 0;
  overflow: hidden;
}
.service-banner .service-text {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
  will-change: transform;
}
.service-banner .text-block-3 {
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  letter-spacing: .14em;
  font-size: 1.3em;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 36px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  transform: none !important;
}
.service-banner .text-block-3 img { display: none; }

/* ---------- Marquee (bottom — banner-whitelist) ---------- */
.banner-whitelist {
  background: var(--coral);
  color: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 18px 0;
  overflow: hidden;
}
.banner-whitelist .banner-text {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
  will-change: transform;
}
.banner-whitelist .banner-text-block {
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  letter-spacing: .16em;
  font-size: 1.35em;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 36px;
  transform: none !important;
}

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

/* ---------- Mint section (intro / about) ---------- */
.mint-section {
  background: var(--paper-2);
  background-image: url("../images/dot-pattern.svg");
  background-size: 32px 32px;
  padding: 100px 24px 120px;
}
.mint-section._0000 {
  background: var(--sky);
  background-image: url("../images/dot-pattern.svg");
  background-size: 32px 32px;
  filter: none;
}

.minting-container {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: -6px 6px 0 var(--ink);
  padding: 48px 40px 40px;
  max-width: 760px;
  margin: 0 auto;
}
.minting-container h2 {
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  font-size: 2.4em;
  letter-spacing: .04em;
  margin: 8px 0 14px;
  color: var(--ink);
}
.minting-container .paragraph {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 56ch;
  margin: 0 auto 24px;
}
.minting-container .mint-card-image {
  width: 140px !important;
  height: 140px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  object-fit: cover;
  box-shadow: -4px 4px 0 var(--ink);
}
.minting-container .price {
  background: var(--sun);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  letter-spacing: .12em;
  margin-top: 22px;
  padding: 10px 20px;
  font-size: .9em;
}
.minting-container > p:not(.paragraph) {
  font-family: "Space Mono", monospace;
  font-size: .8rem;
  word-break: break-all;
  color: var(--ink-soft);
  margin-top: 18px;
}

/* ---------- THE CREW (new gallery) ---------- */
.crew-section {
  background: var(--paper);
  padding: 100px 24px;
  position: relative;
}
.crew-header {
  max-width: 1100px;
  margin: 0 auto 56px;
  text-align: center;
}
.crew-header h2 {
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  font-size: clamp(2.2em, 5vw, 3.6em);
  letter-spacing: .04em;
  margin: 0;
}
.crew-header .scribble {
  display: block;
  width: 180px;
  margin: 6px auto 0;
  color: var(--coral);
}
.crew-header p {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-top: 14px;
}

.crew-cover {
  max-width: 1100px;
  margin: 0 auto 56px;
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: -8px 8px 0 var(--ink);
  overflow: hidden;
  background: var(--paper);
}
.crew-cover img { display: block; width: 100%; }

.crew-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .crew-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

.crew-card {
  background: var(--sky);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: -5px 5px 0 var(--ink);
  padding: 18px 18px 22px;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
}
.crew-card:nth-child(2) { background: var(--mint); }
.crew-card:nth-child(3) { background: var(--sun); }
.crew-card:nth-child(4) { background: var(--paper-2); }
.crew-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: -8px 10px 0 var(--ink);
}
.crew-card .crew-portrait {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--paper);
  display: block;
}
.crew-card h3 {
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  font-size: 1.2em;
  letter-spacing: .08em;
  margin: 14px 0 4px;
  text-transform: uppercase;
  color: var(--ink);
}
.crew-card p {
  font-size: .82rem;
  color: var(--ink-soft);
  margin: 0;
  letter-spacing: .02em;
}
.crew-card .accent {
  position: absolute;
  width: 32px;
  height: 32px;
  top: -14px;
  right: -14px;
  background: var(--paper);
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
}

/* ---------- Rarity / Legacy ---------- */
.rarity-section {
  background: var(--sky);
  background-image: url("../images/dot-pattern.svg");
  background-size: 32px 32px;
  border: none;
  padding: 100px 24px;
}
.rarity-section h2 {
  color: var(--ink) !important;
  text-shadow: none !important;
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  font-size: clamp(1.8em, 4vw, 2.6em) !important;
  max-width: 900px;
  margin: 0 auto 36px;
  line-height: 1.2;
}
.rarity-chart {
  background: var(--paper) !important;
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: -8px 8px 0 var(--ink);
  padding: 18px;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
  display: block;
}
.rarity-chart img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
}

/* ---------- Tokenomics ---------- */
.mint-section._0000 .yourstuff-container,
.mint-section._0000 .yourstuff-container.w-container {
  display: block !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}
.mint-section._0000 h2 {
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  font-size: clamp(2em, 4.5vw, 3em) !important;
  letter-spacing: .04em;
  margin: 0 0 8px !important;
  text-align: center !important;
  grid-area: auto !important;
}
.mint-section._0000 > .yourstuff-container > p,
.mint-section._0000 .yourstuff-container > p {
  color: var(--ink-soft);
  margin: 0 auto 40px !important;
  text-align: center !important;
  grid-area: auto !important;
  font-size: 1rem;
  letter-spacing: .02em;
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}
@media (max-width: 820px) { .tokenomics-grid { grid-template-columns: 1fr; max-width: 460px; } }

.token-card {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: -5px 5px 0 var(--ink);
  padding: 36px 26px 30px;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px;
}
.token-card:hover {
  transform: translateY(-6px);
  box-shadow: -8px 10px 0 var(--ink);
}
.token-card .token-icon {
  width: 84px;
  height: 84px;
  margin: 0 0 18px;
  display: block;
  background: var(--paper-2);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  padding: 12px;
  box-sizing: border-box;
}
.token-card h3 {
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  font-size: 1.1em;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: var(--ink-soft);
}
.token-card .token-value {
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  color: var(--ink);
  font-size: 2.4em;
  display: block;
  margin: 0 0 12px;
  letter-spacing: .02em;
  line-height: 1;
}
.token-card p {
  color: var(--ink-soft);
  font-size: .92rem;
  margin: 0;
  line-height: 1.55;
  max-width: 28ch;
}

/* Hide old your-roboto-asseet rows (replaced by tokenomics-grid) */
.mint-section._0000 .your-roboto-asseet { display: none; }
.mint-section._0000 .image-12 { display: none; }
.mint-section._0000 .container-5 { display: none; }

/* ---------- How to Buy ---------- */
.container-4,
.container-4._772727,
.container-4._772727.w-container {
  display: block !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  max-width: 1100px;
  margin: 80px auto 0 !important;
  padding: 0 24px !important;
  grid-template-columns: none !important;
}
.container-4._772727 .heading-2._9999._7373 {
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  font-size: clamp(2em, 4.5vw, 3em) !important;
  letter-spacing: .04em;
  text-align: center !important;
  margin: 0 0 36px !important;
  grid-area: auto !important;
}
.steps-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .steps-row { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

.container-4._772727 .minting-container,
.container-4._772727 .minting-container.w-container {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: none !important;
  padding: 30px 28px !important;
  background: var(--paper) !important;
  border: 3px solid var(--ink) !important;
  border-radius: var(--radius-md) !important;
  margin: 0 !important;
}

.container-4._772727 .minting-container::before {
  content: attr(data-step);
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  color: var(--coral);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .14em;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
  line-height: 1;
}

.container-4._772727 .minting-container > div {
  width: 100%;
}

.container-4._772727 .minting-container h2,
.container-4._772727 .minting-container h2._838383 {
  margin: 0 0 8px !important;
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  font-size: 1.5rem !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.15;
  word-break: normal;
  overflow-wrap: break-word;
}

.container-4._772727 .minting-container .paragraph.u2u2,
.container-4._772727 .minting-container .paragraph {
  margin: 0 !important;
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.55;
  max-width: none !important;
  text-align: left !important;
}

/* ---------- Footer ---------- */
.footer-section {
  background: var(--ink);
  color: var(--paper);
  padding: 90px 24px 110px;
  text-align: center;
}
.footer-section .domo-text {
  font-family: "Right Grotesk", "Arial Black", sans-serif;
  font-size: clamp(2.4em, 6vw, 4.2em);
  line-height: 1;
  letter-spacing: .02em;
  -webkit-text-stroke: 0;
  text-shadow: none;
  margin: 0;
}
.footer-section .domo-text.purple {
  color: var(--coral);
  padding-bottom: 20px;
}
.footer-section .domo-text.purple:hover { color: var(--sun); }
.footer-section .domo-text:hover { color: var(--mint); }

.footer-section .primary-button.footer {
  margin-top: 24px;
  display: inline-block;
}

.footer-section .hero-price._9i9i {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--paper);
  margin-top: 32px;
}
.footer-section .hero-price._9i9i:hover { background: var(--sun); }

.footer-section .follow-test.jejej {
  margin-top: 40px;
  font-size: .95rem;
  color: var(--paper-2);
}
.footer-section .bold-white-link { color: var(--paper); border-bottom: 2px solid var(--coral); padding-bottom: 2px; transition: color .2s var(--ease); }
.footer-section .bold-white-link:hover { color: var(--sun); }

.footer-section .columns.w-row {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 18px;
}
.footer-section .w-col { width: auto; padding: 0; }
.footer-section .image-10,
.footer-section .image-11 {
  width: 28px !important;
  height: 28px !important;
  filter: invert(1);
  transition: transform .2s var(--ease), filter .2s var(--ease);
}
.footer-section .w-inline-block:hover .image-10,
.footer-section .w-inline-block:hover .image-11 {
  transform: translateY(-3px) rotate(-6deg);
}

.footer-section._22 { display: none !important; }

/* ---------- Intermission strip ---------- */
.intermission { display: none; }

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Float keyframes ---------- */
@keyframes float-l {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-14px) rotate(-4deg); }
}
@keyframes float-r {
  0%, 100% { transform: translateY(0) rotate(6deg); }
  50%      { transform: translateY(-14px) rotate(4deg); }
}
.hero-section .image-9.tl { animation: float-l 5s ease-in-out infinite !important; }
.hero-section .image-9.tr { animation: float-r 5s ease-in-out infinite -2.5s !important; }

/* ---------- Idle box-shadow breathing ---------- */
@keyframes shadow-breathe {
  0%, 100% { box-shadow: -5px 5px 0 var(--ink); }
  50%      { box-shadow: -8px 8px 0 var(--ink); }
}
@keyframes shadow-breathe-md {
  0%, 100% { box-shadow: -6px 6px 0 var(--ink); }
  50%      { box-shadow: -9px 9px 0 var(--ink); }
}

.crew-card        { animation: shadow-breathe 4s ease-in-out infinite; }
.crew-card:nth-child(2) { animation-delay: -1s; }
.crew-card:nth-child(3) { animation-delay: -2s; }
.crew-card:nth-child(4) { animation-delay: -3s; }
.crew-card:hover  { animation-play-state: paused; }

.token-card                       { animation: shadow-breathe 4.5s ease-in-out infinite; }
.token-card:nth-child(2)          { animation-delay: -1.5s; }
.token-card:nth-child(3)          { animation-delay: -3s; }
.token-card:hover                 { animation-play-state: paused; }

.steps-row .minting-container                 { animation: shadow-breathe 4.5s ease-in-out infinite; }
.steps-row .minting-container:nth-child(2)    { animation-delay: -1.5s; }
.steps-row .minting-container:nth-child(3)    { animation-delay: -3s; }

.minting-container._929922        { animation: shadow-breathe-md 5s ease-in-out infinite; }
.rarity-chart                     { animation: shadow-breathe-md 5s ease-in-out infinite -2s; }

/* ---------- Accent badge wiggle ---------- */
@keyframes wiggle {
  0%, 92%, 100% { transform: rotate(0deg); }
  94%           { transform: rotate(-12deg); }
  96%           { transform: rotate(12deg); }
  98%           { transform: rotate(-6deg); }
}
.crew-card .accent { animation: wiggle 4s ease-in-out infinite; }
.crew-card:nth-child(2) .accent { animation-delay: -1s; }
.crew-card:nth-child(3) .accent { animation-delay: -2s; }
.crew-card:nth-child(4) .accent { animation-delay: -3s; }

/* ---------- Nav link underline reveal ---------- */
.nav-link.w-nav-link {
  position: relative;
}
.nav-link.w-nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s var(--ease);
}
.nav-link.w-nav-link:hover::after { transform: scaleX(1); }

/* ---------- Step badge color shift ---------- */
@keyframes step-badge {
  0%, 100% { background: var(--paper-2); color: var(--coral); }
  50%      { background: var(--sun);     color: var(--ink); }
}
.container-4._772727 .minting-container::before {
  animation: step-badge 5s ease-in-out infinite;
  display: inline-block;
  align-self: flex-start;
}
.steps-row .minting-container:nth-child(2)::before { animation-delay: -1.7s; }
.steps-row .minting-container:nth-child(3)::before { animation-delay: -3.4s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .service-banner .text-block-3,
  .banner-whitelist .banner-text-block { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Section divider scribble ---------- */
.section-scribble {
  display: block;
  width: 200px;
  margin: 0 auto 28px;
  color: var(--coral);
}

/* ---------- Compact navbar on scroll ---------- */
.navbar.is-compact {
  padding: 6px 0;
  background: rgba(250, 246, 238, .92) !important;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom-width: 2px !important;
}
.navbar.is-compact .brand img.mint-card-image._000 {
  width: 34px !important;
  height: 34px !important;
}
.navbar.is-compact .brand .nav-link.logo {
  font-size: 1.15em;
}
.navbar.is-compact .button.nav.w-button {
  padding: 8px 16px !important;
  font-size: .8rem;
}
.navbar, .navbar * { transition: padding .25s var(--ease), font-size .25s var(--ease), width .25s var(--ease), height .25s var(--ease); }

/* ---------- Marquee inline icons ---------- */
.text-block-3 .mq-icon,
.banner-text-block .mq-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  color: currentColor;
  opacity: .85;
}
.text-block-3 span,
.banner-text-block span { display: inline-block; vertical-align: middle; }

/* ---------- Section dividers ---------- */
.section-scribble {
  display: block;
  width: 220px;
  height: auto;
  margin: 0 auto 28px;
  color: var(--coral);
}
.is-dark .section-scribble { color: var(--sun); }

/* ---------- Dark rarity / legacy section ---------- */
.rarity-section.is-dark {
  background: var(--ink) !important;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px) !important;
  background-size: 28px 28px !important;
  border: none;
  color: var(--paper);
}
.rarity-section.is-dark h2 {
  color: var(--paper) !important;
  text-shadow: none !important;
}
.rarity-section.is-dark .rarity-chart {
  background: var(--paper) !important;
  border: 3px solid var(--paper);
  box-shadow: -8px 8px 0 var(--coral);
}

/* ---------- CA truncate display ---------- */
.ca-truncate {
  cursor: pointer;
  font-family: "Space Mono", ui-monospace, monospace;
  letter-spacing: .03em;
  position: relative;
  white-space: nowrap;
}
.ca-truncate::after {
  content: " ⧉";
  opacity: .55;
  font-size: .85em;
}

/* ---------- Footer disclaimer ---------- */
.footer-disclaimer {
  max-width: 560px;
  margin: 56px auto 0;
  font-size: .78rem;
  color: rgba(250,246,238,.55);
  line-height: 1.6;
  letter-spacing: .02em;
}

/* ---------- Crew card 3D tilt ---------- */
.crew-card {
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
}
.crew-card .crew-portrait,
.crew-card h3,
.crew-card p,
.crew-card .accent { transform: translateZ(16px); }

/* ---------- Mobile <480px tuning ---------- */
@media (max-width: 480px) {
  .hero-section { padding: 90px 12px 60px; min-height: auto; }
  .hero-letters { gap: 4px; }
  .hero-heading-2 { font-size: 22vw; }
  .hero-section .image-9.tl,
  .hero-section .image-9.tr {
    width: 60px;
    top: 80px;
    box-shadow: -3px 3px 0 var(--ink);
    padding: 3px;
    border-width: 2px;
  }
  .hero-section .image-9.tl { left: 8px; }
  .hero-section .image-9.tr { right: 8px; }
  .primary-button-2.hero,
  .primary-button-2.hero.w-button {
    font-size: 1.05em;
    padding: 14px 26px;
    margin-top: 36px;
  }
  .hero-price, .hero-price._9i9i {
    font-size: .72rem;
    padding: 8px 16px;
    max-width: 86vw;
  }
  .navbar .container.w-container { padding: 0 14px; }
  .brand .nav-link.logo { font-size: 1.2em; }
  .mint-section { padding: 70px 16px 80px; }
  .minting-container { padding: 32px 22px 28px; }
  .minting-container h2 { font-size: 1.7em; }
  .crew-section { padding: 70px 16px; }
  .crew-header h2 { font-size: 2em; }
  .rarity-section { padding: 70px 16px; }
  .rarity-section h2 { font-size: 1.4em !important; }
  .mint-section._0000 { padding: 70px 16px; }
  .mint-section._0000 h2 { font-size: 2em !important; }
  .container-4._772727,
  .container-4._772727.w-container { margin-top: 50px !important; padding: 0 16px !important; }
  .footer-section { padding: 70px 16px 90px; }
  .footer-section .domo-text { font-size: 2.4em; }
  .service-banner .text-block-3,
  .banner-whitelist .banner-text-block { font-size: 1.05em; }
  .text-block-3 .mq-icon,
  .banner-text-block .mq-icon { margin: 0 8px; width: 16px; height: 16px; }
}

/* ---------- Hero letter stagger entrance ---------- */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(28px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
.hero-stagger {
  opacity: 0;
  animation: hero-in .8s var(--ease) forwards;
  animation-delay: calc(0.12s * var(--i, 0) + 0.1s);
}

/* ---------- Marquee hover slowdown ---------- */
.service-banner:hover .service-text       { animation-duration: 200s; }
.banner-whitelist:hover .banner-text      { animation-duration: 240s; }
.service-banner .service-text,
.banner-whitelist .banner-text            { transition: animation-duration .4s var(--ease); }

/* ---------- Idle background dot drift (sections without JS scroll-parallax) ---------- */
@keyframes bg-drift-x {
  from { background-position-x: 0; }
  to   { background-position-x: 64px; }
}
.crew-section { animation: bg-drift-x 22s linear infinite; }

/* ---------- Crew cover overflow parallax ---------- */
.crew-cover {
  height: clamp(220px, 32vw, 360px);
  position: relative;
}
.crew-cover img {
  position: absolute;
  inset: -20% 0 -20% 0;
  width: 100%;
  height: auto;
  min-height: 140%;
  object-fit: cover;
  will-change: transform;
}

/* ---------- Magnetic button transition ---------- */
.primary-button-2.hero,
.primary-button-2.hero.w-button {
  will-change: transform;
}

/* ---------- Confetti ---------- */
.confetti-piece {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 99999;
  animation: confetti-fly .9s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes confetti-fly {
  0%   { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translate(var(--cx, 0), var(--cy, 0)) rotate(var(--cr, 360deg)) scale(.4); }
}

/* ---------- Cursor companion ---------- */
#cursor-mate {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  pointer-events: none;
  z-index: 9998;
  transform: translate3d(-100px, -100px, 0);
  opacity: 0;
  transition: opacity .25s var(--ease);
  will-change: transform;
  filter: drop-shadow(-2px 2px 0 rgba(26,26,26,.5));
}
#cursor-mate.is-active { opacity: 1; }
#cursor-mate svg { width: 100%; height: 100%; display: block; }
@media (hover: none), (pointer: coarse), (max-width: 720px) {
  #cursor-mate { display: none !important; }
}

/* ---------- Small utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
