/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: #000;
  color: #fff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── NAVIGATION ── */

.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 62px;
  background: rgba(0,0,0,0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-logo {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.07em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: stretch;
  list-style: none;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 0.3em;
  padding: 0 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  border: none;
}

.nav-item > a:hover,
.nav-item > a.active { color: #fff; }

.nav-item:hover > a { color: #fff; }

.chevron {
  display: inline-block;
  width: 0; height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 3.5px solid currentColor;
  opacity: 0.45;
  flex-shrink: 0;
}

/* Invisible bridge — keeps hover active while cursor moves from trigger to dropdown */
.nav-item::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);   /* sits below the bridge */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.97);
  border: 1px solid rgba(255,255,255,0.09);
  list-style: none;
  min-width: 210px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, visibility 0.18s;
  z-index: 200;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
}

.dropdown li a {
  display: block;
  padding: 0.55rem 1.4rem;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}

.dropdown li a:hover,
.dropdown li a.active { color: #fff; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.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 drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 62px; left: 0; right: 0;
  background: rgba(0,0,0,0.97);
  padding: 1rem 2rem 2rem;
  z-index: 999;
  flex-direction: column;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  max-height: calc(100vh - 62px);
  overflow-y: auto;
}

.mobile-menu.open { display: flex; }

.mobile-group {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.mobile-group:first-child { border-top: none; padding-top: 0.25rem; }

.mobile-group-label {
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0.4rem;
}

.mobile-group a {
  display: block;
  padding: 0.35rem 0 0.35rem 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-group a:hover,
.mobile-group a.active { color: #fff; }

/* ── PAGE SHELL ── */

main {
  padding-top: 62px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-inner {
  flex: 1;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding: 80px 2.5rem 60px;
}

/* ── TWO-COLUMN GRID ── */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.two-col.center { align-items: center; }

/* ── TYPOGRAPHY ── */

h1.title {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 0.2em;
}

h1.title-xl {
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.0;
  margin-bottom: 0.2em;
}

.subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255,255,255,0.68);
  margin-bottom: 2.5rem;
}

.page-meta {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.body-text p {
  font-size: 0.97rem;
  line-height: 1.82;
  color: rgba(255,255,255,0.76);
  text-align: justify;
  margin-bottom: 1.1rem;
}

.body-text p:last-child { margin-bottom: 0; }

.credits {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.82;
  margin-top: 1.8rem;
}

.work-link {
  display: inline-block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,0.3);
  margin-bottom: 1.5rem;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.work-link:hover {
  color: #fff;
  text-decoration-color: rgba(255,255,255,0.8);
}

.questions { margin-bottom: 1.2rem; }

.questions p {
  font-style: italic;
  font-size: 0.97rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.35rem;
}

/* ── PHOTO LAYOUTS ── */

.photo-stack { display: flex; flex-direction: column; gap: 0.75rem; }
.photo-stack img { width: 100%; display: block; }

.photo-single img { width: 100%; display: block; }

.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.photo-pair img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 2 / 3;
}

.photo-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.photo-gallery img { width: 100%; display: block; }

.img-caption {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.45rem;
}

/* ── CENTRED TITLE (slide 8 style) ── */

.title-only {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 62px - 70px);
  text-align: center;
}

.title-only h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.45;
  color: rgba(255,255,255,0.85);
}

/* ── COLLAB GRID ── */

.collab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.collab-grid h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 0.3em;
}

.collab-grid .by { font-size: 0.6em; font-weight: 300; }

.collab-grid .page-meta { margin-bottom: 0.8rem; }

.collab-grid img {
  width: 100%;
  display: block;
  margin-top: 1.25rem;
}

/* ── PREV / NEXT ── */

.page-nav {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.4rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.page-nav a:hover { color: #fff; }

/* ── RESPONSIVE ── */

@media (max-width: 900px) {
  .two-col,
  .collab-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .main-nav { padding: 0 1.5rem; }
  .page-inner { padding: 60px 1.5rem 50px; }
  .page-nav { padding: 1.2rem 1.5rem; }
}

@media (max-width: 480px) {
  .page-inner { padding: 50px 1.25rem 40px; }
  .photo-gallery { grid-template-columns: 1fr; }
  .photo-pair { grid-template-columns: 1fr; }
  .photo-pair img { aspect-ratio: auto; }
}
