/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 13px; }

/* ── TOKENS ── */
:root {
  --off-white: #ffffff;
  --ink: #0a0a0a;
  --mid: #888880;
  --rule: rgba(10,10,10,0.1);
  --serif: 'Libre Baskerville', Baskerville, 'Book Antiqua', Georgia, serif;
  --logo: 'trajan-pro-3', 'Trajan Pro 3', 'Trajan Pro', Trajan, 'Times New Roman', serif;
  --display: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --nav-h: 68px;
  --filter-h: 56px;
}

body {
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Hide native cursor sitewide */
*, *::before, *::after { cursor: none !important; }
/* Restore inside WP admin bar */
#wpadminbar, #wpadminbar * { cursor: auto !important; }

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  width: 7px;
  height: 7px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2147483647;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}
/* White dot inside dark film lightbox */
.film-lb-open .cursor {
  background: #fff;
}

/* ── NAV ── */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 28px;
  background: var(--off-white);
}

.nav-name {
  font-family: var(--logo);
  font-style: normal;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--ink);
  text-decoration: none;
  grid-column: 1;
}

.nav-context {
  grid-column: 2;
  font-family: var(--display);
  font-size: 0.91rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 300;
}

.nav-links {
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a.current { color: var(--mid); }

/* ── FILTER BAR ── */
.filter-bar {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 99;
  height: var(--filter-h);
  background: var(--off-white);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  padding: 0 28px;
}

.filter-btn {
  background: none;
  border: none;
  font-family: var(--display);
  font-style: normal;
  font-weight: 300;
  font-size: 0.91rem;
  color: var(--mid);
  padding: 0 22px 0 0;
  height: 100%;
  position: relative;
  transition: color 0.25s;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.filter-btn:first-child { padding-left: 0; }

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 22px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:first-child::after { right: 22px; }
.filter-btn.active { color: var(--ink); }
.filter-btn.active::after { transform: scaleX(1); }
.filter-btn:hover { color: var(--ink); }

/* ── MAIN ── */
.site-main {
  margin-top: calc(var(--nav-h) + var(--filter-h));
  padding: 0;
}

.site-main.no-filter {
  margin-top: var(--nav-h);
}

/* ── COUNT LINE ── */
.count-line {
  padding: 12px 28px;
  font-family: var(--display);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ── ARCHIVE GRID ── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  padding: 0 2px 2px;
}

/* ── GRID ITEMS ── */
.work-item {
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.6s ease backwards;
}

.work-item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/* Column spans */
.w3  { grid-column: span 3; }
.w4  { grid-column: span 4; }
.w5  { grid-column: span 5; }
.w6  { grid-column: span 6; }
.w7  { grid-column: span 7; }
.w8  { grid-column: span 8; }
.w12 { grid-column: span 12; }

/* Aspect ratios */
.ar-portrait-std { aspect-ratio: 4/5; }
.ar-landscape-std { aspect-ratio: 5/4; }
.ar-tall      { aspect-ratio: 3/4; }
.ar-portrait  { aspect-ratio: 2/3; }
.ar-square    { aspect-ratio: 1/1; }
.ar-wide      { aspect-ratio: 16/9; }
.ar-cinema    { aspect-ratio: 21/9; }

.work-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-item:hover img { transform: scale(1.03); }

/* Cover placeholder when no image */
.work-item .cover-placeholder {
  width: 100%; height: 100%;
  min-height: 200px;
  background: #e8e6e2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(10,10,10,0.25);
}

.work-item[data-cat="film"] .cover-placeholder { background: #1c1b19; color: rgba(255,255,255,0.2); }
.work-item[data-cat="beauty"] .cover-placeholder { background: #e0dbd4; }
.work-item[data-cat="still-life"] .cover-placeholder { background: #e5e2dc; }

/* Caption overlay */
.work-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  background: linear-gradient(transparent, rgba(10,10,10,0.3));
  transition: opacity 0.3s ease;
}

.work-item:hover .work-caption { opacity: 1; }

.caption-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
}

.caption-cat {
  font-family: var(--display);
  font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* Hidden state */
.work-item.is-hidden { display: none; }

.work-item.is-fading {
  opacity: 0;
  transform: scale(0.99);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ── SINGLE PROJECT ── */
.project-header {
  padding: 48px 28px 32px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
}

.project-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.project-meta-item {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.24rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
}

.project-gallery {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 140px;
  align-items: center;
}

.project-gallery-image {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 40px;
}

.project-gallery-image img {
  display: block;
  max-height: 85vh;
  width: auto;
  max-width: 100%;
  height: auto;
}

.project-nav {
  padding: 32px 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-nav a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

.project-nav a:hover { color: var(--ink); }

.back-to-archive {
  font-family: var(--display);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

.back-to-archive:hover { color: var(--ink); }

/* ── INFORMATION PAGE ── */
.info-page {
  padding: 64px 28px;
  max-width: 680px;
}

.info-page h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 40px;
}

.info-block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}

.info-block:last-child { border-bottom: none; }

.info-block h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 12px;
}

.info-block p,
.info-block address {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.8;
  font-style: normal;
  color: var(--ink);
}

.info-block a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── FOOTER ── */
.site-footer {
  margin-top: 80px;
  padding: 24px 28px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 24px;
}

.footer-name {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.24rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-mid {
  text-align: center;
  font-family: var(--display);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
}

.footer-right {
  text-align: right;
}

.footer-right a {
  font-family: var(--display);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-right a:hover { color: var(--ink); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.work-item:nth-child(1)  { animation-delay: 0.04s; }
.work-item:nth-child(2)  { animation-delay: 0.08s; }
.work-item:nth-child(3)  { animation-delay: 0.12s; }
.work-item:nth-child(4)  { animation-delay: 0.16s; }
.work-item:nth-child(5)  { animation-delay: 0.20s; }
.work-item:nth-child(6)  { animation-delay: 0.24s; }
.work-item:nth-child(7)  { animation-delay: 0.28s; }
.work-item:nth-child(8)  { animation-delay: 0.32s; }
.work-item:nth-child(9)  { animation-delay: 0.36s; }
.work-item:nth-child(10) { animation-delay: 0.40s; }
.work-item:nth-child(11) { animation-delay: 0.44s; }
.work-item:nth-child(12) { animation-delay: 0.48s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .w3, .w4 { grid-column: span 6; }
  .w5, .w6, .w7, .w8 { grid-column: span 12; }
  .project-header { grid-template-columns: 1fr; }
  .project-meta { align-items: flex-start; }
}


  nav.site-nav { grid-template-columns: 1fr auto; }
  .nav-context { display: none; }
  .nav-links { gap: 16px; }
  /* mobile overrides below */
  .site-footer { grid-template-columns: 1fr; gap: 12px; }
  .footer-mid, .footer-right { text-align: left; }
}

/* ── ARCHIVE INDEX PAGE ── */
.archive-project {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-top: 1px solid var(--rule);
  min-height: 200px;
}

.archive-project-info {
  padding: 28px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--rule);
  position: sticky;
  top: calc(var(--nav-h) + 2px);
  align-self: start;
}

.archive-project-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.3;
  transition: opacity 0.2s;
}

.archive-project-title:hover { opacity: 0.6; }

.archive-project-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.archive-project-meta span {
  font-family: var(--display);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
}

.archive-view-link {
  font-family: var(--display);
  font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  margin-top: auto;
  padding-top: 16px;
  transition: color 0.2s;
}

.archive-view-link:hover { color: var(--ink); }

/* Horizontal scroll gallery */
.archive-gallery-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 16px 16px 16px 16px;
  cursor: grab;
}

.archive-gallery-scroll:active { cursor: grabbing; }
.archive-gallery-scroll::-webkit-scrollbar { display: none; }

.archive-gallery-track {
  display: flex;
  gap: 8px;
  height: 360px;
  align-items: stretch;
}

.archive-img {
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  height: 100%;
}

.archive-img.portrait  { width: auto; }
.archive-img.landscape { width: auto; }

.archive-img img {
  width: auto;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.archive-img:hover img { opacity: 0.85; }

/* Last project no bottom border needed */
.archive-project:last-child {
  border-bottom: 1px solid var(--rule);
}


  .archive-project-info {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    position: static;
    padding: 20px 20px 16px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
  }
  .archive-view-link { margin-top: 0; padding-top: 0; }
  .archive-gallery-track { height: 270px; }
  .archive-img.portrait  { width: auto; }
  .archive-img.landscape { width: auto; }
}

/* ── ARCHIVE PAGE FILTERS ── */
.archive-filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 98;
  background: var(--off-white);
  border-bottom: 1px solid var(--rule);
  height: var(--filter-h);
  display: flex;
  align-items: center;
  padding: 0 28px;
  margin-bottom: 0;
}

.archive-project.is-hidden {
  display: none;
}

.archive-project.is-fading {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ── CLIENT LIST ── */
.client-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.client-list li {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 2;
  color: var(--mid);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0;
}

.client-list li:last-child {
  border-bottom: none;
}

/* Editions coming soon */
.info-page .coming-soon {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--mid);
  padding: 40px 0;
}

/* ── INFO PAGE LAYOUT ── */
.info-layout {
  padding: 64px 28px 80px;
  max-width: 850px;
}

.info-layout .info-bio-text {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 64px;
  max-width: 580px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  margin-bottom: 64px;
}

.info-grid-item {
  padding: 28px 0;
  border-right: 1px solid var(--rule);
  padding-right: 32px;
  margin-right: 32px;
}

.info-grid-item:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.info-label {
  font-family: var(--display);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 10px;
}

.info-value {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}

.info-value a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.2s;
}

.info-value a:hover {
  border-color: var(--ink);
}

.info-clients {
}

.info-clients .info-label {
  padding-top: 12px;
  margin-bottom: 16px;
}

.info-client-list {
  list-style: none;
  padding: 0;
  columns: 2;
  column-gap: 40px;
}

.info-client-list li {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 2;
  color: var(--ink);
}


  .info-grid-item {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding-right: 0;
    margin-right: 0;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  .info-client-list {
    columns: 1;
  }
}

/* ── MOBILE NAV ── */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0;
}

.nav-mobile-dropdown {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--off-white);
  z-index: 98;
  border-bottom: 1px solid var(--rule);
  padding: 16px 28px 24px;
}

.nav-mobile-dropdown.is-open {
  display: block;
}

.nav-mobile-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-mobile-dropdown ul li {
  border-bottom: 1px solid var(--rule);
}

.nav-mobile-dropdown ul li:last-child {
  border-bottom: none;
}

.nav-mobile-dropdown ul li a {
  display: block;
  padding: 14px 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-mobile-dropdown ul li a:hover,
.nav-mobile-dropdown ul li a.current {
  color: var(--ink);
}

/* Archive main — clear fixed filter bar */
#archive-main {
  padding-top: 56px;
}

@media (max-width: 700px) {
  .nav-name { display: none; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }

  nav.site-nav {
    justify-content: flex-end;
  }
}

/* ── MOBILE MENU ── */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}

.nav-mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--rule);
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.nav-mobile-drawer.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.nav-mobile-links {
  list-style: none;
  padding: 16px 28px 24px;
  display: flex;
  flex-direction: column;
}

.nav-mobile-links li {
  border-bottom: 1px solid var(--rule);
}

.nav-mobile-links li:first-child {
  border-top: 1px solid var(--rule);
}

.nav-mobile-links a {
  display: block;
  padding: 14px 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-mobile-links a.current,
.nav-mobile-links a:hover {
  color: var(--ink);
}

@media (max-width: 700px) {
  .nav-name { display: none; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-mobile-drawer { display: block; }

  .site-nav {
    justify-content: flex-end;
  }

  .filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding: 0 16px;
    height: auto;
    min-height: var(--filter-h);
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar .filter-btn { flex-shrink: 0; text-align: center; }

  .info-layout {
    padding: 40px 20px 60px;
  }


  /* Hide filter bar when mobile nav is open */
  body:has(.nav-mobile-drawer.is-open) .filter-bar {
    visibility: hidden;
    opacity: 0;
  }
}


/* Restore cursor in browser fullscreen video */
:fullscreen, :fullscreen * { cursor: auto !important; }
:-webkit-full-screen, :-webkit-full-screen * { cursor: auto !important; }
:-moz-full-screen, :-moz-full-screen * { cursor: auto !important; }
video::-webkit-media-controls { cursor: auto !important; }
video { cursor: auto !important; }

/* Selected works lightbox — all text black */
.sel-lb-close,
.sel-lb-prev,
.sel-lb-next,
.sel-lb-count {
  color: var(--ink) !important;
}

/* ── CLIENT LIST TWO COLUMNS ── */
.info-clients-cols {
  display: flex;
  flex-direction: row;
  gap: 40px;
  margin-top: 8px;
}
.info-clients-col-label {
  font-family: var(--display);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}

/* Film thumbnails — no cursor */
.film-item, .film-item * { cursor: none !important; }
.film-item video { cursor: none !important; }
/* Lightbox overlays — no cursor except fullscreen */
#arch-lb, #arch-lb *, .sel-lb, .sel-lb *, #film-lightbox, #film-lightbox * { cursor: none !important; }

/* Selected works lightbox — all text black */
.sel-lb-close,
.sel-lb-prev,
.sel-lb-next,
.sel-lb-count {
  color: var(--ink) !important;
}

/* Film thumbnails — no cursor */
.film-item, .film-item * { cursor: none !important; }

/* Prevent scroll when any lightbox is open */
body.lb-open,
body.film-lb-open,
html:has(body.lb-open),
html:has(body.film-lb-open) {
  overflow: hidden !important;
}

/* ── MOBILE SELECTED WORKS ── */
@media (max-width: 700px) {
  .sel-grid { display: none !important; }
  body.home:not(.lb-open) .site-nav { opacity: 0; pointer-events: none; }
  body.lb-open .site-nav { opacity: 1; pointer-events: auto; z-index: 200000; position: relative; }
  body.lb-open .site-nav * { pointer-events: auto; }
  body.lb-open .nav-links a, body.lb-open .nav-name a { color: var(--ink) !important; }
  body.lb-open .nav-mobile-toggle { color: var(--ink) !important; pointer-events: auto; }
  body.lb-open .nav-mobile-drawer { z-index: 300000 !important; pointer-events: auto; }
  body.lb-open .nav-mobile-drawer a { color: var(--ink); pointer-events: auto; }
  .sel-lb-bar { display: none !important; }
  .sel-mobile-splash {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    z-index: 50000;
    transition: opacity 0.4s ease;
  }
  .sel-mobile-splash.fade-out {
    opacity: 0;
    pointer-events: none;
  }
  .sel-mobile-splash-name {
    font-family: 'Inknut Antiqua', serif;
    font-size: 1.4rem;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
  }
  .sel-splash-first, .sel-splash-last {
    display: block;
    letter-spacing: 0.18em;
  }
}
@media (min-width: 701px) {
  .sel-mobile-splash { display: none; }
}


/* ── MOBILE LIGHTBOX MARGINS ── */
@media (max-width: 700px) {
  /* Selected works lightbox */
  .sel-lb-inner img,
  .sel-lb-inner video {
    max-width: calc(100vw - 40px) !important;
    width: calc(100vw - 40px) !important;
  }
  /* Archive lightbox */
  .arch-lb-img {
    max-width: calc(100vw - 40px) !important;
  }
  /* Film lightbox */
  .film-lightbox-inner video,
  .film-lightbox-inner iframe {
    max-width: calc(100vw - 40px) !important;
    width: calc(100vw - 40px) !important;
  }
}

/* ── MOBILE SPLASH + LIGHTBOX ── */
@media (max-width: 700px) {
  .sel-mobile-splash { background: #0a0a0a !important; cursor: pointer; }
  .sel-mobile-splash-name { color: #fff !important; font-size: 2.25rem !important; }
  .sel-splash-first, .sel-splash-last { color: #fff !important; }
  body.home:not(.lb-open) .site-nav { opacity: 1 !important; pointer-events: auto !important; }
  body.home:not(.lb-open) .nav-name a,
  body.home:not(.lb-open) .nav-links a,
  body.home:not(.lb-open) .nav-mobile-toggle { color: #fff !important; }
  #sel-lb.is-open { top: var(--nav-h); }
  body.lb-open .nav-mobile-drawer:not(.is-open) { display: none !important; }
  .arch-lb-counter { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; margin-left: 0; }
  .arch-lb-bar { position: relative; }
  .arch-lb-close { font-size: 1.4rem; padding: 12px 16px; }
}
