/* ═══════════════════════════════════════════════════════════
   ODUSE.PHOTO — Shared Styles
   ═══════════════════════════════════════════════════════════ */

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

/* ─── Accessibility Utilities ──────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: var(--pad);
  z-index: 9998;
  background: var(--fg);
  color: var(--bg);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
  --bg:       #f7f6f3;
  --fg:       #1a1918;
  --muted:    #706a65;
  --border:   #e4e1da;
  --overlay:  rgba(26, 25, 24, 0.45);
  --overlay-text: #f7f6f3;
  --overlay-text-muted: rgba(247, 246, 243, 0.65);
  --nav-h:    60px;
  --pad:      clamp(24px, 5vw, 72px);
  --gap:      clamp(6px, 1.2vw, 16px);
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --grain-opacity: 0.04;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:       #141312;
    --fg:       #eae8e3;
    --muted:    #a8a29d;
    --border:   #2a2826;
    --grain-opacity: 0.05;
  }
}

/* ─── Base ──────────────────────────────────────────────── */
html { scroll-behavior: smooth; color-scheme: light dark; }

body {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-weight: 350;
  font-size: 15px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Grain Texture ─────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--grain-opacity);
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* ─── Navigation ────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: var(--bg);
  z-index: 200;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.nav-logo {
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
}

.logo-full {
  transition: opacity 0.3s ease-out, transform 0.4s var(--ease);
  white-space: nowrap;
}

.logo-short {
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateX(-8px) scale(0.92);
  transition: opacity 0.35s ease, transform 0.5s var(--ease);
  transition-delay: 0s;
  white-space: nowrap;
}

.nav-logo.scrolled .logo-full {
  opacity: 0;
  transform: translateX(10px);
}

.nav-logo.scrolled .logo-short {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.08s;
}

.nav-logo.scrolled:hover .logo-full {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.06s;
}

.nav-logo.scrolled:hover .logo-short {
  opacity: 0;
  transform: translateX(-8px) scale(0.92);
  transition-delay: 0s;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

nav .nav-links {
  transition: opacity 0.25s ease;
}

nav.detail-open .nav-links {
  opacity: 0;
  pointer-events: none;
}

.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--fg); }

/* ─── Mobile Menu Toggle ──────────────────────────────── */
.menu-toggle {
  display: none;
  position: fixed;
  top: calc(var(--nav-h) / 2);
  right: var(--pad);
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  z-index: 310;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--fg);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { bottom: 14px; }

.menu-toggle.open span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  bottom: auto;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ─── Mobile Overlay ──────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }

  /* Keep full wordmark on mobile — no collapse */
  .nav-logo.scrolled .logo-full { opacity: 1; transform: none; }
  .nav-logo.scrolled .logo-short { opacity: 0; }

  .nav-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 300;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
  }

  .nav-overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-overlay a {
    font-size: clamp(28px, 7vw, 36px);
    font-weight: 350;
    letter-spacing: -0.02em;
    color: var(--fg);
    text-decoration: none;
    padding: 16px 0;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.45s var(--ease), color 0.2s ease;
  }

  .nav-overlay.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-overlay.open a:nth-child(1) { transition-delay: 0.08s; }
  .nav-overlay.open a:nth-child(2) { transition-delay: 0.14s; }
  .nav-overlay.open a:nth-child(3) { transition-delay: 0.20s; }
  .nav-overlay.open a:nth-child(4) { transition-delay: 0.26s; }

  .nav-overlay a:active { color: var(--muted); }
}

/* ─── Footer ────────────────────────────────────────────── */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px var(--pad);
  font-size: 12px;
  color: var(--muted);
}

footer a {
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

footer a:hover { color: var(--fg); }

.footer-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

/* ─── Image Reveal ─────────────────────────────────────── */
img:not([role="presentation"]) {
  opacity: 0;
  transition: opacity 0.4s ease;
}

img.loaded {
  opacity: 1;
}

/* ─── Accessibility ─────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

/* ─── Reduced Motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}


/* ═══════════════════════════════════════════════════════════
   Homepage
   ═══════════════════════════════════════════════════════════ */

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  margin-top: var(--nav-h);
  height: calc(50vh - var(--nav-h));
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 var(--pad) clamp(32px, 5vw, 60px);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 350;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero p {
  margin-top: 12px;
  font-size: clamp(13px, 1.8vw, 15px);
  color: var(--muted);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* ─── Gallery ──────────────────────────────────────────── */
#gallery {
  padding: var(--gap) var(--gap) 0;
  display: columns;
  column-width: 320px;
  column-gap: var(--gap);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: var(--gap);
}

.gallery-item picture { display: block; }

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* ─── Lightbox ──────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px) saturate(1.2) brightness(0.7);
  -webkit-backdrop-filter: blur(24px) saturate(1.2) brightness(0.7);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: calc(100vw - 120px);
  max-height: calc(100vh - 80px);
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: translateX(var(--slide-from, 0));
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}

.lightbox img.loaded {
  opacity: 1;
  transform: translateX(0);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 350;
  padding: 16px;
  min-width: 44px;
  min-height: 44px;
  transition: color 0.2s ease;
  z-index: 510;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: #fff;
}

.lightbox-close {
  top: 20px;
  right: 24px;
  font-size: 24px;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }


/* ═══════════════════════════════════════════════════════════
   Work
   ═══════════════════════════════════════════════════════════ */

.page-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 100px)) var(--pad) clamp(48px, 6vw, 80px);
}

.page-header h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 350;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-header p {
  font-size: 14px;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.7;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: clamp(16px, 3vw, 32px);
  padding: 0 var(--pad) clamp(80px, 10vw, 140px);
}

.work-card {
  display: block;
  text-decoration: none;
  color: var(--fg);
}

.work-card-image {
  position: relative;
  overflow: hidden;
}

.work-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  background: var(--border);
  transition: transform 0.7s var(--ease);
}

.work-card:hover img {
  transform: scale(1.03);
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(26, 25, 24, 0);
  transition: background 0.5s var(--ease);
}

.work-card:hover .work-card-overlay {
  background: var(--overlay);
}

.work-card-overlay h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 350;
  letter-spacing: -0.02em;
  color: var(--overlay-text);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.05s, transform 0.5s var(--ease) 0.05s;
}

.work-card-overlay span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--overlay-text-muted);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease 0.1s, transform 0.45s var(--ease) 0.1s;
}

.work-card:hover .work-card-overlay h2,
.work-card:hover .work-card-overlay span {
  opacity: 1;
  transform: translateY(0);
}

.work-card-info {
  padding: 16px 0 8px;
}

.work-card-info h3 {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.work-card-info .work-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.work-card-info .work-location {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-card-info .work-cta {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.2s ease;
}

.work-card:hover .work-cta {
  color: var(--fg);
}


/* ═══════════════════════════════════════════════════════════
   Barbican Gallery
   ═══════════════════════════════════════════════════════════ */

.barbican-page #gallery {
  padding-top: var(--nav-h);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  will-change: opacity, transform;
}

#gallery.fading {
  opacity: 0;
  transform: scale(0.985);
  pointer-events: none;
}

.gallery-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: var(--gap);
  padding: clamp(40px, 7vw, 100px) var(--pad) clamp(28px, 4vw, 52px);
}

.gallery-header h1 {
  font-size: clamp(32px, 6vw, 68px);
  font-weight: 350;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 560px;
}

.gallery-header-right {
  padding-bottom: 6px;
}

.gallery-header-right p {
  font-size: 13px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.7;
  margin-left: auto;
}

.gallery-count {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  text-align: right;
}

.gallery-grid {
  padding: 0 var(--pad) var(--pad);
  columns: 3;
  column-gap: var(--gap);
}

.photo-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--border);
  break-inside: avoid;
  margin-bottom: var(--gap);
  display: block;
}

.photo-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease);
}

.photo-item:hover img {
  transform: scale(1.03);
}

/* ─── Barbican Detail View ──────────────────────────────── */
#detail {
  position: fixed;
  inset: 0;
  padding-top: var(--nav-h);
  background: var(--bg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.5s var(--ease);
}

#detail.visible {
  opacity: 1;
  pointer-events: all;
}

.detail-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 360px;
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
}

.detail-image-col {
  position: relative;
  padding: clamp(24px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.65s var(--ease) 0.08s,
              opacity  0.5s ease        0.08s;
}

#detail.visible .detail-image-col {
  transform: scale(1);
  opacity: 1;
}

.detail-image-col img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  box-shadow: 0 8px 60px rgba(26,25,24,0.12);
}

.detail-panel {
  border-left: 1px solid var(--border);
  padding: clamp(32px, 4vw, 56px) clamp(28px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: clamp(40px, 6vh, 72px);
  overflow-y: auto;
  transform: translateX(24px);
  opacity: 0;
  transition: transform 0.65s var(--ease) 0.18s,
              opacity  0.5s ease        0.18s;
}

#detail.visible .detail-panel {
  transform: translateX(0);
  opacity: 1;
}

.dp-title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.dp-location {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.dp-rule {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.dp-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.btn-primary {
  width: 100%;
  padding: 15px 20px;
  background: var(--fg);
  color: var(--bg);
  border: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-primary:hover { opacity: 0.78; }

.btn-secondary {
  width: 100%;
  padding: 15px 20px;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.btn-secondary:hover { border-color: var(--fg); }

.dp-story {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.dp-story p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.dp-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.dp-nav-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  flex: 1;
}

.dp-nav-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: border-color 0.2s ease, color 0.2s ease;
  font-family: inherit;
}

.dp-nav-btn:hover {
  border-color: var(--fg);
  color: var(--fg);
}

/* ─── Barbican Close Button ─────────────────────────────── */
#btnClose {
  position: fixed;
  top: calc(var(--nav-h) / 2);
  right: var(--pad);
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 210;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, color 0.2s ease;
  font-family: inherit;
}

#btnClose.visible {
  opacity: 1;
  pointer-events: all;
}

#btnClose:hover { color: var(--fg); }

#btnClose .close-icon {
  width: 18px;
  height: 18px;
  position: relative;
}

#btnClose .close-icon::before,
#btnClose .close-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 13px; height: 1px;
  background: currentColor;
  transform-origin: center;
}

#btnClose .close-icon::before { transform: translate(-50%, -50%) rotate(45deg); }
#btnClose .close-icon::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* ─── Barbican About Section ────────────────────────────── */
#about {
  padding: clamp(80px, 12vw, 160px) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.about-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

/* Barbican-specific about text */
#about .about-text h2 {
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 24px;
}

#about .about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 460px;
}

#about .about-text p + p { margin-top: 16px; }

/* Barbican-specific about portrait */
#about .about-portrait {
  aspect-ratio: 3/4;
  background: var(--border);
  overflow: hidden;
}

#about .about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
}

/* ─── Barbican Print Info ───────────────────────────────── */
#prints {
  padding: clamp(80px, 10vw, 140px) var(--pad);
}

#prints .prints-inner {
  max-width: 840px;
}

#prints .prints-inner .section-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

#prints .prints-inner h2 {
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 48px;
}

.print-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.print-option {
  background: var(--bg);
  padding: 32px 28px;
}

.po-size {
  font-size: 18px;
  font-weight: 350;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.po-edition {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.po-details {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.po-price {
  font-size: 22px;
  font-weight: 350;
  letter-spacing: -0.02em;
  margin-top: 20px;
  color: var(--fg);
}

/* Barbican-specific prints note */
#prints .prints-note {
  margin-top: 40px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}

/* ─── Barbican Contact Section ──────────────────────────── */
#contact {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

#contact .contact-intro .section-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

#contact .contact-intro h2 {
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 20px;
}

#contact .contact-intro p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

#contact .contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#contact .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#contact .form-field label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

#contact .form-field input,
#contact .form-field textarea {
  background: transparent;
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 350;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s ease;
  resize: none;
}

#contact .form-field input:focus,
#contact .form-field textarea:focus {
  border-color: var(--fg);
}

#contact .form-field textarea { height: 120px; }

#contact .form-submit {
  margin-top: 8px;
  padding: 15px 20px;
  background: var(--fg);
  color: var(--bg);
  border: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
  align-self: flex-start;
  min-width: 160px;
}

#contact .form-submit:hover { opacity: 0.78; }

/* ─── Barbican Project About ────────────────────────────── */
#project-about {
  padding: clamp(80px, 10vw, 140px) var(--pad);
}

.project-about-inner {
  max-width: 600px;
}

.project-about-inner h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.project-about-inner p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ─── Barbican Footer Overrides ─────────────────────────── */
.barbican-page footer {
  padding: 28px var(--pad);
}

.barbican-page footer p {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.barbican-page footer a {
  font-size: 11px;
}

/* ─── Barbican Loading Shimmer ──────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.photo-item.loading {
  background: linear-gradient(
    90deg,
    var(--border) 25%,
    var(--bg) 50%,
    var(--border) 75%
  );
  background-size: 400px 100%;
  animation: shimmer 1.4s infinite;
}


/* ═══════════════════════════════════════════════════════════
   Prints
   ═══════════════════════════════════════════════════════════ */

.store-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: var(--gap);
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 100px)) var(--pad) clamp(28px, 4vw, 52px);
}

.store-header h1 {
  font-size: clamp(32px, 6vw, 68px);
  font-weight: 350;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 560px;
}

.store-header-right {
  padding-bottom: 6px;
}

.store-header-right p {
  font-size: 13px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.7;
  margin-left: auto;
}

.store-count {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  text-align: right;
}

.print-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(24px, 3vw, 40px);
  padding: 0 var(--pad) clamp(80px, 10vw, 140px);
}

.print-card {
  cursor: pointer;
}

.print-card-img {
  position: relative;
  overflow: hidden;
  background: var(--border);
  margin-bottom: 16px;
}

.print-card-img img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.print-card:hover .print-card-img img {
  transform: scale(1.02);
}

.print-card-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(26,25,24,0.55) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.print-card:hover .print-card-caption {
  opacity: 1;
}

.print-card-caption-title {
  font-size: 13px;
  font-weight: 400;
  color: var(--overlay-text);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.print-card-caption-price {
  font-size: 11px;
  color: var(--overlay-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

.print-card-project {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.print-card h2 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 4px;
}

.print-card-edition {
  font-size: 12px;
  color: var(--muted);
}

/* ─── Prints Detail View ────────────────────────────────── */
.detail-view {
  display: none;
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) var(--pad) 0;
}

.detail-view.visible {
  display: block;
}

.detail-back {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: clamp(32px, 4vw, 48px);
  transition: color 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.detail-back:hover { color: var(--fg); }

.detail-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.detail-image {
  overflow: hidden;
  background: var(--border);
}

.detail-image img {
  display: block;
  width: 100%;
  height: auto;
}

.detail-info-project {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.detail-info h1 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 350;
  line-height: 1.2;
  margin-bottom: 8px;
}

.detail-info-location {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.detail-info-story {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.detail-rule {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.detail-edition {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}

.detail-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 15px 20px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--fg);
  color: var(--bg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.detail-btn:hover { opacity: 0.78; }

/* ─── Print Info Expandable ─────────────────────────────── */
.detail-print-info {
  margin-top: 28px;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
}

.detail-print-info summary {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

.detail-print-info summary::-webkit-details-marker { display: none; }
.detail-print-info summary::after {
  content: '+';
  font-size: 14px;
  font-weight: 350;
  transition: transform 0.3s var(--ease);
}

.detail-print-info[open] summary::after {
  transform: rotate(45deg);
}

.detail-print-info summary:hover { color: var(--fg); }

.detail-print-info-body {
  padding-top: 16px;
}

.detail-print-info-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.detail-print-info-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.detail-print-info-body li {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  padding-left: 14px;
  position: relative;
}

.detail-print-info-body li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border);
}

/* ─── Prints Carousel ───────────────────────────────────── */
.carousel-section {
  padding: clamp(60px, 8vw, 100px) var(--pad) clamp(80px, 10vw, 140px);
}

.carousel-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.carousel {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.carousel::-webkit-scrollbar { display: none; }

.carousel-item {
  flex: 0 0 220px;
  scroll-snap-align: start;
  cursor: pointer;
}

.carousel-item img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  background: var(--border);
  margin-bottom: 8px;
  transition: transform 0.5s var(--ease);
}

.carousel-item:hover img {
  transform: scale(1.02);
}

.carousel-item-title {
  font-size: 13px;
  font-weight: 400;
}

.carousel-item-price {
  font-size: 12px;
  color: var(--muted);
}


/* ═══════════════════════════════════════════════════════════
   About
   ═══════════════════════════════════════════════════════════ */

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 100px)) var(--pad) clamp(80px, 10vw, 140px);
  align-items: start;
}

.about-text h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 350;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.about-text p {
  color: var(--fg);
  max-width: 520px;
}

.about-text p + p { margin-top: 16px; }

.about-content .about-portrait {
  aspect-ratio: 3/4;
  background: var(--border);
  overflow: hidden;
}

.about-content .about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 60%;
  display: block;
  filter: grayscale(15%);
}

.prints-info {
  padding: clamp(80px, 10vw, 140px) var(--pad);
}

.prints-inner { max-width: 900px; }

.section-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.prints-inner h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 350;
  line-height: 1.2;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.prints-note {
  font-size: 13px;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.7;
}

.prints-note + .prints-note { margin-top: 16px; }

.prints-cta {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 36px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.prints-cta:hover { opacity: 0.8; }


/* ═══════════════════════════════════════════════════════════
   Contact
   ═══════════════════════════════════════════════════════════ */

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 100px)) var(--pad) clamp(80px, 10vw, 140px);
  align-items: start;
}

.contact-intro h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 350;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.contact-intro p {
  color: var(--muted);
  max-width: 400px;
}

.contact-ig {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-ig:hover { color: var(--fg); }

.contact-content .contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--fg);
}

.form-field textarea { min-height: 120px; resize: vertical; }

.form-submit {
  align-self: flex-start;
  padding: 14px 36px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--fg);
  color: var(--bg);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.form-submit:hover { opacity: 0.8; }


/* ═══════════════════════════════════════════════════════════
   Thank You
   ═══════════════════════════════════════════════════════════ */

.thankyou {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  min-height: calc(100vh - var(--nav-h));
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 100px)) var(--pad) clamp(80px, 10vw, 140px);
  align-items: center;
}

.thankyou-text h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 350;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.thankyou-text p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
}

.thankyou-text p + p { margin-top: 12px; }

.thankyou-back {
  display: inline-block;
  margin-top: 36px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.thankyou-back:hover { color: var(--fg); }

.thankyou-image {
  overflow: hidden;
}

.thankyou-image img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(15%);
}


/* ═══════════════════════════════════════════════════════════
   Responsive — consolidated
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .page-header { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .about-content .about-portrait { max-width: none; aspect-ratio: 16/9; }
  .about-content .about-portrait img { object-position: 35% 55%; }
  .contact-content { grid-template-columns: 1fr; }
  .thankyou { grid-template-columns: 1fr; }
  .thankyou-image { max-height: 50vh; }
  .thankyou-image img { object-fit: cover; height: 100%; }
  .store-header { grid-template-columns: 1fr; }
  .store-header-right { display: none; }
  .detail-main { grid-template-columns: 1fr; }
  .gallery-header { grid-template-columns: 1fr; }
  .gallery-header-right { display: none; }
  .gallery-grid { columns: 2; }
  .detail-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    overflow: visible;
  }
  .detail-image-col {
    height: 55vw;
    min-height: 260px;
    max-height: 60vh;
  }
  .detail-panel {
    border-left: none;
    border-top: 1px solid var(--border);
    overflow-y: visible;
    padding-top: clamp(28px, 5vw, 48px);
    justify-content: flex-start;
    height: auto;
  }
  #detail {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #about { grid-template-columns: 1fr; }
  #about .about-portrait { max-width: 280px; order: -1; }
  #contact { grid-template-columns: 1fr; }
  .print-options { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .lightbox img {
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 60px);
  }
  .lightbox-prev { left: 4px; font-size: 22px; }
  .lightbox-next { right: 4px; font-size: 22px; }
  .lightbox-close { top: 12px; right: 12px; }
}

@media (max-width: 500px) {
  footer { flex-direction: column; gap: 8px; text-align: center; }
  #gallery { column-gap: 4px; padding: 4px 4px 0; }
  .gallery-item { margin-bottom: 4px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card-overlay h2 { font-size: 22px; }
  .print-grid { grid-template-columns: 1fr; }
  .carousel-item { flex: 0 0 180px; }
  .gallery-grid { columns: 1; }
  .prints-info { padding-top: 56px; padding-bottom: 56px; }
}
