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

:root {
  --background: #f3e2c0;
  --foreground: #1a2033;
  --card: #fff6e4;
  --card-foreground: #1c2438;
  --primary: #2d4a8c;
  --primary-foreground: #fff8ee;
  --secondary: #f3d6ae;
  --muted: #efe0c0;
  --muted-foreground: #4a4338;
  --accent: #e56b8a;
  --accent-foreground: #fff7f4;
  --gold-hi: #f6e08a;
  --gold-mid: #e8b84a;
  --gold-lo: #b8860b;
  --navy: #1a2438;
  --peach: #f3d4ae;
  --yarn: #f4a8bc;
  --border: #c9a46a55;
  --shadow: 0 28px 70px -30px rgba(36, 48, 80, 0.45);
  --display: "Anton", "Fredoka", system-ui, sans-serif;
  --sans: "Nunito", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

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

.font-display {
  font-family: var(--display);
  font-weight: 700;
}

.text-gold {
  color: transparent;
  background-image: linear-gradient(
    172deg,
    #b8860b 0%,
    #f0c040 26%,
    #7a5518 58%,
    #d4a828 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(45, 74, 140, 0.1);
  background: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(45, 74, 140, 0.35);
}

.brand-name {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.brand-ticker {
  margin-left: 6px;
  font-size: 0.85rem;
  color: var(--accent);
}

.menu {
  display: none;
  align-items: center;
  gap: 32px;
  padding: 10px 28px;
  border-radius: 999px;
  border: 1px solid rgba(45, 74, 140, 0.2);
  background: color-mix(in oklab, var(--card) 60%, transparent);
  color: var(--muted-foreground);
  font-size: 0.92rem;
  backdrop-filter: blur(8px);
}

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

.header-end {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: scale(1.05);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 14px 34px -12px rgba(45, 74, 140, 0.55);
}

.btn-ghost {
  border: 1px solid rgba(45, 74, 140, 0.4);
  color: var(--foreground);
}

.btn-ghost:hover {
  border-color: var(--primary);
  background: rgba(45, 74, 140, 0.08);
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.btn-label {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

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

.hero-glow {
  background:
    radial-gradient(120% 80% at 70% 8%, rgba(255, 244, 214, 0.95) 0%, transparent 62%),
    radial-gradient(90% 70% at 8% 100%, rgba(244, 168, 188, 0.45) 0%, transparent 65%),
    radial-gradient(70% 50% at 90% 80%, rgba(45, 74, 140, 0.12) 0%, transparent 60%);
}

.hero-grid {
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(45, 74, 140, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 74, 140, 0.14) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(100% 70% at 50% 30%, black, transparent 75%);
}

.hero-inner {
  display: grid;
  min-height: 100svh;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
  padding: 112px 0 64px;
}

.hero-copy { order: 2; }
.hero-visual { order: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(45, 74, 140, 0.3);
  background: color-mix(in oklab, var(--card) 60%, transparent);
  color: var(--primary);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.2rem, 10vw, 6.8rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.title-line {
  display: block;
}

.title-line.text-gold {
  white-space: nowrap;
}

.hero h1 .ticker {
  margin-left: 12px;
  vertical-align: super;
  font-size: 0.28em;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.lede {
  margin-top: 24px;
  max-width: 32rem;
  color: var(--muted-foreground);
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.actions .btn {
  padding: 14px 24px;
}

.ca-btn {
  display: flex;
  width: 100%;
  max-width: 36rem;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(45, 74, 140, 0.3);
  background: color-mix(in oklab, var(--card) 70%, transparent);
  text-align: left;
  backdrop-filter: blur(8px);
}

.ca-btn:hover {
  border-color: rgba(45, 74, 140, 0.7);
  background: var(--card);
}

.ca-pill {
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 4px 12px;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.ca-value {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted-foreground);
}

.ca-copy {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.75rem;
}

.scroll-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--muted-foreground);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-hint:hover {
  color: var(--primary);
}

.scroll-hint svg {
  width: 16px;
  height: 16px;
  animation: bounce 1.2s infinite;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.watermark {
  position: absolute;
  z-index: -1;
  font-family: var(--display);
  font-size: clamp(9rem, 26vw, 22rem);
  line-height: 1;
  color: rgba(45, 74, 140, 0.07);
  filter: blur(2px);
  user-select: none;
  pointer-events: none;
}

.coin-scene {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  perspective: 900px;
}

.coin-aura {
  position: absolute;
  aspect-ratio: 1;
  width: 118%;
  border-radius: 999px;
  opacity: 0.8;
  filter: blur(48px);
  background: radial-gradient(circle, rgba(255, 244, 214, 0.9) 0%, rgba(232, 184, 74, 0.45) 44%, transparent 72%);
}

.coin-float {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  animation: float 5.5s ease-in-out infinite;
}

.coin-wrap {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 19rem;
  transform-style: preserve-3d;
  filter: drop-shadow(0 30px 45px rgba(45, 74, 140, 0.35));
}

.coin {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.coin-edge {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9922e, #f0c040, #e8789a, #2d4a8c);
  transform-style: preserve-3d;
}

.coin-face {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  overflow: hidden;
  backface-visibility: hidden;
}

.coin-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coin-sheen {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.45) 0%, transparent 38%, transparent 62%, rgba(28, 36, 56, 0.28) 100%);
}

.coin-back {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 32% 28%, #f6e08a 0%, #e8b84a 42%, #c45d72 100%);
}

.coin-back span {
  font-family: var(--display);
  font-size: clamp(5rem, 18vw, 9rem);
  line-height: 1;
  color: rgba(255, 248, 238, 0.88);
}

/* Marquee */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(45, 74, 140, 0.22);
  background: rgba(45, 74, 140, 0.08);
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 40px;
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* Sections */
.section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.about-grid {
  display: grid;
  gap: 56px;
}

.banner-wrap {
  position: relative;
}

.banner-glow {
  position: absolute;
  inset: 24px;
  z-index: -1;
  border-radius: 999px;
  opacity: 0.6;
  filter: blur(48px);
  background: radial-gradient(circle, rgba(232, 184, 74, 0.55) 0%, transparent 68%);
}

.banner-wrap img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 2rem;
  border: 1px solid rgba(45, 74, 140, 0.22);
  box-shadow: var(--shadow);
  animation: float 6.5s ease-in-out infinite;
}

.kicker {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.prose {
  margin-top: 24px;
  max-width: 36rem;
  color: var(--muted-foreground);
}

.prose + .prose {
  margin-top: 16px;
}

.memes {
  border-top: 1px solid rgba(45, 74, 140, 0.18);
}

.memes-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(90% 60% at 50% 0%, rgba(255, 244, 214, 0.9) 0%, transparent 62%);
}

.memes-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.memes-head p {
  max-width: 22rem;
  color: var(--muted-foreground);
}

.meme-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 56px;
}

.meme {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(45, 74, 140, 0.22);
  background: var(--card);
  box-shadow: 0 18px 40px -28px rgba(28, 36, 56, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.meme:nth-child(2) { transform: rotate(1.2deg); }
.meme:nth-child(3) { transform: rotate(-1.4deg); }
.meme:nth-child(4) { transform: rotate(1.6deg); }
.meme:nth-child(5) { transform: rotate(-1deg); }
.meme:nth-child(6) { transform: rotate(0.8deg); }

.meme:hover {
  z-index: 2;
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 28px 50px -24px rgba(28, 36, 56, 0.5);
}

.meme-feature {
  grid-column: 1 / -1;
  transform: none;
}

.meme-open {
  display: block;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
}

.meme img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.meme-feature img {
  aspect-ratio: 16 / 11;
}

.meme:hover img {
  transform: scale(1.04);
}

.meme figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(255, 246, 228, 0.96), rgba(255, 246, 228, 0.7), transparent);
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
  pointer-events: none;
}

.lightbox {
  position: relative;
  width: min(720px, calc(100% - 32px));
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: 0 40px 80px -30px rgba(28, 36, 56, 0.55);
}

.lightbox::backdrop {
  background: rgba(26, 36, 56, 0.62);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  width: 100%;
  display: block;
  border-radius: 1.5rem 1.5rem 0 0;
}

.lightbox figcaption {
  padding: 16px 20px 20px;
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--foreground);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 246, 228, 0.92);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 64px;
  padding: 48px 24px;
  border-radius: 1.5rem;
  border: 1px solid rgba(45, 74, 140, 0.28);
  background: color-mix(in oklab, var(--card) 60%, transparent);
  text-align: center;
  backdrop-filter: blur(8px);
}

.cta-card h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.cta-card p {
  max-width: 28rem;
  color: var(--muted-foreground);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-actions .btn {
  padding: 14px 24px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(45, 74, 140, 0.18);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.site-footer img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(45, 74, 140, 0.35);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(45, 74, 140, 0.3);
  color: var(--primary);
}

.icon-btn:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.icon-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-handles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.footer-handle {
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}

.footer-handle:hover {
  opacity: 0.7;
}

.disclaimer {
  max-width: 28rem;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.copy {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(45, 74, 140, 0.55);
}

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

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

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

@media (min-width: 640px) {
  .shell { width: min(1200px, calc(100% - 48px)); }
  .btn-label { display: inline; }
  .lede { font-size: 1.125rem; }
  .coin-wrap { max-width: 26rem; }
  .meme-bento { gap: 18px; }
  .meme figcaption { font-size: 0.9rem; }
  .cta-card { padding: 48px; }
}

@media (min-width: 768px) {
  .menu { display: flex; }
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 24px;
    padding-top: 96px;
  }

  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .scroll-hint { display: inline-flex; }
  .coin-wrap { max-width: 30rem; }

  .about-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
  }

  .memes-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .meme-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
  }

  .meme-feature {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .meme,
  .meme-open {
    height: 100%;
  }

  .meme-feature img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 100%;
  }

  .meme:nth-child(2) { grid-column: 3; grid-row: 1; }
  .meme:nth-child(3) { grid-column: 3; grid-row: 2; }
}

