:root {
  --ink: #12110e;
  --ink-soft: #3a372f;
  --cream: #f6f0e4;
  --cream-2: #ebe3d2;
  --paper: #fffaf1;
  --teal: #0f3d3a;
  --teal-2: #164e4a;
  --gold: #c9a46a;
  --gold-2: #e8d6b0;
  --rain: #1b3a42;
  --line: rgba(18, 17, 14, 0.12);
  --shadow: 0 24px 60px rgba(15, 61, 58, 0.18);
  --radius: 22px;
  --max: 1180px;
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.65;
  font-size: 17px;
}

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

a { color: var(--teal-2); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { left: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(246, 240, 228, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--teal);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-gold {
  background: linear-gradient(120deg, #e8d6b0 0%, var(--gold) 45%, #f3e6c6 70%, var(--gold) 100%);
  background-size: 220% 100%;
  color: var(--teal);
  box-shadow: 0 8px 20px rgba(201, 164, 106, 0.35);
  animation: sheen 3.8s ease-in-out infinite;
}

.btn-dark {
  background: var(--teal);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(246, 240, 228, 0.35);
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 1.4rem;
  color: var(--teal);
}

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  color: var(--cream);
  isolation: isolate;
  display: grid;
  align-items: end;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero img.bg {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  animation: kenburns 28s ease-in-out infinite alternate;
}

.hero-grain,
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-grain {
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-glow {
  background: radial-gradient(600px 280px at 70% 80%, rgba(201,164,106,.28), transparent 70%);
  animation: glowpulse 6s ease-in-out infinite;
}

#paws {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 20, 20, 0.18) 0%, rgba(8, 20, 20, 0.25) 40%, rgba(8, 18, 18, 0.88) 100%);
}

.hero-copy {
  padding: 0 0 72px;
  max-width: 760px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-2);
  margin: 0 0 14px;
}

h1, h2, h3 { font-family: var(--serif); letter-spacing: -0.03em; line-height: 1.12; margin: 0; }

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 500; }
h1 .line {
  display: block;
  overflow: hidden;
}
h1 .line span {
  display: block;
  animation: rise 1s cubic-bezier(.16,1,.3,1) both;
}
h1 .line:nth-child(2) span { animation-delay: .12s; }
h1 .line:nth-child(3) span { animation-delay: .24s; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); color: var(--teal); }
h3 { font-size: 1.45rem; }

.lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 46ch;
  color: rgba(246, 240, 228, 0.88);
  margin: 18px 0 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 28px;
  font-size: 0.86rem;
  color: rgba(246, 240, 228, 0.78);
}

.section { padding: 92px 0; }

.section.alt { background: var(--paper); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
}

.kicker {
  color: #8a6a32;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 12px;
}

.prose p { color: var(--ink-soft); font-size: 1.05rem; }

.quote {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--teal);
  margin: 22px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  background: var(--teal);
  color: var(--cream);
  border-radius: 18px;
  padding: 22px;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold-2);
}

.stat span { font-size: 0.92rem; color: rgba(246, 240, 228, 0.8); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(18, 17, 14, 0.06);
  border: 1px solid var(--line);
}

.card { transition: transform .45s ease, box-shadow .45s ease; }
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(15, 61, 58, 0.16); }
.card img {
  height: 230px;
  width: 100%;
  object-fit: cover;
  transition: transform 1.1s ease;
}
.card:hover img { transform: scale(1.08); }

.card-body { padding: 22px; }

.card h3 { margin-bottom: 8px; color: var(--teal); }

.note {
  font-size: 0.86rem;
  color: #6b6458;
}

.donate {
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(201, 164, 106, 0.18), transparent 50%),
    var(--teal);
  color: var(--cream);
}

.donate h2, .donate .kicker { color: var(--gold-2); }

.donate-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  margin-top: 28px;
}

.panel {
  background: rgba(255, 250, 241, 0.06);
  border: 1px solid rgba(246, 240, 228, 0.12);
  border-radius: var(--radius);
  padding: 26px;
}

.amounts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }

.chip {
  border: 1px solid rgba(246, 240, 228, 0.25);
  background: transparent;
  color: var(--cream);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--sans);
}

.chip.active {
  background: var(--gold);
  color: var(--teal);
  border-color: var(--gold);
}

label { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; color: var(--gold-2); }

select, .addr {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(246, 240, 228, 0.16);
  background: rgba(8, 20, 20, 0.35);
  color: var(--cream);
  padding: 12px 14px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.92rem;
}

.addr-row { display: flex; gap: 8px; }

.addr { overflow: hidden; text-overflow: ellipsis; }

.qr-wrap {
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
}

.qr-wrap img {
  width: 220px;
  height: 220px;
  background: #fff;
  padding: 10px;
  border-radius: 18px;
}

.tiny { font-size: 0.84rem; color: rgba(246, 240, 228, 0.72); }

.usd-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 20, 20, 0.4);
  border: 1px solid rgba(232, 214, 176, 0.22);
  border-radius: 16px;
  padding: 8px 16px;
  margin-bottom: 12px;
}
.usd-prefix {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold-2);
}
#usdInput {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 2rem;
  font-family: var(--serif);
  width: 100%;
  outline: none;
}
#usdInput::-webkit-outer-spin-button,
#usdInput::-webkit-inner-spin-button { appearance: none; margin: 0; }
#usdInput { appearance: textfield; }

.live-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.live-card {
  background: var(--teal);
  color: var(--cream);
  border-radius: 18px;
  padding: 22px 18px;
  min-height: 120px;
}
.live-card span { display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(246,240,228,.7); }
.live-card strong {
  display: block;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  color: var(--gold-2);
}
.supply-wrap {
  height: 8px;
  background: rgba(15,61,58,.15);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 22px;
}
.supply-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), #f3e6c6);
  transition: width 1.2s ease;
}
.supply-cap { margin-top: 10px; color: var(--ink-soft); }
#myPaw { min-height: 1.4em; margin-top: 10px; color: var(--teal); font-weight: 600; }
.lights { background: var(--paper); }

.token-panel {
  background: var(--teal);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.token-panel h3 { color: var(--gold-2); margin-bottom: 16px; }
.token-list { list-style: none; padding: 0; margin: 0 0 22px; }
.token-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(246,240,228,.12);
  font-size: 0.95rem;
}
.token-list span { color: rgba(246,240,228,.7); }
.token-panel .btn-dark { background: var(--gold); color: var(--teal); }

@media (max-width: 900px) {
  .live-grid { grid-template-columns: 1fr 1fr; }
}

#donateWallet { min-width: 240px; padding: 14px 26px; font-size: 1.05rem; }
.donate-status { margin: 12px 0 0; font-size: 0.92rem; color: rgba(246, 240, 228, 0.78); line-height: 1.5; }
.donate-status.ok { color: #b8e0c8; }
.donate-status.err { color: #f3b6aa; }
.donate-status.warn { color: var(--gold-2); }
#walletLinks { margin-top: 12px; }
#txLink a { color: var(--gold-2); }

.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.share a, .share button {
  color: var(--cream);
  text-decoration: none;
  border: 1px solid rgba(246, 240, 228, 0.2);
  background: transparent;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--sans);
}

.transparency { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.list { padding-left: 18px; color: var(--ink-soft); }

.footer {
  background: #0c2b29;
  color: rgba(246, 240, 228, 0.78);
  padding: 42px 0 28px;
  font-size: 0.92rem;
}

.footer a { color: var(--gold-2); }

.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.legal { border-top: 1px solid rgba(246, 240, 228, 0.12); padding-top: 18px; font-size: 0.8rem; color: rgba(246, 240, 228, 0.58); }

.mobile-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
}

.toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 900px) {
  .split, .donate-grid, .transparency, .cards, .stats { grid-template-columns: 1fr; }
  .split img { height: 340px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 16px 20px 22px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  .mobile-cta { display: block; }
  .section { padding: 64px 0; }
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--gold), #fff3d0);
  box-shadow: 0 0 12px rgba(201,164,106,.8);
}

.ticker {
  overflow: hidden;
  background: var(--teal);
  color: var(--gold-2);
  border-top: 1px solid rgba(232,214,176,.15);
  border-bottom: 1px solid rgba(232,214,176,.15);
  padding: 10px 0;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 1.4s ease;
}
.media:hover img { transform: scale(1.05); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: none;
}
.reveal.in {
  animation: fadeup .9s cubic-bezier(.16,1,.3,1) forwards;
}
.reveal.d1 { animation-delay: .08s; }
.reveal.d2 { animation-delay: .16s; }
.reveal.d3 { animation-delay: .24s; }

.stat {
  position: relative;
  overflow: hidden;
  transition: transform .35s ease;
}
.stat:hover { transform: translateY(-4px); }
.stat::after {
  content: "";
  position: absolute;
  inset: auto -40% -40% auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(232,214,176,.25), transparent 70%);
}

.chip { transition: transform .2s ease, background .2s ease, color .2s ease; }
.chip:hover { transform: translateY(-2px); }

.qr-ring {
  position: relative;
  display: grid;
  place-items: center;
}
.qr-ring::before {
  content: "";
  position: absolute;
  width: 248px;
  height: 248px;
  border-radius: 28px;
  border: 1px solid rgba(232,214,176,.35);
  animation: ring 2.8s ease-out infinite;
}

.donate {
  position: relative;
  overflow: hidden;
}
.donate::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(201,164,106,.22), transparent 68%);
  animation: glowpulse 7s ease-in-out infinite;
}

.mobile-cta { animation: bouncecta 2.6s ease-in-out infinite; }

@keyframes kenburns {
  from { transform: scale(1) translate3d(0,0,0); }
  to { transform: scale(1.12) translate3d(-2%, -1.5%, 0); }
}
@keyframes rise {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeup {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes sheen {
  0%, 70% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}
@keyframes glowpulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes ring {
  0% { transform: scale(.92); opacity: .7; }
  100% { transform: scale(1.12); opacity: 0; }
}
.who { background: var(--paper); }
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.who-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  min-height: 200px;
}
.who-card h3 { color: var(--teal); margin-bottom: 10px; }
.who-card p { color: var(--ink-soft); margin: 0; }

.hscroll { overflow: hidden; }
.hscroll-track.cards {
  display: flex;
  width: max-content;
  will-change: transform;
}
.hscroll-track .card {
  width: min(400px, 78vw);
  min-width: min(400px, 78vw);
  flex: 0 0 auto;
}

.split .prose, .media { will-change: transform, opacity; }

@media (max-width: 900px) {
  .who-grid { grid-template-columns: 1fr; }
  .hscroll { overflow: visible; }
}

@keyframes bouncecta {
  0%, 70%, 100% { transform: translateY(0); }
  80% { transform: translateY(-4px); }
}

@media (max-width: 900px) {
  .media img { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .card img, .media img, .chip { transition: none; }
  .hero img.bg,
  .btn-gold,
  .hero-glow,
  .ticker-track,
  .qr-ring::before,
  .mobile-cta,
  h1 .line span { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
