/* ═══════════════════════════════════════════════
   Private Reserve — controlled-access layer
   Base: DHV Dark Monument · amplified restraint
═══════════════════════════════════════════════ */

:root {
  /* Private Reserve adds: frost borders (Resend), cooler depth */
  --pr-frost-1: rgba(232, 228, 223, 0.08);
  --pr-frost-2: rgba(232, 228, 223, 0.14);
  --pr-frost-glow: rgba(205, 169, 138, 0.07);
  --pr-lock-bg: rgba(10, 14, 24, 0.65);
}

/* ── PR scope: deeper ink + serif italic register ── */
body.private-reserve {
  background: var(--lum-0);
  /* B. Deeper ink — push the whole luminance scale half a stop darker */
  --lum-0: #00010380;
  --lum-0: #000104;
  --lum-1: #02050b;
  --lum-2: #060912;
  --lum-3: #0a0e18;
  --lum-4: #10141e;
  --lum-5: #161b25;
}

/* D. Italic eyebrows — PR speaks in serif italic where public listings speak in sans caps */
body.private-reserve .eyebrow span,
body.private-reserve .pr-section-chapter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 1rem;
  color: var(--hazelnut);
}
body.private-reserve .eyebrow--stack span { font-size: 0.95rem; }
/* Drop the eyebrow's hazelnut hairline before/after — italic serif doesn't need the typographic frame */
body.private-reserve .eyebrow::before,
body.private-reserve .eyebrow::after,
body.private-reserve .eyebrow--stack::before,
body.private-reserve .eyebrow--stack::after {
  background: transparent;
}

/* F. Discretion rule — sticky bar at the very top of the page.
   The site-wide fixed nav (z-index 100) gets shifted down by the bar's height
   via the body:has(...) rule below. Bar's z-index sits above the nav. */
.pr-discretion-rule {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #000;
  border-bottom: 1px solid rgba(205, 169, 138, 0.18);
  padding: 0.55rem clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--gray-soft);
  line-height: 1.5;
  /* Height variable consumed by nav offset below — keep these in sync */
}
.pr-discretion-rule em { color: var(--hazelnut); font-style: italic; }
/* Push the fixed nav + hero down by the bar's actual rendered height on any page that has it */
body:has(.pr-discretion-rule) .nav {
  top: 2.35rem;
}
body:has(.pr-discretion-rule) .listing-hero {
  min-height: calc(100vh - 2.35rem);
}
@media (max-width: 720px) {
  .pr-discretion-rule { font-size: 0.68rem; padding: 0.5rem 1rem; }
  body:has(.pr-discretion-rule) .nav { top: 2.1rem; }
  body:has(.pr-discretion-rule) .listing-hero { min-height: calc(100vh - 2.1rem); }
}

/* The Long Story — accordion chapter narrative section on PR listings */
.pr-long-story {
  background: #000 !important;
}
.pr-long-story details {
  max-width: 760px;
  margin: 0 auto;
}
.pr-long-story details summary {
  list-style: none;
  cursor: pointer;
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--pr-frost-1);
  border-bottom: 1px solid var(--pr-frost-1);
  transition: border-color 0.3s ease;
}
.pr-long-story details summary::-webkit-details-marker { display: none; }
.pr-long-story details summary:hover {
  border-color: rgba(205, 169, 138, 0.35);
}
.pr-long-story details summary .summary-eyebrow {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.6rem;
  color: var(--hazelnut);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.pr-long-story details summary .summary-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--porcelain);
  line-height: 1.2;
}
.pr-long-story details summary .summary-title em { color: var(--hazelnut); }
.pr-long-story details summary .summary-toggle {
  display: inline-block;
  margin-left: 0.75rem;
  color: var(--hazelnut);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  vertical-align: middle;
  transition: transform 0.3s ease;
}
.pr-long-story details[open] summary .summary-toggle {
  /* On open, label changes via CSS content trick */
}
.pr-long-story details summary .summary-toggle::before {
  content: 'Read ↓';
}
.pr-long-story details[open] summary .summary-toggle::before {
  content: 'Close ↑';
}
.pr-long-story-body {
  padding-top: 4rem;
}
.pr-long-story h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--porcelain);
  margin: 1.25rem 0 1.75rem;
}
.pr-long-story h3 em { font-style: italic; color: var(--hazelnut); }
.pr-long-story p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--gray);
  margin-bottom: 1.25rem;
}
.pr-long-story .signature-line {
  font-family: var(--serif);
  font-style: italic;
  color: var(--porcelain);
  font-size: 1.15rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--pr-frost-1);
}

/* ── Gate page hero ── */
.pr-gate {
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10rem clamp(1.5rem, 4vw, 3rem) 6rem;
  position: relative;
  overflow: hidden;
}
.pr-gate::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, var(--pr-frost-glow) 0%, transparent 45%),
    linear-gradient(180deg, var(--lum-0) 0%, var(--lum-1) 100%);
  z-index: 0;
}
/* When the randomized page-bg image is active, let it show through.
   Use body background directly (bypasses .page-bg div stacking issues on
   pages with full-bleed themed pseudo-elements like .pr-gate::before). */
body.private-reserve.has-page-bg {
  background-color: var(--lum-0) !important;
  background-image: var(--pr-backdrop, none) !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}
/* Ink overlay layered on top of body bg */
body.private-reserve.has-page-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(1, 4, 12, 0.78);
  pointer-events: none;
}
/* Hide the .page-bg div on PR pages — body background handles it */
body.private-reserve.has-page-bg > .page-bg { display: none; }
/* Ensure content sits above the overlay (skip-link stays absolute/offscreen — handled in base.css) */
body.private-reserve.has-page-bg > nav,
body.private-reserve.has-page-bg > main,
body.private-reserve.has-page-bg > footer {
  position: relative;
  z-index: 1;
}
/* Drop the opaque dark gradient from the gate so body bg shows through */
body.private-reserve.has-page-bg .pr-gate::before {
  background: radial-gradient(ellipse at center, var(--pr-frost-glow) 0%, transparent 45%);
}
.pr-gate-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
}

/* Ferrari-scale restraint — smaller than home */
.pr-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--porcelain);
  margin-bottom: 1.5rem;
}
.pr-display em { font-style: italic; color: var(--hazelnut); }

.pr-body {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 44ch;
  margin: 0 auto 2rem;
}
.pr-body em { font-style: italic; color: var(--hazelnut); }

.pr-filter-line {
  font-family: var(--serif);
  font-style: italic;
  color: var(--porcelain);
  font-size: 1.05rem;
  margin: 2.5rem auto;
  max-width: 34ch;
}

/* ── Frosted glass form container (Apple-style) ── */
.pr-form-panel {
  background: rgba(20, 24, 34, 0.55);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  border: 1px solid var(--pr-frost-1);
  border-radius: 16px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  margin: 2.5rem auto 0;
  max-width: 480px;
  text-align: left;
}

.pr-form .form-field { margin-bottom: 1.5rem; }
.pr-form .form-field:last-of-type { margin-bottom: 0; }
.pr-form label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--hazelnut);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.pr-form input,
.pr-form select,
.pr-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--pr-frost-1);
  color: var(--porcelain);
  font: 300 0.95rem var(--sans);
  padding: 0.65rem 0;
  transition: border-color 0.3s ease;
  font-family: var(--sans);
}
.pr-form textarea { resize: vertical; min-height: 88px; line-height: 1.6; }
.pr-form input:focus,
.pr-form select:focus,
.pr-form textarea:focus {
  outline: none;
  border-bottom-color: var(--hazelnut);
}
.pr-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gray-soft) 50%), linear-gradient(135deg, var(--gray-soft) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.pr-form select option { background: var(--lum-3); color: var(--porcelain); }

.pr-form-submit {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.pr-form-note {
  font-size: 0.7rem;
  color: var(--gray-soft);
  letter-spacing: 0.08em;
  text-align: center;
  font-style: italic;
}

/* ── Case hero (for individual listing) ── */
.pr-case-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  padding: 10rem clamp(1.5rem, 4vw, 3rem) 5rem;
  overflow: hidden;
}
.pr-case-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--lum-3), var(--lum-1));
  z-index: -2;
}
.pr-case-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, var(--pr-frost-glow) 0%, transparent 50%);
}
.pr-case-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,2,6,0.55) 0%, rgba(0,2,6,0.45) 40%, rgba(0,2,6,0.95) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(0,2,6,0.5) 0%, transparent 70%);
  z-index: -1;
}
.pr-case-hero-bg {
  filter: brightness(0.85) saturate(0.9);
}
.pr-case-hero-content {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.pr-case-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 1.5rem 0 1.75rem;
  max-width: 16ch;
  color: var(--porcelain);
}
.pr-case-hero h1 em { font-style: italic; color: var(--hazelnut); }
.pr-case-hero .lead {
  max-width: 44ch;
  font-size: 1rem;
  color: var(--gray);
}

.pr-meta-row {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--pr-frost-1);
  flex-wrap: wrap;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--gray-soft);
  text-transform: uppercase;
}
.pr-meta-row span { display: flex; flex-direction: column; gap: 0.35rem; }
.pr-meta-row strong {
  color: var(--porcelain);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.9rem;
}

/* ── PR section — narrative blocks ── */
.pr-section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}
.pr-section--lum1 { background: var(--lum-1); }
.pr-section--lum2 { background: var(--lum-2); border-top: 1px solid var(--pr-frost-1); border-bottom: 1px solid var(--pr-frost-1); }
.pr-section--lum3 { background: var(--lum-3); border-top: 1px solid var(--pr-frost-2); border-bottom: 1px solid var(--pr-frost-2); }

.pr-section-chapter {
  font-family: var(--serif);
  font-size: 0.82rem;
  color: var(--hazelnut);
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  font-style: italic;
}

.pr-narrative {
  max-width: 640px;
  margin: 0 auto;
}
.pr-narrative h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: var(--porcelain);
  margin-bottom: 2rem;
}
.pr-narrative h2 em { font-style: italic; color: var(--hazelnut); }
.pr-narrative p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--gray);
  margin-bottom: 1.25rem;
  max-width: none;
}
.pr-narrative p em { font-style: italic; color: var(--porcelain); }
.pr-narrative .signature-line {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--porcelain);
  line-height: 1.5;
  margin: 2.5rem 0 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--hazelnut);
}

/* ── Withheld block (the distinctive editorial moment) ── */
.pr-withheld {
  max-width: 640px;
  margin: 0 auto;
}
.pr-withheld ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}
.pr-withheld li {
  font-size: 0.88rem;
  color: var(--gray);
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--pr-frost-1);
}
.pr-withheld li:last-child { border-bottom: 0; }
.pr-withheld li::before {
  content: '·';
  position: absolute;
  left: 0.5rem;
  color: var(--hazelnut);
  font-weight: 700;
}
.pr-withheld-close {
  font-family: var(--serif);
  font-style: italic;
  color: var(--porcelain);
  font-size: 1.05rem;
  margin-top: 2rem;
  line-height: 1.5;
}

/* ── Inquiry block (per-property) ── */
.pr-inquiry {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.pr-inquiry h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  color: var(--porcelain);
  margin-bottom: 1.25rem;
}
.pr-inquiry h2 em { font-style: italic; color: var(--hazelnut); }
.pr-inquiry p {
  font-size: 0.95rem;
  color: var(--gray);
  margin: 0 auto 2rem;
  max-width: 46ch;
  line-height: 1.65;
}

/* ── Listings index — Linear luminance stacking ── */
.pr-index-header {
  max-width: var(--narrow);
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}
.pr-index-filter {
  font-family: var(--serif);
  font-style: italic;
  color: var(--porcelain);
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 1.5rem auto 0;
  max-width: 34ch;
}

.pr-listings {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 4rem auto 0;
}
.pr-listing-card {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--lum-2);
  border: 1px solid var(--pr-frost-1);
  border-radius: 4px;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
  color: inherit;
  align-items: center;
}
.pr-listing-card:hover {
  background: var(--lum-3);
  border-color: var(--pr-frost-2);
}
.pr-listing-card .img-placeholder {
  aspect-ratio: 4/3;
  border-radius: 2px;
  background: linear-gradient(145deg, var(--lum-4), var(--lum-1));
}
.pr-listing-content h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--porcelain);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.pr-listing-content h3 em { font-style: italic; color: var(--hazelnut); }
.pr-listing-content .pr-region {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--hazelnut);
  margin-bottom: 0.75rem;
}
.pr-listing-content p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
  max-width: 48ch;
}
.pr-listing-arrow {
  color: var(--hazelnut);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: transform 0.4s var(--ease);
  white-space: nowrap;
}
.pr-listing-card:hover .pr-listing-arrow { transform: translateX(4px); }

@media (max-width: 768px) {
  .pr-listing-card {
    grid-template-columns: 1fr;
  }
  .pr-listing-card .img-placeholder { aspect-ratio: 16/10; }
  .pr-listing-arrow { margin-top: 0.5rem; }
}

/* ── Quick specs grid ── */
.pr-specs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--pr-frost-1);
  border: 1px solid var(--pr-frost-1);
  border-radius: 2px;
  max-width: 960px;
  margin: 0 auto;
}
.pr-spec {
  background: var(--lum-2);
  padding: 1.75rem 1rem;
  text-align: center;
}
.pr-spec-value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--porcelain);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
}
.pr-spec-label {
  font-size: 0.55rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hazelnut);
}
@media (max-width: 768px) {
  .pr-specs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .pr-specs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Gallery ── */
.pr-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.pr-gallery-tile {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--pr-frost-1);
  border-radius: 2px;
  transition: transform 0.6s var(--ease), border-color 0.4s;
  cursor: pointer;
}
.pr-gallery-tile:hover {
  transform: scale(1.02);
  border-color: var(--pr-frost-2);
}
.pr-gallery-tile.span-2 { grid-column: span 2; aspect-ratio: 16/9; }
@media (max-width: 768px) {
  .pr-gallery { grid-template-columns: repeat(2, 1fr); }
  .pr-gallery-tile.span-2 { grid-column: span 2; }
}

/* ── Three-column highlights ── */
.pr-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  max-width: var(--max);
  margin: 0 auto;
}
.pr-highlight-col h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--porcelain);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.pr-highlight-col .pr-col-label {
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--hazelnut);
  margin-bottom: 1.25rem;
  display: block;
}
.pr-highlight-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--pr-frost-1);
}
.pr-highlight-col li {
  padding: 0.85rem 0;
  font-size: 0.9rem;
  color: var(--gray);
  border-bottom: 1px solid var(--pr-frost-1);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .pr-highlights { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Location & Access ── */
.pr-location-narrative {
  max-width: 640px;
  margin: 0 auto;
}
.pr-location-narrative strong {
  color: var(--porcelain);
  font-weight: 400;
}

/* ── Agent / Team card ── */
.pr-agent {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--lum-2);
  border: 1px solid var(--pr-frost-1);
  border-radius: 4px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.pr-agent-person {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  border-right: 1px solid var(--pr-frost-1);
}
.pr-agent-person:last-child { border-right: 0; }
.pr-agent-avatar {
  width: 96px;
  height: 96px;
  min-width: 96px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--lum-4), var(--lum-1));
  border: 1px solid var(--pr-frost-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-soft);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.pr-agent-info h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--porcelain);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.pr-agent-info .pr-agent-role {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hazelnut);
  margin-bottom: 0.75rem;
  display: block;
}
.pr-agent-info a {
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  transition: color 0.3s;
}
.pr-agent-info a:hover { color: var(--hazelnut); }
.pr-agent-brokerage {
  padding: 1.25rem clamp(2rem, 4vw, 3rem);
  background: var(--lum-1);
  border-top: 1px solid var(--pr-frost-1);
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.72rem;
  color: var(--gray-soft);
  letter-spacing: 0.08em;
  font-style: italic;
}
@media (max-width: 768px) {
  .pr-agent { grid-template-columns: 1fr; }
  .pr-agent-person { border-right: 0; border-bottom: 1px solid var(--pr-frost-1); }
  .pr-agent-person:last-of-type { border-bottom: 0; }
}

/* ── Thanks page ── */
.pr-thanks {
  min-height: 80dvh;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10rem 2rem 6rem;
}
.pr-thanks .pr-display { max-width: 18ch; }

/* ── Reduced motion already handled by base.css ── */

/* ── Listing credits — canonical photographer-credit pattern ──
   DHV standard for every listing page (per CC-brief-listing-page).
   Photographer name + link always travel together. Tokens mapped from the
   canonical source: --divider→--edge-2, --shuttle-dark→--gray, --westar→--porcelain. */
.credits {
  margin-top: 5rem;
  padding: 2rem 0 0;
  border-top: 1px solid var(--edge-2);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem 2rem;
}
.credits-line { display: flex; flex-direction: column; gap: 0.35rem; }
.credits-line .label {
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
}
.credits-line .value {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--porcelain);
}
.credits-line .value a {
  color: var(--hazelnut);
  text-decoration: none;
  border-bottom: 1px solid rgba(205, 169, 138, 0.35);
  transition: border-color 0.2s;
}
.credits-line .value a:hover { border-color: var(--hazelnut); }
