/* ===== SRGPP ARCHIVE — shared base styles (loaded on every page) ===== */
:root {
  --bg-void: #070807;
  --bg-panel: #0e120e;
  --border-hairline: #1d261b;
  --lathe-green: #2d3826;
  --royal-green: #1f3a28;
  --accent-green: #4a5d3f;
  --text-parchment: #d8dad3;
  --text-ash: #7c8277;
}

* {
  box-sizing: border-box;
  border-radius: 2px;
}

body {
  background-color: var(--bg-void);
  color: var(--text-parchment);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  selection-background-color: #2d3826;
  selection-color: #d8dad3;
}

::selection {
  background: #2d3826;
  color: #d8dad3;
}

/* Subtle Analog Grain Overlay */
.film-grain {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.055;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Atmospheric Radial Vignette */
.vignette-bg {
  background:
    radial-gradient(circle at 50% 15%, rgba(31, 58, 40, 0.16) 0%, rgba(14, 18, 14, 0.6) 45%, rgba(7, 8, 7, 0.98) 100%);
}

/* Standardized Lathe Image Treatment */
.archive-img {
  filter: contrast(1.08) brightness(0.88) saturate(0.88);
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover .archive-img,
.archive-img:hover {
  filter: contrast(1.14) brightness(0.98) saturate(1.02);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: #070807;
}
::-webkit-scrollbar-thumb {
  background: #2d3826;
}
::-webkit-scrollbar-thumb:hover {
  background: #4a5d3f;
}

/* Dropdown Menu Transitions */
.nav-item .submenu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Page View Transitions */
.view-section {
  display: none;
  animation: fadeView 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.view-section.active {
  display: block;
}

@keyframes fadeView {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Brutalist Button Hover Effect */
.btn-editorial {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-editorial:hover {
  background-color: #1f3a28;
  border-color: #526946;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(31, 58, 40, 0.35);
}
