/* ===========================================================
   Suddenly Dragged — shared stylesheet
   Palette: void black / hot magenta / electric blue / glitch cyan / white
   Type: Rubik Spray Paint (wordmark), Permanent Marker (scrawl), Archivo (body)
   =========================================================== */

:root {
  --void: #0A0A12;
  --panel: #15151F;
  --border: #2A2A38;
  --ink: #F2F2F7;
  --muted: #9A9AB0;
  --magenta: #FF2BB3;
  --blue: #3D5AFE;
  --cyan: #00E5FF;
  --white: #FFFFFF;

  --font-wild: 'Rubik Spray Paint', cursive;
  --font-scrawl: 'Permanent Marker', cursive;
  --font-body: 'Archivo', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #6ff3ff; }

::selection { background: var(--magenta); color: var(--void); }

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

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-nav .logo {
  font-family: var(--font-wild);
  font-size: 22px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.site-nav .logo span { color: var(--magenta); }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a:hover { color: var(--cyan); }

.site-nav .cta {
  border: 1px solid var(--magenta);
  color: var(--magenta) !important;
  padding: 8px 16px;
  border-radius: 999px;
}

.site-nav .cta:hover {
  background: var(--magenta);
  color: var(--void) !important;
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(61,90,254,0.18), transparent 60%);
  border-bottom: 3px solid var(--magenta);
}

.hero .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-wild);
  font-weight: 400;
  font-size: clamp(44px, 9vw, 108px);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 auto 18px;
  max-width: 900px;
}

.hero .scrawl {
  font-family: var(--font-scrawl);
  font-size: clamp(18px, 2.6vw, 28px);
  color: var(--magenta);
  transform: rotate(-2deg);
  display: inline-block;
  margin-bottom: 14px;
}

.hero .handles {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ---------- Section headers ---------- */
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--border); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-wild);
  font-weight: 400;
  font-size: 30px;
  text-transform: uppercase;
}

.section-head .rule {
  height: 3px;
  flex: 1;
  background: var(--magenta);
  opacity: 0.6;
}

/* ---------- Cards / grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1080px) {
  .grid.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
}

.card .frame {
  aspect-ratio: 4/5;
  background: repeating-linear-gradient(135deg, #1b1b27 0 14px, #15151f 14px 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.card .frame img { width: 100%; height: 100%; object-fit: cover; }

.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.card .title { font-weight: 800; font-size: 16px; }
.card .meta { font-size: 13px; color: var(--muted); }
.card .price { font-size: 14px; color: var(--cyan); font-weight: 700; margin-top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid var(--magenta);
  color: var(--magenta);
  background: transparent;
}

.btn:hover { background: var(--magenta); color: var(--void); }

.btn.solid {
  background: var(--magenta);
  color: var(--void);
}

.btn.solid:hover { background: #ff57c5; color: var(--void); }

.btn.blue { border-color: var(--blue); color: var(--blue); }
.btn.blue:hover { background: var(--blue); color: var(--white); }

/* ---------- Prose ---------- */
.prose { max-width: 720px; color: #CFCFDA; font-size: 16px; line-height: 1.7; }
.prose p + p { margin-top: 16px; }

/* ---------- Callout ---------- */
.callout {
  background: #160B1D;
  border: 1px solid var(--magenta);
  border-radius: 6px;
  padding: 28px 32px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 32px 0;
  text-align: center;
  font-size: 12px;
  color: #6A6A78;
  border-top: 1px solid var(--border);
}

.site-footer a { color: #6A6A78; }
.site-footer a:hover { color: var(--cyan); }

/* ---------- Glitch hover (image / title reveal) ---------- */
@keyframes sd-glitch {
  0%   { clip-path: inset(0 0 85% 0); transform: translate(-3px,0); }
  20%  { clip-path: inset(40% 0 40% 0); transform: translate(3px,0); }
  40%  { clip-path: inset(10% 0 70% 0); transform: translate(-2px,0); }
  60%  { clip-path: inset(60% 0 10% 0); transform: translate(2px,0); }
  80%  { clip-path: inset(25% 0 60% 0); transform: translate(-1px,0); }
  100% { clip-path: inset(0 0 85% 0); transform: translate(0,0); }
}

.glitch-wrap { position: relative; display: inline-block; }
.glitch-wrap .g1, .glitch-wrap .g2 {
  position: absolute; inset: 0;
  mix-blend-mode: screen;
  display: none;
}
.glitch-wrap:hover .g1, .glitch-wrap:hover .g2 { display: block; }
.glitch-wrap .g1 { color: var(--magenta); animation: sd-glitch 1.1s infinite linear; }
.glitch-wrap .g2 { color: var(--cyan); animation: sd-glitch 0.9s infinite linear reverse; }

/* ---------- Instagram feed strip ---------- */
.feed-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.feed-strip > * { flex: 0 0 auto; }

/* ---------- Sightings log ---------- */
.sighting {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.sighting .pin {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-wild);
  font-size: 14px;
}

.sighting .where { font-weight: 800; font-size: 15px; }
.sighting .when { color: var(--muted); font-size: 13px; margin-top: 2px; }
.sighting .note { color: #CFCFDA; font-size: 14px; margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .site-nav ul { gap: 16px; }
}

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .site-nav ul li:not(.cta-item) { display: none; }
  .hero { padding: 72px 0 56px; }
}
