.pr-hero { padding: 80px 0 56px; border-bottom: 1px solid var(--rule); }
.pr-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 72px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 18px; }
.pr-hero p { font-size: 19px; color: var(--soft); max-width: 640px; margin: 0; }

/* ---------- Prints section on the home page ---------- */
.home-prints { border-top: 1px solid var(--rule); padding: 72px 0 0; }
.home-prints .section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.015em; margin: 0 0 10px; }
.home-prints .section-sub { font-size: 18px; color: var(--soft); margin: 0 0 44px; }

/* ---------- The wall ---------- */
.wall {
  --wall: #5f6b5e;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255,244,220,.22), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.10), transparent 18%, transparent 82%, rgba(0,0,0,.16)),
    var(--wall);
  padding: 96px 0 104px;
}
/* plaster grain */
.wall::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* picture rail */
.wall::before {
  content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 12px; z-index: 3;
  background: linear-gradient(180deg, #f3efe6 0, #ddd6c7 45%, #b9b1a0 100%);
  box-shadow: 0 3px 6px rgba(0,0,0,.28);
}

.gallery {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 80px 64px;
  /* cords stop at the picture rail */
  clip-path: inset(-60px -100vw -200px -100vw);
}
.wall .wrap { max-width: 1320px; }

.piece { margin: 0; position: relative; display: flex; align-items: flex-end; gap: 24px; }

/* ---------- Frames ---------- */
.frame {
  position: relative; display: block; text-decoration: none; cursor: zoom-in;
  box-shadow: 0 2px 3px rgba(0,0,0,.35), 14px 26px 34px -10px rgba(0,0,0,.55);
}
/* hanging cords up to the rail */
.frame::before {
  content: ""; position: absolute; bottom: 100%; left: 30%; right: 30%; height: 1200px; z-index: -1;
  border-left: 1.5px solid rgba(30,26,20,.55); border-right: 1.5px solid rgba(30,26,20,.55);
  pointer-events: none;
}
.frame--gilt {
  padding: 15px;
  background:
    linear-gradient(135deg, #6f5220 0%, #d9bb6c 18%, #a3803c 36%, #f2dc94 52%, #9a7633 70%, #e1c679 86%, #6a4c1c 100%);
}
.frame--black { padding: 11px; background: linear-gradient(135deg, #2b2926, #121110 60%, #2a2825); }
.frame--walnut { padding: 14px; background: linear-gradient(135deg, #5a3a22, #3a2414 55%, #6a4529); }
/* bevel on the moulding */
.frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,.28), inset -2px -2px 0 rgba(0,0,0,.35);
}

.mat {
  display: block; background: #f7f3ea; padding: 36px 34px 42px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), inset 3px 3px 7px rgba(0,0,0,.18);
}
.frame--black .mat { background: #fbf9f3; }
.mat img {
  display: block; height: clamp(220px, 23vw, 320px); width: auto; max-width: 100%;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12), 1px 1px 0 #e0d9c9;
}
.mat.empty {
  width: 240px; height: 300px; display: flex; align-items: center; justify-content: center;
  color: var(--faint); font-family: var(--serif); font-style: italic; font-size: 17px;
}

/* ---------- Small wall label ---------- */
.piece figcaption { margin: 0; }
.wall-label {
  display: block; width: 176px; text-align: left; cursor: pointer;
  background: #fbfaf6; color: var(--ink); border: 0; padding: 14px 16px 13px; font: inherit;
  box-shadow: 0 1px 1px rgba(0,0,0,.25), 3px 6px 10px -4px rgba(0,0,0,.35);
  transition: transform .18s, box-shadow .18s;
}
.wall-label:hover, .wall-label:focus-visible { transform: translateY(-2px); box-shadow: 0 1px 1px rgba(0,0,0,.25), 4px 10px 16px -6px rgba(0,0,0,.45); }
.wall-label:focus-visible { outline: 2px solid #f2dc94; outline-offset: 3px; }
.wall-label span { display: block; }
.wall-label .artist { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--soft); line-height: 1.4; margin-bottom: 6px; }
.wall-label .title { font-family: var(--serif); font-style: italic; font-size: 15.5px; line-height: 1.3; margin-bottom: 5px; }
.wall-label .medium { font-size: 11.5px; line-height: 1.45; color: var(--faint); }
.wall-label .more { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: .02em; }
.wall-label .more::after { content: " \2192"; }

/* ---------- Full label (dialog) ---------- */
.placard {
  border: 0; padding: 0; width: min(920px, 94vw); max-height: 92vh;
  background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.placard::backdrop { background: rgba(28,27,25,.78); }
.placard-inner { display: grid; grid-template-columns: 1.05fr 1fr; max-height: 92vh; }
.placard-img {
  background: #5f6b5e; display: flex; align-items: center; justify-content: center;
  padding: 36px; cursor: zoom-in; border: 0; font: inherit;
}
.placard-img img { max-width: 100%; max-height: 72vh; display: block; box-shadow: 8px 14px 26px -8px rgba(0,0,0,.6); }
.placard-text { padding: 44px 40px 36px; overflow-y: auto; position: relative; }
.placard .artist { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 8px; }
.placard h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; margin: 0 0 8px; }
.placard .medium { font-size: 14px; color: var(--faint); margin: 0 0 20px; }
.placard .story { font-size: 16px; color: var(--soft); line-height: 1.65; margin: 0; }
.placard .flip { margin-top: 22px; background: none; border: 1px solid var(--rule); padding: 8px 14px; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.placard .flip:hover { border-color: var(--ink); }
.placard .close {
  position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; background: none;
  font-size: 26px; line-height: 1; color: var(--soft); cursor: pointer;
}
.placard .close:hover { color: var(--ink); }

/* ---------- Enlarged view ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(28,27,25,.9); }
.lightbox img { display: block; max-width: 94vw; max-height: 88vh; object-fit: contain; }
.lightbox p { color: #e9e4da; text-align: center; font-family: var(--serif); font-style: italic; margin: 10px 0 0; }

/* ---------- Phones ---------- */
@media (max-width: 720px) {
  .wall { padding: 84px 0 72px; }
  .gallery { gap: 72px; clip-path: inset(-48px -100vw -200px -100vw); }
  .piece { flex-direction: column; align-items: center; gap: 22px; }
  .mat { padding: 22px 20px 26px; }
  .piece { width: 100%; }
  .piece figcaption { position: relative; z-index: 1; }
  .frame { max-width: 100%; }
  .mat img { width: 100%; height: auto; }
  .frame--gilt { padding: 11px; }
  .wall-label { width: min(280px, 78vw); }
  .placard-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .placard-img { padding: 24px; }
  .placard-img img { max-height: 46vh; }
  .placard-text { padding: 28px 24px 28px; overflow: visible; }
}
