/* NIKIPIX – Cinematic Photo Collection 4K-ready */
:root {
  --bg: #0a0a0b;
  --bg-elevated: #111113;
  --text: #f2f0eb;
  --text-muted: #9a968c;
  --accent: #c9a87c;
  --accent-soft: rgba(201, 168, 124, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --grain-opacity: 0.04;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; font-weight: 300; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
.film-grain { position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: var(--grain-opacity); 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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 3rem; background: linear-gradient(to bottom, rgba(10,10,11,0.85), transparent); backdrop-filter: blur(8px); transition: background 0.4s var(--ease-out); }
.nav.scrolled { background: rgba(10, 10, 11, 0.92); border-bottom: 1px solid var(--border); }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); transition: color 0.3s; }
.nav-links a:hover { color: var(--text); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
.menu-toggle span { display: block; width: 22px; height: 1px; background: var(--text); }
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: hero-slow-push 18s var(--ease-out) forwards; }
@keyframes hero-slow-push { to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,10,11,0.35) 0%, rgba(10,10,11,0.55) 50%, rgba(10,10,11,0.92) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 2rem; max-width: 900px; }
.hero-eyebrow { font-size: 0.75rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem; opacity: 0; animation: fade-up 1s 0.3s var(--ease-out) forwards; }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(4rem, 12vw, 9rem); font-weight: 300; letter-spacing: 0.18em; line-height: 0.95; margin-bottom: 1.5rem; opacity: 0; animation: fade-up 1.1s 0.5s var(--ease-out) forwards; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 300; color: var(--text-muted); letter-spacing: 0.04em; margin-bottom: 3rem; opacity: 0; animation: fade-up 1.1s 0.7s var(--ease-out) forwards; }
.btn-cinematic { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2rem; border: 1px solid rgba(201, 168, 124, 0.4); background: var(--accent-soft); color: var(--accent); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; transition: all 0.4s var(--ease-out); opacity: 0; animation: fade-up 1s 0.9s var(--ease-out) forwards; }
.btn-cinematic:hover { background: rgba(201, 168, 124, 0.25); border-color: var(--accent); transform: translateY(-2px); }
.btn-cinematic.large { padding: 1.25rem 2.5rem; font-size: 0.9rem; }
.scroll-indicator { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; color: var(--text-muted); font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0; animation: fade-up 1s 1.2s var(--ease-out) forwards; }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--text-muted), transparent); animation: scroll-pulse 2s ease-in-out infinite; }
@keyframes scroll-pulse { 0%, 100% { opacity: 0.4; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.1); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
section { padding: 8rem 3rem; }
.section-header { max-width: 700px; margin-bottom: 4rem; }
.section-eyebrow { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; letter-spacing: 0.04em; margin-bottom: 1rem; }
.section-desc { color: var(--text-muted); font-size: 1.05rem; max-width: 480px; }
.collections-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.collection-card { position: relative; aspect-ratio: 4 / 5; overflow: hidden; cursor: pointer; background: var(--bg-elevated); }
.card-image { position: absolute; inset: 0; }
.card-image img { width: 100%; height: 100%; transition: transform 1.2s var(--ease-out); }
.collection-card:hover .card-image img { transform: scale(1.06); }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,11,0.85) 0%, rgba(10,10,11,0.2) 50%, transparent 100%); transition: opacity 0.5s; }
.collection-card:hover .card-overlay { opacity: 0.9; }
.card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; z-index: 2; }
.card-number { display: block; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 0.5rem; }
.card-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; font-weight: 400; margin-bottom: 0.4rem; }
.card-content p { font-size: 0.9rem; color: var(--text-muted); max-width: 260px; }
.gallery { background: var(--bg-elevated); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { position: relative; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; background: #1a1a1c; }
.gallery-item img { width: 100%; height: 100%; transition: transform 0.9s var(--ease-out), filter 0.5s; }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1.05); }
.gallery-item figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--text-muted); opacity: 0; transform: translateY(8px); transition: all 0.4s var(--ease-out); }
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }
.about-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-lead { font-size: 1.25rem; line-height: 1.7; margin-bottom: 1.5rem; color: var(--text); }
.about-text p { color: var(--text-muted); margin-bottom: 1.25rem; }
.about-note { font-size: 0.85rem; color: var(--accent); letter-spacing: 0.04em; margin-top: 2rem !important; }
.about-visual { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.about-visual img { width: 100%; height: 100%; }
.contact { text-align: center; padding: 10rem 2rem; background: linear-gradient(to bottom, var(--bg), #0d0d0f); }
.contact-inner { max-width: 600px; margin: 0 auto; }
.contact-desc { color: var(--text-muted); margin-bottom: 2.5rem; }
.contact-domain { margin-top: 2rem; font-size: 0.75rem; letter-spacing: 0.15em; color: var(--text-muted); text-transform: uppercase; }
.footer { padding: 2.5rem 3rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: var(--text-muted); }
.footer-note { letter-spacing: 0.08em; }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(5, 5, 6, 0.96); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease-out), visibility 0.45s; }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-content { position: relative; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-content img { max-width: 100%; max-height: 80vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.6); transform: scale(0.96); transition: transform 0.5s var(--ease-out); }
.lightbox.active .lightbox-content img { transform: scale(1); }
.lightbox-caption { margin-top: 1.25rem; font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.06em; text-align: center; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; background: none; border: none; color: var(--text); font-size: 2.5rem; cursor: pointer; opacity: 0.6; transition: opacity 0.3s; z-index: 10; line-height: 1; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 1.5rem; right: 2rem; font-size: 2.8rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 1024px) { .collections-grid { grid-template-columns: 1fr 1fr; } .gallery-grid { grid-template-columns: repeat(2, 1fr); } .about-inner { grid-template-columns: 1fr; gap: 3rem; } }
@media (max-width: 768px) { .nav { padding: 1.25rem 1.5rem; } .nav-links { display: none; } .menu-toggle { display: flex; } section { padding: 5rem 1.5rem; } .collections-grid { grid-template-columns: 1fr; gap: 1rem; } .collection-card { aspect-ratio: 16/10; } .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; } .footer { flex-direction: column; gap: 0.75rem; text-align: center; } }
@media (min-resolution: 2dppx) { img { image-rendering: -webkit-optimize-contrast; } }
