html {
  scroll-behavior: smooth;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Decorative case-file divider */
.case-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.case-divider::before,
.case-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
}

/* Evidence stamp label */
.stamp-label {
  font-family: 'IM Fell English', serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.2em 0.75em;
  border: 1px solid currentColor;
  display: inline-block;
  transform: rotate(-1deg);
}

/* Quote mark */
.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  line-height: 0.8;
  opacity: 0.2;
}

/* Hero radial glow */
.hero-glow {
  background: radial-gradient(ellipse at center, #3d1f0a 0%, #1C0F0A 65%, #0d0704 100%);
}

/* Watermark magnifying glass */
.hero-watermark {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20rem;
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

/* Nav mobile menu */
#mobile-menu {
  display: none;
}
#mobile-menu.open {
  display: flex;
}

/* Parchment card hover */
.case-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

/* Schedule row hover */
.schedule-row:hover {
  background-color: rgba(196, 121, 58, 0.1);
}

/* Star rating */
.stars {
  color: #D4A843;
  letter-spacing: 0.1em;
}

/* Highlighter effect */
.highlight {
  background: linear-gradient(120deg, #C4793A 0%, #D4A843 100%);
  background-repeat: no-repeat;
  background-size: 100% 35%;
  background-position: 0 90%;
  padding-bottom: 0.05em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
