/* ============================================
   PROJECT PAGE — Shared Styles
   Edit this file to update ALL project pages.
   ============================================ */


/* ── Fonts ── */
@font-face {
  font-family: 'PP Neue York';
  src: url('../Assets/fonts/PPNeueYork-NormalLight.otf') format('opentype');
  font-weight: 300; font-style: normal;
}
@font-face {
  font-family: 'PP Neue York';
  src: url('../Assets/fonts/PPNeueYork-NormalLightItalic.otf') format('opentype');
  font-weight: 300; font-style: italic;
}
@font-face {
  font-family: 'PP Neue York';
  src: url('../Assets/fonts/PPNeueYork-NormalMedium.otf') format('opentype');
  font-weight: 500; font-style: normal;
}
@font-face {
  font-family: 'PP Neue York';
  src: url('../Assets/fonts/PPNeueYork-NormalMediumItalic.otf') format('opentype');
  font-weight: 500; font-style: italic;
}
@font-face {
  font-family: 'PP Neue York';
  src: url('../Assets/fonts/PPNeueYork-NormalExtrabold.otf') format('opentype');
  font-weight: 800; font-style: normal;
}
@font-face {
  font-family: 'PP Neue York';
  src: url('../Assets/fonts/PPNeueYork-NormalExtraboldItalic.otf') format('opentype');
  font-weight: 800; font-style: italic;
}

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

html, body {
  height: auto;
  overflow-x: clip;
  background: #fdf8f3;
  font-family: 'PP Neue York', Georgia, serif;
  color: #111;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Top nav ── */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2.5rem;
  background: #fdf8f3;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.top-nav-logo {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6a7151;
}

.top-nav-links { display: flex; gap: 2rem; }

.top-nav-links a {
  font-size: 12px;
  color: #697150;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.top-nav-links a:hover { color: #111; }
.top-nav-links a.nav-active { color: #914E72; }

/* ── Split layout ── */
.split {
  display: grid;
  grid-template-columns: 68fr 32fr;
  min-height: 100vh;
  padding-top: 56px;
}

/* ── Left: scrolling photos ── */
.photos-col { padding: 3rem 2rem 6rem 2.5rem; grid-column: 1; }

.info-col { grid-column: 2; }

.photos-col img {
  display: block;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
  height: auto;
}

.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.photo-pair img {
  margin-bottom: 0;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.photo-pair a {
  display: block;
}

.photo-caption {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #999;
  text-transform: uppercase;
  margin-top: -4px;
  margin-bottom: 12px;
}

/* ── Right: sticky info ── */
.info-col {
  /* Grid placeholder — visual content lives in fixed info-sticky */
  padding: 0;
}

.info-sticky {
  position: fixed;
  top: 56px;
  left: 68vw;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  padding: 3rem 2.5rem 6rem 2.5rem;
  background: #fdf8f3;
  border-left: 1px solid rgba(0,0,0,0.08);
  z-index: 10;
}

.info-meta {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.info-title {
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.4rem;
  color: #914E72;
}

.info-question {
  font-size: 14px;
  font-weight: 300;
  color: #697150;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.info-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #bbb;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.info-body {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: #697150;
  margin-bottom: 1rem;
}

.info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

.info-tag {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 20px;
  padding: 4px 12px;
  color: #555;
}

/* ── Prev / Next ── */
.info-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.info-nav-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0.9rem 1rem;
  background: rgba(0,0,0,0.03);
  border-radius: 8px;
  transition: background 0.2s;
}

.info-nav-link:hover { background: rgba(0,0,0,0.07); }
.info-nav-link.next { text-align: right; }

.info-nav-dir {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #aaa;
  text-transform: uppercase;
}

.info-nav-title {
  font-size: 13px;
  font-weight: 500;
  color: #111;
}

/* ── Mobile ── */
@media (max-width: 700px) {
  .split {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }
  .info-col {
    order: 1;
    border-left: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 2.5rem 1.5rem 2rem;
  }
  .info-sticky {
    position: static;
    left: auto; right: auto; bottom: auto;
    overflow-y: visible;
    border-left: none;
    border-bottom: none;
    padding: 0;
  }
  .info-title { font-size: 22px; font-weight: 700; }
  .info-question { font-size: 13px; font-weight: 300; }
  .info-body { font-size: 13px; font-weight: 400; }

  /* Inline-style prev/next (sierraiously pattern) */
  .info-nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
  .info-nav-link {
    flex: 1;
    background: none;
    padding: 0;
    border-radius: 0;
  }
  .info-nav-link:hover { background: none; }
  .info-nav-link.next { text-align: right; }
  .info-nav-dir {
    font-size: 11px;
    color: #777;
    letter-spacing: 0.05em;
    text-transform: none;
  }
  .info-nav-title { display: none; }

  .photos-col {
    order: 2;
    padding: 1.5rem 1.5rem 2rem;
  }
  /* Stack image pairs to single column on mobile */
  .photo-pair {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }
  .photos-col img { border-radius: 6px; }
  .photo-caption { font-size: 9px; }

  .top-nav { padding: 1rem 1.5rem; }
  .top-nav-links { gap: 1.2rem; }
}
