/* ============================================
   Studio Lattanzi — Global Stylesheet
   B/W phase. Color layer added later.
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
body { background: #fff; color: #000; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }


/* ===== Two-Column Shell ===== */
.site-wrapper { display: flex; min-height: 100vh; }

.panel-left {
  width: 50%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
}

.panel-left-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 6rem 9rem 6rem 6rem;
}

.panel-right {
  width: 50%;
  margin-left: 50%;
  min-height: 100vh;
}


/* ===== Logo ===== */
.logo-wrap {
  display: block;
  width: 4.25rem;
  margin-bottom: 0.75rem;
}
.logo-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}


/* ===== Navigation ===== */
.site-header { flex-shrink: 0; }

.nav-primary {
  margin-bottom: 0.5rem;
  font-family: 'forma-djr-display', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-primary a:hover { color: #a99560; }
.nav-divider { margin: 0 0.25rem; }

.nav-secondary {
  display: flex;
  gap: 0.75rem;
  font-family: 'benton-modern-text', Georgia, serif;
  font-weight: 400;
  font-size: 0.75rem;
}
.nav-secondary a:hover { color: #a99560; }


/* ===== Left Panel Content ===== */
.panel-left-content { margin-top: auto; }


/* ===== Typography ===== */
.display-headline {
  font-family: 'benton-modern-display', Georgia, serif;
  font-weight: 400;
  font-size: 4rem;
  line-height: 0.9;
  margin-bottom: 2rem;
  text-wrap: balance;
}

.subtitle {
  font-family: 'forma-djr-display', sans-serif;
  font-weight: 500;
  font-size: 1.125em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.body-text {
  font-family: 'benton-modern-text', Georgia, serif;
  font-weight: 400;
  font-size: 0.925rem;
  line-height: 1.25;
}
.body-text p + p { margin-top: 0.625rem; }


/* ===== SCOPE / OUTPUT / SECTOR ===== */
.meta-block { margin-top: 2rem; }
.meta-line {
  line-height: 1.5;
  white-space: nowrap;
  font-size: 0.675rem;
}
.meta-label {
  font-family: 'forma-djr-display', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}
.meta-dots, .meta-value {
  font-family: 'benton-modern-text', Georgia, serif;
  font-weight: 400;
  font-size: 0.75rem;
}


/* ===== Project List (Collection Pages) ===== */
.project-list {
  list-style: none;
  margin-top: 1rem;
}

.project-list-item {
  display: flex;
  align-items: baseline;
  line-height: 1.8;
}

.project-list-item a {
  font-family: 'forma-djr-display', sans-serif;
  font-weight: 500;
  font-size: 1.125em;
  white-space: nowrap;
}
.project-list-item a:hover { color: #a99560; }

.project-list-dots {
  overflow: hidden;
  margin: 0 0.25rem;
  white-space: nowrap;
  font-family: 'benton-modern-text', Georgia, serif;
  font-size: 0.75rem;
  align-self: baseline;
}
.project-list-dots::after {
  content: ' ......................................................................................................';
  letter-spacing: 0;
}

.project-list-role {
  font-family: 'benton-modern-text', Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  font-variant: small-caps;
  text-transform: lowercase;
  white-space: nowrap;
}


/* ===== Collection Right Panel ===== */
.panel-right-collection {
  display: flex;
  align-items: stretch;
  height: 100vh;
}
.panel-right-collection img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}
.collection-placeholder {
  width: 100%;
  height: 100vh;
  background: #c8c8c8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-size: 0.8125rem;
  color: #999;
}


/* ===== Project Gallery ===== */
.panel-right-project {
  overflow-y: auto;
}

.project-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
}
.placeholder-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #c8c8c8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-size: 0.8125rem;
  color: #999;
}


/* ===== NOTES Toggle ===== */
.notes-toggle {
  position: absolute;
  bottom: 0.925rem;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 3;
}
.notes-toggle svg {
  width: 2.5rem;
  height: auto;
  display: block;
}


/* ===== NOTES Caption ===== */
.notes-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 3.75rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  font-family: 'benton-modern-text', Georgia, serif;
  font-style: italic;
  font-size: 0.75rem;
  line-height: 1.25;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}
.gallery-item.notes-open .notes-toggle {
  bottom: 1rem;
}
.gallery-item.notes-open .notes-caption {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}


/* ===== Text Page Right Panel ===== */
.panel-right-text img,
.panel-right-text video {
  width: 100%;
  height: 100vh;
}
.panel-right-text img.fit-cover {
  object-fit: cover;
}
.panel-right-text img.fit-contain {
  object-fit: contain;
}
.media-placeholder {
  width: 100%;
  height: 100vh;
  background: #c8c8c8;
}


/* ===== Mobile ===== */
@media (max-width: 768px) {
  .site-wrapper { flex-direction: column; }
  .panel-left { width: 100%; height: auto; position: relative; }
  .panel-left-inner { padding: 2.5rem 2.5rem; min-height: auto; }
  .panel-right { width: 100%; margin-left: 0; min-height: 0; }
  .logo-wrap { width: 4.25rem; margin-top: 0.75rem; }
  .nav-primary { font-size: 1rem; }
  .nav-secondary { font-size: 0.925rem; }
  .panel-left-content { margin-top: 2.5rem; }
  .display-headline { font-size: 3.25rem; }
  .subtitle { font-size: 1.5rem; }
  .body-text { font-size: 1rem; }
  .meta-line { font-size: 0.75rem; letter-spacing: 0.04em; }
  .meta-dots, .meta-value { font-size: 0.875rem; }
  .notes-caption { font-size: 0.9rem; }
  .panel-right-collection,
  .panel-right-text { height: auto; }
  .panel-right-collection img,
  .collection-placeholder,
  .panel-right-text img,
  .panel-right-text video,
  .media-placeholder { height: auto; min-height: 60vh; }
}
