/* VariantQuest public site — DTC collectibles brand */

:root {
  --brand-50: #f0f7ff;
  --brand-100: #e0effe;
  --brand-500: #2563eb;
  --brand-600: #1d4ed8;
  --brand-700: #1e40af;
  --ink: #0f172a;
  --muted: #475569;
  --paper: #f8fafc;
  --card: #ffffff;
  --accent-warm: #f59e0b;
  --accent-pop: #ec4899;
  --accent-teal: #0d9488;
  --accent-purple: #7c3aed;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --radius: 1rem;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: var(--brand-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-700);
}

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

.narrow {
  max-width: 720px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--brand-600);
  color: white;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header & navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-pop));
  color: white;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.25);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
}

.nav-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  font-size: 0.95rem;
}

.nav-desktop a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-desktop a:hover {
  color: var(--brand-700);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.65rem;
  background: white;
  cursor: pointer;
}

.menu-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded='true'] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(248, 250, 252, 0.98);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 0.85rem 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(236, 72, 153, 0.12), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(245, 158, 11, 0.14), transparent 28%),
    linear-gradient(180deg, var(--brand-50), transparent 70%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-inner {
  position: relative;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-lead {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--muted);
}

.hero-welcome {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--brand-700);
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.collectible-stack {
  position: relative;
  width: min(100%, 340px);
  height: 300px;
}

.collectible {
  position: absolute;
  border-radius: 0.65rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.collectible--comic {
  top: 8%;
  left: 6%;
  width: 110px;
  height: 168px;
  background: linear-gradient(160deg, #dc2626 0%, #991b1b 45%, #1e3a8a 100%);
  transform: rotate(-8deg);
}

.collectible--comic::after {
  content: '';
  position: absolute;
  inset: 12% 10%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.35rem;
}

.collectible--figure {
  top: 22%;
  right: 4%;
  width: 88px;
  height: 120px;
  background: linear-gradient(180deg, var(--accent-warm), #b45309);
  transform: rotate(6deg);
  border-radius: 0.5rem 0.5rem 0.25rem 0.25rem;
}

.collectible--figure::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  width: 36px;
  height: 36px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, #fcd34d, var(--accent-warm));
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.collectible--card {
  bottom: 12%;
  left: 28%;
  width: 100px;
  height: 140px;
  background: linear-gradient(145deg, #fef3c7, #fde68a 40%, #d97706);
  transform: rotate(-3deg);
}

.collectible--card::after {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 0.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
}

.collectible--game {
  bottom: 18%;
  right: 12%;
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-purple));
  transform: rotate(12deg);
}

.collectible--game::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: var(--brand-600);
  color: white;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.28);
}

.btn-primary:hover {
  background: var(--brand-700);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--brand-700);
  border: 2px solid var(--brand-100);
}

.btn-secondary:hover {
  color: var(--brand-700);
  border-color: var(--brand-500);
}

.btn-on-dark.btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-on-dark.btn-secondary:hover {
  color: white;
  border-color: white;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-muted {
  background: white;
  border-block: 1px solid rgba(148, 163, 184, 0.18);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
}

.text-center {
  text-align: center;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 46rem;
}

.section-lead-centered {
  margin-inline: auto;
}

.section-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--brand-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-header {
  margin-bottom: 0.5rem;
}

.section-opening-note {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  max-width: 46rem;
  border-radius: var(--radius);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-size: 0.95rem;
  font-weight: 500;
}

.brand-ladder {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.brand-ladder-item {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.brand-ladder-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.brand-ladder-item span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.brand-ladder-item--highlight {
  background: linear-gradient(135deg, var(--brand-50), white);
  border-color: var(--brand-100);
  border-left: 4px solid var(--brand-500);
}

/* Journey pillars */
.section-journey {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.pillar-card {
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.pillar-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
}

.pillar-icon--discover {
  background: linear-gradient(135deg, var(--accent-pop), #be185d);
}

.pillar-icon--explore {
  background: linear-gradient(135deg, var(--accent-warm), #d97706);
}

.pillar-icon--shop {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
}

.pillar-label {
  margin: 0 0 0.5rem;
  color: var(--brand-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pillar-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.pillar-card p {
  margin: 0;
  color: var(--muted);
}

/* Featured / Outpost */
.featured-grid,
.editorial-grid,
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.featured-card,
.editorial-card,
.collection-card {
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.featured-card--primary {
  border-color: var(--brand-100);
}

.featured-visual,
.collection-visual {
  height: 120px;
  margin: -1.5rem -1.5rem 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.featured-visual--curated {
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.15), transparent),
    repeating-linear-gradient(90deg, #dc2626 0 18px, #1e40af 18px 36px, #f59e0b 36px 54px);
  opacity: 0.85;
}

.featured-visual--drops {
  background:
    radial-gradient(circle at 30% 40%, rgba(236, 72, 153, 0.35), transparent 50%),
    linear-gradient(160deg, var(--brand-100), white);
}

.featured-visual--picks {
  background:
    linear-gradient(45deg, var(--accent-teal), var(--brand-600)),
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.12) 0 15deg, transparent 15deg 30deg);
}

.collection-visual--retro {
  background: linear-gradient(135deg, #fcd34d, #f97316, #dc2626);
  opacity: 0.8;
}

.collection-visual--modern {
  background: linear-gradient(135deg, var(--brand-600), var(--accent-purple));
}

.collection-visual--weekend {
  background: linear-gradient(135deg, var(--accent-teal), var(--brand-100));
}

.card-label {
  margin: 0 0 0.5rem;
  color: var(--brand-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-card h3,
.editorial-card h3,
.collection-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.featured-card p,
.editorial-card p,
.collection-card p {
  margin: 0;
  color: var(--muted);
}

/* Categories */
.category-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: white;
  border: 2px solid transparent;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  color: inherit;
}

.category-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
}

.category-icon--comics {
  background: linear-gradient(135deg, #dc2626, #1e40af);
}

.category-icon--slabs {
  background: linear-gradient(135deg, #fef3c7, #d97706);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.category-icon--figures {
  background: linear-gradient(180deg, #f59e0b, #b45309);
  border-radius: 0.5rem 0.5rem 0.25rem 0.25rem;
}

.category-icon--funko {
  background: linear-gradient(135deg, var(--accent-pop), #9d174d);
  border-radius: 0.35rem;
}

.category-icon--cards {
  background: linear-gradient(145deg, #fde68a, #ca8a04);
}

.category-icon--games {
  background: linear-gradient(135deg, var(--brand-600), var(--accent-purple));
}

.category-icon--lego {
  background: linear-gradient(135deg, #ef4444, #facc15, #22c55e, #3b82f6);
}

.category-icon--pop {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-pop));
}

.category-card--comics { border-color: rgba(220, 38, 38, 0.2); }
.category-card--slabs { border-color: rgba(217, 119, 6, 0.25); }
.category-card--figures { border-color: rgba(245, 158, 11, 0.3); }
.category-card--funko { border-color: rgba(236, 72, 153, 0.25); }
.category-card--cards { border-color: rgba(202, 138, 4, 0.25); }
.category-card--games { border-color: rgba(37, 99, 235, 0.25); }
.category-card--lego { border-color: rgba(34, 197, 94, 0.25); }
.category-card--pop { border-color: rgba(13, 148, 136, 0.25); }

.category-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.category-card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-600);
}

/* Collecting Culture */
.culture-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.culture-visual {
  min-height: 180px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 30%, rgba(236, 72, 153, 0.2), transparent 45%),
    linear-gradient(135deg, var(--brand-50), white),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(29, 78, 216, 0.06) 18px,
      rgba(29, 78, 216, 0.06) 19px
    );
  border: 1px solid var(--brand-100);
}

.content-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.content-theme {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.content-theme h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.content-theme p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.content-theme--guides { border-left: 4px solid var(--brand-600); }
.content-theme--nostalgia { border-left: 4px solid var(--accent-warm); }
.content-theme--hunt { border-left: 4px solid var(--accent-pop); }
.content-theme--new { border-left: 4px solid var(--accent-teal); }

.editorial-card--featured {
  background: linear-gradient(160deg, white, var(--brand-50));
}

.culture-note {
  margin-top: 1.75rem;
  max-width: 46rem;
  font-size: 0.88rem;
}

/* Social */
.section-social {
  background: linear-gradient(180deg, var(--brand-50), transparent);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.social-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.social-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.social-status {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.social-card--instagram { border-top: 3px solid var(--accent-pop); }
.social-card--tiktok { border-top: 3px solid var(--ink); }
.social-card--youtube { border-top: 3px solid #dc2626; }

/* CTA & footer */
.cta-banner {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  color: white;
}

.cta-banner-inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.cta-banner h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: white;
}

.cta-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.cta-banner .hero-actions {
  justify-content: center;
}

.fine-print {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer {
  padding: 2.5rem 0 2rem;
  background: var(--ink);
  color: #cbd5e1;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
}

.footer-tagline {
  margin: 0.25rem 0 0;
  color: #94a3b8;
}

.footer-outpost {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: #64748b;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-nav a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-nav a:hover {
  color: white;
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 260px;
  }

  .culture-header {
    grid-template-columns: 1fr;
  }

  .culture-visual {
    min-height: 140px;
  }
}

@media (max-width: 640px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: 3rem;
  }

  .collectible-stack {
    height: 240px;
    transform: scale(0.9);
  }
}
