/* =========================================================================
   v1.1 Ã¢â‚¬â€ styles for the fact-gated templates.
   Appended so nothing above is altered; the existing component styles still
   apply to the markup that kept its class names.
   ========================================================================= */

.screen-reader-text {
  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:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  padding: 0.75rem 1.25rem;
  background: var(--bg-obsidian);
  color: var(--text-light);
  border: 1px solid var(--gold-brass);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-brass-dark);
  outline-offset: 2px;
}

body.has-open-panel {
  overflow: hidden;
}

/* Page banner shared by collection, journal and archives — Light Luxury */
.collection-banner {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(223, 190, 123, 0.28) 0%, transparent 55%),
    radial-gradient(circle at 15% 80%, rgba(197, 160, 89, 0.15) 0%, transparent 50%),
    #FAF7F2;
  color: var(--text-main);
  padding: 9.5rem 0 4.5rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  overflow: hidden;
}

.collection-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #DFBE7B 25%, #B8873B 50%, #DFBE7B 75%, transparent);
}

.collection-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B8873B;
  font-weight: 700;
  margin-bottom: 1rem;
}

.collection-banner-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: #B8873B;
}

.collection-banner-title {
  font-family: var(--font-serif-editorial);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.collection-banner-copy {
  color: var(--text-muted);
  max-width: 65ch;
  line-height: 1.8;
}

/* Filter bar as links */
.filter-bar a.filter-btn {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  text-decoration: none;
}

/* Reads as an annotation on the label, not another word in it: smaller, lifted,
   and in brass so it never competes with the category name. */
.filter-count {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-brass);
  font-variant-numeric: tabular-nums;
  position: relative;
  top: -0.35em;
  opacity: 0.85;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.filter-btn.active .filter-count {
  color: var(--gold-brass-dark);
  opacity: 1;
}

.result-count {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Narrative prose used by the story beats */
.narrative-prose {
  max-width: 68ch;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.narrative-prose>p {
  margin-bottom: 1.2rem;
}

.section-sub {
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 1rem;
}

.pull-quote {
  border-left: 3px solid var(--gold-brass);
  background: var(--bg-sand-warm);
  padding: 1.6rem 2rem;
  margin: 2rem 0;
  font-family: var(--font-serif-editorial);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--text-main);
}

.pull-quote p:last-child {
  margin-bottom: 0;
}

.section-art-of-brass .pull-quote {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
}

/* Empty states Ã¢â‚¬â€ these appear wherever a fact or a photograph is missing */
.empty-state {
  border: 1px dashed rgba(197, 160, 89, 0.45);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  margin: 2rem 0;
}

.empty-state p {
  margin-bottom: 0.5rem;
}

.empty-state-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* Object card additions */
.product-card .product-title a,
.product-img-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.product-img-empty {
  display: block;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(45deg,
      rgba(197, 160, 89, 0.06) 0 10px,
      transparent 10px 20px),
    #1d1c1a;
}

/* =====================================================
   SINGLE HERITAGE OBJECT PAGE
   ===================================================== */

.object-single {
  background: var(--bg-sand);
  padding-top: calc(118px + 3.5rem);
  padding-bottom: 7rem;
}

@media (max-width: 992px) {
  .object-single {
    padding-top: calc(118px + 2rem);
    padding-bottom: 5rem;
  }
}

@media (max-width: 576px) {
  .object-single {
    padding-top: calc(118px + 1.5rem);
    padding-bottom: 4rem;
  }
}

/* ── Collection / shop card image: match the homepage featured card ──
   The base rules in front-page.css frame these images with 20px of padding, a
   fixed 380px box and `object-fit: contain`, which left a visible cream border
   on every side. Same 4:5 edge-to-edge treatment as .da-featured instead. */
.product-card .product-img-box {
  height: auto;
  aspect-ratio: 4 / 5;
  padding: 0;
  display: block;
  overflow: hidden;
}

.product-card .product-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card .product-img-box img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  /* !important to beat `object-fit: contain !important` in front-page.css. */
  object-fit: cover !important;
  object-position: center center;
  display: block;
  margin: 0;
  /* drop-shadow only reads as a halo once the image fills its box. */
  filter: none;
  /* Hover zoom removed here too, matching the homepage. */
  transform: none !important;
  transition: none !important;
}

.product-card:hover .product-img-box img {
  transform: none !important;
}
