/* =============================================
   1106 STUDIO — stylesheet
============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;700;900&family=Ultra&display=swap');

:root {
  --bg:     #080808;
  --fg:     #f0f0f0;
  --dim:    rgba(240, 240, 240, 0.28);
  --border: rgba(240, 240, 240, 0.07);
  --font:   'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --nav-h:  44px;
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1;
  height: 100%;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* =============================================
   NAVEGACIÓN
============================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.page-archive nav,
.page-about nav {
  border-bottom: 0.5px solid var(--border);
  background: var(--bg);
}

.nav-logo {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--fg);
  flex-shrink: 0;
}

.nav-center {
  display: flex;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-center a {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dim);
  transition: color 0.2s;
}

.nav-center a:hover,
.nav-center a.active { color: var(--fg); }

.nav-right {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.nav-right a {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dim);
  transition: color 0.2s;
}

.nav-right a:hover { color: var(--fg); }

/* Hamburguesa — oculta en desktop */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  z-index: 1001;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  transition: all 0.3s ease;
}

.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================
   MENÚ FULLSCREEN MOBILE
============================================= */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 900;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(240,240,240,0.25);
  padding: 14px 0;
  transition: color 0.2s;
  text-align: center;
}

.mobile-menu a:active { color: var(--fg); }

.mobile-menu-bottom {
  position: absolute;
  bottom: 36px;
  display: flex;
  gap: 32px;
}

.mobile-menu-bottom a {
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  color: var(--dim) !important;
  padding: 0 !important;
}

/* =============================================
   HERO — VIDEO FULLSCREEN
============================================= */
.hero {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.hero video {
  width: 100%;
  max-width: 1100px;
  max-height: calc(100vh - 96px);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.hero-number {
  position: absolute;
  bottom: 12px; right: 16px;
  font-family: 'Ultra', serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.9);
  line-height: 1;
  mix-blend-mode: overlay;
  pointer-events: none;
  user-select: none;
}

/* =============================================
   ARCHIVE
============================================= */
.archive-list {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  padding-bottom: 80px;
}

.project-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 0.5px solid var(--border);
  transition: background 0.15s;
}

.project-item:first-child { border-top: 0.5px solid var(--border); }
.project-item:hover { background: rgba(255,255,255,0.02); }
.project-item:hover .project-title { color: var(--dim); }

.project-title {
  font-size: clamp(22px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
  transition: color 0.2s;
  flex: 1;
}

.project-meta {
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
}

/* =============================================
   ABOUT
============================================= */
.about-page {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  padding-left: 24px;
  padding-right: 24px;
  max-width: 680px;
}

.about-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(240,240,240,0.55);
  margin-bottom: 56px;
}

.about-row {
  display: flex;
  gap: 40px;
  padding: 14px 0;
  border-top: 0.5px solid var(--border);
  align-items: baseline;
}

.about-row:last-child { border-bottom: 0.5px solid var(--border); }

.about-label {
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.08em;
  min-width: 80px;
  flex-shrink: 0;
}

.about-value { font-size: 13px; color: var(--fg); }

.about-link {
  font-size: 13px;
  color: var(--fg);
  border-bottom: 0.5px solid rgba(240,240,240,0.15);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}

.about-link:hover { border-color: var(--fg); }

/* =============================================
   MOBILE
============================================= */
@media (max-width: 640px) {
  .nav-center { display: none; }
  .nav-right { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: flex; }

  nav { padding: 0 16px; }

  .hero-number {
    font-size: clamp(28px, 8vw, 44px);
    bottom: 10px; right: 12px;
  }

  .hero {
    padding: 0;
    inset: 0;
  }

  .hero video {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 0;
  }

  .project-item {
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
  }

  .about-page {
    padding-left: 16px;
    padding-right: 16px;
  }
}
