/** Shopify CDN: Minification failed

Line 932:8 Expected identifier but found whitespace
Line 932:10 Unexpected "{"
Line 932:20 Expected ":"
Line 934:9 Expected identifier but found whitespace
Line 934:11 Unexpected "{"
Line 934:21 Expected ":"
Line 935:11 Expected identifier but found whitespace
Line 935:13 Unexpected "{"
Line 935:23 Expected ":"
Line 1030:0 Unexpected "@media"

**/
/* Art Saved Me. All copyright belongs to William Saah Tapero 2026. */

/* ---- hero ---- */
html.is-hero,
html.is-hero body {
  background: #000;
}
html.is-hero.night-mode {
  background: #000;
}
.hero {
  --hero-t: 13px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 72px 16px;
  color: #fff;
  font-size: var(--hero-t);
  text-align: center;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.hero__figure {
  flex: none;
  margin: 0;
  width: max(80px, min(calc(var(--hero-size) * 1vh * var(--hero-ratio)), calc((100vh - 300px) * var(--hero-ratio)), 84vw));
  width: max(80px, min(calc(var(--hero-size) * 1svh * var(--hero-ratio)), calc((100svh - 300px) * var(--hero-ratio)), 84vw));
}
.hero__hint {
  position: absolute;
  top: 16px;
  right: 16px;
  left: 16px;
  margin: 0;
  color: #888;
  font-size: 11px;
  text-align: center;
  pointer-events: none;
}
.hero__image {
  display: block;
  width: 100%;
  height: auto;
}
.hero__menu {
  margin-top: 2.6em;
}
.hero__list {
  display: grid;
  justify-items: center;
  gap: 0.15em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero__link {
  position: relative;
  display: inline-block;
  padding: 0.5em 0.3em;
  font-size: var(--hero-t);
  line-height: 1.2;
  text-transform: lowercase;
}
.hero__link::after {
  content: "";
  position: absolute;
  right: 0.3em;
  bottom: 0.3em;
  left: 0.3em;
  height: 1px;
  background: currentColor;
  opacity: 0;
}
.hero__link:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}
.hero__link:focus-visible::after,
.hero__link:active::after {
  opacity: 1;
}
@media (hover: hover) {
  .hero__link:hover::after {
    opacity: 1;
  }
}
@media (pointer: coarse) {
  .hero__link {
    padding: 0.75em 0.5em;
  }
  .hero__link::after {
    right: 0.5em;
    bottom: 0.45em;
    left: 0.5em;
  }
}
@media (min-width: 1100px) {
  .hero {
    --hero-t: 14px;
  }
}
@media (max-width: 749px) {
  .hero {
    padding: 64px 16px;
  }
  .hero__figure {
    width: max(80px, min(calc(var(--hero-size-mobile) * 1vh * var(--hero-ratio)), calc((100vh - 320px) * var(--hero-ratio)), 84vw));
    width: max(80px, min(calc(var(--hero-size-mobile) * 1svh * var(--hero-ratio)), calc((100svh - 320px) * var(--hero-ratio)), 84vw));
  }
}

/* ---- main-about ---- */
.about.hero-page__body {
  width: min(100%, var(--about-width, 480px));
}
.about--left {
  text-align: left;
}
.about > * + * {
  margin-top: 1.4em;
}
.about__heading {
  margin-bottom: 0;
  font-weight: normal;
  line-height: 1.3;
  text-transform: lowercase;
}
.about__heading--small { font-size: 1em; }
.about__heading--medium { font-size: 1.3em; }
.about__heading--large { font-size: 1.8em; }
.about__figure {
  width: var(--about-image, 100%);
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
}
.about--left .about__figure {
  margin-left: 0;
}
.about__image {
  display: block;
  width: 100%;
  height: auto;
}
.about__caption {
  margin-top: 0.6em;
  opacity: 0.6;
  font-size: 0.9em;
}
.about__placeholder {
  padding: 48px 16px;
  border: var(--hairline) dashed currentColor;
  opacity: 0.6;
}
.about__spacer {
  margin-top: 0;
}
.about__spacer + * {
  margin-top: 0;
}

/* ---- main-archives ---- */
.archives {
  max-width: 480px;
}
.archives [hidden] {
  display: none !important;
}
.archives__intro {
  margin: 0 0 20px;
}
.archives__form {
  position: relative;
  display: grid;
  gap: 24px;
  margin-top: 24px;
}
.archives__field {
  display: grid;
  gap: 8px;
}
.archives__label {
  font-size: 12px;
}
.archives__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.archives__drop {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 16px;
  border: 1px dashed #111;
  text-align: center;
  cursor: pointer;
}
.archives__drop.is-over {
  background: #f1f1f1;
}
.archives__input:focus-visible + .archives__drop {
  outline: 1px solid #111;
  outline-offset: 3px;
}
.archives__hint {
  margin: 0;
  color: #666;
  font-size: 11px;
}
.archives__files {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.archives__file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px;
  border: 1px solid #dedede;
}
.archives__file-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.archives__file-size {
  flex: none;
  color: #666;
}
.archives__remove {
  flex: none;
  padding: 0 4px;
  color: #111;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.archives textarea,
.archives input[type="email"] {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  color: #111;
  border: 1px solid #aaa;
  border-radius: 0;
  background: #fff;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.archives textarea {
  resize: vertical;
}
.archives__check {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.5;
  cursor: pointer;
}
.archives__check input {
  margin: 2px 0 0;
  accent-color: #111;
}
.archives__submit {
  justify-self: start;
  padding: 10px 22px;
  color: #111;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.archives__submit:disabled {
  opacity: 0.5;
  cursor: default;
}
.archives__progress {
  display: grid;
  gap: 6px;
}
.archives__bar {
  height: 2px;
  background: #dedede;
}
.archives__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: #111;
}
.archives__error {
  margin: 0;
  color: #ed3d25;
  font-size: 11px;
}
.archives__error:empty {
  display: none;
}
.archives__done {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.archives__done p {
  margin: 0;
}
.archives__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- main-cart ---- */
.cart-page {
  --hero-t: 13px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 72px 16px;
  color: #fff;
  font-size: var(--hero-t);
  line-height: 1.5;
  text-align: left;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.cart-page__empty {
  margin: 0;
  text-align: center;
}
.cart-page__empty a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-frame {
  box-sizing: border-box;
  width: min(100%, 720px);
  border: var(--hairline) solid currentColor;
}
.cart-frame__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cart-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px;
  border-top: var(--hairline) solid currentColor;
}
.cart-line:first-child {
  border-top: 0;
}
.cart-line__image {
  display: block;
  width: 72px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: var(--hairline) solid currentColor;
}
.cart-line__picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-line__info {
  display: grid;
  align-content: start;
  gap: 2px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cart-line__title {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.cart-line__detail {
  opacity: 0.7;
}
.cart-line__more {
  margin-top: 4px;
}
.cart-line__more summary {
  width: max-content;
  cursor: pointer;
  list-style: none;
  opacity: 0.7;
}
.cart-line__more summary::-webkit-details-marker {
  display: none;
}
.cart-line__more[open] summary,
.cart-line__more summary:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-line__more p {
  max-width: 44ch;
  margin: 6px 0 0;
  opacity: 0.7;
}
.cart-line__side {
  display: grid;
  align-content: space-between;
  justify-items: end;
  gap: 12px;
}
.cart-line__delete {
  color: inherit;
  opacity: 0.7;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.cart-line__delete[aria-busy="true"] {
  opacity: 0.3;
  pointer-events: none;
}
.cart-line a:focus-visible,
.cart-line summary:focus-visible,
.cart-frame__checkout:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}
.cart-frame__foot {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-top: var(--hairline) solid currentColor;
}
.cart-frame__total {
  align-self: center;
  margin: 0;
  padding: 16px;
}
.cart-frame__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  color: inherit;
  border-left: var(--hairline) solid currentColor;
  text-decoration: none;
  text-transform: lowercase;
}
.cart-frame__message {
  margin: 0;
  padding: 0 16px 12px;
  font-size: 11.5px;
}
.cart-frame__message:empty {
  display: none;
}
@media (hover: hover) {
  .cart-line__delete:hover {
    opacity: 1;
  }
  .cart-frame__checkout:hover {
    color: #000;
    background: #fff;
  }
}
@media (min-width: 1100px) {
  .cart-page {
    --hero-t: 14px;
  }
}
@media (max-width: 749px) {
  .cart-page {
    padding: 64px 16px;
  }
  .cart-line {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
  }
  .cart-line__image {
    width: 56px;
  }
  .cart-line__side {
    grid-column: 2;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
  }
  .cart-line__side .cart-line__delete {
    justify-self: end;
  }
}

/* ---- site-footer ---- */
.footbar {
  --foot-fg: #111;
  --foot-bg: #fff;
  box-sizing: border-box;
  position: relative;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.6em;
  width: 100%;
  height: calc(var(--foot-h, 54px) + env(safe-area-inset-bottom, 0px));
  margin: 0;
  padding: 0 16px calc(8px + env(safe-area-inset-bottom, 0px));
  color: var(--foot-fg);
  font-size: 11.5px;
  line-height: 1.2;
  text-align: center;
  text-transform: lowercase;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.footbar__links,
.footbar__mode {
  display: flex;
  align-items: center;
  gap: 1.3em;
}
.footbar__club {
  position: relative;
}
.footbar__link {
  padding: 6px 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  line-height: inherit;
  text-transform: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.footbar__link:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}
html[data-mode="black"] .footbar__link[data-mode-set="black"],
html[data-mode="white"] .footbar__link[data-mode-set="white"],
.footbar__link[data-club-open][aria-expanded="true"] {
  text-decoration: underline;
}
.club-box {
  box-sizing: border-box;
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  width: min(260px, calc(100vw - 32px));
  padding: 10px 12px;
  color: var(--foot-fg);
  background: var(--foot-bg);
  border: var(--hairline) solid currentColor;
  text-align: left;
  text-transform: none;
  transform: translateX(var(--club-shift, 0px));
}
.club-box[hidden] {
  display: none;
}
.club-box:focus-within {
  box-shadow: 0 0 0 var(--hairline) currentColor;
}
.club-box__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0;
}
.club-box__input {
  flex: 1 1 0;
  min-width: 0;
  padding: 4px 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  font: inherit;
  line-height: 1.3;
  -webkit-appearance: none;
  appearance: none;
}
.club-box__input::placeholder {
  color: inherit;
  opacity: 0.5;
}
.club-box__send {
  flex: none;
  padding: 2px 4px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.club-box__send:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}
.club-box .club-box__status {
  flex: 1 0 100%;
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.3;
}
.club-box__form.is-sent > :not(.club-box__status) {
  display: none;
}
.club-box__form.is-sent .club-box__status {
  margin: 0;
}
body.template-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
}
body.template-hero .footbar {
  --foot-fg: #fff;
  --foot-bg: #000;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}
body:not(.template-hero):not(.template-index) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}
body:not(.template-hero):not(.template-index) #MainContent {
  flex: 1 0 auto;
}
@media (hover: hover) {
  .footbar__link[data-club-open]:hover,
  a.footbar__link:hover {
    text-decoration: underline;
  }
}
@media (max-width: 340px) {
  .footbar {
    gap: 1.8em;
  }
  .footbar__links,
  .footbar__mode {
    gap: 0.9em;
  }
}
@media (pointer: coarse) {
  .footbar__link {
    padding: 12px 2px;
  }
  .club-box__input {
    font-size: 16px;
  }
  .club-box__send {
    padding: 6px 8px;
  }
}

/* ---- back-arrow ---- */
.back-arrow {
  position: absolute;
  /* Inset grows with the screen so the arrow doesn't hug the corner on large displays. */
  top: clamp(12px, 2vw, 32px);
  left: clamp(14px, 2.5vw, 44px);
  z-index: 5;
  padding: 8px 12px;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
}
.back-arrow:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: -2px;
}
@media (hover: hover) {
  .back-arrow:hover {
    opacity: 0.6;
  }
}
.back-arrow::after {
  content: "";
  position: absolute;
  inset: -4px -6px;
}

/* ---- hero-page ---- */
.hero-page {
  --hero-t: 13px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 72px 16px;
  color: #fff;
  font-size: var(--hero-t);
  line-height: 1.7;
  text-align: center;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.hero-page__body {
  box-sizing: border-box;
  width: min(100%, 58ch);
  /* Whole even pixels keep the form's hairline borders on device pixels (Safari drops a 0.5px edge otherwise). */
  width: min(100%, round(down, 58ch, 2px));
  margin: 0;
  overflow-wrap: anywhere;
}
.hero-page__text > :first-child {
  margin-top: 0;
}
.hero-page__text > :last-child {
  margin-bottom: 0;
}
.hero-page__text p {
  margin: 0 0 1.4em;
}
.hero-page__text h2,
.hero-page__text h3,
.hero-page__text h4,
.hero-page__text h5,
.hero-page__text h6 {
  margin: 1.8em 0 0.8em;
  font-size: inherit;
  font-weight: normal;
}
.hero-page__text a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.hero-page__text img,
.hero-page__text video,
.hero-page__text iframe {
  max-width: 100%;
  height: auto;
}
.hero-page__text + .hero-page__form {
  margin-top: 32px;
}
.hero-page__form {
  display: grid;
  gap: 12px;
  width: min(100%, 340px);
  margin: 0 auto;
}
.hero-page__form input,
.hero-page__form textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  color: inherit;
  background: transparent;
  border: var(--hairline) solid currentColor;
  border-radius: 0;
  outline: 0;
  font: inherit;
  line-height: 1.4;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}
.hero-page__form textarea {
  min-height: 9em;
  resize: vertical;
}
.hero-page__form input:focus,
.hero-page__form textarea:focus {
  box-shadow: 0 0 0 var(--hairline) currentColor;
}
.hero-page__form input::placeholder,
.hero-page__form textarea::placeholder {
  color: inherit;
  opacity: 0.5;
}
.hero-page__form input:-webkit-autofill {
  -webkit-text-fill-color: currentColor;
  transition: background-color 99999s ease-out 0s;
}
.hero-page__form button {
  justify-self: center;
  padding: 10px 6px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  text-transform: lowercase;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.hero-page__form button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}
.hero-page__form button:disabled {
  opacity: 0.5;
  cursor: default;
}
.hero-page__form [data-form-status] {
  margin: 0;
  font-size: inherit;
}
@media (hover: hover) {
  .hero-page__form button:hover {
    text-decoration: underline;
  }
}
@media (pointer: coarse) {
  .hero-page__form input,
  .hero-page__form textarea {
    font-size: 16px;
  }
}
@media (min-width: 1100px) {
  .hero-page {
    --hero-t: 14px;
  }
}
@media (max-width: 749px) {
  .hero-page {
    padding: 64px 16px;
  }
}

/* ---- page-checkout ---- */
.page-checkout {
  position: absolute;
  top: 19px;
  right: 22px;
  z-index: 5;
  padding: 1px 6px;
  color: inherit;
  border: var(--hairline) solid currentColor;
  font-size: 12px;
  line-height: 1.3;
  text-decoration: none;
  text-transform: lowercase;
  white-space: nowrap;
}
body.template-hero .page-checkout {
  color: #fff;
}
.page-checkout[hidden] {
  display: none;
}
.page-checkout:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}
@media (hover: hover) {
  .page-checkout:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
  }
}
.page-checkout::after {
  content: "";
  position: absolute;
  inset: -10px -8px;
}

/* ---- site ---- */
:root {
  --ink: {{ settings.text | default: '#111111' }};
  --paper: #faf8f4;
  --line: {{ settings.rule | default: '#dedede' }};
  --accent: {{ settings.accent | default: '#ed3d25' }};
  --page-pad: 8px;
  --mono: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--mono); font-size: 12px; line-height: 1.12; }
a { color: inherit; text-decoration: none; }
button, input, select { color: inherit; font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; z-index: 20; top: -5rem; left: 1rem; padding: .75rem; color: #fff; background: #000; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 8px var(--page-pad); border-bottom: 1px solid var(--line); }
.wordmark { font-weight: bold; font-size: 20px; letter-spacing: -.09em; text-transform: uppercase; }
.header-menu, .header-actions { display: flex; align-items: center; gap: 14px; }
.header-menu a, .header-actions a { text-transform: lowercase; }
.header-menu a:hover, .header-actions a:hover { text-decoration: underline; text-underline-offset: 2px; }
.menu-trigger { display: none; padding: 0; border: 0; background: transparent; }

.collection-toolbar { position: relative; display: flex; align-items: center; min-height: 45px; padding: 8px var(--page-pad); border-bottom: 1px solid var(--line); }
.collection-picker summary { display: flex; align-items: center; gap: .4rem; list-style: none; cursor: pointer; text-transform: lowercase; }
.collection-picker summary::-webkit-details-marker { display: none; }
.collection-picker summary::after { width: 6px; height: 6px; content: ''; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.collection-picker[open] summary::after { transform: rotate(225deg) translate(-2px, -1px); }
.collection-picker__list { position: absolute; z-index: 5; top: calc(100% - 1px); left: 0; min-width: 180px; margin: 0; padding: 5px 0; background: var(--paper); border: 1px solid var(--line); list-style: none; }
.collection-picker__list a { display: block; padding: 5px var(--page-pad); }
.collection-picker__list a:hover, .collection-picker__list a[aria-current="page"] { color: var(--paper); background: var(--ink); }
.collection-heading { position: absolute; left: 50%; margin: 0; font-size: inherit; font-weight: normal; transform: translateX(-50%); text-transform: lowercase; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card { position: relative; min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-card:nth-child(2n) { border-right: 0; }
.product-card__link { display: block; }
.product-card__image { position: relative; aspect-ratio: 1 / 1.04; overflow: hidden; background: var(--paper); }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; transition: opacity 180ms ease, transform 280ms ease; }
.product-card__image .product-card__image--secondary { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .product-card__image--secondary { opacity: 1; }
.product-card:hover .product-card__image img { transform: scale(1.012); }
.product-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #aaa; }
.product-card__meta { min-height: 45px; padding: 6px var(--page-pad) 7px; }
.product-card__title, .product-card__price { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-card__price { color: #575757; }
.product-card__badge { position: absolute; top: 0; right: 0; padding: 2px 4px; color: #aaa; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); font-size: 10px; text-transform: lowercase; }

.collection-empty { display: grid; min-height: 40vh; place-items: center; padding: 2rem var(--page-pad); text-align: center; }
.pagination { display: flex; justify-content: center; gap: 1.25rem; padding: 1.5rem; }
.pagination a:hover { text-decoration: underline; }

.product { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); }
.product__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product__media { aspect-ratio: 1 / 1.04; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.product__media img { width: 100%; height: 100%; object-fit: contain; }
.product__info { position: sticky; top: 0; align-self: start; padding: 15px; }
.product__title { margin: 0 0 1rem; font-weight: normal; font-size: 15px; }
.product__price { margin: .4rem 0 1.5rem; }
.product-form__options { display: grid; gap: 1rem; margin: 1.5rem 0; }
.option-fieldset { margin: 0; padding: 0; border: 0; }
.option-fieldset legend { margin-bottom: .5rem; }
.option-values { display: flex; flex-wrap: wrap; gap: 5px; }
.option-value { padding: 5px 7px; border: 1px solid var(--ink); background: transparent; }
.option-value[aria-pressed="true"] { color: var(--paper); background: var(--ink); }
.add-button { width: 100%; padding: 10px; color: var(--paper); border: 1px solid var(--ink); background: var(--ink); text-transform: lowercase; }
.add-button:hover { color: var(--ink); background: var(--paper); }
.product__description { margin-top: 1.5rem; }
.product__description > *:first-child { margin-top: 0; }

@media screen and (max-width: 749px) {
  body { font-size: 11px; }
  .site-header { min-height: 47px; }
  .wordmark { font-size: 18px; }
  .menu-trigger { display: inline; }
  .header-menu { position: absolute; z-index: 10; top: 47px; right: 0; left: 0; display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: var(--page-pad); background: var(--paper); border-bottom: 1px solid var(--line); }
  .header-menu.is-open { display: flex; }
  .header-menu a { padding: 6px 0; }
  .header-actions a:not(.actions-checkout) { display: none; }
  .collection-heading { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { border-right: 0; }
  .product { grid-template-columns: 1fr; }
  .product__info { position: static; border-top: 1px solid var(--line); }
}

/* Home catalogue alignment */
.collection-toolbar { align-items: flex-start; min-height: 70px; }
.collection-toolbar__left { display: grid; gap: 6px; }
.collection-heading { top: 8px; }
.c

/* Preserve the artwork and move thumbnails together instead of cropping them. */
@media screen and (min-width: 750px) {
  .product-grid--home {
      grid-template-columns: repeat(4, 168px);
          grid-auto-rows: 235px;
              justify-content: center;
                }
                }
                .product-grid--home .product-card__image img { object-fit: contain; }
                ollection-side-l

/* Home catalogue: tightly packed thumbnails and a visible scroll rail. */
.catalog-grid-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 5px; gap: 7px; width: 75%; height: min(75vw, calc(100dvh - 118px)); margin: 30px auto; }
.product-grid--home { width: 100%; height: 100%; margin: 0; gap: 1mm; grid-auto-rows: calc((100% - 2mm) / 3); overflow-y: scroll; scrollbar-width: none; }
.product-grid--home .product-card__link { grid-template-rows: minmax(0, 1fr); }
.product-grid--home .product-card__meta, .product-grid--home .product-card__title { display: none; }
.product-grid--home .product-card__image img { object-fit: cover; }
.product-grid--home::-webkit-scrollbar { display: none; }
@media screen and (max-width: 749px) { .catalog-grid-wrap { width: calc(100% - 24px); height: calc(100dvh - 112px); margin: 12px auto; } .product-grid--home { gap: 1mm; grid-auto-rows: calc((100% - 2mm) / 3); } }
inks { display: grid; gap: 3px; width: max-content; }
.collection-side-links a:hover { text-decoration: underline; text-underline-offset: 2px; }
.product-grid--home { max-width: 1120px; margin: 0 auto; border-right: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-card__image { aspect-ratio: 1; background: var(--paper); }
.product-card__placeholder { background: var(--paper); }

/* Compact home catalogue with a permanently visible, dynamic scrollbar. */
.product-grid--home {
  gap: 1mm;
    grid-auto-rows: calc((100% - 2mm) / 3);
      overflow-y: scroll;
        scrollbar-gutter: stable;
        }
        .product-grid--home .product-card__link { grid-template-rows: minmax(0, 1fr); }
        .product-grid--home .product-card__meta,
        .product-grid--home .product-card__title { display: none; }
        .product-grid--home::-webkit-scrollbar { width: 7px; }
        .product-grid--home::-webkit-scrollbar-track { background: #efefef; }
        .product-grid--home::-webkit-scrollbar-thumb { background: var(--ink); min-height: 20px; }
        @media screen and (max-width: 749px) {
          .product-grid--home {
              gap: 1mm;
                  grid-auto-rows: calc((100% - 2mm) / 3);
                    }
                    }
                    @media screen and (max-width: 749px) {
  .collection-toolbar { min-height: 68px; }
    .product-grid--home { border-right: 0; border-left: 0; }
    }
    

    /* Compact home catalogue */
    .product-grid--home {
      width: calc(100% - 64px);
        max-width: 960px;
          grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
              margin: 36px auto 54px;
                border: 0;
                }
                .product-grid--home .product-card { border: 0; }
                .product-grid--home .product-card__image { padding: 7px; }
                .product-grid--home .product-card__meta { min-height: 20px; padding: 4px 0 0; }
                .product-grid--home .product-card__price { display: none; }
                @media screen and (max-width: 749px) {
                  .product-grid--home {
                      width: calc(100% - 24px);
                          grid-template-columns: repeat(2, minmax(0, 1fr));
                              gap: 10px;
                                  margin: 20px auto 32px;
                                    }
                                    }
                                    

                                    /* Home page composition */
                                    .template-index .site-header .header-actions { display: none; }
                                    .collection-heading-group {
                                      position: absolute;
                                        top: 8px;
                                          left: 50%;
                                            display: flex;
                                              align-items: baseline;
                                                gap: 14px;
                                                  transform: translateX(-50%);
                                                    white-space: nowrap;
                                                    }
                                                    .collection-heading-group .collection-heading { position: static; transform: none; }
                                                    .collection-heading-actions { display: flex; align-items: center; gap: 10px; }
                                                    .collection-heading-actions a:hover { text-decoration: underline; text-underline-offset: 2px; }
/* Currency: native select laid invisibly over the "€ (eur)" label. */
.currency-select { position: relative; display: inline-flex; align-items: center; cursor: pointer; text-transform: lowercase; white-space: nowrap; }
.currency-select__current { pointer-events: none; }
.currency-select:hover .currency-select__current { text-decoration: underline; text-underline-offset: 2px; }
.currency-select__input { position: absolute; inset: -6px -8px; width: calc(100% + 16px); height: calc(100% + 12px); margin: 0; padding: 0; border: 0; opacity: 0; font-size: 16px; cursor: pointer; -webkit-appearance: none; appearance: none; }
.currency-select:has(.currency-select__input:focus-visible) { outline: 1px solid currentColor; outline-offset: 3px; }
.currency-select__submit { margin-left: 6px; padding: 0 4px; border: var(--hairline) solid currentColor; background: transparent; color: inherit; font: inherit; }
                                                    .product-grid--home {
                                                      width: 75%;
                                                        max-width: none;
                                                          gap: 1cm;
                                                            margin: 30px auto 48px;
                                                            }
                                                            .product-grid--home .product-card__image { padding: 0; }
                                                            @media screen and (max-width: 749px) {
                                                              .collection-heading-group { display: none; }
                                                              }
                                                              

                                                              /* Catalogue scroll region */
                                                              .collection-heading-group { position: static; }
                                                              .collection-heading-group .collection-heading {
                                                                position: absolute;
                                                                  top: 8px;
                                                                    left: 50%;
                                                                      transform: translateX(-50%);
                                                                      }
                                                                      .collection-heading-actions {
                                                                        position: absolute;
                                                                          top: 8px;
                                                                            right: var(--page-pad);
                                                                              display: flex;
                                                                                gap: 10px;
                                                                                }
                                                                                .product-grid--home {
                                                                                  width: 75%;
                                                                                    height: min(75vw, calc(100dvh - 154px));
                                                                                      max-width: none;
                                                                                        grid-auto-rows: calc((100% - 2cm) / 3);
                                                                                          gap: 1cm;
                                                                                            margin: 30px auto;
                                                                                              overflow-x: hidden;
                                                                                                overflow-y: auto;
                                                                                                  scrollbar-width: thin;
                                                                                                    scrollbar-color: var(--ink) transparent;
                                                                                                    }
                                                                                                    .product-grid--home::-webkit-scrollbar { width: 7px; }
                                                                                                    .product-grid--home::-webkit-scrollbar-track { background: transparent; }
                                                                                                    .product-grid--home::-webkit-scrollbar-thumb { background: var(--ink); }
                                                                                                    .product-grid--home .product-card { min-height: 0; }
                                                                                                    .product-grid--home .product-card__link {
                                                                                                      display: grid;
                                                                                                        height: 100%;
                                                                                                          grid-template-rows: minmax(0, 1fr) 20px;
                                                                                                          }
                                                                                                          .product-grid--home .product-card__image {
                                                                                                            min-height: 0;
                                                                                                              aspect-ratio: auto;
                                                                                                              }
                                                                                                              @media screen and (max-width: 749px) {
                                                                                                                .template-index #MainContent { height: calc(100dvh - 47px); }
                                                                                                                  .catalog-home .collection-toolbar { flex-basis: 68px; }
                                                                                                                    .collection-heading-group { display: block; }
                                                                                                                      .collection-heading-group .collection-heading { display: none; }
                                                                                                                        .collection-heading-actions { top: 8px; right: var(--page-pad); }
                                                                                                                          .product-grid--home {
                                                                                                                              width: calc(100% - 24px);
                                                                                                                                  height: calc(100dvh - 135px);
                                                                                                                                      grid-auto-rows: calc((100% - 20px) / 3);
                                                                                                                                          gap: 10px;
                                                                                                                                              margin: 12px auto;
                                                                                                                                                }
                                                                                                                                                }

                                                                                                                                                /* Keep account and bag within the toolbar boundary. */
                                                                                                                                                .catalog-home .collection-toolbar { position: relative; }

                                                                                                                                                /* Stable three-part toolbar layout. */
                                                                                                                                                .catalog-home .collection-toolbar {
                                                                                                                                                  display: grid;
                                                                                                                                                    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
                                                                                                                                                    }
                                                                                                                                                    .collection-toolbar__left { grid-column: 1; }
                                                                                                                                                    .collection-heading-group { display: contents; }
                                                                                                                                                    .collection-heading-group .collection-heading {
                                                                                                                                                      position: static;
                                                                                                                                                        grid-column: 2;
                                                                                                                                                          margin: 0;
                                                                                                                                                            transform: none;
                                                                                                                                                            }
                                                                                                                                                            .collection-heading-actions {
                                                                                                                                                              position: static;
                                                                                                                                                                grid-column: 3;
                                                                                                                                                                  justify-self: end;
                                                                                                                                                                    white-space: nowrap;
                                                                                                                                                                    }
                                                                                                                                                                    @media screen and (max-width: 749px) {
                                                                                                                                                                      .collection-heading-group { display: contents; }
                                                                                                                                                                        .collection-heading-actions { grid-column: 3; }
                                                                                                                                                                        }

                                                                                                                                                                        /* Homepage uses the collection toolbar as its only header. */
                                                                                                                                                                        .template-index .site-header { display: none; }
                                                                                                                                                                        .product-grid--home { height: min(75vw, calc(100dvh - 100px)); }
                                                                                                                                                                        @media screen and (max-width: 749px) {
                                                                                                                                                                          .template-index #MainContent { height: 100dvh; }
                                                                                                                                                                            .product-grid--home { height: calc(100dvh - 88px); }
                                                                                                                                                                            }

                                                                                                                                                                            /* Lower the homepage toolbar while preserving its columns. */
                                                                                                                                                                                .product-grid--home { height: min(75vw, calc(100dvh - 118px)); }
                                                                                                                                                                                @media screen and (max-width: 749px) {
                                                                                                                                                                                  .catalog-home .collection-toolbar {
                                                                                                                                                                                      flex-basis: 88px;
                                                                                                                                                                                          padding-top: 25px;
                                                                                                                                                                                            }
                                                                                                                                                                                              .product-grid--home { height: calc(100dvh - 112px); }
                                                                                                                                                                                              }

                                                                                                                                                                                              /* Italic collection and product titles. */
                                                                                                                                                                                              .collection-heading,
                                                                                                                                                                                              .product-card__title { font-style: italic; }

                                                                                                                                                                                              /* Open the product picker over the information links. */
                                                                                                                                                                                              .collection-picker { position: relative; }
                                                                                                                                                                                              .collection-picker__list { z-index: 10; }

                                                                                                                                                                                              /* Let the open product menu push the information links down. */
                                                                                                                                                                                                  .collection-picker__list {
                                                                                                                                                                                                    position: static;
                                                                                                                                                                                                      margin-top: 3px;
                                                                                                                                                                                                      }
                                                                                                                                                                                                      @media screen and (max-width: 749px) {
                                                                                                                                                                                                        .catalog-home .collection-toolbar {
                                                                                                                                                                                                            flex-basis: auto;
                                                                                                                                                                                                                min-height: 88px;
                                                                                                                                                                                                                  }
                                                                                                                                                                                                                  }

                                                                                                                                                                                                                  /* Clean product media frames. */
                                                                                                                                                                                                                  .product__media { border: 0; }

                                                                                                                                                                                                                  /* Remove the remaining grey surround around product media. */
                                                                                                                                                                                                                  .product__media { background: var(--paper); }

                                                                                                                                                                                                                  /* Reuse the homepage toolbar on product pages. */
                                                                                                                                                                                                                  .product-toolbar {
                                                                                                                                                                                                                    display: grid;
                                                                                                                                                                                                                      grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
                                                                                                                                                                                                                        min-height: 88px;
                                                                                                                                                                                                                          padding-top: 25px;
                                                                                                                                                                                                                          }
                                                                                                                                                                                                                          .product-toolbar .collection-toolbar__left { grid-column: 1; }
                                                                                                                                                                                                                          .template-product .site-header { display: none; }
                                                                                                                                                                                                                          @media screen and (max-width: 749px) {
                                                                                                                                                                                                                            .product-toolbar {
                                                                                                                                                                                                                                min-height: 88px;
                                                                                                                                                                                                                                    padding-top: 25px;
                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                      /* Product-page buying layout and interactive controls. */
                                                                                                                                                                                                                                      @media screen and (min-width: 750px) {
                                                                                                                                                                                                                                        .template-product .product {
                                                                                                                                                                                                                                            grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
                                                                                                                                                                                                                                                padding-top: 12vh;
                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                    .template-product .product__gallery {
                                                                                                                                                                                                                                                        grid-column: 2;
                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                            .template-product .product__info {
                                                                                                                                                                                                                                                                top: 12vh;
                                                                                                                                                                                                                                                                    grid-column: 1;
                                                                                                                                                                                                                                                                        grid-row: 1;
                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                          .template-product .option-value {
                                                                                                                                                                                                                                                                            padding: 5px 7px;
                                                                                                                                                                                                                                                                              border: 1px solid transparent;
                                                                                                                                                                                                                                                                                border-radius: 5px;
                                                                                                                                                                                                                                                                                  background: transparent;
                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                  .template-product .option-value[aria-pressed="true"] {
                                                                                                                                                                                                                                                                                    color: var(--ink);
                                                                                                                                                                                                                                                                                      border-color: var(--ink);
                                                                                                                                                                                                                                                                                        background: transparent;
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                        .template-product .add-button {
                                                                                                                                                                                                                                                                                          color: var(--ink);
                                                                                                                                                                                                                                                                                            border: 1px solid var(--ink);
                                                                                                                                                                                                                                                                                              background: transparent;
                                                                                                                                                                                                                                                                                                transition: border-color 0s, color 0s;
                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                .template-product .add-button:hover {
                                                                                                                                                                                                                                                                                                  color: var(--ink);
                                                                                                                                                                                                                                                                                                    background: transparent;
                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                        @media screen and (max-width: 749px) {
                                                                                                                                                                                                                                                                                                          .template-product .product {
                                                                                                                                                                                                                                                                                                              padding-top: 8vh;
                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                  .template-product .product__gallery {
                                                                                                                                                                                                                                                                                                                      grid-column: 1;
                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                          .template-product .product__info {
                                                                                                                                                                                                                                                                                                                              grid-column: 1;
                                                                                                                                                                                                                                                                                                                                  grid-row: auto;
                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                    .template-product .product-form .add-button {
                                                                                                                                                                                                                                                                                                                                      display: block !important;
                                                                                                                                                                                                                                                                                                                                        width: 100% !important;
                                                                                                                                                                                                                                                                                                                                          min-height: 38px;
                                                                                                                                                                                                                                                                                                                                            border: 1px solid #000 !important;
                                                                                                                                                                                                                                                                                                                                              box-shadow: inset 0 0 0 1px #000;
                                                                                                                                                                                                                                                                                                                                                outline: 0;
                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                    /* Centred product layout: artwork left, buying panel right. */
                                                                                                                                                                                                                                                                                                                                                    @media screen and (min-width: 750px) {
                                                                                                                                                                                                                                                                                                                                                      .template-product .product {
                                                                                                                                                                                                                                                                                                                                                          grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
                                                                                                                                                                                                                                                                                                                                                              gap: 7vw;
                                                                                                                                                                                                                                                                                                                                                                  width: min(900px, calc(100% - 48px));
                                                                                                                                                                                                                                                                                                                                                                      margin: 0 auto;
                                                                                                                                                                                                                                                                                                                                                                          padding-top: 12vh;
                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                              .template-product .product__gallery {
                                                                                                                                                                                                                                                                                                                                                                                  grid-column: 1;
                                                                                                                                                                                                                                                                                                                                                                                      grid-template-columns: 1fr;
                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                          .template-product .product__info {
                                                                                                                                                                                                                                                                                                                                                                                              top: 12vh;
                                                                                                                                                                                                                                                                                                                                                                                                  grid-column: 2;
                                                                                                                                                                                                                                                                                                                                                                                                      grid-row: 1;
                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                      

/* Final product-page alignment and interaction feedback. */
.template-product .product-toolbar {
  min-height: 88px !important;
  padding-top: 25px !important;
}
.template-product .product-toolbar > * {
  transform: none !important;
}
@media screen and (min-width: 750px) {
  .template-product .product { padding-top: 8vh; }
}
/* Hairline borders: 0.5px on computers. Thinner-than-1px lines can be rounded away on
   phones (page zoom / Display Zoom change the pixel scale, and a box then shows only 3
   sides), so touch screens and non-Retina screens always get a full 1px line. */
:root { --hairline: 0.5px; }
@media (pointer: coarse), (max-resolution: 1.5dppx) { :root { --hairline: 1px; } }

/* Visible text highlight in both dark and light mode (light mode inverts the page, grey stays grey). */
::selection { color: inherit; background: rgba(128, 128, 128, .45); }

/* Final home catalogue layout: full artwork, tight physical spacing, permanent rail. */
.catalog-grid-wrap {
  display: grid;
    grid-template-columns: minmax(0, 1fr) 10px;
      gap: 8px;
        width: 75%;
          height: min(75vw, calc(100dvh - 118px));
            margin: 30px auto;
            }
            .product-grid--home {
              width: 100%;
                height: 100%;
                  margin: 0;
                    grid-template-columns: repeat(4, 168px);
                      grid-auto-rows: 235px;
                        justify-content: center;
                          gap: 1mm;
                            overflow-y: auto;
                              scrollbar-width: none;
                              }
                              .product-grid--home::-webkit-scrollbar { display: none; }
                              .product-grid--home .product-card__link { grid-template-rows: minmax(0, 1fr); }
                              .product-grid--home .product-card__meta,
                              .product-grid--home .product-card__title { display: none; }
                              .product-grid--home .product-card__image img { object-fit: contain; }
                              @media screen and (max-width: 749px) {
                                .catalog-grid-wrap { width: calc(100% - 24px); height: calc(100dvh - 112px); margin: 12px auto; }
                                  .product-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: calc((100% - 2mm) / 3); gap: 1mm; }
                                  }

                                  /* Rail is aligned to the artwork cluster. */
                                  .collection-side-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
                                  @media screen and (min-width: 750px) {
                                    .catalog-grid-wrap {
                                        grid-template-columns: calc(672px + 3mm) 10px;
                                            width: calc(690px + 3mm);
                                              }
                                                .product-grid--home { justify-content: start; }
                                                }

                                                /* Equal hairline spacing around the uncropped artworks. */
                                                @media screen and (min-width: 750px) {
                                                  .catalog-grid-wrap { grid-template-columns: 639px 10px; width: 657px; gap: 8px; }
                                                    .product-grid--home { grid-template-columns: repeat(4, 159px); grid-auto-rows: 205px; gap: 1px; }
                                                    }

                                                    /* Overlap only the white canvas margins: artworks keep a hairline gap. */
                                                    @media screen and (min-width: 750px) {
                                                      .catalog-grid-wrap { grid-template-columns: 555px 10px; width: 573px; }
                                                        .product-grid--home { grid-template-columns: repeat(4, 138px); grid-auto-rows: 177px; }
                                                          .product-grid--home .product-card__link { display: block; overflow: visible; }
                                                            .product-grid--home .product-card__image { width: 159px; height: 205px; overflow: hidden; }
                                                            }

                                                            /* Reduce blank canvas edges without letting artworks overlap. */
                                                            @media screen and (min-width: 750px) {
                                                              .catalog-grid-wrap { grid-template-columns: 639px 10px; width: 657px; }
                                                                .product-grid--home { grid-template-columns: repeat(4, 159px); grid-auto-rows: 205px; gap: 1px; }
                                                                  .product-grid--home .product-card__link { display: grid; overflow: hidden; }
                                                                    .product-grid--home .product-card__image { width: 100%; height: 100%; }
                                                                      .product-grid--home .product-card__image img,
                                                                        .product-grid--home .product-card:hover .product-card__image img { transform: scale(1.15); }
                                                                        }

                                                                        /* Align the visible artwork edge across each catalogue row. */
                                                                        .product-grid--home .product-card__image img { object-position: center bottom; }

                                                                        /* Account for transparent bottom padding in the third and fourth source files. */
                                                                        @media screen and (min-width: 750px) {
                                                                          .product-grid--home .product-card:nth-child(3) .product-card__image img,
                                                                            .product-grid--home .product-card:nth-child(4) .product-card__image img { transform: translateY(4px) scale(1.15); }
                                                                            }

                                                                            /* Uniform artwork frames and responsive catalogue navigation. */
                                                                            .product-grid--home .product-card__image img,
                                                                            .product-grid--home .product-card:hover .product-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: none; }
                                                                            @media screen and (min-width: 1320px) {
                                                                                  .catalog-layout .catalog-grid-wrap { margin: 0; }
                                                                                      }
                                                                                      @media screen and (max-width: 1319px) {
                                                                                          .catalog-home .collection-toolbar { display: grid; grid-template-columns: 1fr auto; padding-bottom: 10px; }
                                                                                            .catalog-home .collection-toolbar__left { grid-column: 1 / -1; grid-row: 2; width: 75%; margin: 10px auto 0; }
                                                                                              .catalog-home .collection-picker summary { justify-content: space-between; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); }
                                                
                                                
                                                /* Match the product detail area to the catalogue square. */
                                                @media screen and (min-width: 1320px) {
                                                  .template-product .product-page-frame {
                                                      width: 793px;
                                                          max-width: calc(100% - 48px);
                                                              height: min(75vw, calc(100dvh - 118px));
                                                                  margin: 30px auto;
                                                                      overflow: hidden;
                                                                        }
                                                                          .template-product .product-page-frame .product {
                                                                              width: calc(100% - 110px);
                                                                                  height: 100%;
                                                                                      grid-template-columns: minmax(0, 1fr) minmax(300px, .95fr);
                                                                                          gap: 42px;
                                                                                              margin: 0 auto;
                                                                                                  padding: 36px 0 0;
                                                                                                    }
                                                                                                      .template-product .product-page-frame .product__gallery,
                                                                                                        .template-product .product-page-frame .product__media { height: 100%; }
                                                                                                          .template-product .product-page-frame .product__media img { object-fit: contain; }
                                                                                                          }                                              .catalog-home .collection-picker__list { width: 100%; margin: 0; }
                                                                                                }

                                                                                                /* Product details occupy the same centred frame as the catalogue. */
                                                                                                @media screen and (min-width: 1320px) {
                                                                                                  .template-product .product { display: grid; grid-template-columns: 385px minmax(0, 1fr); gap: 24px; width: 793px; margin: 30px auto; padding-top: 0; }
                                                                                                    .template-product .product__gallery { display: block; height: 410px; overflow: hidden; }
                                                                                                      .template-product .product__media { width: 100%; height: 410px; aspect-ratio: auto; }
                                                                                                        .template-product .product__media img { object-fit: cover; object-position: center; }
                                                                                                          .template-product .product__info { position: static; align-self: center; padding: 0; }
                                                                                                          }

                                                                                                          /* In-place product state used from the home grid. */
                                                                                                          @media screen and (min-width: 1320px) {
                                                                                                            .template-index .product--catalog-state { display: grid; grid-template-columns: 385px minmax(0, 1fr); gap: 24px; width: 793px; margin: 30px auto; padding: 0; }
                                                                                                              .template-index .product--catalog-state .product__gallery { display: block; height: 410px; overflow: hidden; }
                                                                                                                .template-index .product--catalog-state .product__media { width: 100%; height: 410px; aspect-ratio: auto; }
                                                                                                                  .template-index .product--catalog-state .product__media img { object-fit: cover; object-position: center; }
                                                                                                                    .template-index .product--catalog-state .product__info { position: static; align-self: center; padding: 0; }
                                                                                                                    }

                                                                                                                    /* Product page uses the catalogue square. */
                                                                                                                    @media screen and (min-width: 1320px) {
                                                                                                                     .template-product .product-toolbar { width: 75%; margin: 30px auto 0; min-height: 68px !important; padding-top: 18px !important; }
                                                                                                                      .template-product .product { width: 75%; height: min(75vw, calc(100dvh - 118px)); margin: 0 auto; padding: 36px 55px 0; grid-template-columns: minmax(0,1fr) minmax(300px,.95fr); gap: 42px; }
                                                                                                                       .template-product .product__gallery, .template-product .product__media { height: 100%; }
                                                                                                                        .template-product .product__media img { object-fit: contain; }
                                                                                                                         .product__description { margin-top: 1.25rem; line-height: 1.35; }
                                                                                                                         }

/* Product details share the existing collection viewport. */
.catalog-transition-frame { position: relative; }
.catalog-transition-frame.is-product-loading { cursor: progress; }
.catalog-product-panel[hidden] { display: none !important; }
.catalog-product-panel { position: absolute; inset: 0; z-index: 2; overflow: auto; overscroll-behavior: contain; background: var(--paper, #fff); padding: 0 18px 18px 0; scrollbar-width: thin; }
.catalog-transition-frame.is-product-open > .product-grid { visibility: hidden; }
.catalog-product-back { display: block; margin: 0 0 20px; padding: 4px 0; border: 0; background: transparent; text-align: left; }
.catalog-product-back:hover { text-decoration: underline; }
.catalog-product-back:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.catalog-product-panel .product.product--catalog-state { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); width: 100%; height: auto; margin: 0; padding: 0; gap: 24px; }
.catalog-product-panel .product--catalog-state .product__gallery { display: grid; grid-column: 1; grid-row: 1; grid-template-columns: 1fr; height: auto; overflow: visible; align-content: start; gap: 12px; }
.catalog-product-panel .product--catalog-state .product__media { width: 100%; height: auto; aspect-ratio: auto; }
.catalog-product-panel .product--catalog-state .product__media img { width: 100%; height: auto; object-fit: contain; object-position: center; }
.catalog-product-panel .product--catalog-state .product__info { position: static; grid-column: 2; grid-row: 1; min-width: 0; align-self: start; padding: 0; border: 0; }
.catalog-product-panel .product__description { line-height: 1.4; overflow-wrap: anywhere; }
.catalog-product-panel .option-value { border-radius: 5px; }
.catalog-product-panel .add-button { color: var(--ink); background: transparent; }
@media (max-width: 749px) {
  .catalog-product-panel { padding-right: 10px; }
  .catalog-product-panel .product.product--catalog-state { grid-template-columns: 1fr; gap: 20px; }
  .catalog-product-panel .product--catalog-state .product__info { grid-column: 1; grid-row: 2; }
  .catalog-product-panel .product--catalog-state .product__gallery { grid-column: 1; grid-row: 1; }
}

.catalog-product-panel { background: var(--paper); }
.catalog-product-panel .option-value { color: #111; border: 1px solid transparent; background: transparent; }
.catalog-product-panel .option-value[aria-pressed="true"] { color: #111; border-color: #111; background: transparent; }
.catalog-product-panel .add-button { color: #111; border: 1px solid #111; background: transparent; }
.catalog-product-panel .add-button:disabled { opacity: .5; cursor: not-allowed; }

/* Information pages use the catalogue's existing content frame. */
.catalog-page-content { max-width: 100%; padding: 0 12px 24px 0; line-height: 1.5; overflow-wrap: anywhere; }
.catalog-page-content h1 { margin: 0 0 24px; font-size: 15px; font-weight: normal; }
.catalog-page-content img, .catalog-page-content video, .catalog-page-content iframe { max-width: 100%; }
.catalog-page-content .rte a { text-decoration: underline; }
.catalog-home nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.catalog-product-back { width: fit-content; }

/* Mobile catalogue: equal rectangles with fine black dividers and inset artwork. */
@media screen and (max-width: 749px) {
  .catalog-home .product-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: calc(100% / 3);
    gap: 0;
    padding: 0;
    border: 0;
  }
  .catalog-home .product-grid--home .product-card {
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 6px;
    border: 0;
    border-right: var(--hairline) solid rgba(0, 0, 0, 0.6);
    border-bottom: var(--hairline) solid rgba(0, 0, 0, 0.6);
  }
  .catalog-home .product-grid--home .product-card:nth-child(2n + 1) { border-left: var(--hairline) solid rgba(0, 0, 0, 0.6); }
  .catalog-home .product-grid--home .product-card:nth-child(-n + 2) { border-top: var(--hairline) solid rgba(0, 0, 0, 0.6); }
  .catalog-home .product-grid--home .product-card__link { height: 100%; overflow: hidden; }
}

/* Quiet gallery-style bag, with a persistent checkout footer. */
.mobile-purchase-bar[hidden] { display: none !important; }
.mobile-purchase-bar { display: none; }
@media (max-width: 749px) {
  .mobile-purchase-bar { position: fixed; z-index: 900; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: var(--hairline) solid #aaa; color: #111; background: var(--paper); }
  .mobile-purchase-bar > div { min-width: 0; display: grid; gap: 5px; }
  .mobile-purchase-bar [data-sticky-title] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-purchase-bar [data-sticky-price] { color: #666; font-size: 10px; }
  .mobile-purchase-bar button { flex-shrink: 0; min-height: 44px; padding: 12px 18px; border: 1px solid #111; color: #fff; background: #111; font: inherit; }
  .mobile-purchase-bar button:disabled { opacity: .5; }
  .catalog-product-panel { padding-bottom: 100px; }
}

/* Keep the gallery wordmark at the true window centre. */
@media (min-width: 750px) {
  .catalog-home .collection-heading-group .collection-heading { display: block; position: absolute; grid-column: 1 / -1; grid-row: 1; top: 25px; left: 50%; width: max-content; margin: 0; transform: translateX(-50%); }
  .catalog-home .collection-heading a { display: block; }
}
/* A discreet purchase tab centred at the bottom on phones. */
@media (max-width: 749px) {
  .mobile-purchase-bar { top: auto; bottom: calc(14px + env(safe-area-inset-bottom)); left: 50%; right: auto; width: min(300px, calc(100% - 32px)); transform: translateX(-50%); gap: 8px; padding: 4px 8px; min-height: 30px; border: var(--hairline) solid #b7b7b7; background: var(--paper); font-size: 10px; }
  .mobile-purchase-bar > div { display: flex; align-items: center; gap: 7px; }
  .mobile-purchase-bar [data-sticky-title] { max-width: 90px; }
  .mobile-purchase-bar [data-sticky-price] { white-space: nowrap; font-size: 10px; }
  .mobile-purchase-bar button { min-height: 28px; padding: 4px 0 4px 8px; border: 0; border-left: var(--hairline) solid #ccc; background: transparent; color: #111; font-size: 10px; }
  .catalog-product-panel { padding-bottom: 24px; }
}

/* Compact mobile bag summary, leaving the artwork visible behind it. */
@media (max-width: 749px) {
  .catalog-product-panel { padding-bottom: 80px; }
}

@media (max-width: 749px) {
  .mobile-purchase-bar > div { display: grid; gap: 4px; flex: 1; min-width: 0; }
  .mobile-purchase-summary { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
  .mobile-purchase-bar [data-sticky-options] { display: block; font-size: 9px; font-weight: 300; color: #777; line-height: 1.35; overflow-wrap: anywhere; }
  .mobile-purchase-bar [data-sticky-options]:empty { display: none; }
  .mobile-purchase-bar { padding-top: 7px; padding-bottom: 7px; }
}

/* Desktop catalogue: fill each cell so the grid gap reads equal on every side. */
@media (min-width: 750px) {
  .catalog-home .product-grid--home .product-card .product-card__image img,
  .catalog-home .product-grid--home .product-card:hover .product-card__image img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    transform: none; scale: none; transition: opacity 180ms ease;
  }
}

/* Match desktop cells to the portrait source ratio, avoiding side letterboxing. */
@media (min-width: 750px) {
  .catalog-home .product-grid--home { grid-auto-rows: 224.84px; gap: 1px; }
}

/* Preserve complete artwork in narrow windows and phone cells. */
@media (max-width: 749px) {
  .catalog-home .product-grid--home .product-card .product-card__image img,
  .catalog-home .product-grid--home .product-card:hover .product-card__image img {
    width: 100%; height: 100%; object-fit: contain; object-position: center;
    transform: none; scale: none; transition: opacity 180ms ease;
  }
  .catalog-home .product-grid--home .product-card__image { min-width: 0; min-height: 0; width: 100%; height: 100%; }
}

/* Product information expands in the normal flow above size selection. */
.product-information { margin: 0 0 20px; border-top: var(--hairline) solid #111; }
.product-information__row { border-bottom: var(--hairline) solid #111; }
.product-information__row summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; list-style: none; cursor: pointer; font-weight: normal; }
.product-information__row summary::-webkit-details-marker { display: none; }
.product-information__row summary svg { flex: 0 0 12px; transition: transform 160ms ease; }
.product-information__row[open] summary svg { transform: rotate(180deg); }
.product-information__row summary:focus-visible { outline: 1px solid #111; outline-offset: 3px; }
.product-information__text { min-height: 28px; padding: 0 0 12px; line-height: 1.5; overflow-wrap: anywhere; }
.product-information__text > :first-child { margin-top: 0; }
.product-information__text > :last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .product-information__row summary svg { transition: none; } }

.product-information { border-top: 0; }

/* Give the product artwork a little more room. */
@media (min-width: 750px) {
  .product.product--catalog-state { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}

@media (min-width: 750px) {
  .catalog-home .catalog-product-panel .product.product--catalog-state { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}

/* Center the artwork itself, with navigation beside the centered frame. */
@media (min-width: 1320px) {
 .catalog-home .catalog-layout { display: block; position: relative; width: 657px; margin: 30px auto; }
}
.product-form .option-dropdown { border: var(--hairline) solid #111; width: 100%; }
.product-form .option-dropdown summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer; }
.product-form .option-dropdown summary::-webkit-details-marker { display: none; }
.product-form .option-dropdown .option-values { display: flex; flex-direction: column; gap: 0; padding: 0 5px 5px; }
.product-form .option-dropdown .option-value { width: 100%; text-align: left; padding: 9px 7px; border: 0; white-space: normal; }
.product-form .option-dropdown .option-value[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 3px; }
.option-dropdown summary:focus-visible { outline: 1px solid #111; outline-offset: 3px; }

/* Light mode: the whole page is inverted, and images/videos are inverted back. */
html.night-mode { --paper: #ffffff; background: #fff; filter: invert(1) hue-rotate(180deg); }
html.night-mode img, html.night-mode video, html.night-mode canvas { filter: invert(1) hue-rotate(180deg); }

/* Consistent disclosure motion and a menu that expands in page flow. */
.product-information__row summary .disclosure-plus { display:inline-block;flex:0 0 13px;text-align:center;font-size:13px;line-height:1;font-weight:normal;transition:transform 160ms ease; }
.product-information__row[open] summary .disclosure-plus { transform:rotate(45deg); }
.collection-picker summary::after { transition:transform 160ms ease; }
@keyframes menu-unroll { from { opacity:0;transform:translateY(-4px); } to { opacity:1;transform:translateY(0); } }
@media (prefers-reduced-motion:reduce) { .product-information__row summary .disclosure-plus,.collection-picker summary::after { transition:none; } }

/* Keep every compact navigation destination readable. */
/* Phones scroll the document, so artwork and buying options stay reachable. */
@media (max-width:749px) {
 body.template-index { height:auto;min-height:100svh;overflow:visible; }
 .template-index #MainContent { height:auto;min-height:100svh;overflow:visible; }
 .catalog-home { height:auto;min-height:100svh;overflow:visible; }
 .catalog-home .catalog-layout { flex:none;width:100%;max-width:100%;height:auto;margin:8px auto 24px; }
 .catalog-home .catalog-grid-wrap { display:block;left:auto;width:calc(100% - 24px);height:auto;min-height:0;margin:0 auto;overflow:visible; }
 .catalog-home .product-grid--home { height:auto;max-height:none;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;overflow:visible;touch-action:manipulation; }
 .catalog-home .product-grid--home .product-card { aspect-ratio:3 / 4;min-height:0; }
 .catalog-home .catalog-grid-wrap.is-product-open .product-grid--home { display:none; }
 .catalog-home .catalog-product-panel:not([hidden]) { position:relative;inset:auto;height:auto;max-height:none;overflow:visible;padding:0 0 90px;touch-action:manipulation; }
}

/* Let the utility controls leave the screen with the phone page. */
@media (max-width:749px) {
 body.template-index { position:relative; }
}

/* Fixed square cells keep intrinsic image dimensions from enlarging mobile rows. */
@media (max-width:749px) {
 .catalog-home .product-grid--home .product-card { position:relative;aspect-ratio:1 / 1;width:100%;height:auto;min-width:0;min-height:0;padding:0;overflow:hidden; }
 .catalog-home .product-grid--home .product-card__link { position:absolute;inset:8px;display:block;width:auto;height:auto;min-width:0;min-height:0;overflow:hidden; }
 .catalog-home .product-grid--home .product-card__image { position:absolute;inset:0;aspect-ratio:auto;width:100%;height:100%;padding:0;background:transparent;overflow:hidden; }
 .catalog-home .product-grid--home .product-card .product-card__image img,
 .catalog-home .product-grid--home .product-card:hover .product-card__image img { display:block;position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;margin:0;padding:0;object-fit:contain;object-position:center;transform:none;scale:none; }
}

/* Two generous phone columns, matching the reference's continuous grid. */
@media (max-width:749px) {
 .catalog-home .catalog-grid-wrap { width:100%;margin:0; }
 .catalog-home .product-grid--home { display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:0; }
 .catalog-home .product-grid--home .product-card { aspect-ratio:4 / 5; }
 .catalog-home .product-grid--home .product-card__link { inset:8px; }
 .catalog-home .catalog-product-panel:not([hidden]) { padding:0 12px 90px; }
}
/* Uniform desktop gutters without cropping or hover magnification. */
@media (min-width:750px) {
 .catalog-home .product-grid--home { grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:205px;gap:10px;align-content:start; }
 .catalog-home .product-grid--home .product-card { min-width:0;min-height:0;padding:0; }
 .catalog-home .product-grid--home .product-card__link { display:block;width:100%;height:100%;overflow:hidden; }
 .catalog-home .product-grid--home .product-card__image { width:100%;height:100%;min-width:0;min-height:0;padding:0;aspect-ratio:auto;background:transparent; }
 .catalog-home .product-grid--home .product-card .product-card__image img,
 .catalog-home .product-grid--home .product-card:hover .product-card__image img { width:100%;height:100%;object-fit:cover;object-position:center;transform:none;scale:none; }
}

/* Compact phone product view; the desktop presentation stays unchanged. */
@media (max-width:749px) {
 .catalog-home:has(.catalog-product-panel:not([hidden]) .product) .collection-toolbar { display:none; }
 .catalog-home:has(.catalog-product-panel:not([hidden]) .product) .catalog-layout { margin:0 auto 24px; }
 .catalog-home .catalog-product-panel:has(.product):not([hidden]) { padding:18px 16px 80px; }
 .catalog-product-panel .catalog-product-back { margin:0 0 18px; padding:6px 0; }
 .catalog-home .catalog-product-panel .product.product--catalog-state { display:grid;grid-template-columns:minmax(0,1fr);gap:12px; }
 .catalog-home .catalog-product-panel .product--catalog-state .product__info { display:contents; }
 .catalog-home .catalog-product-panel .product__title { grid-column:1;grid-row:1;margin:0;font-size:15px;line-height:1.35; }
 .catalog-home .catalog-product-panel .product--catalog-state .product__gallery { display:flex;grid-column:1;grid-row:2;height:clamp(320px,62svh,560px);min-width:0;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;align-items:center; }
 .catalog-home .catalog-product-panel .product--catalog-state .product__media { flex:0 0 100%;width:100%;height:100%;min-width:0;aspect-ratio:auto;scroll-snap-align:center;background:transparent; }
 .catalog-home .catalog-product-panel .product--catalog-state .product__media img,
 .catalog-home .catalog-product-panel .product--catalog-state .product__media video { display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center; }
 .catalog-home .catalog-product-panel .product-form { grid-column:1;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start;margin:0; }
 .catalog-home .catalog-product-panel .product-form__options { grid-column:1;grid-row:1;display:grid;gap:10px;margin:0;min-width:0; }
 .catalog-home .catalog-product-panel .option-fieldset { min-width:0;margin:0;padding:0; }
 .catalog-home .catalog-product-panel .option-fieldset legend { margin:0 0 5px;font-size:12px; }
 .catalog-home .catalog-product-panel .option-dropdown summary { min-height:40px;padding:9px 10px;gap:8px; }
 .catalog-home .catalog-product-panel .add-button { grid-column:2;grid-row:1;align-self:start;margin:21px 0 0;min-height:40px;padding:9px 8px;border-radius:0; }
 .catalog-home .catalog-product-panel .product__price { grid-column:1;grid-row:3;align-self:start;justify-self:end;margin:97px 0 0;text-align:right; }
 .catalog-home .catalog-product-panel .product-information { grid-column:1;grid-row:4;margin:0; }
 .catalog-home .catalog-product-panel .product__description { grid-column:1;grid-row:5;margin:4px 0 0; }
}

/* Phone purchase controls share exact label and box dimensions. */
@media (max-width:749px) {
 .catalog-home .catalog-product-panel .product__title { text-align:left; }
 .catalog-home .catalog-product-panel .option-fieldset legend { height:16px;line-height:16px;margin:0 0 5px;padding:0; }
 .catalog-home .catalog-product-panel .option-dropdown summary { box-sizing:border-box;height:44px;min-height:0;line-height:14px; }
 .catalog-home .catalog-product-panel .add-button { box-sizing:border-box;height:45px;min-height:45px;margin-top:21px;line-height:14px; }
}

/* Remove the temporary catalogue rail without disabling scrolling. */
@media (min-width:750px) {
 .catalog-home .catalog-grid-wrap { grid-template-columns:minmax(0,1fr);width:639px;left:0;gap:0; }
}
/* Desktop product composition follows the supplied studio mockup. */
@media (min-width: 1320px) {
 .catalog-home .catalog-product-panel:has(.product):not([hidden]) { padding:0 18px 24px 18px; }
 .catalog-home .catalog-product-panel .catalog-product-back { margin:0 0 32px;padding:0;line-height:18px; }
 .catalog-home .catalog-product-panel .product.product--catalog-state { grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:40px;padding:0; }
 .catalog-home .catalog-product-panel .product--catalog-state .product__gallery { height:auto;gap:16px; }
 .catalog-home .catalog-product-panel .product--catalog-state .product__media { height:63vh;aspect-ratio:auto; }
 .catalog-home .catalog-product-panel .product--catalog-state .product__media img { display:block;width:100%;height:100%;object-fit:contain;object-position:top center; }
 .catalog-home .catalog-product-panel .product--catalog-state .product__info { padding:0;align-self:start; }
 .catalog-home .catalog-product-panel .product__title { text-align:left; }
}

.catalog-ghost { position: absolute; top: 0; left: 0; right: 0; z-index: 3; box-sizing: border-box; min-height: 100%; padding: inherit; background: var(--paper, #fff); pointer-events: none; }

@keyframes bag-flash { from { background-color: #e9e6df; background-color: color-mix(in srgb, var(--paper), #111 9%); } to { background-color: transparent; } }
.is-flashing { animation: bag-flash 1.5s ease-out; }
@media (prefers-reduced-motion: reduce) { .is-flashing { animation: none; } }

.collection-heading-actions .bag-link { padding: 0 2px; }
.collection-heading-actions .actions-checkout { padding: 1px 6px; border: var(--hairline) solid #111; line-height: 1.3; }
.collection-heading-actions .actions-checkout[hidden] { display: none; }

.product-form__buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; }
.product-form__buttons .add-button { width: 100%; }
.catalog-product-panel .add-button.is-in-bag { color: #111; border-color: #111; background: #efece6; background: color-mix(in srgb, var(--paper), #111 6%); }
.remove-button { grid-column: 1; justify-self: start; padding: 4px 0; color: #111; background: transparent; border: 0; font: inherit; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.remove-button[hidden] { display: none; }
.remove-button:disabled { opacity: .5; cursor: wait; }
.next-work { display: block; width: max-content; margin: -12px 0 14px auto; color: #111; font-size: 11px; text-decoration: none; }
.next-work:hover { text-decoration: underline; text-underline-offset: 2px; }

/* The add-to-bag confirmation reads the same on every screen. */
.catalog-product-panel .add-button { transition: background-color .4s ease, color .2s ease; }
.catalog-product-panel .add-button.is-label-fading { color: transparent; }
.catalog-product-panel .remove-button { transition: opacity .3s ease; }
.catalog-product-panel .remove-button.is-leaving { opacity: 0; }
.catalog-product-panel .bag-lines { display: grid; margin: 4px 0 0; border-top: var(--hairline) solid #111; animation: bag-lines-in .25s ease-out; transition: opacity .25s ease; }
.catalog-product-panel .bag-lines.is-leaving { opacity: 0; }
.catalog-product-panel .bag-lines__heading { margin: 10px 0 4px; color: #777; font-size: 10px; }
.catalog-product-panel .bag-lines__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; border-bottom: var(--hairline) solid #d6d6d6; font-size: 12px; transition: opacity .25s ease; }
.catalog-product-panel .bag-lines__row.is-leaving { opacity: .3; }
.catalog-product-panel .bag-lines__bin { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -10px; padding: 0; color: #111; background: transparent; border: 0; cursor: pointer; }
.catalog-product-panel .bag-lines__done { justify-self: end; margin-top: 6px; padding: 8px 0; color: #111; background: transparent; border: 0; font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.catalog-product-panel .bag-lines__bin:focus-visible, .catalog-product-panel .bag-lines__done:focus-visible { outline: 1px solid #111; outline-offset: 2px; }

@media (min-width: 750px) {
 .catalog-home .product-grid--home .product-card:hover { outline: 1px solid #cfcfcf; outline-offset: -1px; }
}

@media (max-width: 749px) {
 .catalog-home .collection-heading-group .collection-heading { display: block; position: absolute; top: 25px; left: 12px; margin: 0; transform: none; }
 .catalog-home:has(.catalog-product-panel:not([hidden]) .product) .collection-toolbar { display: block; height: 0; min-height: 0; padding: 0; border: 0; overflow: visible; }
 .catalog-home:has(.catalog-product-panel:not([hidden]) .product) .collection-toolbar__left,
 .catalog-home:has(.catalog-product-panel:not([hidden]) .product) .collection-toolbar .back-arrow,
 .catalog-home:has(.catalog-product-panel:not([hidden]) .product) .collection-heading { display: none; }
 .catalog-home:has(.catalog-product-panel:not([hidden]) .product) .collection-heading-actions { top: 20px; z-index: 5; }
 .catalog-home .catalog-product-panel .product-form__buttons { display: contents; }
 .catalog-home .catalog-product-panel .add-button { transition: background-color .4s ease, color .2s ease; }
 .catalog-home .catalog-product-panel .add-button.is-label-fading { color: transparent; }
 .catalog-home .catalog-product-panel .remove-button { position: relative; grid-column: 2; grid-row: 1; justify-self: start; align-self: start; margin-top: 97px; padding: 0; font-size: 12px; line-height: 1.12; transition: opacity .3s ease; }
 .catalog-home .catalog-product-panel .remove-button::before { content: ""; position: absolute; inset: -14px -12px; }
 .catalog-home .catalog-product-panel .remove-button.is-leaving { opacity: 0; }
 .catalog-home .catalog-product-panel .bag-lines { grid-column: 1 / -1; grid-row: 2; display: grid; margin: 4px 0 0; border-top: var(--hairline) solid #111; animation: bag-lines-in .25s ease-out; transition: opacity .25s ease; }
 .catalog-home .catalog-product-panel .bag-lines.is-leaving { opacity: 0; }
 .catalog-home .catalog-product-panel .bag-lines__heading { margin: 10px 0 4px; color: #777; font-size: 10px; }
 .catalog-home .catalog-product-panel .bag-lines__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; border-bottom: var(--hairline) solid #d6d6d6; font-size: 12px; transition: opacity .25s ease; }
 .catalog-home .catalog-product-panel .bag-lines__row.is-leaving { opacity: .3; }
 .catalog-home .catalog-product-panel .bag-lines__bin { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -12px; padding: 0; color: #111; background: transparent; border: 0; cursor: pointer; }
 .catalog-home .catalog-product-panel .bag-lines__done { justify-self: end; margin-top: 6px; padding: 8px 0; color: #111; background: transparent; border: 0; font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
 .catalog-home .catalog-product-panel .bag-lines__bin:focus-visible, .catalog-home .catalog-product-panel .bag-lines__done:focus-visible { outline: 1px solid #111; outline-offset: 2px; }
 .catalog-home .catalog-product-panel .next-work { grid-column: 1 / -1; grid-row: 3; justify-self: end; margin: 0; }
}
.product-form__buttons .add-button { padding-left: 4px; padding-right: 4px; white-space: nowrap; }
@keyframes bag-lines-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
 .catalog-home .catalog-product-panel .bag-lines { animation: none; }
 .catalog-home .catalog-product-panel .add-button, .catalog-home .catalog-product-panel .remove-button, .catalog-home .catalog-product-panel .bag-lines__row { transition: none; }
}

@media (max-width: 749px) {
 .catalog-home .catalog-product-panel .product--catalog-state .product__gallery { height: auto; align-items: flex-start; }
 .catalog-home .catalog-product-panel .product--catalog-state .product__media { display: block; height: auto; }
 .catalog-home .catalog-product-panel .product--catalog-state .product__media img,
 .catalog-home .catalog-product-panel .product--catalog-state .product__media video { width: 100%; height: auto; max-width: 100%; max-height: none; }
}

@media (min-width: 750px) and (max-width: 1319px) {
 .catalog-home .catalog-product-panel .product.product--catalog-state { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 0; }
 .catalog-home .catalog-product-panel .product--catalog-state .product__gallery { grid-column: 1; grid-row: 1; display: flex; gap: 12px; height: auto; min-width: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; align-items: flex-start; }
 .catalog-home .catalog-product-panel .product--catalog-state .product__media { display: block; flex: 0 0 100%; width: 100%; height: auto; min-width: 0; aspect-ratio: auto; scroll-snap-align: center; background: transparent; }
 .catalog-home .catalog-product-panel .product--catalog-state .product__media img,
 .catalog-home .catalog-product-panel .product--catalog-state .product__media video { display: block; width: 100%; height: auto; max-width: 100%; max-height: none; object-fit: contain; }
 .catalog-home .catalog-product-panel .product--catalog-state .product__info { grid-column: 1; grid-row: 2; justify-self: start; align-self: start; width: min(100%, 420px); padding: 0 0 8px; }
}
@media (max-width: 1319px) {
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout] > .product .product__gallery { width: var(--media-w); max-width: 100%; }
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout] > .product .product__media { height: var(--media-h); }
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout] > .product .product__media :is(img, video) { width: 100%; height: 100%; max-height: none; object-fit: contain; }
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout="fit"] > .product .product__gallery { justify-self: center; margin-inline: auto; }
}
@media (min-width: 750px) and (max-width: 1319px) {
 .catalog-home.is-product-view.has-group .collection-toolbar__left { width: var(--group-w); max-width: calc(100% - 48px); margin: 0 0 0 var(--group-x); }
 .catalog-home .catalog-product-panel:has(> .product):not([hidden]) { left: calc(50% - 50vw); right: calc(50% - 50vw); bottom: auto; height: calc(100dvh - 118px); padding: 0 24px 52px; scrollbar-gutter: stable; }
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout] > .catalog-product-back { margin: 0 0 20px max(0px, calc((100% - var(--group-w)) / 2)); }
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout] > .product.product--catalog-state { width: var(--group-w); max-width: 100%; margin: 0 auto; padding: 0; }
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout="side"] > .product.product--catalog-state { display: grid; grid-template-columns: var(--media-w) var(--info-w); column-gap: var(--info-gap); align-items: start; }
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout="side"] > .product .product__gallery { grid-column: 1; grid-row: 1; }
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout="side"] > .product .product__info { grid-column: 2; grid-row: 1; justify-self: stretch; width: auto; padding: 0 0 8px; }
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout="stacked"] > .product.product--catalog-state { display: flex; flex-direction: column; gap: 0; }
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout="stacked"] > .product .product__info { display: contents; }
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout="stacked"] > .product .product__title { order: -1; margin: 0 0 16px; }
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout="stacked"] > .product .product__gallery { margin: 0 0 24px; }
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout="stacked"] > .product .product__info > :not(.product__title) { width: min(100%, 420px); }
}

@media (max-width: 749px) {
 .catalog-home .product-grid--home { height: auto; align-content: start; grid-auto-rows: max-content; }
 .catalog-home .product-grid--home .product-card { aspect-ratio: auto; height: auto; padding: 125% 0 0; }
 .catalog-home .catalog-product-panel .product-form .option-dropdown { border: 1px solid #111; }
 .catalog-home .catalog-product-panel .product-form .option-dropdown summary { height: 43px; }
}

/* The artwork box hugs the print, so its paper edge reads against the page. */
@media (min-width: 1320px) {
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout="desktop"] > .product .product__media { width: var(--media-w); height: var(--media-h); }
}
.catalog-product-panel .product--catalog-state .product__media { border: 1px solid #d6d6d6; }

/* The collection reads as one grid: hairlines between and around every cell. */
.catalog-home { --grid-line: rgba(17, 17, 17, .5); }
.catalog-home .product-grid--home .product-card { background: var(--paper, #fff); border-right: 1px solid var(--grid-line); border-bottom: 1px solid var(--grid-line); }
@media (max-width: 749px) {
 .catalog-home .product-grid--home .product-card:nth-child(2n + 1) { border-left: 1px solid var(--grid-line); }
 .catalog-home .product-grid--home .product-card:nth-child(-n + 2) { border-top: 1px solid var(--grid-line); }
}

/* Phones open sizes in the operating system's own picker, behind the theme's box. */
.option-native { display: none; }
@media (max-width: 749px) {
 .catalog-home .catalog-product-panel .product-form .option-fieldset { position: relative; }
 .catalog-home .catalog-product-panel .product-form .option-dropdown { pointer-events: none; }
 .catalog-home .catalog-product-panel .product-form .option-native { display: block; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; width: 100%; height: 43px; margin: 0; padding: 0; border: 0; opacity: 0; font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; }
 .catalog-home .catalog-product-panel .product-form .option-dropdown:has(+ .option-native:focus-visible) { outline: 1px solid #111; outline-offset: 2px; }
}

/* The buy tab tracks the scroll instead of appearing all at once. */
@media (max-width: 749px) {
 .mobile-purchase-bar { transform: translate(-50%, calc((1 - var(--reveal, 1)) * 160%)); opacity: var(--reveal, 1); will-change: transform; }
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout="fit"] > .product .product__title { margin-left: var(--media-x, 0px); }
}

/* Add to bag takes the full row (no express payment button: Apple Pay and the others are offered at checkout). */
.product-form__buttons { grid-template-columns: minmax(0, 1fr); }
.product-form__buttons .add-button { grid-column: 1; grid-row: 1; }
.remove-button { grid-row: 2; }
@media (max-width: 749px) {
 .catalog-home .catalog-product-panel .product-form__buttons { display: grid; grid-column: 2; grid-row: 1; grid-template-columns: minmax(0, 1fr); gap: 6px; align-content: start; margin: 21px 0 0; }
 .catalog-home .catalog-product-panel .add-button { grid-column: 1; grid-row: 1; margin: 0; }
 .catalog-home .catalog-product-panel .remove-button { grid-column: 1; grid-row: 2; margin-top: 31px; }
}

/* The next work link stays on touch screens, where the grid is a tap away. */
@media (max-width: 749px) and (pointer: fine) {
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout="fit"] .next-work { display: none; }
}

/* Says so when the store refuses a country change, instead of failing quietly. */

/* The back arrow starts exactly where the artwork starts. */
@media (max-width: 749px) {
 .catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout="fit"] > .catalog-product-back { margin-left: var(--media-x, 0px); }
}

/* Soft page transitions: the page being left fades into its own colour, the next page fades in from the colour of the page before it. */
@media (prefers-reduced-motion: no-preference) {
html::after { content:"";position:fixed;inset:0;z-index:2147483000;background:#fff;opacity:0;pointer-events:none; }
html.is-hero::after { background:#000; }
html.is-page-leaving::after { opacity:1;transition:opacity 380ms ease; }
html.is-page-entering::after { background:var(--veil-in,#fff);animation:page-veil 600ms ease-out; }
}
@keyframes page-veil { from { opacity:1; } to { opacity:0; } }

/* Status line under plain forms. */
[data-form-status] { margin:12px 0 0;font-size:12px; }
[data-form-status]:empty { display:none; }

/* Bottom bar: one slim footer on every page. */
:root { --foot-h: 54px; }
html.no-js .footbar__club, html.no-js .footbar__mode { display:none; }
@media (min-width: 750px) and (max-width: 1319px) {
.catalog-home .catalog-product-panel:has(> .product):not([hidden]) { height:calc(100dvh - 118px - var(--foot-h)); }
}
@media (max-width: 749px) {
body.template-index #MainContent, body.template-index .catalog-home { min-height:calc(100svh - var(--foot-h)); }
}

/* Shop: the toolbar keeps the back arrow, the currency and the bag counter; three works per row on wide screens. */
.catalog-home .collection-toolbar .collection-heading-actions { position: absolute; top: 19px; right: 22px; left: auto; z-index: 5; display: flex; align-items: center; gap: 12px; margin: 0; transform: none; }
.catalog-home .collection-toolbar .collection-heading-actions .bag-link { padding: 0 2px; }
.actions-checkout { position: relative; padding: 1px 6px; border: var(--hairline) solid currentColor; line-height: 1.3; white-space: nowrap; }
.actions-checkout::after { content: ""; position: absolute; inset: -10px -8px; }
.actions-checkout[hidden] { display: none; }
.site-header .actions-checkout { text-transform: lowercase; }
.cart-notice { margin: 8px 0 0; color: var(--accent, #ed3d25); font-size: 11px; line-height: 1.3; }
@media (min-width: 750px) {
.catalog-home { --shop-w: min(720px, calc(100vw - 32px)); }
}
@media (max-width: 749px) {
.catalog-home .collection-toolbar { min-height: 56px; flex-basis: 56px; padding: 0; }
}
/* Shop v2: the frame that presents the works is centred and square; the works themselves stay fully visible (no cropping). The footer is a normal page element (never an overlay); no banner. */
.collection-heading-actions .bag-link[hidden] { display: none; }
@media (min-width: 750px) {
  /* The shell no longer traps the page at 100dvh: content flows normally, so the footer can never sit on top of it. */
  .template-index,
  .template-index #MainContent {
    height: auto;
    overflow: visible;
  }
  .catalog-home {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    overflow: visible;
  }
  .catalog-home .collection-toolbar {
    flex: none;
    min-height: 84px;
  }
  .catalog-home .catalog-layout {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    margin: 0;
  }
  .catalog-home {
    /* The frame itself is square: as wide as it is tall, and never bigger than the room around it. */
    --frame: min(var(--shop-w), calc(100dvh - 84px - 32px));
  }
  .catalog-home .catalog-grid-wrap {
    position: relative;
    left: auto;
    width: var(--frame);
    height: var(--frame);
    margin: 0;
  }
  .catalog-home .product-grid--home {
    width: 100%;
    height: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(100px, 1fr);
    gap: 16px;
    overflow-y: auto;
  }
  .catalog-home .product-grid--home .product-card {
    border-left: 1px solid var(--grid-line);
    border-top: 1px solid var(--grid-line);
  }
  /* The artwork is always shown whole: it fits inside its cell instead of being cropped to fill it. */
  .catalog-home .product-grid--home .product-card .product-card__image img,
  .catalog-home .product-grid--home .product-card:hover .product-card__image img {
    object-fit: contain;
  }
}
@media (min-width: 750px) and (max-width: 1319px) {
  /* The tablet product view still breaks out to the full window width, but the square frame it grows from
     is now centred (not flush with the toolbar), so pull it back up to the toolbar and re-measure its height
     from there — otherwise it would run on past where the footer now starts. */
  .catalog-home .catalog-product-panel:has(> .product):not([hidden]) {
    top: calc((100dvh - 84px - var(--frame)) / -2);
    height: calc(100dvh - 84px);
  }
}
@media (min-width: 1320px) {
  /* On full desktop the border around each work is a hover affordance, not a permanent grid line — it stays
     transparent (colour, not width, so nothing shifts) until that work is hovered or focused. Phones and the
     tablet/compact width keep the border on all the time, since touch has no reliable hover to reveal it. */
  .catalog-home .product-grid--home .product-card {
    border-color: transparent;
  }
  .catalog-home .product-grid--home .product-card:hover,
  .catalog-home .product-grid--home .product-card:focus-within {
    border-color: var(--grid-line);
    outline: none;
  }
}

/* Entry screen: a box of narrow slices, one per work, over the home page. */
.entry { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: #000; color: #fff; font-family: "Courier New", Courier, monospace; font-size: 13px; transition: opacity .45s ease, visibility 0s; }
/* Light mode inverts the whole page (html.night-mode); the entry follows that like everything else. */
.no-js .entry, .entry[hidden] { display: none; }
.entry.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s ease, visibility 0s linear .45s; }
html.entry-open, html.entry-open body { overflow: hidden; }
.entry__strip { --slice-gap: 2px; --slice-w: min(var(--slice-width, 112px), calc((100vw - 32px - (var(--visible, 8) - 1) * var(--slice-gap)) / var(--visible, 8))); width: calc(var(--visible, 8) * var(--slice-w) + (var(--visible, 8) - 1) * var(--slice-gap)); }
.entry__track { display: flex; gap: var(--slice-gap); height: clamp(300px, 58vh, 540px); padding: 16px 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.entry__track::-webkit-scrollbar { display: none; }
.entry__slide { position: relative; flex: 0 0 var(--slice-w); height: 100%; margin: 0; padding: 0; border: 0; background: #111; color: inherit; overflow: hidden; cursor: pointer; transition: transform .3s cubic-bezier(.2, .7, .2, 1), filter .3s ease, box-shadow .3s ease; -webkit-tap-highlight-color: transparent; }
.entry__image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--crop-x, 50%) var(--crop-y, 50%); pointer-events: none; user-select: none; -webkit-user-select: none; }
.entry__slide:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; z-index: 2; transform: scale(1.06); }
@media (hover: hover) {
 .entry__track .entry__slide:hover { z-index: 2; transform: scale(1.06); box-shadow: 0 14px 34px rgba(0, 0, 0, .65); }
 html.night-mode .entry__track .entry__slide:hover { box-shadow: 0 14px 34px rgba(255, 255, 255, .3); }
}
.entry__bar { position: relative; height: 4px; margin-top: 4px; background: rgba(255, 255, 255, .12); cursor: pointer; }
.entry__bar[hidden] { display: none; }
.entry__bar::before { content: ""; position: absolute; inset: -7px 0; }
.entry__thumb { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: rgba(255, 255, 255, .45); }
.entry__enter { padding: 8px 14px; color: inherit; letter-spacing: .08em; text-decoration: none; text-transform: lowercase; }
.entry__enter:hover, .entry__enter:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.entry__viewer { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.entry__viewer[open] { display: flex; align-items: center; justify-content: center; }
.entry__viewer::backdrop { background: rgba(0, 0, 0, .9); }
/* The viewer opens in the browser top layer, outside the page inversion: style it directly and skip the image re-inversion. */
html.night-mode .entry__viewer::backdrop { background: rgba(255, 255, 255, .94); }
html.night-mode .entry__full { filter: none; }
.entry__figure { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; }
.entry__full { width: auto; height: auto; max-width: min(92vw, 1600px); max-height: 90vh; max-height: 90dvh; object-fit: contain; cursor: pointer; }
.entry__figure.has-caption .entry__full { max-height: 80vh; max-height: 80dvh; }
/* Caption under the open work (the viewer is outside the page inversion, so colour it per mode). */
.entry__caption { max-width: min(92vw, 640px); color: #fff; font-family: "Courier New", Courier, monospace; font-size: 12px; line-height: 1.6; text-align: center; cursor: pointer; }
.entry__caption[hidden] { display: none; }
.entry__caption p { margin: 0; }
.entry__caption a { color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html.night-mode .entry__caption { color: #111; }
@media (max-width: 749px) {
 .entry__track { height: min(58vh, 480px); }
 .entry__strip { --visible: var(--visible-mobile, 4); --slice-w: calc((100vw - 32px - (var(--visible) - 1) * var(--slice-gap)) / var(--visible)); }
}
@media (prefers-reduced-motion: reduce) {
 .entry__slide, .entry__full { transition: none; }
}
.entry__thumb { cursor: grab; touch-action: none; }
.entry__bar.is-dragging .entry__thumb { cursor: grabbing; }
@media (hover: none), (pointer: coarse) {
 .entry__bar { display: none; }
}

/* Print store: price under each work, bottom-right of its space; the picture's
   bottom edge moves up to leave one line for it, so they never overlap. */
.product-card__corner-price { position: absolute; right: 9px; bottom: 6px; z-index: 1; font-size: 11px; line-height: 1.2; letter-spacing: .02em; text-transform: lowercase; white-space: nowrap; pointer-events: none; }
@media (max-width: 749px) {
 .catalog-home .product-grid--home .product-card .product-card__link { bottom: 24px; }
 .product-card__corner-price { bottom: 7px; font-size: 10px; }
}
@media (min-width: 750px) {
 .catalog-home .product-grid--home .product-card .product-card__link { height: calc(100% - 22px); }
}

/* Contact page: mail and Instagram lines above the form. */
.contact-info { margin: 0 auto 28px; }
.contact-info__line { margin: 0; line-height: 1.8; }
.contact-info__line a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Footer stays visible on the artworks entry screen. */
html.entry-open .footbar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1001; }
.entry { padding-bottom: var(--foot-h, 54px); }

/* Computer: the store grid is the phone grid, larger. Full width, touching cells with shared
   hairlines, each print fitted in its cell with the price under it. (The product view keeps
   its own layout.) Cells get their 3:4 shape from padding, not aspect-ratio: Safari mis-sizes
   grid rows of aspect-ratio items whose content is all absolutely positioned. */
@media (min-width: 750px) {
 .catalog-home:not(.is-product-view) .catalog-layout { display: block; position: static; width: 100%; min-height: 0; margin: 0; }
 .catalog-home:not(.is-product-view) { height: auto; min-height: calc(100dvh - var(--foot-h, 54px)); }
 .catalog-home:not(.is-product-view) .catalog-grid-wrap { display: block; position: static; left: auto; width: min(calc(100% - 2 * clamp(24px, 6vw, 120px)), 1400px); height: auto; margin: 0 auto 48px; }
 .catalog-home:not(.is-product-view) .product-grid--home { display: grid; width: 100%; height: auto; max-height: none; grid-auto-rows: auto; gap: 0; padding: 0; border: 0; overflow: visible; }
 .catalog-home:not(.is-product-view) .product-grid--home .product-card { position: relative; aspect-ratio: auto; width: auto; height: 0; min-width: 0; min-height: 0; margin: 0; padding: 0 0 133.333%; border: 0; border-right: var(--hairline) solid rgba(0, 0, 0, 0.6); border-bottom: var(--hairline) solid rgba(0, 0, 0, 0.6); }
 .catalog-home:not(.is-product-view) .product-grid--home .product-card .product-card__link { position: absolute; inset: 12px 12px 32px; display: block; width: auto; height: auto; overflow: hidden; }
 .catalog-home:not(.is-product-view) .product-grid--home .product-card .product-card__image { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; aspect-ratio: auto; background: transparent; }
 .catalog-home:not(.is-product-view) .product-grid--home .product-card .product-card__image img,
 .catalog-home:not(.is-product-view) .product-grid--home .product-card:hover .product-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; transform: none; scale: none; }
 .catalog-home:not(.is-product-view) .product-grid--home .product-card__corner-price { right: 13px; bottom: 11px; font-size: 11px; }
 @media (min-width: 750px) and (max-width: 1099px) {
  .catalog-home:not(.is-product-view) .product-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-home:not(.is-product-view) .product-grid--home .product-card:nth-child(3n + 1) { border-left: var(--hairline) solid rgba(0, 0, 0, 0.6); }
  .catalog-home:not(.is-product-view) .product-grid--home .product-card:nth-child(-n + 3) { border-top: var(--hairline) solid rgba(0, 0, 0, 0.6); }
 }
 @media (min-width: 1100px) {
  .catalog-home:not(.is-product-view) .product-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .catalog-home:not(.is-product-view) .product-grid--home .product-card:nth-child(4n + 1) { border-left: var(--hairline) solid rgba(0, 0, 0, 0.6); }
  .catalog-home:not(.is-product-view) .product-grid--home .product-card:nth-child(-n + 4) { border-top: var(--hairline) solid rgba(0, 0, 0, 0.6); }
 }
}

/* Gallery images: no long-press save menu on iPhone, no selection or dragging. */
.entry__image, .entry__full { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }

/* Product view: only "← all …" is shown; the page's back arrow fades out (and back in). */
.catalog-home .collection-toolbar .back-arrow { transition: opacity .4s ease, visibility 0s; }
.catalog-home.is-product-view .collection-toolbar .back-arrow { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .4s ease, visibility 0s linear .4s; }


/* Shop grid: the price sits in a small box in the cell's bottom-right corner; the cell's own
   right and bottom lines close it, so only its left and top lines are drawn. */
.catalog-home .product-grid--home .product-card__corner-price { right: 0; bottom: 0; padding: 4px 7px; border-top: 1px solid var(--grid-line); border-left: 1px solid var(--grid-line); }
@media (max-width: 749px) {
 .catalog-home .product-grid--home .product-card .product-card__link { bottom: 28px; }
}
@media (min-width: 750px) {
 .catalog-home:not(.is-product-view) .product-grid--home .product-card__corner-price { right: 0; bottom: 0; padding: 5px 9px; border-top: var(--hairline) solid rgba(0, 0, 0, 0.6); border-left: var(--hairline) solid rgba(0, 0, 0, 0.6); }
}
/* Hovering a work on a computer: its space and its price box are traced with one slightly heavier,
   darker line, laid exactly over the grid lines (including the neighbours' lines on its left and top)
   and faded in as a whole, so every side changes together. */
@media (hover: hover) and (min-width: 750px) {
 .catalog-home:not(.is-product-view) .product-grid--home .product-card { overflow: visible; }
 .catalog-home:not(.is-product-view) .product-grid--home .product-card::after,
 .catalog-home:not(.is-product-view) .product-grid--home .product-card__corner-price::before { content: ""; position: absolute; z-index: 2; box-sizing: border-box; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
 .catalog-home:not(.is-product-view) .product-grid--home .product-card::after { inset: calc(-1 * var(--hairline)); border: 1px solid rgba(0, 0, 0, 0.85); }
 .catalog-home:not(.is-product-view) .product-grid--home .product-card__corner-price::before { top: calc(-1 * var(--hairline)); left: calc(-1 * var(--hairline)); right: 0; bottom: 0; border-top: 1px solid rgba(0, 0, 0, 0.85); border-left: 1px solid rgba(0, 0, 0, 0.85); }
 .catalog-home:not(.is-product-view) .product-grid--home .product-card__tags::before { content: ""; position: absolute; z-index: 2; box-sizing: border-box; top: 0; right: calc(-1 * var(--hairline)); bottom: calc(-1 * var(--hairline)); left: 0; border-right: 1px solid rgba(0, 0, 0, 0.85); border-bottom: 1px solid rgba(0, 0, 0, 0.85); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
 .catalog-home:not(.is-product-view) .product-grid--home .product-card:is(:hover, :focus-within)::after,
 .catalog-home:not(.is-product-view) .product-grid--home .product-card:is(:hover, :focus-within) .product-card__corner-price::before,
 .catalog-home:not(.is-product-view) .product-grid--home .product-card:is(:hover, :focus-within) .product-card__tags::before { opacity: 1; }
}

/* Print previews: no long-press save menu, selection or dragging (Theme settings → Print previews). */
.protect-previews :is(.product-card__image, .product__media) img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }

/* Works with a second picture: on hover the first fades out while the second fades in, so they never show through each other. */
.product-card__image--extra { display: none; }
/* Out, then in: the showing picture leaves quickly, then the other one arrives. */
@media (hover: hover) and (min-width: 750px) {
 .catalog-home .product-grid--home .product-card .product-card__image:has(.product-card__image--secondary) .product-card__picture { transition: opacity .12s ease-in-out .12s; }
 .catalog-home .product-grid--home .product-card .product-card__image .product-card__image--secondary { transition: opacity .12s ease-in-out; }
 .catalog-home .product-grid--home .product-card:hover .product-card__image:has(.product-card__image--secondary) .product-card__picture { opacity: 0; transition-delay: 0s; }
 .catalog-home .product-grid--home .product-card:hover .product-card__image .product-card__image--secondary { opacity: 1; transition-delay: .12s; }
}

/* Phones: a work's pictures sit side by side and are swiped through, like on its product page. */
@media (max-width: 749px) {
 .catalog-home .product-grid--home .product-card .product-card__image { display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
 .catalog-home .product-grid--home .product-card .product-card__image::-webkit-scrollbar { display: none; }
 .catalog-home .product-grid--home .product-card .product-card__image img,
 .catalog-home .product-grid--home .product-card:hover .product-card__image img { display: block; position: relative; inset: auto; flex: 0 0 100%; width: 100%; height: 100%; opacity: 1; scroll-snap-align: center; scroll-snap-stop: always; transition: none; }
}

/* Product description: a framed box that scrolls when the text is longer than it. */
.catalog-product-panel .product__description { box-sizing: border-box; max-height: calc(7.5em + 22px); margin-top: 16px; padding: 10px 12px; border: var(--hairline) solid rgba(0, 0, 0, 0.3); overflow-y: auto; overscroll-behavior: contain; line-height: 1.5; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.catalog-product-panel .product__description > :last-child { margin-bottom: 0; }
/* Its scroll bar is always shown when there is more text (phones show it while scrolling), drawn like the gallery's: a thin square track and bar. */
.catalog-product-panel .product__description::-webkit-scrollbar { width: 4px; -webkit-appearance: none; }
.catalog-product-panel .product__description::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.08); }
.catalog-product-panel .product__description::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.4); border-radius: 0; }
@supports not selector(::-webkit-scrollbar) {
 .catalog-product-panel .product__description { scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.08); }
}
@media (max-width: 749px) {
 .catalog-home .catalog-product-panel .product__description { margin-top: 12px; }
}

/* Phones, works with fewer than two options: the form is shorter, so the price moves up under the
   button and "next work" steps down a little, instead of both landing on the same line. */
@media (max-width: 749px) {
 .catalog-home .catalog-product-panel .product--catalog-state:not(:has(.option-fieldset + .option-fieldset)) .product__price { margin-top: 76px; }
 .catalog-home .catalog-product-panel .product--catalog-state:not(:has(.option-fieldset + .option-fieldset)) .next-work { margin-top: 10px; }
}

/* Phones: readable text, about the size of Instagram's (14px for reading, 12–13px for small labels). */
@media (max-width: 749px) {
 body { font-size: 14px; }
 .hero, .cart-page, .hero-page { --hero-t: 14px; }
 .hero__hint, .archives__hint, .archives__error, .club-box .club-box__status, .cart-notice { font-size: 13px; }
 .archives__label, .page-checkout, [data-form-status] { font-size: 14px; }
 .footbar, .cart-frame__message { font-size: 13px; }
 .product__title, .catalog-home .catalog-product-panel .product__title { font-size: 17px; }
 .catalog-home .catalog-product-panel .option-fieldset legend { font-size: 14px; }
 .next-work, .remove-button, .catalog-home .catalog-product-panel .remove-button { font-size: 13px; }
 .catalog-product-panel .bag-lines__heading, .catalog-home .catalog-product-panel .bag-lines__heading { font-size: 12px; }
 .catalog-product-panel .bag-lines__row, .catalog-home .catalog-product-panel .bag-lines__row,
 .catalog-product-panel .bag-lines__done, .catalog-home .catalog-product-panel .bag-lines__done { font-size: 14px; }
 .product-card__badge { font-size: 12px; }
 .product-card__corner-price { font-size: 11px; }
 .mobile-purchase-bar, .mobile-purchase-bar [data-sticky-price], .mobile-purchase-bar button { font-size: 12px; }
 .mobile-purchase-bar [data-sticky-options] { font-size: 11px; }
 .entry { font-size: 14px; }
 .entry__caption { font-size: 14px; }
 /* Option boxes take a larger share of the row so the longest size ("(A1) 59.4 x 84.1 cm") stays on one line. */
 .catalog-home .catalog-product-panel .product-form { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
 .catalog-home .catalog-product-panel .product-form .option-dropdown summary { padding-right: 8px; padding-left: 8px; gap: 6px; }
 .catalog-home .catalog-product-panel .product-form [data-option-summary] { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}
/* Phones: the footer's gaps shrink with the screen so its five links always fit on one line. */
@media (max-width: 749px) {
 .footbar { gap: clamp(12px, 6vw, 34px); padding-right: 12px; padding-left: 12px; }
 .footbar__links, .footbar__mode { gap: clamp(8px, 3.4vw, 16px); }
}
@media (max-width: 340px) {
 .footbar { font-size: 12px; }
 .footbar__link { padding-right: 0; padding-left: 0; }
}
/* Narrower phones: the option boxes, and on the smallest phones the top line and the button, step down a little so everything stays on one line. */
@media (max-width: 374px) {
 .catalog-home .catalog-product-panel .product-form [data-option-summary] { font-size: 13px; }
}
@media (max-width: 340px) {
 .catalog-product-back, .collection-heading-actions { font-size: 12px; }
 .catalog-home .catalog-product-panel .product-form [data-option-summary], .catalog-home .catalog-product-panel .add-button { font-size: 12px; }
 .catalog-home .catalog-product-panel .product-form { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
 .catalog-home .catalog-product-panel .product-form .option-dropdown summary { padding-right: 6px; padding-left: 6px; gap: 4px; }
}

/* Product images: one slider on every screen. Images sit side by side and slide with the finger,
   trackpad or mouse, so both show while moving; the circles under them, one per image, mark the
   one on view and jump to theirs. The box keeps the first image's shape, fitted to the screen. */
.product__gallery { display: block; }
.catalog-home :is(.catalog-product-panel, .catalog-ghost) .product--catalog-state .product__gallery { display: block; height: auto; overflow: visible; scroll-snap-type: none; }
.product__track { display: flex; gap: 16px; width: var(--media-w, 100%); max-width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.product__track::-webkit-scrollbar { display: none; }
.product__track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.product__track > .product__media,
.catalog-home :is(.catalog-product-panel, .catalog-ghost) .product--catalog-state .product__track > .product__media,
.catalog-home :is(.catalog-product-panel, .catalog-ghost)[data-layout] > .product .product__track > .product__media { flex: 0 0 100%; width: 100%; min-width: 0; height: var(--media-h, auto); scroll-snap-align: start; scroll-snap-stop: always; }
.product__track img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
@media (hover: hover) and (pointer: fine) { .product__track:has(> .product__media + .product__media) { cursor: grab; } }
.product__dots { display: flex; justify-content: center; gap: 2px; width: var(--media-w, 100%); max-width: 100%; margin-top: 8px; }
.product__dot { display: grid; place-items: center; width: 22px; height: 22px; margin: 0; padding: 0; color: #111; background: transparent; border: 0; border-radius: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.product__dot::before { content: ""; width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; box-sizing: border-box; transition: background-color .2s ease; }
.product__dot[aria-current="true"]::before { background: currentColor; }
.product__dot:focus-visible { outline: 1px solid #111; outline-offset: -3px; }
.catalog-home :is(.catalog-product-panel, .catalog-ghost) .product--catalog-state .product__track > .product__media :is(img, video) { display: block; width: 100%; height: 100%; max-width: 100%; max-height: none; object-fit: contain; object-position: center; }

/* Under-construction page (password page): one artwork, the newsletter box, socials, and a quiet way in. */
.template-password { margin: 0; background: #000; }
.soon { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; min-height: 100vh; min-height: 100svh; padding: 56px 16px 40px; color: #fff; font-family: "Courier New", Courier, monospace; font-size: 13px; line-height: 1.6; text-align: center; text-transform: lowercase; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.soon a { color: inherit; }
.soon__art { width: min(var(--soon-image, 340px), 78vw); margin: 0; }
.soon__image { display: block; width: 100%; height: auto; max-height: 58vh; max-height: 58svh; object-fit: contain; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.soon__placeholder { display: grid; place-items: center; aspect-ratio: 3 / 4; border: var(--hairline) solid rgba(255, 255, 255, 0.35); color: rgba(255, 255, 255, 0.5); font-size: 11px; }
.soon__message p { margin: 0; }
.soon__form { display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(300px, 100%); margin: 0; }
.soon__box { box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; border: var(--hairline) solid currentColor; text-align: left; }
.soon__box:focus-within { box-shadow: 0 0 0 var(--hairline) currentColor; }
.soon__input { flex: 1 1 0; min-width: 0; padding: 4px 0; color: inherit; background: transparent; border: 0; border-radius: 0; outline: 0; font: inherit; text-transform: none; -webkit-appearance: none; appearance: none; }
.soon__input::placeholder { color: inherit; opacity: 0.5; text-transform: lowercase; }
.soon__send { flex: none; padding: 2px 4px; color: inherit; background: transparent; border: 0; border-radius: 0; font: inherit; font-size: 15px; line-height: 1; cursor: pointer; }
.soon__send:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
.soon__status { margin: 0; }
.soon__status--error { opacity: 0.75; }
.soon__socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: -10px; }
.soon__socials a { padding: 4px 0; text-decoration: none; }
.soon__socials a:hover, .soon__socials a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.soon__enter { display: flex; flex-direction: column; align-items: center; width: min(220px, 100%); margin: 12px 0 0; }
.soon__enter details { width: 100%; }
.soon__enter summary { width: max-content; margin: 0 auto; padding: 4px 0; list-style: none; opacity: 0.45; cursor: pointer; }
.soon__enter summary::-webkit-details-marker { display: none; }
.soon__enter summary:hover, .soon__enter summary:focus-visible { opacity: 1; }
.soon__enter .soon__box { margin-top: 8px; }
.soon__enter .soon__status { margin-top: 6px; }
@media (max-width: 749px) {
 .soon { font-size: 14px; gap: 22px; padding: 36px 16px 24px; }
 .soon__input { font-size: 16px; }
 /* The artwork shrinks so the text, email box and links stay on the first screen. */
 .soon__art { width: auto; max-width: min(var(--soon-image, 340px), 72vw); }
 .soon__image { width: auto; max-width: 100%; max-height: 42vh; max-height: 42svh; }
 .soon__placeholder { width: min(58vw, 31.5svh); }
}

/* Shop grid: the product's tags (collectors, classics…) boxed in the cell's top-left corner, opposite
   the price box: the cell's own top and left lines close it, so only its right and bottom lines are drawn.
   Every picture in a grid with tags leaves the same room at the top as at the bottom. */
.product-card__tags { position: absolute; top: 0; left: 0; z-index: 1; font-size: 11px; line-height: 1.2; letter-spacing: .02em; text-transform: lowercase; white-space: nowrap; pointer-events: none; }
.catalog-home .product-grid--home .product-card__tags { padding: 4px 7px; border-right: 1px solid var(--grid-line); border-bottom: 1px solid var(--grid-line); }
@media (max-width: 749px) {
 .product-card__tags { font-size: 11px; }
 .catalog-home .product-grid--home:has(.product-card__tags) .product-card .product-card__link { top: 30px; }
}
@media (min-width: 750px) {
 .catalog-home:not(.is-product-view) .product-grid--home .product-card__tags { padding: 5px 9px; border-right: var(--hairline) solid rgba(0, 0, 0, 0.6); border-bottom: var(--hairline) solid rgba(0, 0, 0, 0.6); }
 .catalog-home:not(.is-product-view) .product-grid--home:has(.product-card__tags) .product-card .product-card__link { top: 32px; }
}

/* Product descriptions: text pasted from elsewhere can carry its own size, colour or font; it keeps the page's. */
.product__description [style] { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; color: inherit !important; background: transparent !important; }

/* ---- Phones ---- */
@media (max-width: 749px) {
 /* Nothing can widen the page sideways (which would shift everything left). */
 html { overflow-x: clip; }
 /* The shop grid sits centred, with the same margin on both sides. */
 .catalog-home .catalog-grid-wrap { width: calc(100% - 24px); margin-right: auto; margin-left: auto; }
 /* Tag and price boxes a little smaller; the pictures keep an even margin to them. */
 .catalog-home .product-grid--home .product-card__corner-price,
 .catalog-home .product-grid--home .product-card__tags { padding: 3px 6px; }
 .catalog-home .product-grid--home .product-card .product-card__link { bottom: 25px; }
 .catalog-home .product-grid--home:has(.product-card__tags) .product-card .product-card__link { top: 25px; }
 /* Each picture is fitted in its own slide, so its frame hugs the print. */
 .catalog-home .product-grid--home .product-card .product-card__slide { display: flex; flex: 0 0 100%; align-items: center; justify-content: center; width: 100%; height: 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; }
 .catalog-home .product-grid--home .product-card .product-card__image .product-card__slide img { position: static; flex: none; width: auto; height: auto; max-width: 100%; max-height: 100%; margin: 0; object-fit: contain; opacity: 1; }
 /* Back arrow: away from the very corner, with a large area to tap. */
 .back-arrow { top: 16px; left: 14px; padding: 14px 16px; }
 .back-arrow::after { inset: -8px; }
 .catalog-product-back { position: relative; }
 .catalog-product-back::after { content: ""; position: absolute; inset: -14px -16px; }
}
/* On computers each picture's slide wrapper is transparent to the layout. */
.product-card__slide { display: contents; }

/* Gallery: a close button on the open work (phones). Any tap still closes it too. */
.entry__close { display: none; }
@media (max-width: 749px) {
 .entry__close { display: block; position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 2; padding: 12px 14px; color: #fff; background: transparent; border: 0; font-family: "Courier New", Courier, monospace; font-size: 14px; letter-spacing: .04em; text-transform: lowercase; cursor: pointer; -webkit-tap-highlight-color: transparent; }
 html.night-mode .entry__close { color: #111; }
}
/* The open work takes the dialog's first focus (not the close button), so no focus ring shows on opening. */
.entry__figure:focus { outline: none; }
.entry__close:focus-visible { outline: 1px solid currentColor; outline-offset: -4px; }

/* Computers: each picture is fitted to its print inside the cell (the two pictures of a work still
   cross-fade on hover), so the light-mode line below hugs the print. */
@media (min-width: 750px) {
 .catalog-home:not(.is-product-view) .product-grid--home .product-card .product-card__slide { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; pointer-events: none; }
 .catalog-home:not(.is-product-view) .product-grid--home .product-card .product-card__image .product-card__slide img { position: static; inset: auto; flex: none; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
}
/* Light mode: a fine grey line around each picture in the shop, so white paper stands out from the white page. */
html[data-mode="white"] .catalog-home .product-grid--home .product-card__slide img { outline: var(--hairline) solid #c8c8c8; outline-offset: calc(-1 * var(--hairline)); }
