@font-face {
  font-family: 'Fernstad';
  src: url('../fonts/Fernstad.otf') format('opentype'),
       url('../fonts/Fernstad.ttf') format('truetype'),
       url('../fonts/Fernstad Free Personal Use.otf') format('opentype'),
       local('Fernstad');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --espresso: #000000;
  --cream: #F6F5F4;
  --taupe: #9E8C83;
  --gold: #C5A059;
  --noir: #000000;
  --font-primary: 'Manrope', sans-serif;
  --font-secondary: 'Fernstad', 'Space Grotesk', sans-serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  overflow-x: hidden;
  overflow-y: scroll !important;
  height: auto !important;
}

body {
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-y: scroll !important;
  min-height: 100vh;
  height: auto !important;
  width: 100%;
  max-width: 100%;
}

/* Lenis Smooth Scroll Recommended Rules */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
html.lenis.lenis-stopped, html.lenis.lenis-stopped body, .lenis.lenis-stopped {
  overflow: hidden !important;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Header Contrast & High Visibility White Rules */
.header-blend {
  color: #FFFFFF !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
.header-blend img {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
}

/* Page Section for One-Page Scroll */
.one-page-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  box-sizing: border-box;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #000000;
}
::-webkit-scrollbar-thumb {
  background: var(--taupe);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cream);
}

/* Gallery Utilities */
.gallery-item {
  position: relative;
  contain: layout paint;
}

.gallery-item img {
  will-change: transform;
}

/* =========================================================================
   CONTENT & INTELLECTUAL PROPERTY PROTECTION STYLES
   ========================================================================= */

/* 1. Complete Print / PDF Export Blinding */
@media print {
  html, body {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
  }
}

/* 2. Prevent Image Drag & Touch Callout Menu (iOS Safari Save Image) */
img, .gallery-img {
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  pointer-events: auto;
}

/* 3. Disable text/element selection on gallery cards */
.gallery-item, .one-page-section {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* 4. Instant Screen-Capture Obfuscation Shield */
body.screenshot-shield-active {
  filter: blur(35px) brightness(0.2) !important;
  opacity: 0.05 !important;
  transition: filter 0.08s ease, opacity 0.08s ease;
}


