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

:root {
  --black: #0c0c0e;
  --dark: #141416;
  --dark-2: #1c1c20;
  --gold: #c9a227;
  --gold-light: #e8d48b;
  --gold-dim: #8a7120;
  --cream: #f5f0e6;
  --muted: #9a9590;
  --line: rgba(201, 162, 39, 0.2);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1080px, 90vw);
  margin: 0 auto;
}

.center { text-align: center; }
.sub { color: var(--muted); }

/* grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 12, 14, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
  flex-shrink: 0;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
}

.logo-name {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.logo-ticker {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--cream); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  transition: background 0.2s, border-color 0.2s;
}

.nav-icon:hover {
  background: rgba(201, 162, 39, 0.08);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--cream);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-ambient-img {
  position: absolute;
  top: 50%;
  right: 8%;
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  transform: translateY(-50%);
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.14;
  filter: blur(48px) saturate(1.2);
}

.hero-ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 75% 50%, rgba(201, 162, 39, 0.12), transparent 70%),
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(201, 162, 39, 0.06), transparent 60%),
    linear-gradient(180deg, var(--black) 0%, transparent 30%, transparent 70%, var(--black) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  max-width: 540px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.hero-ticker {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(245, 240, 230, 0.75);
  max-width: 480px;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(280px, 38vw, 420px);
}

.hero-glow {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.28) 0%, rgba(201, 162, 39, 0.06) 45%, transparent 70%);
  animation: hero-pulse 4s ease-in-out infinite;
}

@keyframes hero-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.75; }
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.hero-orbit-1 {
  width: 88%;
  aspect-ratio: 1;
  animation: hero-spin 24s linear infinite;
}

.hero-orbit-2 {
  width: 100%;
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(201, 162, 39, 0.12);
  animation: hero-spin 36s linear infinite reverse;
}

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

.hero-coin-frame {
  position: relative;
  z-index: 1;
  width: min(72%, 300px);
  aspect-ratio: 1;
  padding: 5px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-light), var(--gold), var(--gold-dim));
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.3),
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(201, 162, 39, 0.2);
}

.hero-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--black);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

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

.btn-gold {
  background: var(--gold);
  color: var(--black);
}

.btn-gold:hover { background: var(--gold-light); }

.btn-line {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 240, 230, 0.25);
}

.btn-line:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-lg { padding: 1rem 2rem; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.78rem; }
.btn-sm.copied { opacity: 0.65; }

/* ── Ticker bar ── */
.ticker-bar {
  overflow: hidden;
  padding: 0.7rem 0;
  background: var(--dark);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker-inner {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticker-inner span:nth-child(odd) { color: var(--gold); }

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

/* ── Blocks ── */
.block {
  padding: 5.5rem 0;
}

.block-dark { background: var(--dark); }

.block-head {
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.block-head.center {
  margin-left: auto;
  margin-right: auto;
}

.tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.block h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.block h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.block-head p { color: var(--muted); }

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  background: var(--black);
  padding: 2rem 1.75rem;
}

.card-accent {
  background: var(--dark-2);
}

.card-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
  margin-bottom: 1rem;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--gold-light);
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrap {
  aspect-ratio: 1;
  max-width: 360px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(201, 162, 39, 0.08);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.about-text strong { color: var(--cream); }

.meta {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.meta dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.meta dd {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
}

/* ── Gallery ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gal-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: zoom-in;
  background: var(--dark);
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gal-item:hover img { transform: scale(1.04); }

.gal-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(to top, rgba(12, 12, 14, 0.85), transparent);
  pointer-events: none;
}

.gal-item span {
  position: absolute;
  left: 0.85rem;
  bottom: 0.7rem;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gal-wide {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gal-wide span {
  font-size: 0.9rem;
  bottom: 1rem;
  left: 1rem;
}

/* ── Contract ── */
.contract-wrap { max-width: 640px; margin: 0 auto; }

.ca-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: var(--black);
  border: 1px solid var(--line);
}

.ca-box code {
  flex: 1;
  font-family: ui-monospace, monospace;
  font-size: clamp(0.75rem, 2vw, 0.92rem);
  letter-spacing: 0.05em;
  word-break: break-all;
  color: var(--gold-light);
}

.toast {
  text-align: center;
  min-height: 1.2rem;
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s;
}

.toast.show { opacity: 1; }

/* ── Chart ── */
.chart-box {
  position: relative;
  width: 100%;
  padding-bottom: 125%;
  border: 1px solid var(--line);
  background: #000;
  overflow: hidden;
}

.chart-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.chart-iframe.hidden,
.chart-ph.hidden { display: none; }

.chart-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.chart-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.chart-link:hover { text-decoration: underline; }

@media (min-width: 1000px) {
  .chart-box { padding-bottom: 65%; }
}

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
  margin: 2rem 0 2.5rem;
}

.steps li {
  background: var(--black);
  padding: 1.75rem 1.25rem;
}

.steps span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
  margin-bottom: 0.5rem;
}

.steps h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.steps p {
  font-size: 0.88rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
}

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

.footer-brand span {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.footer-disclaimer {
  font-size: 0.72rem;
  color: #5c5854;
  line-height: 1.65;
  max-width: 600px;
}

/* ── Lightbox ── */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(960px, 92vw);
}

.lightbox::backdrop {
  background: rgba(12, 12, 14, 0.92);
}

.lightbox img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid var(--line);
}

.lightbox-close {
  position: absolute;
  top: -2.2rem;
  right: 0;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .cards,
  .about-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-copy {
    max-width: none;
    margin: 0 auto;
  }

  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  .hero-ambient-img {
    right: 50%;
    transform: translate(50%, -50%);
    width: 70vw;
    height: 70vw;
  }

  .hero-showcase {
    min-height: 260px;
    max-width: 320px;
    margin: 0 auto;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gal-wide {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 700px) {
  .nav-links {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(12, 12, 14, 0.97);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle { display: flex; }

  .logo-name { font-size: 0.85rem; }

  .ca-box { flex-direction: column; }
  .ca-box .btn { width: 100%; justify-content: center; }

  .meta { flex-wrap: wrap; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .gal-item { aspect-ratio: 4 / 3; }
  .hero-coin-frame { width: 78%; }
}
