.p-nav {
  position: sticky; top: 0; z-index: 20; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-300);
  padding: var(--space-300) var(--gutter);
}
.p-nav::before {
  content: ""; position: absolute; inset: 0 0 -28px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(245, 245, 245, 0.75), rgba(245, 245, 245, 0));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.p-nav__brand { font-family: var(--font-hero); font-size: 24px; color: var(--ink); }
.p-nav__links { display: flex; flex-wrap: wrap; gap: var(--space-300); justify-content: flex-end; }
.p-nav__links a {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(42, 42, 42, 0.55); padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.4s ease-out, border-color 0.4s ease-out;
}
.p-nav__links a:hover, .p-nav__links a:focus-visible, .p-nav__links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); outline: none; }

.grain { z-index: 0; }
main { position: relative; z-index: 1; }
.p-intro { padding: var(--space-700) max(var(--gutter), calc((100% - 1040px) / 2)) var(--space-500); }
.p-title .w { display: inline-block; white-space: nowrap; }
.p-title .ch { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(0.4em); animation: p-ch-in 1.2s var(--ease-expo) both; animation-delay: var(--d, 0s); }
@keyframes p-ch-in { to { opacity: 1; filter: blur(0); transform: none; } }
@media (prefers-reduced-motion: reduce) { .p-title .ch { animation: none; opacity: 1; filter: none; transform: none; } }
.p-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--space-300); }
.p-title {
  font-family: var(--font-hero); font-weight: 500; font-size: clamp(44px, 5.5vw, 64px);
  line-height: 1.02; letter-spacing: -0.01em; margin: 0; color: var(--ink);
}
.p-tagline { font-style: italic; font-size: 18px; color: rgba(42, 42, 42, 0.65); margin: var(--space-200) 0 0; }

.p-row {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--space-700); align-items: end; padding: 0 var(--gutter);
}
.p-row--stack { grid-template-columns: minmax(0, 1fr); gap: var(--space-500); padding-bottom: var(--space-900); }
.p-row--stack .p-label { max-width: 540px; }
.p-frame {
  margin: 0; padding: var(--space-400);
  background: var(--surface-light); border: 1px solid rgba(42, 42, 42, 0.08);
  box-shadow: var(--shadow-card);
}
.p-frame { overflow: hidden; transition: transform 0.9s var(--ease-expo), box-shadow 0.9s ease-out; }
.p-frame img { display: block; width: 100%; height: auto; transition: transform 1.4s var(--ease-expo); }
.p-frame:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -28px rgba(42, 42, 42, 0.35); }
.p-frame:hover img { transform: scale(1.015); }

.js .p-section > *, .js .p-row > * { opacity: 0; transform: translateY(20px); transition: opacity 1.2s var(--ease-expo), transform 1.4s var(--ease-expo); }
.js .p-section.is-in > *, .js .p-row.is-in > * { opacity: 1; transform: none; }
.js .p-section.is-in > *:nth-child(2) { transition-delay: 0.12s; }
.js .p-section.is-in > *:nth-child(3) { transition-delay: 0.24s; }

.wall-label__title { transition: color 0.6s ease-out; }
.wall-label:hover .wall-label__title { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .p-frame, .p-frame img, .p-next, .wall-label__title, .js .p-section > *, .js .p-row > * { transition: none !important; transform: none !important; opacity: 1 !important; }
  .p-frame:hover, .p-frame:hover img { transform: none; }
}
@media (hover: none) { .p-frame:hover { transform: none; box-shadow: var(--shadow-card); } .p-frame:hover img { transform: none; } }
.p-frame--tint { background: #ebeae6; }
.p-placeholder {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: var(--space-300); background: transparent; box-shadow: none;
  border: 1px dashed rgba(42, 42, 42, 0.25);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(42, 42, 42, 0.45);
}

.p-label {
  display: grid; row-gap: var(--space-100); align-content: start;
  padding: var(--space-300); background: var(--surface-light);
  border: 1px solid rgba(42, 42, 42, 0.08); box-shadow: var(--shadow-card);
  font-size: 14px; line-height: 1.55; color: rgba(42, 42, 42, 0.72);
}
.p-label p { margin: 0; }
.p-label__cat { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.p-label__title { font-family: var(--font-hero); font-size: 26px; line-height: 1.1; color: var(--ink); margin-top: var(--space-100); }
.p-label__artist { font-style: italic; color: var(--ink); }
.p-label__desc { margin-top: var(--space-200); padding-top: var(--space-200); border-top: 1px solid rgba(42, 42, 42, 0.12); }

.wall-label { max-width: 540px; display: grid; row-gap: var(--space-100); font-size: var(--text-body); line-height: var(--lh-body); color: var(--ink); }
.wall-label p { margin: 0; }
.wall-label__name { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.wall-label__title { font-family: var(--font-hero); font-size: 26px; line-height: 1.1; color: var(--ink); margin-top: var(--space-100); }
.wall-label__sale { color: var(--accent); font-weight: 600; margin-top: var(--space-100); }
.wall-label .wall-label__text { margin-top: calc(var(--space-300) - var(--space-100)); padding-top: var(--space-300); border-top: 1px solid rgba(42, 42, 42, 0.12); }

.p-section { padding: var(--space-900) max(var(--gutter), calc((100% - 1040px) / 2)); }
.p-section h2 {
  font-family: var(--font-hero); font-weight: 400; font-size: var(--text-heading); line-height: var(--lh-heading);
  margin: 0 0 var(--space-300);
}
.p-body { font-size: var(--text-body); line-height: var(--lh-body); max-width: 640px; margin: 0; }
.p-body + .p-body { margin-top: var(--space-300); }

.p-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-700) var(--space-600); }
.p-grid .p-label { max-width: 380px; margin-top: var(--space-300); }
.p-grid > .p-span { grid-column: 1 / -1; }

.p-next {
  display: table; margin-top: var(--space-600);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 4px;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1px no-repeat;
  transition: background-size 0.6s var(--ease-expo), color 0.4s ease-out;
}
.p-next:hover, .p-next:focus-visible { background-size: 100% 1px; color: var(--accent); }
.p-next:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.p-catalogue { margin: 0; max-width: 600px; border-top: 1px solid rgba(42, 42, 42, 0.2); }
.p-catalogue div {
  display: flex; justify-content: space-between; gap: var(--space-300);
  padding: var(--space-200) 0; border-bottom: 1px solid rgba(42, 42, 42, 0.1);
  font-size: var(--text-body); line-height: var(--lh-body);
}
.p-catalogue dt { color: rgba(42, 42, 42, 0.55); }
.p-catalogue dd { margin: 0; text-align: right; }

.p-contact { padding: calc(var(--space-900) * 2) max(var(--gutter), calc((100% - 1040px) / 2)); text-align: center; }
.p-contact h2 {
  font-family: var(--font-hero); font-weight: 500; font-size: clamp(40px, 4.6vw, 54px);
  line-height: 0.98; letter-spacing: -0.02em; margin: 0 0 var(--space-700);
}
.p-contact .contact-row { display: flex; gap: var(--space-200); flex-wrap: wrap; justify-content: center; }

@media (max-width: 900px) {
  .p-row, .p-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-500); }
  .p-nav { flex-direction: column; align-items: flex-start; }
  .p-nav__links { justify-content: flex-start; gap: var(--space-200); }
}
.p-next + .p-next { margin-top: var(--space-200); }
