/* =================================================================
   MIDAS CONCIERGE — SHARED STYLES v0.9
   ================================================================= */

:root {
  --bg: #0A0A0A;
  --ink: #F5F5F5;
  --ink-dim: #7A7A7A;
  --ink-faint: #2A2A2A;
  --hairline: rgba(245,245,245,0.10);
  --accent: #FF3D00;
  --accent-2: #D4FF00;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
html { scroll-behavior: smooth; }

/* ---- page transition ---- */
@view-transition { navigation: auto; }
body {
  animation: fadeIn 300ms ease both;
}
body.leaving {
  animation: fadeOut 180ms ease both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* ---- type ---- */
.scream {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.86;
  text-transform: uppercase;
}
.scream-tight {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.9;
  text-transform: uppercase;
}
.grot {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  letter-spacing: -0.02em;
}
.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.01em;
}
.stamp {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---- layout helpers ---- */
.hairline-b { border-bottom: 1px solid var(--hairline); }
.hairline-t { border-top: 1px solid var(--hairline); }
.hairline-l { border-left: 1px solid var(--hairline); }
.hairline-r { border-right: 1px solid var(--hairline); }

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

/* ---- nav link hover underline ---- */
nav a, .footer-link {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 280ms ease, color 200ms ease;
  padding-bottom: 2px;
}
nav a:hover, .footer-link:hover {
  background-size: 100% 1.5px;
}

/* ---- photos ---- */
.photo-wrap {
  background: #121212;
  overflow: hidden;
  position: relative;
}
.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(.2,.7,.2,1), filter 600ms ease;
  filter: contrast(1.05) saturate(0.9) brightness(0.78);
}
.photo-wrap.no-grad::after { display: none; }
.photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 40%, rgba(10,10,10,0.75) 100%);
  pointer-events: none;
  z-index: 1;
}
.card:hover .photo-wrap img {
  transform: scale(1.06);
  filter: contrast(1.1) saturate(1.05) brightness(0.85);
}

/* gallery tile hover */
.gallery-tile { cursor: pointer; position: relative; }
.gallery-tile:hover .photo-wrap img {
  transform: scale(1.04);
  filter: contrast(1.1) saturate(1.05) brightness(0.88);
}
.gallery-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(10,10,10,0.5);
  opacity: 0;
  transition: opacity 250ms ease;
  pointer-events: none;
}
.gallery-tile:hover::before { opacity: 1; }
.gallery-tile::after {
  content: "⤢";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 6;
  font-size: 28px;
  color: var(--ink);
  opacity: 0;
  transition: opacity 250ms ease, transform 250ms ease;
  pointer-events: none;
}
.gallery-tile:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* image shimmer loading */
.photo-wrap {
  background: linear-gradient(90deg, #121212 25%, #1A1A1A 50%, #121212 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
.photo-wrap img { position: relative; z-index: 0; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- marquee ---- */
.marquee {
  display: flex;
  gap: 3rem;
  animation: scroll-x 42s linear infinite;
  will-change: transform;
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- live dot ---- */
.dot-live {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 999px;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(255,61,0,0.5); }
  50%      { transform: scale(0.75); opacity: 0.7; box-shadow: 0 0 0 10px rgba(255,61,0,0); }
}

/* ---- reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms cubic-bezier(.2,.6,.2,1), transform 900ms cubic-bezier(.2,.6,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---- stickers ---- */
.sticker {
  border: 1.5px solid currentColor;
  padding: 5px 9px 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(10,10,10,0.4);
  backdrop-filter: blur(6px);
}
.sticker-solid {
  background: var(--accent);
  color: #0A0A0A;
  border-color: var(--accent);
}
.sticker-gone {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  position: relative;
}
.sticker-gone::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  top: 50%;
  height: 1.5px;
  background: var(--accent);
  transform: rotate(-6deg);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 26px 16px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  transition: all 220ms ease;
  background: transparent;
  cursor: pointer;
}
.btn:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translate(-2px,-2px);
  box-shadow: 4px 4px 0 0 var(--accent);
}
.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 0 var(--accent);
  transition-duration: 60ms;
}
.btn-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: #0A0A0A;
}
.btn-accent:hover {
  background: #0A0A0A;
  color: var(--accent);
  box-shadow: 4px 4px 0 0 var(--ink);
}
.btn-accent:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 0 var(--ink);
}

/* ---- price ---- */
.price-huge {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 6vw, 86px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.card:hover .price-huge { color: var(--accent); }

.price-featured {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(64px, 8vw, 120px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.card:hover .price-featured { color: var(--accent); }

.tilt { transition: transform 400ms cubic-bezier(.2,.7,.2,1); }
.card:hover .tilt { transform: rotate(-2deg); }

/* ---- fab ---- */
.fab {
  position: fixed;
  bottom: 92px;
  right: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--accent);
  color: #0A0A0A;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 32px rgba(255,61,0,0.32), 0 0 0 1px rgba(255,61,0,0.5);
  transition: transform 220ms ease;
}
.fab:hover { transform: scale(1.08) rotate(-4deg); }
@media (min-width: 768px) {
  .fab { bottom: 28px; right: 28px; }
}

/* ---- mobile nav ---- */
.mnav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  background: rgba(17,17,17,0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
}
.mnav a {
  padding: 14px 4px;
  text-align: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.mnav a + a { border-left: 1px solid var(--hairline); }
.mnav a.active { color: var(--accent); }
@media (min-width: 768px) { .mnav { display: none; } }

/* ---- sticky CTA bar (PDPs) ---- */
.sticky-cta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--hairline);
  transform: translateY(-100%);
  transition: transform 350ms cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (min-width: 768px) {
  .sticky-cta .inner { padding: 14px 40px; }
}

/* ---- lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10,10,10,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  transition: opacity 200ms ease;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--hairline);
  background: rgba(10,10,10,0.6);
  color: var(--ink);
  font-size: 24px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 200ms ease;
  backdrop-filter: blur(8px);
}
.lightbox-close:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--hairline);
  background: rgba(10,10,10,0.6);
  color: var(--ink);
  font-size: 22px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 200ms ease;
  backdrop-filter: blur(8px);
}
.lightbox-nav:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
}

/* ---- FAQ accordion ---- */
.faq-item { cursor: pointer; }
.faq-icon {
  transition: transform 300ms ease;
  font-size: 24px;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms cubic-bezier(.2,.7,.2,1), opacity 300ms ease;
  opacity: 0;
}
.faq-item.open .faq-answer {
  opacity: 1;
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee { animation: none; }
  .reveal { opacity: 1; transform: none; }
  body { animation: none; }
  .photo-wrap { animation: none; }
}

::selection { background: var(--accent); color: var(--bg); }

/* grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 70;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
