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

:root {
  --bg: #f6eee4;
  --panel: #fffaf4;
  --line: rgba(154, 120, 24, 0.22);
  --gold: #c9a227;
  --gold-deep: #9a7818;
  --amber: #e8a020;
  --red: #e23c2e;
  --ink: #2c241c;
  --muted: #7a6a58;
  --cream: #fff8ee;
  --sofa: #d9cbb8;
  --serif: "Lilita One", "Nunito", system-ui, sans-serif;
  --script: "Pacifico", Georgia, serif;
  --sans: "Nunito", system-ui, sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
  --radius: 18px;
  --gap: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(232, 160, 32, 0.14), transparent 55%),
    radial-gradient(800px 380px at 92% 8%, rgba(201, 162, 39, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.shell {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  padding: 14px 0;
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  background: rgba(255, 250, 244, 0.82);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(44, 36, 28, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  justify-self: start;
  color: var(--ink);
}

.brand em {
  font-family: var(--script);
  font-style: normal;
  font-size: 1.05em;
  color: var(--gold-deep);
  margin-left: 4px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.18);
}

.menu {
  display: flex;
  gap: 20px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu a {
  text-decoration: none;
  color: rgba(44, 36, 28, 0.68);
}

.menu a:hover { color: var(--gold-deep); }

.nav-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.nav-end > a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--ink);
}

.nav-end > a.is-solid {
  background: var(--gold);
  color: #2c241c;
  border-color: var(--gold);
  box-shadow: 0 8px 18px rgba(201, 162, 39, 0.28);
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(var(--ink), var(--ink)) 10px 13px / 20px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 10px 19px / 20px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 10px 25px / 20px 2px no-repeat,
    rgba(255, 248, 238, 0.6);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: clamp(280px, 42vw, 560px);
  display: grid;
  align-items: stretch;
  color: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(44, 36, 28, 0.12) 0%, transparent 26%, transparent 58%, rgba(246, 238, 228, 0.42) 82%, var(--bg) 100%);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: clamp(280px, 42vw, 560px);
  padding: 96px 0 36px;
  text-align: center;
}

.hero-copy {
  width: min(720px, 100%);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}

.hero h1,
.panel h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.panel h2 em {
  font-family: var(--script);
  font-style: normal;
  color: var(--gold-deep);
  font-size: 0.78em;
}

.body {
  color: var(--muted);
  max-width: 36em;
  margin-top: 14px;
}

.body a {
  color: var(--gold-deep);
  font-weight: 800;
  text-decoration: none;
}

.body a:hover { text-decoration: underline; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #2c241c;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  box-shadow: 0 8px 16px rgba(201, 162, 39, 0.24);
}

.tag.is-ghost,
.btn.is-ghost {
  background: rgba(255, 250, 244, 0.78);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  background: var(--gold);
  color: #2c241c;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(201, 162, 39, 0.28);
}

.btn:hover { filter: brightness(1.06); }
.btn.is-ghost:hover { background: rgba(201, 162, 39, 0.12); }

.panel {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.head { margin-bottom: 28px; }

.panel h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.tape {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #2c241c;
  padding: 12px 0;
}

.tape-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: tape 28s linear infinite;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.tape-track span:nth-child(3n) { color: #f3d9a4; }
.tape-track span:nth-child(2n) { color: #e8a020; }

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

.maison-card {
  margin: 0;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(44, 36, 28, 0.1);
}

.maison-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  background: var(--sofa);
}

.maison-copy {
  padding: 24px 22px 22px;
}

.maison-copy h3 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.maison-copy p {
  color: var(--muted);
  margin-bottom: 18px;
}

.maison-meta {
  list-style: none;
  display: grid;
  gap: 8px;
}

.maison-meta li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.maison-meta span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.maison-meta b { color: var(--gold-deep); }

.duo {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
  margin-top: 36px;
}

.duo-card {
  margin: 0;
  padding: 22px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.duo-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.duo-card p { color: var(--muted); }

.duo-card.is-result {
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.08);
  background: linear-gradient(180deg, #fffdf8 0%, #f8edd4 100%);
}

.duo-plus {
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.meme-wall {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px 18px;
  align-items: start;
}

.print {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 10px 38px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 36px rgba(44, 36, 28, 0.12);
  cursor: zoom-in;
  transform-origin: center center;
  transition: transform 0.2s ease, z-index 0s;
}

.print::after {
  content: attr(data-cap);
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-align: left;
}

.print img {
  width: 100%;
  display: block;
  background: #efe4d4;
}

.print.sq img { aspect-ratio: 1; object-fit: cover; }
.print.land img { aspect-ratio: 16 / 9; object-fit: cover; }

.span-12 { grid-column: 1 / -1; }
.span-8 { grid-column: span 8; }
.span-4 { grid-column: span 4; }

.tilt-a { transform: rotate(-1.1deg); }
.tilt-b { transform: rotate(1.6deg); }
.tilt-c { transform: rotate(-1.6deg); }
.tilt-d { transform: rotate(1.2deg); }
.tilt-e { transform: rotate(-0.9deg); }
.tilt-f { transform: rotate(1.8deg); }
.tilt-g { transform: rotate(-0.6deg); }
.tilt-h { transform: rotate(1.4deg); }

.print:hover {
  z-index: 2;
  transform: rotate(0deg) translateY(-6px);
}

.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-bottom: var(--gap);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}

.card h2 { margin-bottom: 12px; }

.token-bio {
  max-width: 28em;
  margin-bottom: 18px;
  color: var(--muted);
}

.ca {
  display: block;
  margin-bottom: 18px;
  font-family: var(--mono);
  word-break: break-all;
  color: var(--gold-deep);
}

.ca.is-tba {
  font-family: var(--serif);
  font-size: 2.8rem;
  letter-spacing: 0.14em;
}

.toast {
  min-height: 1.2rem;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--gold-deep);
  opacity: 0;
}

.toast.show { opacity: 1; }

.steps {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.steps b {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gold-deep);
}

.chart-card { padding: 28px; }

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.chart-head h2 { margin: 0; }

.text-link {
  color: var(--gold-deep);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-decoration: none;
  white-space: nowrap;
}

.chart-frame {
  border-radius: 14px;
  overflow: hidden;
  background: #1a1612;
  min-height: 420px;
  border: 1px solid var(--line);
}

.chart-frame iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
}

.chart-frame.is-tba {
  min-height: 220px;
  display: grid;
  place-items: center;
  background: #fff8ee;
}

.chart-tba { text-align: center; }
.chart-tba span {
  display: block;
  font-family: var(--mono);
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  font-size: 0.72rem;
}
.chart-tba strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 400;
}

.foot {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}

.foot-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px 24px;
  align-items: center;
}

.foot p {
  color: var(--muted);
  font-size: 0.85rem;
}

.foot nav { display: flex; gap: 16px; }
.foot nav a {
  font-weight: 800;
  text-decoration: none;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lightbox {
  position: relative;
  width: min(92vw, 920px);
  border: 0;
  padding: 0;
  background: transparent;
}

.lightbox::backdrop { background: rgba(44, 36, 28, 0.78); }

.lightbox img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(201, 162, 39, 0.25);
}

.lightbox-close {
  position: absolute;
  top: -2.2rem;
  right: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f6eee4;
}

.social-official {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.soc-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
}

.soc-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.2);
}

.soc-card b { display: block; }
.soc-card span { color: var(--muted); font-size: 0.85rem; }
.soc-card em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2c241c;
  background: var(--gold);
  padding: 6px 12px;
  border-radius: 999px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--gap);
  align-items: start;
}

.embed-stage {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

.embed-bar {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}

.embed-bar a { color: var(--muted); text-decoration: none; }

.kym-card {
  display: block;
  overflow: hidden;
  background: #111318;
  color: #f3f4f7;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(17, 19, 24, 0.18);
}

.kym-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #0b0c10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kym-mark {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5c542;
}

.kym-status {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b0c10;
  background: #7dff9a;
  padding: 4px 9px;
  border-radius: 999px;
}

.kym-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 18%;
}

.kym-body { padding: 16px 16px 18px; }

.kym-body h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.kym-meta {
  color: #aeb6c4;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.kym-body p { color: #d7dce6; }

.kym-facts {
  list-style: none;
  display: grid;
  gap: 6px;
  margin: 14px 0 16px;
}

.kym-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.kym-facts span {
  color: #8d97a8;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kym-card em {
  font-style: normal;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f5c542;
}

.post-card {
  background: #fff;
  border: 1px solid #e6e0d6;
  border-radius: 14px;
  padding: 16px;
  text-align: left;
}

.post-card header { margin-bottom: 8px; }
.post-card header span { color: var(--muted); font-size: 0.85rem; margin-left: 6px; }
.post-card p { margin-bottom: 12px; color: var(--ink); }
.post-card a {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--gold-deep);
  text-decoration: none;
}

.tweet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.embed-frame {
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.embed-stage.is-embedded .tweet-fallback { display: none; }
.embed-stage.is-embedded .embed-frame {
  height: auto;
  overflow: visible;
  visibility: visible;
}

.tweet-embed {
  display: flex;
  justify-content: center;
}

.tweet-embed iframe,
.tweet-embed twitter-widget,
.twitter-tweet {
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 550px !important;
}

blockquote.twitter-tweet:not(.twitter-tweet-rendered) { display: none; }

.market .actions { justify-content: flex-start; }

@media (prefers-reduced-motion: reduce) {
  .print { transform: none; transition: none; }
  .tape-track { animation: none; }
}

@media (max-width: 900px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .menu-btn { display: block; }
  .menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    background: #fffaf4;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(44, 36, 28, 0.12);
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px 16px; }
  .nav-end > a { display: none; }
  .hero-grid { padding: 88px 0 28px; }
  .split,
  .market-grid,
  .foot-inner,
  .chart-head,
  .social-official,
  .proof-grid,
  .maison-card,
  .duo {
    grid-template-columns: 1fr;
  }
  .duo-plus { padding: 4px 0; }
  .maison-card img { min-height: 220px; }
  .meme-wall { grid-template-columns: 1fr 1fr; gap: 16px; }
  .span-12,
  .span-8,
  .span-4 { grid-column: span 1; }
  .print.land { grid-column: 1 / -1; }
  .print { transform: none; }
  .panel { padding: 64px 0; }
}

@media (max-width: 560px) {
  .meme-wall { grid-template-columns: 1fr; }
  .brand { font-size: 0.95rem; }
}
