/* Shared lookbook styles, linked from every lookbook-*.html page after its own
   <style>. Folders, videos and YouTube embeds look the same on every category,
   including categories added from the admin's Website tab. */

/* ---- shoot folders -----------------------------------------------
   Each shoot/outfit is a named folder. The name lives only in the
   folder card's .folder-name; the open view copies it from there. */
.shoots-label, .archive-label {
  text-align: center; font-size: 0.72rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}
.folders {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin-bottom: 72px;
}
@media (max-width: 900px) { .folders { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .folders { gap: 12px; } }
.folder { display: block; text-decoration: none; color: var(--ink); position: relative; padding-top: 12px; }
.folder::before {
  content: ""; position: absolute; top: 0; left: 0; width: 42%; height: 14px;
  background: var(--sand); border-radius: 4px 4px 0 0;
  transition: background 0.25s;
}
.folder-cover {
  display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand);
  border: 6px solid var(--sand); border-radius: 0 4px 4px 4px;
  transition: border-color 0.25s;
}
/* A cover can be zoomed in with style="--zoom: 1.5; transform-origin: x% y%" on its img. */
.folder-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; transform: scale(var(--zoom, 1)); }
.folder:hover .folder-cover img { transform: scale(calc(var(--zoom, 1) * 1.04)); }
.folder:hover::before { background: var(--gold); }
.folder:hover .folder-cover { border-color: var(--gold); }
.folder-name {
  display: block; margin-top: 12px; font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 500; letter-spacing: 0.04em; line-height: 1.2;
}
.folder-count {
  display: block; margin-top: 2px; font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.shoot-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.shoot-back, .shoot-count {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); text-decoration: none;
}
.shoot-back:hover { color: var(--gold); }
.shoot-title {
  text-align: center; font-size: clamp(1.7rem, 3.6vw, 2.3rem); letter-spacing: 0.06em; margin: 6px 0 34px;
}
.folder-credit {
  display: block; margin-top: 2px; font-size: 0.82rem; color: var(--muted); letter-spacing: 0.02em;
}
.folder-count { margin-top: 6px !important; }
.shoot-title { margin-bottom: 8px !important; }
.shoot-credit {
  text-align: center; font-size: 0.9rem; color: var(--muted); margin: 0 0 34px; letter-spacing: 0.02em;
}
.shoot-credit:empty { display: none; }
.shoot-title:has(+ .shoot-credit:empty) { margin-bottom: 34px !important; }
.shoot-title a, .shoot-credit a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--gold); }
.shoot-title a:hover, .shoot-credit a:hover { color: var(--gold); }
.folder-name { overflow-wrap: anywhere; }
.archive[hidden], .folders-wrap[hidden], .shoot-view[hidden] { display: none; }

/* ---- videos ----------------------------------------------------------
   An uploaded video sits in the grid like a photo but plays in place (muted,
   on repeat, while its folder is open). A YouTube video leads its folder at
   full width, above the photos. */
.lookbook-grid video { width: 100%; display: block; margin-bottom: 16px; break-inside: avoid; background: var(--sand); }
.shoot-yt { position: relative; aspect-ratio: 16 / 9; margin-bottom: 16px; background: #000; }
.shoot-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
