:root {
  --bg: #0b0b10;
  --bg-elevated: #131320;
  --surface: #191926;
  --border: #2a2a3c;
  --text: #f1f0f7;
  --text-dim: #9d9cb3;
  --accent: #ff8a3d;
  --accent-2: #7cd4ff;
  --accent-3: #ff5fa8;
  --radius: 14px;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(11, 11, 16, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.main-nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(80px, 14vw, 160px) clamp(20px, 5vw, 64px) clamp(60px, 8vw, 100px);
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 480px;
  background: radial-gradient(closest-side, rgba(255, 138, 61, 0.25), rgba(124, 212, 255, 0.15) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.hero-eyebrow {
  position: relative;
  z-index: 1;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 16px;
}

.hero-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-3) 60%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* Typewriter caret, reused for the hero title/subtitle */

.type-caret {
  display: inline-block;
  width: 0.045em;
  height: 0.85em;
  margin-left: 0.02em;
  background: var(--accent-2);
  vertical-align: baseline;
  animation: caret-blink 0.9s steps(1) infinite;
}

.type-caret.hidden {
  display: none;
}

.hero-sub .type-caret {
  width: 2px;
  height: 1.1em;
  vertical-align: text-bottom;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.btn {
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  display: inline-block;
}

.btn-primary {
  background: var(--accent);
  color: #17110a;
}

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

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent-2);
  transform: translateY(-2px);
}

.hero-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hero-tags span {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Sections */

.section {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 64px);
  max-width: 1280px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 40px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--text-dim);
  margin: 0;
  max-width: 520px;
}

/* Gallery */

.gallery {
  columns: 3 320px;
  column-gap: 20px;
}

.art-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  break-inside: avoid;
  margin: 0 0 20px;
}

.art-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.art-card:hover img {
  transform: scale(1.06);
}

.art-card .art-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(10,10,14,0.92), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.art-card:hover .art-meta {
  opacity: 1;
  transform: translateY(0);
}

.art-meta h3 {
  margin: 0 0 2px;
  font-size: 1rem;
  font-family: var(--font-display);
}

.art-meta p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.art-card.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
  background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 10px, var(--bg-elevated) 10px, var(--bg-elevated) 20px);
}

/* Sticker sheet (featured store) */

.stickers {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}

.stickers .section-head {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.sticker-sheet {
  position: relative;
  max-width: 1160px;
  margin: 0 clamp(16px, 4vw, 64px);
  margin-left: auto;
  margin-right: auto;
  transform: rotate(-0.6deg);
}

.sticker-sheet-inner {
  position: relative;
  padding: 44px 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.sticker-sheet-texture {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(241, 240, 247, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.sticker-row {
  position: relative;
  overflow: hidden;
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.sticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  /* @keyframes + animation-name/duration/direction are all set inline by
     script.js, per row, using the exact pixel width of one pass through its
     items — a fixed percentage-based keyframe can't loop seamlessly when the
     number of stickers (and therefore content width) varies row to row. */
}

.sticker-row:hover .sticker-track {
  animation-play-state: paused;
}

.sticker-item {
  flex: 0 0 auto;
  width: 150px;
  margin: 0 20px;
  --rot: 0deg;
  transform: rotate(var(--rot));
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.5));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.sticker-item img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.sticker-item:hover {
  transform: translateY(-10px) rotate(0deg) scale(1.1);
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.6));
}

.sticker-cutline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
  border-top: 2px dashed rgba(241, 240, 247, 0.18);
}

.sticker-cutline span {
  transform: translateY(-50%);
  background: var(--bg-elevated);
  padding: 0 14px;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sticker-cta {
  position: absolute;
  top: -22px;
  right: clamp(4px, 3vw, 40px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.15;
  padding: 18px 26px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3) 65%, var(--accent-2));
  color: #17110a;
  outline: 3px dashed rgba(23, 17, 10, 0.35);
  outline-offset: -7px;
  transform: rotate(7deg);
  box-shadow: 0 16px 34px rgba(255, 95, 168, 0.32), 0 6px 16px rgba(255, 138, 61, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: sticker-cta-pulse 2.4s ease-in-out infinite;
}

.sticker-cta:hover {
  transform: rotate(0deg) scale(1.08);
  box-shadow: 0 22px 44px rgba(255, 95, 168, 0.45), 0 10px 22px rgba(255, 138, 61, 0.4);
  animation-play-state: paused;
}

.sticker-cta-label {
  font-weight: 700;
  font-size: 1.05rem;
}

.sticker-cta-sub {
  font-size: 0.78rem;
  opacity: 0.85;
}

@keyframes sticker-cta-pulse {
  0%, 100% {
    transform: rotate(7deg) scale(1);
    box-shadow: 0 16px 34px rgba(255, 95, 168, 0.32), 0 6px 16px rgba(255, 138, 61, 0.3);
  }
  50% {
    transform: rotate(7deg) scale(1.045);
    box-shadow: 0 20px 42px rgba(255, 95, 168, 0.48), 0 8px 22px rgba(255, 138, 61, 0.42);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticker-track {
    animation: none;
  }
  .sticker-cta {
    animation: none;
  }
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}

.about-text p {
  color: var(--text-dim);
  margin: 0 0 16px;
}

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

.about-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.about-facts li span {
  color: var(--text-dim);
}

/* Contact */

.contact-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.contact-card:hover {
  border-color: var(--accent-2);
  transform: translateY(-2px);
}

.contact-card-featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(255, 138, 61, 0.12), var(--surface) 60%);
}

.contact-card-featured:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(255, 138, 61, 0.18);
}

.contact-card-featured .contact-value {
  background: linear-gradient(120deg, var(--accent), var(--accent-3) 60%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.contact-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

/* Footer */

.site-footer {
  padding: 32px clamp(20px, 5vw, 64px) 48px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

/* Detail modal */

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(6, 6, 10, 0.88);
  backdrop-filter: blur(8px);
}

.detail-modal.open {
  display: flex;
  animation: fade-in 0.2s ease;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.detail-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  width: min(1000px, 100%);
  max-height: min(720px, 92vh);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.detail-media {
  position: relative;
  background: #050507;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-content {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 40px);
  overflow-y: auto;
}

.detail-medium {
  margin: 0 0 6px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
}

.detail-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.detail-text {
  flex: 1;
  margin: 0 0 28px;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.7;
}

.detail-caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  background: var(--accent-2);
  vertical-align: text-bottom;
  animation: caret-blink 0.9s steps(1) infinite;
}

.detail-caret.hidden {
  display: none;
}

@keyframes caret-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 11, 16, 0.6);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

/* Floating store CTA */

.store-cta {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-3));
  color: #17110a;
  box-shadow: 0 14px 30px rgba(255, 95, 168, 0.28), 0 4px 14px rgba(255, 138, 61, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  align-self: flex-start;
}

.store-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 36px rgba(255, 95, 168, 0.35), 0 6px 18px rgba(255, 138, 61, 0.36);
}

.store-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(23, 17, 10, 0.15);
  font-size: 1rem;
}

.store-cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-cta-label {
  font-weight: 700;
  font-size: 0.95rem;
}

.store-cta-sub {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Responsive */

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 20px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
  }
  .about-grid { grid-template-columns: 1fr; }

  .detail-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    max-height: 92vh;
  }

  .detail-media { max-height: 38vh; }

  .store-cta { align-self: stretch; justify-content: center; }

  .sticker-sheet { transform: none; }
  .sticker-sheet-inner { border-radius: 18px; padding: 34px 0; }
  .sticker-item { width: 108px; margin: 0 12px; }
  .sticker-cta {
    position: static;
    margin: 18px auto 0;
    width: fit-content;
    transform: rotate(-2deg);
    animation: none;
  }
  .sticker-cutline span { font-size: 0.6rem; }
}
