/**
 * Cinewed Photography - Base & Reset Styles
 */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Manrope:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  color: var(--text-ivory);
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  background-color: var(--bg-primary);
  color: var(--text-ivory);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Subtle Film Grain Overlay */
.film-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: var(--z-grain);
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Text Selection */
::selection {
  background: var(--accent-gold);
  color: var(--text-dark);
}

/* Typography Hierarchy */
h1, h2, h3, h4, .serif-font {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-ivory);
}

h1 {
  font-size: clamp(2.5rem, 6.5vw, 6rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

p {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 300;
  max-width: 65ch;
}

.text-center {
  text-align: center;
}

.text-center p,
.text-center .section-subtitle,
.section-header.text-center p,
.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Editorial Labels & Micro-Typography */
.eyebrow, .label-micro {
  font-family: var(--font-sans);
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--accent-gold);
  font-weight: 500;
  display: inline-block;
}

.serif-italic {
  font-style: italic;
  font-family: var(--font-serif);
}

/* Editorial Dividers */
.gold-divider {
  width: 40px;
  height: 1px;
  background-color: var(--accent-gold);
  opacity: 0.6;
  margin: var(--space-sm) 0;
}

/* Custom Minimal Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold-dark);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .custom-cursor {
    display: none !important;
  }
}
