/* Public website presentation. Commerce controls and private workspaces retain their own styles. */
body.public-website,
body:not(.in-command-center):not(.in-command-access):has(
    .bc-website-home,
    .catalog-experience,
    .research-product,
    .circle-public
  ) {
  --website-paper: #f8f5ef;
  --website-ink: #251c1f;
  --website-wine: #571c30;
  --website-rule: #dcd3ca;
  background: var(--website-paper);
  color: var(--website-ink);
  font-family: 'DM Sans', Arial, sans-serif;
}
body.public-website :is(h1, h2, h3),
:is(.bc-website-home, .catalog-experience, .research-product, .circle-public) :is(h1, h2, h3),
.bc-product-film h2 {
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.055em;
  line-height: 1.04;
}
body.public-website > .header,
body:not(.in-command-center):not(.in-command-access):has(
    .bc-website-home,
    .catalog-experience,
    .research-product,
    .circle-public
  )
  > .header {
  min-height: 82px;
  background: #f8f5ef;
  border-bottom: 1px solid #dcd3ca;
  padding-inline: clamp(20px, 3vw, 56px);
  gap: clamp(12px, 2vw, 28px);
}
body.public-website .header .brand img.brand-wordmark,
body:has(.bc-website-home) .header .brand img.brand-wordmark {
  width: clamp(140px, 12vw, 185px);
}
body.public-website .header nav a {
  font-size: 13px;
  font-weight: 600;
}
.bc-website-home {
  --website-rule: #dcd3ca;
  --website-quiet: #685b5c;
  color: #251c1f;
  background: #f8f5ef;
}
.bc-website-home :is(section, nav, div, article) {
  min-width: 0;
}
.bc-website-home h2 {
  font-size: clamp(30px, 3.4vw, 50px);
}
.bc-website-home h3 {
  font-size: clamp(21px, 2vw, 29px);
}
.bc-website-home .eyebrow {
  font:
    600 11px/1.5 'DM Sans',
    Arial,
    sans-serif;
  letter-spacing: 0.14em;
}
.bc-website-home p {
  color: #685b5c;
}
.bc-website-home .text-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}
.bc-website-home .button {
  border-radius: 4px;
  min-height: 48px;
  font:
    600 13px/1.4 'DM Sans',
    Arial,
    sans-serif;
  padding: 15px 21px;
}
.bc-website-home :is(.button, .text-link) {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.bc-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 4.4vw, 68px) max(24px, calc((100vw - 1320px) / 2));
  background: #571c30;
  color: #fff9f0;
}
.bc-home-hero-copy {
  padding-block: 20px;
}
.bc-home-hero .eyebrow {
  color: #e6c9ce;
  margin-bottom: 22px;
}
.bc-home-hero h1 {
  font-size: clamp(45px, 5.2vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  max-width: 740px;
}
.bc-home-hero .bc-home-lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  color: #ead9dc;
  max-width: 430px;
  margin-top: 26px;
}
.bc-home-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 30px;
}
.bc-home-hero .button {
  color: #571c30;
  background: #fff9f0;
  border-color: #fff9f0;
}
.bc-home-hero .text-link {
  color: #fff9f0;
  border-color: #bc929d;
}
.bc-home-hero .bc-home-purpose {
  margin-top: 28px;
  font-size: 11px;
  line-height: 1.6;
  color: #d9b7c0;
}
.bc-home-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  border-top: 1px solid #875063;
  margin-top: 26px;
  padding-top: 16px;
  font-size: 10px;
  color: #e6c9ce;
}
.bc-home-featured {
  margin: 0;
  background: #f4efe7;
  color: #571c30;
}
.bc-home-featured-top {
  display: flex;
  justify-content: space-between;
  padding: 17px 22px 0;
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.bc-home-featured-image {
  display: block;
}
.bc-home-featured-image img {
  width: 100%;
  height: clamp(270px, 29vw, 440px);
  object-fit: contain;
  mix-blend-mode: multiply;
}
.bc-home-featured figcaption {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 0 22px;
  padding: 16px 0 20px;
  border-top: 1px solid #d6c6c4;
}
.bc-home-featured strong {
  display: block;
  font-size: 23px;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.bc-home-featured figcaption span {
  display: block;
  font-size: 11px;
  margin-top: 5px;
}
.bc-home-featured figcaption > a {
  display: grid;
  place-items: center;
  border: 1px solid #cdbbbc;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.bc-home-featured figcaption small {
  grid-column: 1 / -1;
  font-size: 9px;
  color: #78676a;
}
.bc-home-entrypoints {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--website-rule);
}
.bc-home-entrypoints a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  padding: 23px 24px;
  align-items: start;
  border-right: 1px solid var(--website-rule);
}
.bc-home-entrypoints a:first-child {
  padding-left: 0;
}
.bc-home-entrypoints a:last-child {
  border-right: 0;
  padding-right: 0;
}
.bc-home-entrypoints a > span {
  font-size: 9px;
  color: #8a7174;
  padding-top: 4px;
}
.bc-home-entrypoints strong {
  font-size: 14px;
  font-weight: 700;
}
.bc-home-entrypoints p {
  font-size: 11px;
  line-height: 1.5;
  margin-top: 3px;
}
.bc-home-entrypoints b {
  font-size: 17px;
  font-weight: 400;
}
.bc-website-home
  :is(.bc-home-catalog, .bc-home-documentation, .bc-home-partners, .bc-home-support) {
  padding: clamp(38px, 5vw, 70px) var(--page-gutter);
}
.bc-home-catalog > header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 27px;
}
.bc-website-home section > header .eyebrow,
.bc-home-documentation > div > .eyebrow,
.bc-home-support .eyebrow {
  margin-bottom: 12px;
}
.bc-home-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.bc-home-products article {
  min-width: 0;
}
.bc-home-product-image {
  display: block;
  position: relative;
  background: #f0eae2;
  overflow: hidden;
}
.bc-home-product-image img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 220ms ease;
}
.bc-home-product-image:hover img {
  transform: scale(1.035);
}
.bc-home-product-image > span {
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-size: 21px;
}
.bc-home-product-label {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 16px;
}
.bc-home-product-label h3 {
  font-size: 20px;
  letter-spacing: -0.035em;
}
.bc-home-product-label > span {
  font-size: 11px;
  white-space: nowrap;
  color: #685b5c;
}
.bc-home-products article > p {
  font-size: 14px;
  color: #571c30;
  margin: 7px 0;
}
.bc-home-products .text-link {
  min-height: 36px;
}
.bc-home-products small {
  display: block;
  font-size: 9px;
  color: #786a6a;
  line-height: 1.6;
  margin-top: 7px;
}
.bc-home-film {
  background: #eee7df;
  color: #251c1f;
}
.bc-home-film > header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding: 30px var(--page-gutter) 22px;
}
.bc-home-film > header > p {
  font-size: 11px;
  color: #685b5c;
}
.bc-home-film h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  margin: 0;
}
.bc-home-film > figure {
  margin: 0;
}
.bc-home-film-frame {
  position: relative;
  width: 100%;
  max-height: 650px;
  aspect-ratio: 16 / 9;
  background: #f8f5ef;
  overflow: hidden;
}
.bc-home-film-frame :is(picture, img, video) {
  display: block;
  width: 100%;
  height: 100%;
}
.bc-home-film-frame :is(img, video) {
  object-fit: contain;
  object-position: center;
}
.bc-home-film-frame video {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.bc-home-film[data-film-frame='video'] video {
  opacity: 1;
}
.bc-home-film figcaption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  padding: 16px var(--page-gutter) 20px;
  align-items: start;
}
.bc-home-film figcaption > p {
  color: #685b5c;
  font-size: 10px;
  line-height: 1.6;
  max-width: 680px;
}
.bc-home-film-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bc-home-film-controls button {
  font:
    600 11px/1.4 'DM Sans',
    Arial,
    sans-serif;
  color: #571c30;
  background: transparent;
  border: 1px solid #968a7c;
  border-radius: 4px;
  min-height: 44px;
  min-width: 86px;
  padding: 10px 16px;
}
.bc-home-film-controls button[hidden] {
  display: none;
}
.bc-home-film-status {
  grid-column: 1 / -1;
  color: #685b5c;
  font-size: 10px;
  min-height: 1em;
}
.bc-product-film {
  margin-top: 24px;
}
.bc-product-film > header,
.bc-product-film figcaption {
  padding-inline: 24px;
}
.bc-home-documentation {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 6vw, 90px);
  background: #fffcf7;
}
.bc-home-documentation > div > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 490px;
}
.bc-home-documentation .bc-home-record-status {
  color: #571c30;
  font-size: 12px;
  font-weight: 600;
}
.bc-home-record-search {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 24px;
}
.bc-home-record-search label {
  display: grid;
  gap: 8px;
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
}
.bc-home-record-search input {
  min-height: 48px;
  width: 100%;
  min-width: 0;
  padding: 11px 13px;
  background: #f8f5ef;
  border: 1px solid #968a7c;
  border-radius: 4px;
  font:
    400 13px 'DM Sans',
    Arial,
    sans-serif;
}
.bc-home-record-search .button {
  white-space: nowrap;
}
.bc-home-reading {
  border-top: 1px solid var(--website-rule);
}
.bc-home-reading > a {
  display: block;
  padding: 23px 0;
  border-bottom: 1px solid var(--website-rule);
}
.bc-home-reading span,
.bc-home-partners > div > a > span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.bc-home-reading h3 {
  margin-top: 10px;
  font-size: 23px;
}
.bc-home-reading p {
  font-size: 12px;
  line-height: 1.6;
  margin: 10px 0;
}
.bc-home-reading b,
.bc-home-partners b {
  font-size: 11px;
  font-weight: 600;
}
.bc-home-partners {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 6vw, 90px);
  border-block: 1px solid var(--website-rule);
}
.bc-home-partners header > p:last-child {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 360px;
}
.bc-home-partners > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.bc-home-partners > div > a {
  display: flex;
  flex-direction: column;
  align-items: start;
  border-top: 1px solid #a58d91;
  padding-top: 16px;
}
.bc-home-partners h3 {
  font-size: 28px;
  margin-top: 28px;
}
.bc-home-partners > div p {
  font-size: 12px;
  line-height: 1.7;
  margin: 14px 0 22px;
}
.bc-home-partners b {
  margin-top: auto;
}
.bc-website-home .bc-home-policy {
  padding: 20px var(--page-gutter);
  border-bottom: 1px solid var(--website-rule);
  font-size: 12px;
}
.bc-home-policy summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.bc-home-policy details p {
  margin: 12px 0;
  max-width: 850px;
  line-height: 1.7;
}
.bc-home-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.bc-home-support p:last-child {
  margin-top: 16px;
  font-size: 14px;
}
.bc-website-home a:focus-visible,
.bc-home-film button:focus-visible {
  outline: 3px solid #b77b42;
  outline-offset: 4px;
}
@media (min-width: 1101px) {
  body.public-website .header nav {
    gap: clamp(13px, 1.2vw, 20px);
  }
  body.public-website .header-actions {
    gap: 5px;
  }
}
@media (max-width: 1100px) {
  .bc-home-hero {
    padding-inline: 28px;
    gap: 28px;
  }
  .bc-home-hero h1 {
    font-size: clamp(44px, 5.4vw, 62px);
  }
  .bc-home-products {
    gap: 14px;
  }
  .bc-home-product-label {
    display: block;
  }
  .bc-home-record-search {
    flex-wrap: wrap;
  }
  .bc-home-record-search label {
    flex-basis: 100%;
  }
}
@media (max-width: 760px) {
  body.public-website > .header,
  body:has(.bc-website-home) > .header {
    height: 72px;
    min-height: 72px;
    padding-inline: 18px;
  }
  body.public-website .header .brand img.brand-wordmark,
  body:has(.bc-website-home) .header .brand img.brand-wordmark {
    width: 145px;
  }
  .bc-home-hero {
    grid-template-columns: 1fr;
    padding: 32px 20px 24px;
    gap: 30px;
  }
  .bc-home-hero-copy {
    padding-block: 0;
  }
  .bc-home-hero h1 {
    font-size: clamp(43px, 9vw, 67px);
    max-width: 610px;
  }
  .bc-home-hero .eyebrow {
    margin-bottom: 18px;
  }
  .bc-home-hero .bc-home-lead {
    margin-top: 20px;
    font-size: 15px;
    max-width: 420px;
  }
  .bc-home-actions {
    margin-top: 24px;
    gap: 18px 22px;
  }
  .bc-home-hero .bc-home-purpose {
    margin-top: 23px;
  }
  .bc-home-index {
    margin-top: 20px;
  }
  .bc-home-featured-image img {
    height: clamp(280px, 72vw, 430px);
  }
  .bc-home-entrypoints {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }
  .bc-home-entrypoints a,
  .bc-home-entrypoints a:first-child,
  .bc-home-entrypoints a:last-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--website-rule);
  }
  .bc-home-entrypoints a:last-child {
    border-bottom: 0;
  }
  .bc-home-entrypoints strong {
    font-size: 14px;
  }
  .bc-home-entrypoints p {
    font-size: 11px;
  }
  .bc-home-catalog > header {
    align-items: start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
  }
  .bc-home-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
  }
  .bc-home-product-label h3 {
    font-size: 20px;
  }
  .bc-home-film > header {
    display: block;
    padding-block: 28px 20px;
  }
  .bc-home-film > header > p {
    margin-top: 12px;
  }
  .bc-home-film-frame {
    aspect-ratio: 9 / 16;
    max-height: 680px;
  }
  .bc-home-film figcaption {
    grid-template-columns: 1fr;
    padding-block: 16px;
  }
  .bc-home-documentation,
  .bc-home-partners {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .bc-home-partners > div {
    gap: 20px;
  }
  .bc-home-partners h3 {
    margin-top: 22px;
  }
  .bc-home-support {
    align-items: start;
    flex-direction: column;
  }
  .bc-home-hero .button,
  .bc-home-support .button {
    min-height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bc-home-product-image img {
    transition: none;
  }
  .bc-home-product-image:hover img {
    transform: none;
  }
}

/* Compact film, integrated with the catalog; no caption or transport bar. */
.bc-home-film--compact { max-width: 1120px; margin: 28px auto 48px; padding: 0 24px; background: transparent; }
.bc-home-film--compact > header { padding: 0 0 14px; }
.bc-home-film--compact h2 { font-size: 24px; letter-spacing: -.02em; }
.bc-home-film--compact .bc-home-film-frame { max-height: none; aspect-ratio: 16/9; border-radius: 16px; background: #f8f5ef; }
.bc-home-film--compact .bc-home-film-frame :is(img, video) { object-fit: contain; }
.bc-film-toggle { position: absolute; z-index: 3; bottom: 16px; right: 16px; border: 1px solid #d9c7c4; border-radius: 999px; background: #fff9f0; color: #571c30; padding: 10px 20px; min-height: 44px; font: 600 14px/1.3 'DM Sans', sans-serif; cursor: pointer; }
.bc-film-toggle[hidden] { display: none; }
.bc-home-film--compact [data-home-film-status] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 760px) {
 .bc-home-film--compact { margin: 24px auto 32px; padding-inline: 20px; max-width: 440px; }
 .bc-home-film--compact .bc-home-film-frame { aspect-ratio: 16/9; max-height: none; }
 .bc-film-toggle { bottom: 12px; right: 12px; }
}

/* Keep the five destinations visible when the browser is narrower than desktop. */
@media (max-width: 1100px) {
 .header:has(#site-navigation) { height: auto; min-height: 76px; flex-wrap: wrap; padding-block: 12px; row-gap: 4px; }
 .header #site-navigation { display: flex; position: static; visibility: visible; opacity: 1; transform: none; flex: 1 0 100%; order: 3; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 18px; padding: 8px 0 0; max-height: none; overflow: visible; box-shadow: none; border: 0; background: transparent; }
 .header #site-navigation a { white-space: nowrap; font-size: 12px; line-height: 1.35; min-height: 34px; padding: 8px 0; }
 .header #menu-toggle { display: none; }
 .header .header-actions { margin-left: auto; }
}
