/* ═══════════════════════════════════════════
   XENON PORTFOLIO — style.css
   Black & White | Editorial | Light Mode
   ═══════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0d0d0d;
  --white: #f5f5f0;
  --mid: #e0dfda;
  --accent: #1a1a1a;
  --text: #1a1a1a;
  --text-soft: #555550;
  --border: #c8c7c2;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
  --nav-h: 64px;
  --section-pad: clamp(80px, 10vw, 140px);
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-mono);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--white); }
::-webkit-scrollbar-thumb { background: var(--black); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 60px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.03em;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.65; }
.dot { color: var(--black); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--black);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { opacity: 0.6; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--black);
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 20px clamp(20px, 5vw, 60px);
  gap: 16px;
}
.mobile-menu.open { display: flex; }
.mob-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.mob-link:hover { opacity: 0.6; }

/* ── SECTIONS ── */
.section {
  padding: var(--section-pad) clamp(20px, 5vw, 60px);
  padding-top: calc(var(--section-pad) + var(--nav-h));
}
.section:first-child { padding-top: calc(var(--section-pad) + var(--nav-h)); }
.alt-bg { background: var(--mid); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: clamp(40px, 6vw, 80px);
  color: var(--black);
}
.section-title em { font-style: italic; font-weight: 400; }

/* ── HOME ── */
.home-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(90vh - var(--nav-h));
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 28px;
}
.hero-title em { font-style: italic; font-weight: 400; }

.hero-sub {
  font-size: 0.9rem;
  color: var(--text-soft);
  max-width: 420px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.cta-btn:hover {
  background: var(--white);
  color: var(--black);
  outline: 1.5px solid var(--black);
  transform: translateY(-2px);
}

/* Film Visual */
.home-visual { display: flex; align-items: center; justify-content: center; }
.visual-box {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  padding: 24px;
  background: var(--black);
}
.film-strip {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px;
}
.film-hole {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1.5px solid #555;
}
.initials-block {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 900;
  color: var(--white);
  padding: 30px 40px;
  letter-spacing: -0.05em;
  border-left: 1px solid #333;
  border-right: 1px solid #333;
  user-select: none;
}

/* Scroll indicator */
.scroll-indicator {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 40px;
}
.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.scroll-line {
  width: 60px; height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: var(--black);
  animation: scrollMove 2s ease-in-out infinite;
}
@keyframes scrollMove {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: start;
}
.about-text p {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.9;
}
.about-text strong { color: var(--black); font-weight: 500; }

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
}
.stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.about-img-wrap { display: flex; justify-content: flex-end; }
.about-img-placeholder {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3/4;
  background: var(--mid);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.alt-bg .about-img-placeholder { background: var(--white); }

/* ── CONTENT ── */
.video-block { margin-bottom: clamp(40px, 6vw, 80px); }
.video-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.video-embed-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.video-embed-wrap iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}
.video-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--white);
  background: var(--black);
}
.video-placeholder svg { width: 56px; height: 56px; opacity: 0.5; }
.video-placeholder p {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* Thumbnail Grid */
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 6vw, 80px);
}
.thumb-card { display: flex; flex-direction: column; gap: 10px; }
.thumb-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
  filter: grayscale(30%);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.thumb-card img:hover { filter: grayscale(0%); transform: scale(1.02); }
.thumb-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-key {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.contact-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
}
.contact-link { text-decoration: none; transition: opacity 0.2s; }
.contact-link:hover { opacity: 0.6; }

.contact-form-note p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 380px;
}

/* ── FOOTER ── */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px clamp(20px, 5vw, 60px);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.footer-logo .dot { color: var(--white); opacity: 0.4; }

.social-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.social-link:hover { color: var(--white); }
.social-link svg { width: 16px; height: 16px; }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .home-grid { grid-template-columns: 1fr; min-height: auto; gap: 40px; }
  .home-visual { order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .thumb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .thumb-grid { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; gap: 24px; }
  .initials-block { font-size: 4rem; padding: 20px 28px; }
}