:root {
  --ivory: #fbf6ec;
  --paper: #f3e9d8;
  --paper-deep: #e7d7be;
  --gold: #c9963e;
  --gold-deep: #7a4e1c;
  --gold-soft: #e8c98a;
  --ink: #2c1e14;
  --ink-soft: #5c4636;
  --teal: #2f6f72;
  --line: rgba(122, 78, 28, 0.22);
  --shadow: 0 22px 50px rgba(70, 40, 12, 0.12);
  --serif: "Cormorant Garamond", Palatino, "Palatino Linotype", serif;
  --display: "Bodoni Moda", "Times New Roman", serif;
  --label: "Cinzel", "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 8% -8%, rgba(232, 184, 92, 0.42), transparent 58%),
    radial-gradient(ellipse 42% 36% at 100% 8%, rgba(47, 111, 114, 0.14), transparent 52%),
    radial-gradient(ellipse 36% 28% at 80% 100%, rgba(193, 122, 85, 0.16), transparent 50%),
    var(--paper);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.55;
  font-weight: 500;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

::selection {
  background: #e8c98a;
  color: var(--ink);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #8a5a24, #e8c98a, #2f6f72);
  z-index: 40;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.tiles {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  opacity: 0.11;
  animation: drift 90s linear infinite;
}

#sparkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.orb-a {
  width: 340px;
  height: 340px;
  left: -80px;
  top: 10%;
  background: radial-gradient(circle, rgba(232, 201, 138, 0.55), transparent 68%);
}

.orb-b {
  width: 280px;
  height: 280px;
  right: -60px;
  top: 28%;
  background: radial-gradient(circle, rgba(47, 111, 114, 0.22), transparent 70%);
  animation-delay: -6s;
}

.orb-c {
  width: 240px;
  height: 240px;
  left: 30%;
  bottom: -40px;
  background: radial-gradient(circle, rgba(193, 122, 85, 0.22), transparent 70%);
  animation-delay: -11s;
}

.glow {
  position: absolute;
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 201, 138, 0.28), transparent 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.paws {
  position: absolute;
  inset: 0;
}

.paw {
  position: absolute;
  color: var(--gold-deep);
  opacity: 0.13;
  animation: floaty 16s ease-in-out infinite;
}

.p1 { width: 58px; top: 14%; left: 6%; }
.p2 { width: 36px; top: 32%; right: 8%; animation-duration: 19s; animation-delay: -4s; }
.p3 { width: 44px; bottom: 18%; left: 12%; animation-duration: 22s; animation-delay: -8s; }
.p4 { width: 28px; top: 62%; right: 18%; animation-duration: 13s; }
.p5 { width: 50px; bottom: 8%; right: 6%; animation-duration: 24s; animation-delay: -2s; }
.p6 { width: 24px; top: 8%; right: 28%; animation-duration: 17s; animation-delay: -7s; }

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}

.nav,
main,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.4rem;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.nav.scrolled {
  background: rgba(247, 241, 230, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(70, 40, 12, 0.06);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-deep);
}

.nav-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201, 150, 62, 0.7);
  box-shadow: 0 6px 16px rgba(70, 40, 12, 0.12);
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  font-family: var(--label);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-x {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-family: var(--label);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  background: rgba(255, 250, 244, 0.7);
  transition: transform 0.3s ease, background 0.3s ease;
}

.nav-x:hover {
  transform: translateY(-2px);
  background: var(--ivory);
}

.menu-btn {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.8);
  padding: 0;
  place-items: center;
  gap: 4px;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--gold-deep);
}

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 7.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.8rem;
  font-family: var(--label);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.kicker img {
  width: 14px;
  height: 14px;
}

h1 {
  margin: 0;
}

.name-main {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(4.6rem, 9vw, 8rem);
  line-height: 0.84;
  letter-spacing: -0.035em;
  color: var(--gold-deep);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .name-main {
    background: linear-gradient(105deg, #7a4e1c 0%, #7a4e1c 36%, #f3ddb0 50%, #7a4e1c 64%, #a56b28 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: sheen 7.5s ease-in-out infinite;
  }
}

.name-sub {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: 0.01em;
  color: var(--ink);
}

.symbol {
  margin: 1.1rem 0 0;
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.symbol strong {
  font-weight: 600;
  color: var(--gold-deep);
}

.tagline {
  max-width: 36rem;
  margin: 1rem 0 0;
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--ink);
}

.hero-actions,
.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  font-family: var(--label);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn img,
.btn span {
  position: relative;
  z-index: 1;
}

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

.btn-gold {
  color: #2a1c12;
  background: linear-gradient(180deg, #f3ddb0, #c9963e 46%, #9a6828);
  box-shadow: 0 12px 26px rgba(140, 90, 30, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.btn-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-130%);
  pointer-events: none;
}

.btn-gold:hover::before {
  transform: translateX(130%);
  transition: transform 0.7s ease;
}

.btn-ghost {
  color: var(--gold-deep);
  background: rgba(255, 250, 244, 0.55);
  border-color: var(--line);
}

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

.portrait-stage {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
}

.portrait-float {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  animation: floaty 7.5s ease-in-out infinite;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(154, 104, 40, 0.55);
  animation: spin 36s linear infinite;
}

.ring-2 {
  inset: 18px;
  border-style: solid;
  border-color: rgba(201, 150, 62, 0.35);
  animation-direction: reverse;
  animation-duration: 52s;
}

.portrait {
  position: relative;
  z-index: 1;
  width: 76%;
  height: 76%;
  object-fit: cover;
  border-radius: 32px;
  box-shadow:
    0 0 0 8px rgba(251, 246, 236, 0.85),
    0 0 0 9px rgba(201, 150, 62, 0.7),
    0 26px 50px rgba(70, 40, 10, 0.22);
}

.rise {
  animation: rise 0.9s ease both;
}

.hero-copy .rise:nth-child(1) { animation-delay: 0.05s; }
.hero-copy .rise:nth-child(2) { animation-delay: 0.14s; }
.hero-copy .rise:nth-child(3) { animation-delay: 0.22s; }
.hero-copy .rise:nth-child(4) { animation-delay: 0.3s; }
.hero-copy .rise:nth-child(5) { animation-delay: 0.38s; }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.45);
  padding: 0.75rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-deep);
  white-space: nowrap;
}

.section {
  padding: 5.5rem 0;
}

.head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.6rem;
}

.head h2,
.footer-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 0.95;
  margin: 0;
  color: var(--gold-deep);
}

.deck {
  margin: 0.8rem 0 0;
  font-size: 1.3rem;
  color: var(--ink-soft);
}

.letter {
  max-width: 42rem;
  margin: 0 auto;
}

.letter p {
  margin: 0 0 1.1rem;
}

.letter p:first-of-type::first-letter {
  font-family: var(--display);
  float: left;
  font-size: 4.4rem;
  line-height: 0.78;
  padding: 0.15rem 0.55rem 0 0;
  color: var(--gold-deep);
}

.pull {
  margin: 1.6rem 0;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 2px solid var(--teal);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.85rem;
  line-height: 1.25;
  color: var(--ink);
}

.paw-mini {
  width: 22px;
  height: 22px;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}

.facts {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.fact,
.step,
.social,
.chart-frame {
  background: rgba(255, 250, 244, 0.62);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.fact {
  border-radius: 22px;
  padding: 1.2rem 1.15rem 1.3rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.fact:hover,
.step:hover,
.social:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px rgba(70, 40, 12, 0.16);
}

.fact h3,
.step h3 {
  margin: 0 0 0.45rem;
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
}

.fact p,
.step p {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.section-buy {
  background: linear-gradient(180deg, transparent, rgba(255, 250, 244, 0.35), transparent);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--teal), var(--gold), transparent);
  animation: lineglow 4.5s ease-in-out infinite;
}

.step {
  position: relative;
  border-radius: 22px;
  padding: 1.15rem 1.1rem 1.3rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.step-top img {
  width: 22px;
  height: 22px;
}

.num {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
}

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

.mint {
  margin: 1.2rem auto 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.note,
.footer-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1rem;
}

.note {
  margin: 1.4rem auto 0;
  max-width: 36rem;
}

.chart-frame {
  position: relative;
  height: 640px;
  border-radius: 24px;
  overflow: hidden;
  animation: pulse 5.5s ease-in-out infinite;
}

.chart-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--ivory);
}

.chart-wait {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.7rem;
  text-align: center;
  padding: 2rem;
}

.chart-wait[hidden],
.chart-frame iframe[hidden] {
  display: none;
}

.chart-wait img {
  width: 42px;
  height: 42px;
  margin-inline: auto;
}

.chart-wait p {
  margin: 0;
  max-width: 26rem;
  font-size: 1.45rem;
}

.chart-wait a {
  font-family: var(--label);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-join {
  padding-bottom: 4rem;
}

.banner-frame {
  margin: 0;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(145deg, #f7e7c0, #c9963e 42%, #f3e0b4 72%, #8a5a24);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 1;
  overflow: hidden;
}

.join-banner {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border-radius: 18px;
  animation: ken 18s ease-in-out infinite alternate;
}

.socials {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  border-radius: 20px;
  padding: 1rem 1.05rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.social img {
  width: 28px;
  height: 28px;
  flex: none;
}

.social small {
  display: block;
  font-family: var(--label);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.social strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
}

.footer {
  padding: 1.5rem 0 2.2rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr 1.4fr;
  gap: 1.2rem;
  align-items: center;
}

.footer-inner img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201, 150, 62, 0.7);
}

.footer-name {
  font-size: 1.7rem;
}

.footer-inner p {
  margin: 0;
}

.footer-note {
  text-align: left;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  animation: none;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.facts .reveal:nth-child(2),
.steps .reveal:nth-child(2),
.socials .reveal:nth-child(2) { transition-delay: 0.08s; }
.facts .reveal:nth-child(3),
.steps .reveal:nth-child(3),
.socials .reveal:nth-child(3) { transition-delay: 0.16s; }
.facts .reveal:nth-child(4),
.steps .reveal:nth-child(4) { transition-delay: 0.24s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

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

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-80px, -60px, 0); }
}

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

@keyframes orb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(24px, -30px, 0) scale(1.08); }
}

@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes pulse {
  0%, 100% { box-shadow: var(--shadow), 0 0 0 1px rgba(201, 150, 62, 0.2); }
  50% { box-shadow: var(--shadow), 0 0 36px rgba(201, 150, 62, 0.28); }
}

@keyframes lineglow {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@media (max-width: 900px) {
  .hero-grid,
  .facts,
  .steps,
  .socials,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .footer-note,
  .head {
    text-align: left;
  }

  .head {
    margin-left: 0;
  }

  .portrait-stage {
    order: -1;
    width: min(340px, 86vw);
  }

  .hero-grid {
    gap: 1.6rem;
  }

  .chart-frame {
    height: 520px;
  }
}

@media (max-width: 760px) {
  .menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.9rem;
    padding: 0.4rem 1.3rem 1.1rem;
    background: rgba(247, 241, 230, 0.96);
    border-bottom: 1px solid var(--line);
  }

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

  .nav-x span {
    display: none;
  }

  .name-main {
    font-size: clamp(3.6rem, 18vw, 5.4rem);
  }

  .tagline {
    font-size: 1.25rem;
  }

  .banner-frame {
    border-radius: 18px;
    padding: 6px;
  }
}

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

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