/* ============================================================
   FINAL OVERRIDE — loads last, wins everything
   Fixes: OLYMPIA mobile cutoff + gold color + scroll cards
   ============================================================ */

/* ─── OLYMPIA: guaranteed visible, gold, full width ─── */

/* Remove overflow:hidden from wrapper — was clipping text */
.hero-brand-wrap {
  overflow: visible !important;
  display: block !important;
  opacity: 1 !important;
  animation: hBrandIn 1s cubic-bezier(0.16,1,0.3,1) 0.35s both !important;
  line-height: 0.95 !important;
  margin-bottom: 8px !important;
  /* Use clip-path instead so shine still clips but text doesn't */
  clip-path: none !important;
  position: relative !important;
}

/* The shine can clip itself */
.hero-brand-shine {
  overflow: hidden !important;
  clip-path: inset(0) !important;
}

.hero-brand-name {
  /* Always visible — never opacity:0 */
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
  display: block !important;
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  line-height: 0.95 !important;
  white-space: nowrap !important;

  /* SAFE font-size: OLYMPIA (7 chars) fits within viewport */
  /* 7 chars × ~0.72em + spacing ≈ 5.8em total width */
  /* Safe = font-size ≤ viewport / 6.2 → ~16vw max on mobile */
  font-size: clamp(2.4rem, 12vw, 4.5rem) !important;
  letter-spacing: 0.06em !important;

  /* Gold — color fallback + gradient */
  color: #e2c46e !important;
  background: linear-gradient(135deg,
    #c9a84c 0%, #f0d878 35%, #e2c46e 55%, #b8922e 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  filter: drop-shadow(0 0 20px rgba(201,168,76,0.3)) !important;
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-brand-name {
    font-size: clamp(3rem, 11vw, 5.5rem) !important;
    letter-spacing: 0.07em !important;
  }
}
/* Desktop */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-brand-name {
    font-size: clamp(4rem, 9vw, 7rem) !important;
    letter-spacing: 0.08em !important;
  }
}
@media (min-width: 1025px) {
  .hero-brand-name {
    font-size: clamp(5rem, 7vw, 9rem) !important;
    letter-spacing: 0.1em !important;
  }
}

/* Sub-line under OLYMPIA */
.hero-brand-sub {
  display: block !important;
  opacity: 1 !important;
  animation: hSubIn 0.75s cubic-bezier(0.22,1,0.36,1) 0.9s both !important;
  font-family: var(--font-display) !important;
  font-size: clamp(0.95rem, 2.8vw, 1.8rem) !important;
  font-weight: 300 !important;
  letter-spacing: 0.07em !important;
  color: rgba(255,255,255,0.62) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.62) !important;
  margin-top: 6px !important;
}
@media (max-width: 480px) {
  .hero-brand-sub {
    font-size: clamp(0.82rem, 3.5vw, 1rem) !important;
  }
}

/* ─── SERVICE CARDS: scroll-only, no hover ─── */

/* Base: visible but dimmed + slightly down */
.svc-photo-card {
  opacity: 0.55 !important;
  transform: translateY(16px) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4) !important;
  transition:
    opacity 0.6s cubic-bezier(0.22,1,0.36,1),
    transform 0.6s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.5s ease,
    border-color 0.4s ease !important;
  will-change: opacity, transform !important;
}
.svc-photo-card .svc-photo-img-wrap img {
  filter: brightness(0.65) saturate(0.8) !important;
  transition: filter 0.6s ease, transform 0.65s cubic-bezier(0.22,1,0.36,1) !important;
}

/* Scroll-activated: lights up */
.svc-photo-card.svc-in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
  background:
    linear-gradient(#141410, #111108) padding-box,
    linear-gradient(135deg,
      rgba(201,168,76,0.7),
      rgba(201,168,76,0.2),
      rgba(201,168,76,0.5)) border-box !important;
  border: 1px solid transparent !important;
  box-shadow:
    0 10px 36px rgba(0,0,0,0.6),
    0 0 24px rgba(201,168,76,0.09),
    0 0 0 1px rgba(201,168,76,0.22) !important;
}
.svc-photo-card.svc-in-view .svc-photo-img-wrap img {
  filter: brightness(0.88) saturate(1.05) !important;
  transform: scale(1.03) !important;
}
.svc-photo-card.svc-in-view .svc-photo-body {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.07) 0%, transparent 55%),
    linear-gradient(180deg, #141412 0%, #0f0f0e 100%) !important;
}
.svc-photo-card.svc-in-view .svc-learn-link {
  color: rgba(201,168,76,0.8) !important;
}

/* Kill all hover activation */
.svc-photo-card:hover {
  opacity: inherit !important;
  transform: inherit !important;
  box-shadow: inherit !important;
}
.svc-photo-card:hover .svc-photo-img-wrap img {
  transform: none !important;
}

/* Mobile tap */
@media (max-width: 768px) {
  .svc-photo-card:active {
    transform: scale(0.98) !important;
  }
}

/* Fallback: if JS fails, all cards show fully */
@media (prefers-reduced-motion: reduce) {
  .svc-photo-card {
    opacity: 1 !important;
    transform: none !important;
  }
  .svc-photo-card .svc-photo-img-wrap img {
    filter: brightness(0.82) !important;
  }
}

/* ─── SERVICE CARDS: scroll-only, kill tap/hover activation ─── */

/* Remove any iOS tap-hover side effects */
.svc-photo-card,
.svc-photo-card:hover,
.svc-photo-card:focus {
  /* Hover/tap do nothing — observer controls state */
  -webkit-tap-highlight-color: transparent !important;
}
/* Explicitly disable hover state changes */
@media (hover: hover) {
  /* Desktop with real hover: still disabled */
  .svc-photo-card:hover:not(.svc-in-view) {
    opacity: 0.55 !important;
    transform: translateY(16px) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4) !important;
  }
  .svc-photo-card:hover:not(.svc-in-view) .svc-photo-img-wrap img {
    filter: brightness(0.65) saturate(0.8) !important;
    transform: none !important;
  }
}
@media (hover: none) {
  /* Touch devices: no hover state at all */
  .svc-photo-card:hover {
    opacity: inherit !important;
    transform: inherit !important;
  }
}
