/* ============================================
   Yepp Digital — Playful Brutalism
   ============================================ */

:root {
  --ink:   #0E0E10;
  --soot:  #1A1A1D;
  --cream: #F5F0E8;
  --blood: #FF3D2E;
  --grape: #6B3FE8;
}

* {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  font-feature-settings: "ss01", "ss02", "cv11";
  cursor: none;
}

/* Hide cursor on touch devices */
@media (hover: none) {
  body { cursor: auto; }
  .cursor-dot { display: none !important; }
}

/* ============================================
   CUSTOM CURSOR (dot only)
   ============================================ */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--blood);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease, background .2s ease, opacity .2s;
  mix-blend-mode: difference;
}
body.cursor-big .cursor-dot {
  width: 60px; height: 60px;
  background: var(--blood);
  opacity: 0.9;
}

/* ============================================
   BRAND MARK (new geometric Y logo on dark bg)
   ============================================ */
.brand-mark {
  filter: invert(1);
}

/* ============================================
   GRAIN OVERLAY
   ============================================ */
.grain {
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.85 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 250px 250px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.font-display {
  font-family: 'Boldonse', serif;
  font-weight: 400;
  font-feature-settings: "ss01";
}
.font-serif {
  font-variation-settings: "opsz" 96, "SOFT" 50, "WONK" 1;
}

/* ============================================
   NAV
   ============================================ */
.nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  color: rgba(245, 240, 232, 0.7);
  transition: color .2s, background .2s;
}
.nav-pill:hover {
  color: var(--ink);
  background: var(--cream);
}

/* ============================================
   CHIPS
   ============================================ */
.chip {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(245, 240, 232, 0.15);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: rgba(245, 240, 232, 0.75);
  transition: all .25s ease;
  cursor: none;
}
.chip:hover {
  background: var(--blood);
  color: var(--ink);
  border-color: var(--blood);
  transform: translateY(-2px) rotate(-2deg);
}

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  flex-shrink: 0;
  animation: marquee 30s linear infinite;
  will-change: transform;
}
.marquee-slow { animation-duration: 55s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   CREW ROWS
   ============================================ */
.crew-row {
  padding-left: 1rem;
  padding-right: 1rem;
  transition: padding .35s cubic-bezier(.2,.8,.2,1), background .5s ease;
}
.crew-row:hover {
  padding-left: 1.5rem;
}

/* ============================================
   WORK CARDS
   ============================================ */
.work-card .relative {
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
}
.work-card:hover .relative {
  box-shadow: 0 30px 80px -20px rgba(255, 61, 46, 0.25);
}

/* ============================================
   FAQ
   ============================================ */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary .faq-icon {
  background: var(--blood);
  color: var(--ink);
  border-color: var(--blood);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-link {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(14, 14, 16, 0.2);
}
.brief-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.2);
  padding: 0.75rem 0;
  font-family: 'Geist', sans-serif;
  font-size: 1rem;
  color: var(--cream);
  outline: none;
  transition: border-color .25s;
}
.brief-input:focus {
  border-bottom-color: var(--blood);
}
.brief-input::placeholder { color: rgba(245, 240, 232, 0.3); }

.brief-chip {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: 9999px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245, 240, 232, 0.7);
  transition: all .2s;
}
.brief-chip:hover { color: var(--cream); border-color: var(--cream); }
.brief-chip.chip-active {
  background: var(--blood);
  color: var(--ink);
  border-color: var(--blood);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes ping-slow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.6; }
}
.animate-ping-slow {
  animation: ping-slow 2s ease-in-out infinite;
}

@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10%); }
}
.animate-bounce-slow {
  animation: bounce-slow 2.4s ease-in-out infinite;
  display: inline-block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor-dot { display: none; }
}
