/* =========================================================
   AJ's Collectibles — Design tokens & base
   Solid-color collector-shop aesthetic
   Black + Emerald + White, square, clear, bold
   ========================================================= */

:root {
  /* Palette */
  --aj-bg:           #0B0B0B;
  --aj-bg-elev:      #131313;
  --aj-bg-elev-2:    #1a1a1a;
  --aj-emerald:      #0F4C45;
  --aj-emerald-2:    #146a60;   /* hover / lighter solid */
  --aj-emerald-3:    #1e9b8a;   /* highlight, brighter for icons */
  --aj-emerald-deep: #0a3933;
  --aj-emerald-wash: rgba(15, 76, 69, 0.18);
  --aj-white:        #FFFFFF;
  --aj-white-90:     rgba(255,255,255,0.92);
  --aj-white-70:     rgba(255,255,255,0.72);
  --aj-white-50:     rgba(255,255,255,0.5);
  --aj-white-30:     rgba(255,255,255,0.3);
  --aj-gold:         #D4A85A;
  --aj-danger:       #e64a4a;

  --aj-hairline:     rgba(255,255,255,0.08);
  --aj-hairline-2:   rgba(255,255,255,0.18);
  --aj-emerald-line: rgba(30, 155, 138, 0.55);

  /* Type */
  --aj-font-display: "Anton", "Bebas Neue", "Oswald", Impact, sans-serif;
  --aj-font-sub:     "Oswald", "Bebas Neue", sans-serif;
  --aj-font-body:    "Inter", "Segoe UI", -apple-system, system-ui, sans-serif;
  --aj-font-mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  /* Layout */
  --aj-container:      1280px;
  --aj-container-wide: 1440px;
  --aj-pad-section:    120px;
  --aj-pad-section-sm: 80px;

  /* Square-ish radii — collector-shop, not SaaS */
  --aj-r-xs: 0px;
  --aj-r-sm: 2px;
  --aj-r-md: 4px;
  --aj-r-lg: 6px;
  --aj-r-xl: 8px;
  --aj-r-pill: 4px;  /* deliberately square — keeps class names */

  /* Shadows — clean, not glowy */
  --aj-shadow-card:   0 10px 24px rgba(0,0,0,0.45);
  --aj-shadow-hard:   0 6px 0 0 rgba(0,0,0,0.4);
  --aj-shadow-lift:   0 18px 32px rgba(0,0,0,0.55);

  /* Motion */
  --aj-ease:         cubic-bezier(.2,.7,.2,1);
  --aj-ease-out:     cubic-bezier(.16,1,.3,1);
  --aj-motion-scale: 1;
}

/* Reset-ish */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--aj-bg);
  color: var(--aj-white-90);
  font-family: var(--aj-font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection { background: var(--aj-emerald); color: white; }

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

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

button { font-family: inherit; cursor: pointer; }

/* Typography utilities */
.aj-display {
  font-family: var(--aj-font-display);
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
  font-weight: 400;
}
.aj-sub {
  font-family: var(--aj-font-sub);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.aj-eyebrow {
  /* Solid emerald block — collector-shop label */
  display: inline-block;
  font-family: var(--aj-font-sub);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--aj-white);
  background: var(--aj-emerald);
  padding: 6px 12px;
  font-weight: 600;
  white-space: nowrap;
}

.aj-container {
  width: 100%;
  max-width: var(--aj-container);
  margin: 0 auto;
  padding: 0 32px;
}
.aj-container.wide { max-width: var(--aj-container-wide); }

/* Reveal animations (additive: visible by default, JS opt-in) */
.aj-reveal { opacity: 1; transform: none; }
html.aj-js .aj-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition-property: opacity, transform;
  transition-duration: 0.7s, 0.7s;
  transition-timing-function: cubic-bezier(.16,1,.3,1), cubic-bezier(.16,1,.3,1);
  transition-delay: var(--aj-reveal-delay, 0ms);
}
html.aj-js .aj-reveal.is-visible { opacity: 1; transform: translateY(0); }
[data-motion="off"] .aj-reveal,
html.aj-reveals-fallback .aj-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* =========================================================
   HEADER
   ========================================================= */

.aj-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(11,11,11,0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--aj-ease), border 0.25s, padding 0.25s;
}
.aj-header.is-stuck {
  padding: 12px 0;
  background: var(--aj-bg);
  border-bottom: 1px solid var(--aj-hairline);
}
.aj-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.aj-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--aj-white);
}
.aj-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;  /* logo is round naturally — leave alone */
}
.aj-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.aj-logo-text strong {
  font-family: var(--aj-font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.aj-logo-text span {
  font-family: var(--aj-font-sub);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--aj-emerald-3);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Flat tab nav — no pill, no glass */
.aj-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.aj-nav a {
  font-family: var(--aj-font-sub);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aj-white-70);
  padding: 10px 14px;
  position: relative;
  transition: color 0.2s var(--aj-ease);
  font-weight: 500;
}
.aj-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--aj-emerald-3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--aj-ease);
}
.aj-nav a:hover { color: var(--aj-white); }
.aj-nav a:hover::after,
.aj-nav a.active::after { transform: scaleX(1); }
.aj-nav a.active { color: var(--aj-white); }

/* Square solid Call CTA */
.aj-cta-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--aj-emerald);
  color: var(--aj-white);
  padding: 14px 22px;
  border-radius: var(--aj-r-sm);
  font-family: var(--aj-font-sub);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border: 0;
  transition: background 0.2s var(--aj-ease), transform 0.15s var(--aj-ease);
  text-decoration: none;
}
.aj-cta-call:hover {
  background: var(--aj-emerald-2);
  transform: translateY(-1px);
}
.aj-cta-call .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #5be9ce;
  animation: ajPulseDot 1.6s infinite var(--aj-ease);
}
@keyframes ajPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.7); }
}
[data-motion="off"] .aj-cta-call .dot { animation: none; }

.aj-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--aj-hairline-2);
  color: var(--aj-white);
  width: 44px; height: 44px;
  border-radius: var(--aj-r-sm);
  align-items: center; justify-content: center;
}

@media (max-width: 1080px) {
  .aj-nav { display: none; }
  .aj-mobile-toggle { display: inline-flex; }
  .aj-cta-call .label-long { display: none; }
}

/* =========================================================
   HERO — solid blocks + cinematic shelves
   ========================================================= */

.aj-hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 100px;
  overflow: hidden;
  isolation: isolate;
  background: var(--aj-bg);
}

/* Solid emerald accent block on the left side of the hero — collector store feel */
.aj-hero::before {
  content: "";
  position: absolute;
  inset: 0 60% 0 0;
  background: var(--aj-emerald-deep);
  z-index: -3;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
  opacity: 0.5;
}

/* The collector room — keep but tone down glow */
.aj-hero-room {
  position: absolute;
  inset: 0;
  z-index: -2;
  perspective: 1200px;
  opacity: 0.6;
}
.aj-hero-room .shelf-wall {
  position: absolute;
  inset: 12% 8% 30% 8%;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 14px;
  transform: rotateX(6deg);
  transform-style: preserve-3d;
}
.aj-hero-room .shelf {
  position: relative;
  border-top: 1px solid var(--aj-emerald-line);
}
.aj-hero-room .shelf::before {
  content: "";
  position: absolute;
  top: -2px; left: 8%; right: 8%; height: 2px;
  background: var(--aj-emerald-3);
  opacity: 0.65;
}
.aj-hero-room .shelf::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 4%;
  right: 4%;
  height: 50%;
  background:
    repeating-linear-gradient(90deg,
      rgba(0,0,0,0.75) 0px,
      rgba(0,0,0,0.75) 28px,
      transparent 28px,
      transparent 36px,
      rgba(0,0,0,0.6) 36px,
      rgba(0,0,0,0.6) 60px,
      transparent 60px,
      transparent 68px,
      rgba(10,57,51,0.6) 68px,
      rgba(10,57,51,0.6) 92px,
      transparent 92px,
      transparent 100px);
  -webkit-mask: linear-gradient(to top, black 30%, transparent 100%);
          mask: linear-gradient(to top, black 30%, transparent 100%);
  opacity: 0.65;
}

.aj-hero-vignette {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 40%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.aj-particles {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

/* Hero content */
.aj-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.aj-hero .eyebrow {
  /* Override: solid emerald block, square, bold */
  display: inline-block;
  background: var(--aj-emerald);
  color: var(--aj-white);
  font-family: var(--aj-font-sub);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 16px;
  margin-bottom: 32px;
  border: 0;
  border-radius: 0;
  white-space: nowrap;
}
.aj-hero .eyebrow::before { display: none; }

.aj-hero h1 {
  font-family: var(--aj-font-display);
  font-size: clamp(56px, 9vw, 168px);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: var(--aj-white);
}
.aj-hero h1 .accent {
  display: block;
  color: var(--aj-emerald-3);
}
.aj-hero .sub {
  max-width: 700px;
  margin: 0 auto 44px;
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--aj-white-70);
  line-height: 1.55;
}
.aj-hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* SQUARE solid buttons */
.aj-btn {
  --bg: var(--aj-emerald);
  --fg: var(--aj-white);
  --bd: var(--aj-emerald);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--aj-font-sub);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  background: var(--bg);
  color: var(--fg);
  border: 2px solid var(--bd);
  border-radius: var(--aj-r-sm);
  transition: background 0.2s var(--aj-ease), color 0.2s var(--aj-ease), border-color 0.2s var(--aj-ease), transform 0.15s var(--aj-ease);
  text-decoration: none;
  cursor: pointer;
}
.aj-btn .arrow {
  width: 16px; height: 16px;
  transition: transform 0.3s var(--aj-ease);
}
.aj-btn:hover .arrow { transform: translateX(4px); }
.aj-btn.primary { --bg: var(--aj-emerald); --fg: white; --bd: var(--aj-emerald); }
.aj-btn.primary:hover {
  --bg: var(--aj-emerald-2);
  --bd: var(--aj-emerald-2);
  transform: translateY(-2px);
}
.aj-btn.ghost {
  --bg: transparent;
  --fg: var(--aj-white);
  --bd: var(--aj-white);
}
.aj-btn.ghost:hover {
  --bg: var(--aj-white);
  --fg: var(--aj-bg);
  --bd: var(--aj-white);
  transform: translateY(-2px);
}

/* Floating funko placeholder boxes (kept) */
.aj-floating-pop {
  position: absolute;
  width: 140px;
  aspect-ratio: 3 / 4;
  z-index: 1;
  pointer-events: none;
  animation: ajFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,0.6));
}
.aj-floating-pop.p1 { top: 22%;  left: 6%;  animation-delay: -0.5s; transform: rotate(-8deg); }
.aj-floating-pop.p2 { top: 60%;  left: 10%; animation-delay: -2.2s; transform: rotate(6deg); }
.aj-floating-pop.p3 { top: 18%;  right: 8%; animation-delay: -1.4s; transform: rotate(7deg); }
.aj-floating-pop.p4 { top: 56%;  right: 6%; animation-delay: -3.1s; transform: rotate(-5deg); }
@keyframes ajFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -16px; }
}
[data-motion="off"] .aj-floating-pop { animation: none; }

/* Box placeholder: stylized Funko-Pop window box (solid colors only) */
.aj-pop-box {
  width: 100%; height: 100%;
  background: var(--aj-emerald);
  border-radius: var(--aj-r-sm);
  border: 2px solid var(--aj-white);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 10px;
  box-shadow: var(--aj-shadow-card);
}
.aj-pop-box .tag {
  font-family: var(--aj-font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  background: var(--aj-white);
  color: var(--aj-bg);
  padding: 2px 8px;
  border-radius: 0;
  align-self: flex-start;
  font-weight: 700;
}
.aj-pop-box .num {
  position: absolute; top: 10px; right: 10px;
  font-family: var(--aj-font-mono);
  font-size: 10px;
  color: var(--aj-white);
  opacity: 0.8;
}
.aj-pop-box .window {
  flex: 1;
  margin: 10px 0 6px;
  border-radius: 0;
  background: var(--aj-bg);
  border: 2px solid rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.aj-pop-box .window::before {
  content: "";
  width: 60%; height: 70%;
  background:
    radial-gradient(ellipse 50% 30% at 50% 28%, #2b2419 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 50% 70%, #322820 0%, transparent 65%);
}
.aj-pop-box .footer {
  font-family: var(--aj-font-sub);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--aj-white);
  text-align: center;
  text-transform: uppercase;
}

/* Scroll indicator (kept) */
.aj-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--aj-white-50);
  font-family: var(--aj-font-sub);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
.aj-scroll-indicator .line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--aj-emerald-3));
  position: relative;
  overflow: hidden;
}
.aj-scroll-indicator .line::after {
  content: ""; position: absolute;
  top: -50%; left: 0; right: 0; height: 50%;
  background: linear-gradient(to bottom, transparent, white);
  animation: ajScrollDown 2.2s linear infinite;
}
@keyframes ajScrollDown {
  to { top: 100%; }
}
[data-motion="off"] .aj-scroll-indicator .line::after { animation: none; }

@media (max-width: 880px) {
  .aj-floating-pop { width: 90px; }
  .aj-floating-pop.p1 { left: -2%; top: 25%; }
  .aj-floating-pop.p4 { right: -2%; top: 60%; }
  .aj-floating-pop.p2, .aj-floating-pop.p3 { display: none; }
}

/* =========================================================
   GENERIC SECTION
   ========================================================= */
.aj-section {
  position: relative;
  padding: var(--aj-pad-section) 0;
}
.aj-section-head {
  margin-bottom: 64px;
  max-width: 760px;
}
.aj-section-head h2 {
  font-family: var(--aj-font-display);
  font-size: clamp(40px, 6vw, 92px);
  line-height: 0.92;
  text-transform: uppercase;
  margin: 14px 0 22px;
  color: var(--aj-white);
}
.aj-section-head p {
  font-size: 18px;
  color: var(--aj-white-70);
  max-width: 560px;
  margin: 0;
}

@media (max-width: 760px) {
  .aj-section { padding: var(--aj-pad-section-sm) 0; }
}
