/* The public House: warm paper, substantial headings and restrained inscriptions.
   This layer changes presentation only; product artwork and book-page type retain
   their own materials, colours and typography. */
@font-face {
  font-family: ObjectSerif;
  src: url('/assets/shop-fonts/cormorant-garamond-500.woff') format('woff');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: ObjectSerif;
  src: url('/assets/shop-fonts/cormorant-garamond-600.woff') format('woff');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #faf7ef;
  --ink: #292727;
  --quiet: #645e58;
  --line: #d8d0c5;
  --bl-red: #6e303c;
  --action-ink: #292727;
  --action-paper: #faf7ef;
  --action-line: #4e4843;
  --action-muted: #c9bfb3;
}

/* Keep the established serif, using its genuine medium weight. */
:is(.bl-banner-copy, .bl-family-story-copy, .bl-house-campaign-copy,
    .collection-products > header, .collection-options, .collection-related,
    .collection-invitation-copy, .mark-brief, .save-mark-screen,
    .quiet-product-heading, .founding-introduction, .founding-writing-heading,
    .shop-account, .review-page, .order-page, .object-facts) > :is(h1, h2),
.bl-family-story-copy > div > h2,
.customer-information .info-hero h1,
.customer-information .info-section h2,
.bl-information .bl-info-main :is(h1, h2),
.collection-scene-copy h3 {
  font-weight: 500;
}

/* A form's heading is nested inside the form, not directly in its section. */
.mark-brief > form > h1,
.collection-related > header h2,
.quiet-atelier-controls > h1,
.purchased-mark > h1 {
  font-weight: 500;
}

/* Inscription treatment belongs to names, not to ordinary body copy. */
.mark-result-house,
.bl-family-story-copy .bl-family-house,
.bl-house-inscription,
.purchased-mark > h1 {
  font-family: ObjectSerif, Georgia, serif;
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 1.45;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-wrap: balance;
  max-width: 100%;
}

.bl-family-story-copy .bl-family-house,
.bl-house-inscription {
  color: var(--bl-red);
  font-size: 15px;
}

.mark-result-house {
  max-width: min(100%, 780px);
  padding-inline: 12px;
}

.collection-scene-copy > p {
  font-family: ObjectSerif, Georgia, serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .15em;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-wrap: balance;
  /* Colour deliberately inherits the existing light text over photography. */
}

.founding-mark > span:not([aria-hidden]) {
  font-family: ObjectSerif, Georgia, serif;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.4;
  min-width: 0;
  overflow-wrap: anywhere;
}
.founding-mark > span > small {
  font: 400 12px/1.6 ObjectSans, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

/* Short supporting descriptions remain straightforward and easy to read. */
.bl-banner-copy > p:not(.collection-gift-entry),
.bl-family-story-copy > div > p:not(.bl-family-house),
.bl-house-campaign-copy > p:not(.bl-house-inscription) {
  font-family: ObjectSans, Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0;
  color: var(--quiet);
}
.bl-banner-copy > .collection-mark-link {
  font: 400 13px/1.6 ObjectSans, Arial, sans-serif;
}
.collection-eyebrow {
  color: var(--bl-red);
}
.collection-description,
.collection-note,
.collection-product-details p {
  color: var(--quiet);
}

/* Oxblood appears at interactions and fine accents, not as a page wash. */
:is(.mark-result-actions .mark-commission-primary,
    .mark-brief .mark-actions .mark-create,
    .save-mark-screen .mark-actions .mark-create,
    .founding-secondary .founding-pieces-primary,
    .collection-options .collection-create,
    .quiet-add-to-basket, .pay-button):hover:not(:disabled) {
  background: var(--bl-red);
  border-color: var(--bl-red);
  color: var(--action-paper);
}
.collection-categories button[aria-pressed=true] {
  border-bottom-color: var(--bl-red);
  color: var(--bl-red);
}
.collection-options .collection-materials button[aria-pressed=true],
.collection-options .collection-foils button[aria-pressed=true] {
  border-color: var(--bl-red);
  box-shadow: inset 0 0 0 1px var(--bl-red);
}
:is(button, a, input, textarea, select):focus-visible,
.mark-upload:focus-visible + .upload-link {
  outline-color: var(--bl-red);
}
.bl-home-film :is(button, a):focus-visible,
.collection-scene a:focus-visible {
  outline-color: currentColor;
}
.bl-home-film-header[data-tone=solid] :is(button, a):focus-visible {
  outline-color: var(--bl-red);
}

@media (max-width: 600px) {
  .mark-result-house,
  .bl-family-story-copy .bl-family-house,
  .bl-house-inscription,
  .purchased-mark > h1 {
    letter-spacing: .1em;
  }
  .bl-family-story-copy .bl-family-house,
  .bl-house-inscription,
  .collection-scene-copy > p {
    font-size: 14px;
  }
  .founding-mark > span:not([aria-hidden]) {
    letter-spacing: .08em;
  }
}

/* Occasional architectural still life, followed by an ivory caption. */
.bl-house-campaign { background: var(--paper); color: var(--ink); }
.bl-house-campaign figure { margin: 0; }
.bl-house-campaign figure > img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
.bl-house-campaign .bl-house-campaign-copy { position: static; padding: clamp(38px, 5vw, 76px) 24px; text-align: center; background: var(--paper); color: var(--ink); }
.bl-house-campaign-copy .bl-house-inscription { margin: 0 0 18px; }
.bl-house-campaign-copy h2 { margin: 0 0 16px; font: 500 clamp(32px, 3.4vw, 48px)/1.15 ObjectSerif, Georgia, serif; }
.bl-house-campaign-copy > p:not(.bl-house-inscription) { margin: 0 0 25px; }
.bl-house-campaign .bl-house-campaign-copy a { display: inline-flex; align-items: center; justify-content: center; gap: 20px; width: auto; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--bl-red); color: var(--ink); font: 400 13px/1.5 ObjectSans, Arial, sans-serif; text-decoration: none; }
.bl-house-campaign .bl-house-campaign-copy a:hover { color: var(--bl-red); }
.bl-house-campaign-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 36px; }
.collection-grid .bl-house-campaign { border-radius: 0; overflow: visible; }
.collection-grid .bl-house-campaign figure > img { position: static; height: auto; min-height: 0; aspect-ratio: 2 / 1; object-fit: contain; }
@media (max-width: 600px) {
  .bl-house-campaign .bl-house-campaign-copy { padding: 34px 24px 40px; }
  .bl-house-campaign-copy .bl-house-inscription { margin-bottom: 13px; }
  .bl-house-campaign-links { flex-direction: column; align-items: center; gap: 12px; }
}
/* This campaign has an in-flow caption, unlike the existing photo overlays. */
.collection-grid .bl-house-campaign { aspect-ratio: auto; }
.bl-house-campaign::after { display: none; }

/* The advertising plates share a full-width spread; phones show one whole photograph per swipe. */
.bl-campaign-gallery { position: relative; isolation: isolate; }
.bl-campaign-track {
  display: flex; width: 100%; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; background: #183033;
}
.bl-campaign-track::-webkit-scrollbar { display: none; }
.bl-campaign-track > img {
  display: block; flex: 0 0 50%; width: 50%; height: auto; aspect-ratio: 1 / 1;
  min-width: 0; object-fit: cover; object-position: 50% 60%; scroll-snap-align: start;
}
.bl-campaign-track > .bl-campaign-wide { flex-basis: 100%; width: 100%; aspect-ratio: 2 / 1; object-position: center; }
.bl-campaign-controls { position: absolute; right: clamp(14px,3vw,50px); bottom: clamp(14px,2vw,30px); display: flex; gap: 8px; }
.bl-campaign-controls button { width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(23,23,28,.74); color: #fff; font: 26px/1 ObjectSans, sans-serif; cursor: pointer; }
.bl-campaign-controls button:disabled { opacity: .42; cursor: default; }
.bl-campaign-controls button:focus-visible, .bl-campaign-track:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
@media (max-width:700px) {
  .bl-campaign-track > img, .bl-campaign-track > .bl-campaign-wide { flex-basis: 100%; width: 100%; aspect-ratio: 4 / 5; object-position: center; }
}

/* Match the opening photograph's native frame instead of zooming it to fill 2:1. */
.collection-book-hero .bl-campaign-track{aspect-ratio:1921/819;min-height:0}
.collection-book-hero .bl-campaign-track>img{height:100%;min-height:0;aspect-ratio:auto}
@media(max-width:700px){.collection-book-hero .bl-campaign-track{aspect-ratio:1122/1402}}
