@font-face {
  font-family: just-sans;
  src: url("/JUST-Sans-Regular.otf") format("opentype");
  font-display: swap;
}

.product-page { margin: 0; color: #161d32; font-family: just-sans, sans-serif; }
.product-page .parent { display: flow-root; width: 100%; min-height: 100vh; }

.product-banner { position: relative; margin-top: 20px; }
.product-banner picture, .product-banner img { display: block; width: 100%; height: auto; }
.product-banner > span {
  position: absolute; inset: 35% 3.5% 35% 51%; display: grid; place-items: center;
  /* Sample the unlettered end of the same blue stripe behind the HTML caption. */
  background: var(--banner-mobile) 93% center / 15000% 333.333% no-repeat;
  color: white; font: 900 3.25vw/1 Arial, sans-serif; text-transform: uppercase;
}
.catalogue-products, .product-detail { width: 70%; margin: 40px auto 0; }
.catalogue-products { display: grid; gap: 40px; padding: 0; list-style: none; }
.catalogue-products a { display: block; text-decoration: none; }
.product-page main a:focus-visible, .product-footer a:focus-visible { outline: 3px solid #243b8a; outline-offset: 4px; }

.artwork-frame { width: 100%; }
.artwork-sheet {
  position: relative; width: 100%; aspect-ratio: var(--sheet-ratio);
  container-type: inline-size; margin-inline: auto; background: #000;
  color: white; text-align: left;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
.artwork-base { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.artwork-field {
  position: absolute; display: block; box-sizing: border-box; margin: 0; padding: 0;
  font: normal 400 1em/1 Arial, sans-serif; white-space: pre-line;
  -webkit-user-select: text; user-select: text;
}
.artwork-field::selection { color: #111; background: #b8d8ff; }
.artwork-heading {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.product-description {
  max-width: 65ch; margin: 32px auto 0; font-family: Arial, sans-serif;
  line-height: 1.6; overflow-wrap: anywhere; hyphens: auto;
}
.product-description h2 { margin: 0; color: #243b8a; font-size: clamp(1.25rem, 3vw, 1.65rem); line-height: 1.25; }
.product-description p { margin: 0.8em 0 0; }
.product-description h3 { margin: 1em 0 0; color: #243b8a; font-size: 1.05rem; }
.product-description ul { margin: 0.35em 0 0; padding-inline-start: 1.4em; }
.product-footer { margin-top: 30px; text-align: center; }
.product-footer a { display: inline-block; color: #243b8a; margin-bottom: 9px; text-underline-offset: 0.2em; }
.product-footer div { padding: 10px; background: #243b8a; color: white; }

@media (min-width: 900px) {
  .product-banner > span { background-image: var(--banner-desktop); }
  /* Match the centred, uncropped poster within the approved 1920 × 1080 export. */
  .artwork-frame { aspect-ratio: 16 / 9; }
  .artwork-sheet { width: var(--desktop-width); }
}
