@font-face {
  font-family: "Exo 2";
  src: url("ref-theme/Exo2.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("ref-theme/SourceSans3.ttf") format("truetype");
  font-weight: 200 900;
  font-display: swap;
}

/* Loaded only by interior storefront pages. Keep content cards and form surfaces opaque. */
html body.shop-public.reference-shell[data-shop-page] {
  --shell-gutter: 24px;
  --shell-width: min(1280px, calc(100% - 2 * var(--shell-gutter)));
  background: linear-gradient(112deg, var(--color-retained-e4eaed), var(--color-retained-f8f9f9) 38%, var(--color-retained-f5f7f8) 74%, var(--color-retained-e9eef0)) fixed;
}

body.shop-public.reference-shell[data-shop-page] :is(.site-header, .storefront-utility-inner.page-width) {
  box-sizing: border-box;
  width: var(--shell-width) !important;
  max-width: none !important;
  margin-inline: auto;
  padding-inline: 0 !important;
}

html body.shop-public.reference-shell[data-shop-page] .site-header {
  background: transparent !important;
}

html body.shop-public.reference-shell[data-shop-page] .site-footer {
  padding-inline: max(var(--shell-gutter), calc((100% - 1280px) / 2)) !important;
  border-top: 0;
  background: var(--color-retained-d4e8ef) linear-gradient(180deg, var(--color-retained-f8fbfa), var(--color-retained-e5f1f2) 160px, var(--color-retained-d4e8ef)) !important;
}

.shop-public :is(.site-header, .site-footer) a.internal-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 44px;
  width: fit-content;
  gap: 2px;
  mix-blend-mode: multiply;
  color: var(--color-brand-dark);
  text-decoration: none;
}

.internal-wordmark .lx-role {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font: 650 clamp(12px, 1vw, 16px)/1.2 "Source Sans 3", sans-serif;
}

.internal-wordmark .lx-role video {
  width: clamp(108px, 9vw, 134px);
  aspect-ratio: 40 / 11;
  mix-blend-mode: multiply;
  filter: contrast(1.025);
  height: auto;
}

.internal-wordmark .lx-name {
  font: 500 clamp(23px, 2vw, 32px)/1 "Exo 2", sans-serif;
  letter-spacing: -.045em;
}

body.shop-public.reference-shell:is([data-shop-page="catalog"], [data-shop-page="product"]) #main > .page-width {
  width: var(--shell-width);
  max-width: none;
  margin-inline: auto;
}

@media (max-width: 760px) {
  body.shop-public.reference-shell[data-shop-page] { --shell-gutter: 16px; }
  .site-header .internal-wordmark .lx-role { font-size: 10px; }
  .site-header .internal-wordmark .lx-name { font-size: 20px; }
}
