/* Shared album-ribbon interface; homepage composition is defined separately. */
html.album-experiment {
  --album-ink: #000;
  --album-gutter: clamp(1rem, 2.5vw, 2.5rem);
  --album-caption-space: 4.5rem;
  --album-stage-inset: 1rem;
  --album-stage-breathing: 2rem;
  --album-header-height: calc(4.5rem + env(safe-area-inset-top, 0px));
  --text-column-height: max(1rem, calc(var(--album-stage-height) - 1rem));
  --text-column-gap: 1.5rem;
  --index-section-gap: var(--text-column-gap);
  --index-column-gap: var(--text-column-gap);
  background: var(--album-ground) !important;
  color: var(--album-ink);
}

/* Keep the album counter centered in the footer on every device. */
html.album-experiment .ribbonPosition {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  font-family: var(--site-font-family);
  font-size: inherit;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--album-ink);
}
html.album-experiment .ribbonPosition[hidden] { display: none; }
/* Lazy images in the candidate pool must stay non-rendered until selected. */
html.album-experiment[data-layout] #main .homePage .collection .collectionImageItem[hidden] { display: none !important; }
/* Generic pages share the chrome without losing their native text scrolling. */
html.album-experiment[data-layout] #main .container:not(:has(.collection, .siteIndexContent, .notFoundContent)) {
  overflow-y: auto !important;
  padding-block: calc(var(--album-header-height) + 1rem) calc(4.5rem + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
html.album-experiment[data-layout] #main .notFoundContent {
  position: fixed;
  inset: var(--album-header-height) var(--album-gutter) var(--album-footer-height, calc(3.5rem + env(safe-area-inset-bottom, 0px)));
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  transform: none;
  box-sizing: border-box;
}
/* Index: each editorial section flows into as many columns as its links require. */
html.album-experiment[data-layout] #main .siteIndex {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
html.album-experiment[data-layout] #main .siteIndexContent {
  position: fixed;
  inset: calc(var(--album-header-height) + var(--album-stage-inset)) 0 auto;
  display: flex;
  width: 100%;
  height: var(--album-stage-height);
  gap: var(--index-section-gap, clamp(3rem, 5vw, 6rem));
  padding: 0 var(--album-gutter) 1rem;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-inline: var(--album-gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--album-ink) var(--album-ground);
  touch-action: auto;
}
html.album-experiment .siteIndexGroup {
  flex: 0 0 auto;
  width: var(--album-intro-width, var(--text-column-width));
  height: var(--text-column-height);
}
html.album-experiment .siteIndexGroup:not(.has-columns) {
  overflow-x: auto;
  overflow-y: hidden;
}
html.album-experiment .siteIndexGroupFlow {
  width: var(--text-column-width);
  height: var(--text-column-height);
  columns: var(--text-column-width);
  column-fill: auto;
  column-gap: var(--index-column-gap, 3rem);
}
html.album-experiment[data-layout] #main .siteIndexContent h2 {
  margin: 0 0 1.5rem;
  break-after: avoid;
}
html.album-experiment[data-layout] #main .siteIndexContent ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
html.album-experiment .siteIndexContent li {
  break-inside: avoid;
  padding-bottom: 0.55em;
}
html.album-experiment .siteIndexContainer .siteIndexContent li {
  margin: 0;
  padding: 0;
}
html.album-experiment[data-layout] #main .siteIndexContainer .siteIndexContent a {
  font-size: var(--type-album-link);
  line-height: 1.25;
  min-height: 44px;
  padding-block: 0.35em;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}
html.album-experiment[data-layout] #main .siteIndexContainer .siteIndexContent {
  overflow-y: auto;
}
html.album-experiment[data-layout] #main .siteIndexContent a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
html.album-experiment .siteIndexContainer .siteIndexGroup:not(.has-columns) {
  height: auto;
  overflow: visible;
}
html.album-experiment .siteIndexContainer .siteIndexGroup:not(.has-columns) .siteIndexGroupFlow {
  height: auto;
  columns: auto;
}
html.album-experiment[data-layout] #main .siteIndexContainer .siteIndexContent a {
  gap: 0.8rem;
  width: 100%;
  box-sizing: border-box;
}
html.album-experiment[data-layout] #main .siteIndexThumbnail {
  display: block;
  flex: 0 0 4.5rem;
  width: 4.5rem;
  height: 3.2rem;
  object-fit: cover;
  margin: 0;
}
.siteIndexLinkText { display: block; min-width: 0; }
html.album-experiment[data-layout] #main .siteIndexContext {
  display: block;
  font-size: var(--type-small);
  line-height: 1.4;
  margin-top: 0.3em;
}
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  html.album-experiment[data-layout] #main .siteIndexContainer .siteIndexContent a:has(.siteIndexThumbnail) {
    display: grid;
    /* Keep the same grid on entry AND exit; changing its track count snaps. */
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-inline: 0;
    transform: none;
    align-items: start;
  }
  html.album-experiment[data-layout] #main .siteIndexContainer .siteIndexContent a:has(.siteIndexThumbnail):is(:hover, :focus-visible) {
    grid-template-columns: minmax(0, 1fr);
    transform: none;
  }
  html.album-experiment[data-layout] #main .siteIndexContainer .siteIndexContent a:has(.siteIndexThumbnail):is(:hover, :focus-visible) .siteIndexThumbnail {
    width: 100%;
  }
  html.album-experiment[data-layout] #main .siteIndexContainer .siteIndexContent a:has(.siteIndexThumbnail):is(:hover, :focus-visible) .siteIndexLinkText {
    margin-inline-start: 0;
    margin-block-start: calc(100% * 2 / 3 + 0.8rem);
  }
  html.album-experiment[data-layout] #main .siteIndexLinkText {
    grid-area: 1 / 1;
    min-width: 0;
    margin-inline-start: 5.3rem;
    margin-block-start: 0;
    /* Percent block margins resolve against the column width, like the image.
       Both items share one cell throughout, including interrupted reversals. */
    transition: margin-inline-start 380ms cubic-bezier(0.4, 0, 0.2, 1),
                margin-block-start 380ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  html.album-experiment[data-layout] #main .siteIndexThumbnail {
    grid-area: 1 / 1;
    align-self: start;
    width: 4.5rem;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    transition: width 380ms cubic-bezier(0.4, 0, 0.2, 1);
  }
}
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  html.album-experiment[data-layout] #main :is(.siteIndexThumbnail, .siteIndexLinkText) {
    transition: none;
  }
}
/* A touch catalogue must show its photographs without a hover or a first tap. */
@media (hover: none), (pointer: coarse), (max-width: 1099px) {
  html.album-experiment[data-layout] #main .siteIndexContainer .siteIndexContent a {
    gap: 1rem;
    padding-block: 0.65rem;
    text-align: start;
  }
  html.album-experiment[data-layout] #main .siteIndexThumbnail {
    flex-basis: clamp(5.5rem, 24vw, 8rem);
    width: clamp(5.5rem, 24vw, 8rem);
    height: auto;
    aspect-ratio: 3 / 2;
    align-self: center;
  }
}
/* Touch portrait reads vertically on phones and tablets; mouse stays horizontal. */
@media (hover: none) and (orientation: portrait), (pointer: coarse) and (orientation: portrait) {
  html.album-experiment[data-layout] #main .siteIndexContainer .siteIndexContent {
    inset: 0 !important;
    width: 100%;
    height: 100dvh !important;
    flex-direction: column !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    gap: 2.5rem !important;
    padding: calc(var(--album-header-height) + 0.5rem) var(--album-gutter) calc(var(--album-footer-height) + 0.5rem) !important;
    scroll-padding-block: calc(var(--album-header-height) + 0.5rem) calc(var(--album-footer-height) + 0.5rem);
    overscroll-behavior: contain;
  }
  html.album-experiment[data-layout] #main .siteIndexContainer .siteIndexGroup {
    flex: 0 0 auto;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    overflow: visible;
  }
  html.album-experiment[data-layout] #main .siteIndexContainer .siteIndexGroupFlow {
    width: 100%;
    height: auto;
    columns: auto;
  }
  html.album-experiment[data-layout] .siteIndexContainer :is(.siteHeader, .siteFooter) {
    color: var(--album-ink) !important;
    mix-blend-mode: normal !important;
  }
  html.album-experiment[data-layout] .siteIndexContainer :is(.siteHeader, .siteFooter) a {
    color: inherit !important;
    mix-blend-mode: normal !important;
  }
}
html.album-experiment .aboutPortraitPanel {
  flex: 0 0 auto;
  width: var(--text-column-width);
  height: var(--text-column-height);
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 1rem;
  box-sizing: border-box;
  scrollbar-width: thin;
}
html.album-experiment[data-layout] #main .aboutProfile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: auto;
  gap: 1rem;
  margin: 0;
}
html.album-experiment[data-layout] #main .aboutProfilePhoto {
  width: auto;
  height: min(240px, max(4rem, calc(var(--album-photo-height) - 14rem)));
  max-width: 100%;
  object-fit: contain;
  object-position: left top;
}
html.album-experiment[data-layout] #main .aboutProfileLinks {
  flex: 0 0 auto;
  padding: 0;
  gap: 0;
}
html.album-experiment[data-layout] #main .aboutProfileLinks :is(.aboutProfileLink, .contactEmail) {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  font-size: var(--font-size-standard);
  line-height: 1.2;
}
/* Icons align to the text without a legacy baseline correction. */
html.album-experiment[data-layout] #main .aboutProfileLinks .aboutProfileIcon {
  display: block;
  flex: 0 0 1.15em;
  width: 1.15em;
  height: 1.15em;
  transform: none;
}
html.album-experiment .aboutProfileLinks .contactEmail { background: transparent; }
html.album-experiment .aboutRibbon h1 { margin: 0 0 1.5rem; }
html.album-experiment .aboutRibbon p {
  font-size: var(--font-size-standard);
  line-height: 1.5;
  margin: 0 0 1rem;
  orphans: 3;
  widows: 3;
}
html.album-experiment[data-layout] #main .aboutRibbon .siteIndexGroupFlow a {
  display: inline;
  font-size: inherit;
  line-height: inherit;
  min-height: 0;
  font-weight: 700;
  font-synthesis: weight;
}
html.album-experiment body,
html.album-experiment #main,
html.album-experiment .container,
html.album-experiment .siteHeader,
html.album-experiment .siteFooter,
html.album-experiment .albumTextColumnBg,
html.album-experiment .middleTopBar {
  background: var(--album-ground) !important;
  color: var(--album-ink) !important;
}
html.album-experiment .homeCounterRail { display: none !important; }
html.album-experiment nav,
html.album-experiment .siteHeaderPageTitle,
html.album-experiment .albumTextColumnBg { display: none !important; }
html.album-experiment[data-layout] .siteHeader {
  display: flex !important;
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  height: var(--album-header-height) !important;
  min-height: var(--album-header-height) !important;
  justify-content: space-between;
  align-items: center;
  padding: env(safe-area-inset-top, 0px) var(--album-gutter) 0 !important;
  box-sizing: border-box;
  z-index: 900;
  font: inherit;
  font-size: var(--type-navigation);
  pointer-events: none;
}
html.album-experiment[data-layout] .siteHeaderArtist,
html.album-experiment[data-layout] .siteHeaderIndex,
html.album-experiment[data-layout] .siteHeaderContact {
  font-size: inherit;
  position: static !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: auto;
  font-style: normal;
  transition: transform 180ms ease;
}
/* Shared final rule beats device-specific and current-page navigation styles. */
html.album-experiment[data-layout] .siteHeader :is(.siteHeaderArtist, .siteHeaderIndex, .siteHeaderContact):is(:hover, :focus-visible) {
  font-style: normal;
  transform: translateX(0.35em);
}
.siteHeaderTools { display: flex; align-items: center; gap: clamp(0.5rem, 1.5vw, 1rem); }
.siteLanguage { position: relative; pointer-events: auto; font: inherit; }
.siteLanguage summary { cursor: pointer; padding: 0.5em 0; min-height: 44px; display: flex; align-items: center; gap: 0.25em; }
.siteLanguage summary::after { content: "⌄"; display: inline-block; transform: scale(0.75); }
.siteLanguage summary::-webkit-details-marker { display: none; }
.siteLanguageOptions { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); display: grid; min-width: 3.5rem; padding: 0.25rem; background: var(--album-ground); }
.siteLanguageOptions a { display: grid; place-items: center; min-height: 44px; padding: 0.25rem; }
.siteLanguageOptions a[aria-current] { text-decoration: underline; text-underline-offset: 0.2em; }
.siteLanguage summary:focus-visible, .siteLanguageOptions a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
html[data-layout] body#siteTop .siteHeader:has(.siteLanguage[open]) { mix-blend-mode: normal; background: var(--album-ground) !important; color: var(--album-ink) !important; }
@media (max-width: 380px) {
  html.album-experiment { --type-navigation: var(--type-small); }
}
html.album-experiment .container .albumPageTitle,
html.album-experiment .container .albumInfoMobile {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  width: min(var(--text-column-width), calc(100% - 2 * var(--album-gutter))) !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 var(--album-gutter) 1.5rem !important;
  padding: 0 !important;
  color: var(--album-ink) !important;
}
html.album-experiment .container .albumPageTitle { display: block !important; }
html.album-experiment[data-layout] .container {
  width: 100% !important;
  padding: calc(var(--album-header-height) + 1.5rem) 0 0 !important;
}
html.album-experiment .albumInfoContent,
html.album-experiment .articleSectionAlbum {
  position: relative !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
html.album-experiment .albumNext {
  width: auto !important;
  margin: 0 var(--album-gutter) !important;
  padding: 2rem 0 !important;
}
html.album-experiment ::selection { background: var(--album-ink); color: var(--album-ground); }
html.album-experiment .albumIntro {
  flex: 0 0 auto;
  width: var(--text-column-width);
  box-sizing: border-box;
  color: var(--album-ink);
}
html.album-experiment .albumIntroTitle {
  font: inherit;
  font-size: var(--type-page-title);
  line-height: 1.1;
  margin: 0 0 1.5rem;
}
html.album-experiment .albumIntroText {
  line-height: 1.5;
  font-size: var(--type-body);
}
html.album-experiment .albumIntroText p { margin: 0 0 1.2rem; }
/* Album introductions inherit the Index's shared responsive column measure. */
html.album-experiment .albumIntroText img { max-width: 100%; height: auto; }
html.album-experiment .albumIntro:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
html.album-experiment .homePage > article { display: none !important; }
html.album-experiment .homePage .collection { overflow-anchor: none; }
html.album-experiment .homePage .collection.is-touch-dragging { scroll-snap-type: none !important; }
/* Titles follow the photograph's visible left and bottom edges, at fixed type size. */
html.album-experiment[data-layout] #main .homePage .collection .homeRibbonTitle {
  display: block;
  text-align: left;
  width: 100%;
  transform: translate(var(--home-title-x, 0px), var(--home-title-y, 0px));
}
/* The final editorial step shares the ribbon geometry, without a fake image. */
html.album-experiment[data-layout] #main .homePage .collectionNavigationItem {
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0;
  box-sizing: border-box;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
html.album-experiment[data-layout] #main .homePage .collectionNavigationItem > a {
  margin-block: auto;
  padding-inline: clamp(1.5rem, 4vw, 4rem);
  flex: 0 0 auto;
}
html.album-experiment[data-layout] #main .homePage .collectionNavigationItem h2 {
  font: inherit;
  font-size: var(--type-page-title);
  line-height: 1.1;
  margin: 0 0 1.5rem;
}
html.album-experiment[data-layout] #main .homePage .collectionNavigationItem p {
  font-size: var(--type-body);
  line-height: 1.5;
  margin: 0;
}
html.album-experiment[data-layout] #main .homePage .collectionNavigationItem a {
  display: inline-block;
  padding-block: 0.5rem;
  min-height: 44px;
  box-sizing: border-box;
  color: inherit;
  cursor: pointer !important;
  transform: translateX(0);
  transition: transform 180ms ease;
}
html.album-experiment[data-layout] #main .homePage .collectionNavigationItem a:is(:hover, :focus-visible) {
  transform: none;
  font-style: normal;
}
html.album-experiment[data-layout] #main .homePage .collectionNavigationItem a p {
  transition: transform 180ms ease;
}
html.album-experiment[data-layout] #main .homePage .collectionNavigationItem a:is(:hover, :focus-visible) p {
  transform: translateX(0.35em);
  font-style: normal;
}
html.album-experiment[data-layout] #main .homePage .collectionNavigationItem a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html.album-experiment[data-layout] #main .homePage .collectionNavigationItem a {
    transition: none;
    transform: none;
  }
}
html.album-experiment[data-layout] .homePage .siteHeaderArtist,
html.album-experiment[data-layout] .homePage .siteHeaderIndex {
  background: transparent !important;
  color: var(--album-ink) !important;
}

@media (hover: hover) and (pointer: fine) {
  html.album-experiment .homePage .collectionImageItem .homeRibbonTitle a {
    display: inline-block;
    transition: transform 180ms ease;
  }
  html.album-experiment .homePage .collectionImageItem:is(:hover, :focus-within) .homeRibbonTitle a {
    font-style: normal;
    transform: translateX(0.35em);
  }
  html.album-experiment .collection img,
  html.album-experiment .homeRibbonTitle a {
    cursor: pointer;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.album-experiment .homePage .collectionImageItem .homeRibbonTitle a {
    transition: none;
    transform: none;
  }
}

/* Horizontal stage by default; narrow portrait screens reflow below. */
@media (min-width: 0px) {
  html.album-experiment {
    --album-stage-height: max(1rem, calc(100dvh - var(--album-header-height) - var(--album-footer-height, 3.5rem) - var(--album-stage-breathing)));
    --album-photo-height: max(1rem, min(60svh, 680px, calc(var(--album-stage-height) - var(--album-caption-space))));
    overflow: hidden !important;
  }
  html.album-experiment body { overflow: hidden !important; }
  html.album-experiment[data-layout] #main .container {
    height: 100dvh !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  html.album-experiment[data-layout] .siteFooter {
    position: fixed !important;
    inset: auto 0 0 !important;
    width: 100% !important;
    height: 3.5rem !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 var(--album-gutter) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  html.album-experiment .siteFooterTop { display: none; }
  html.album-experiment[data-layout] #main .container .collection {
    position: fixed !important;
    inset: calc(var(--album-header-height) + var(--album-stage-inset)) 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: var(--album-stage-height) !important;
    gap: clamp(1rem, 2vw, 2rem) !important;
    margin: 0 !important;
    padding: 0 var(--album-gutter) 1rem !important;
    box-sizing: border-box;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-padding-inline: var(--album-gutter);
    scrollbar-color: var(--album-ink) var(--album-ground);
    scrollbar-width: thin;
  }
  html.album-experiment[data-layout] #main .collection .albumIntro {
    height: var(--text-column-height);
    overflow-y: auto;
    scrollbar-width: thin;
    padding: 0;
  }
  html.album-experiment[data-layout] #main .collection .albumIntro.has-columns {
    width: var(--album-intro-width, var(--text-column-width));
    overflow: visible;
  }
  html.album-experiment .albumIntro.has-columns .albumIntroFlow {
    width: var(--text-column-width);
    height: var(--text-column-height);
    columns: var(--text-column-width);
    column-gap: var(--text-column-gap);
    column-fill: auto;
    font-size: var(--type-body);
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  html.album-experiment .albumIntro.has-columns .albumIntroText {
    display: contents;
  }
  html.album-experiment .albumIntroTitle { break-inside: avoid; break-after: avoid; }
  html.album-experiment .albumIntroText p {
    /* Move a whole paragraph to the next column when it fits there.
       Paragraphs taller than a column can still fragment naturally. */
    -webkit-column-break-inside: avoid;
    break-inside: avoid-column;
    orphans: 3;
    widows: 3;
  }
  html.album-experiment .albumIntro.has-columns .albumIntroText p:last-child {
    /* A one-line closing paragraph is not covered by widows/orphans: keep it
       with the preceding paragraph rather than opening a column on its own. */
    -webkit-column-break-before: avoid;
    break-before: avoid-column;
  }
  html.album-experiment[data-layout] #main .collection .albumNext {
    flex: 0 0 min(24rem, 70vw);
    height: var(--album-photo-height);
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 var(--album-gutter) !important;
  }
  html.album-experiment[data-layout] #main .container .collection .collectionImageItem {
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    width: calc(var(--album-photo-height) * var(--photo-ratio, 1.5)) !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html.album-experiment[data-layout] #main .container .collection .collectionImageItem > img {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    height: var(--album-photo-height) !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: contain !important;
    transform: none !important;
    opacity: 1 !important;
  }
  html.album-experiment[data-layout] #main .collection .collectionImageCaption {
    width: 100% !important;
    min-width: 0;
    max-width: 100% !important;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0.75rem 0 0 !important;
    color: var(--album-ink) !important;
    white-space: normal;
    text-overflow: clip;
    overflow-wrap: anywhere;
    max-height: none;
    overflow: visible;
  }
  html.album-experiment[data-layout] #main .collection .collectionVideoItem {
    flex: 0 0 auto;
    align-self: flex-start;
    width: calc(var(--album-photo-height) * var(--video-aspect, 1.7777778)) !important;
    max-width: none !important;
    margin: 0 !important;
    max-height: none;
  }
  html.album-experiment[data-layout] #main .collection .collectionVideoEmbed {
    width: 100% !important;
    max-width: none !important;
    height: var(--album-photo-height) !important;
    margin: 0 !important;
    aspect-ratio: auto;
  }
  html.album-experiment[data-layout] #main .collection .collectionVideoCaption {
    white-space: normal;
    overflow-wrap: anywhere;
    margin: 0.75rem 0 0;
    max-width: 100%;
  }
}

@media (orientation: portrait), (max-width: 860px) {
  html.album-experiment {
    --text-column-width: min(78vw, 22rem);
    --album-header-height: calc(4rem + env(safe-area-inset-top, 0px));
  }
  html.album-experiment[data-layout] .siteHeader {
    font-size: var(--type-navigation);
    gap: 1rem;
    padding-left: max(var(--album-gutter), env(safe-area-inset-left, 0px)) !important;
    padding-right: max(var(--album-gutter), env(safe-area-inset-right, 0px)) !important;
  }
  html.album-experiment[data-layout] #main .container .collection {
    width: 100% !important;
    margin: 0 !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    touch-action: auto;
  }
  html.album-experiment[data-layout] #main .container .collection .collectionImageItem {
    scroll-snap-align: start;
  }
  html.album-experiment[data-layout] #main .collection .albumIntro {
    margin: 0;
    align-self: flex-start;
  }
  html.album-experiment[data-layout] #main .collection .collectionImageCaption {
    font-size: var(--font-size-small);
    line-height: 1.4;
    padding-top: 0.65rem !important;
  }
  html.album-experiment[data-layout] #main .collection .albumNext {
    flex-basis: 82vw;
    scroll-snap-align: start;
  }
  html.album-experiment[data-layout] #main .collection .collectionVideoItem {
    align-self: flex-start;
    scroll-snap-align: start;
  }
  html.album-experiment[data-layout] .siteFooter {
    display: grid;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: calc(3.5rem + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    font-size: var(--type-body);
  }
}

/* One horizontal grid: Index sections, Contact panels, intro columns and first photo. */
@media (orientation: landscape), (hover: hover) and (pointer: fine) {
  html.album-experiment[data-layout] #main .aboutPage .siteIndexContent,
  html.album-experiment[data-layout] #main .container .collection:has(.albumIntro) {
    gap: var(--text-column-gap) !important;
  }
}

/* Touch Index: stable compact rows, transformed around a fixed focal line. */
@media (hover: none) and (orientation: portrait), (pointer: coarse) and (orientation: portrait) {
  html.album-experiment[data-layout] #main .siteIndexContainer .siteIndexContent {
    overflow-anchor: none;
  }
  html.album-experiment[data-layout] #main .siteIndexContainer .siteIndexContent.has-index-magnification::after {
    content: '';
    display: block;
    flex: 0 0 var(--index-expansion-space, 0px);
    width: 100%;
    pointer-events: none;
  }
  html.album-experiment[data-layout] #main .has-index-magnification .indexMagnificationNode {
    transform: translateY(var(--index-row-shift, 0px));
  }
  html.album-experiment[data-layout] #main .has-index-magnification a:has(.siteIndexThumbnail) {
    position: relative;
    overflow: visible;
    transform: none;
  }
  html.album-experiment[data-layout] #main .has-index-magnification .siteIndexThumbnail {
    transform: scale(var(--index-photo-scale, 1));
    transform-origin: left top;
    transition: none;
    z-index: 1;
  }
  html.album-experiment[data-layout] #main .has-index-magnification .siteIndexLinkText {
    opacity: clamp(0, calc(1 - var(--index-focus, 0) * 4), 1);
    transition: none;
  }
  html.album-experiment[data-layout] #main .has-index-magnification .indexExpandedCaption {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    transform: translateY(var(--index-caption-y, 0px));
    opacity: clamp(0, calc((var(--index-focus, 0) - 0.05) * 3), 1);
    pointer-events: none;
    transition: none;
  }
}

/* Portrait Index reading width is independent of horizontal album columns. */
@media (hover: none) and (orientation: portrait), (pointer: coarse) and (orientation: portrait) {
  html.album-experiment .siteIndexContainer {
    --text-column-width: min(38rem, calc(100vw - 2 * var(--album-gutter)));
  }
}

/* Touch portrait: native vertical reading, complete images and ordinary text.
   The same scroll surface keeps the header/footer and zoom independent. */
@media (hover: none) and (orientation: portrait), (pointer: coarse) and (orientation: portrait) {
  html.album-experiment {
    --text-column-width: min(38rem, calc(100vw - 2 * var(--album-gutter)));
    --album-header-height: calc(3rem + env(safe-area-inset-top, 0px));
    --album-footer-height: calc(2.75rem + env(safe-area-inset-bottom, 0px));
  }
  html.album-experiment[data-layout] :is(.siteHeader, .siteFooter) {
    background: var(--album-ground) !important;
  }
  html.album-experiment[data-layout] :is(.siteHeaderArtist, .siteHeaderIndex, .siteHeaderContact) {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }
  html.album-experiment[data-layout] .siteFooter {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
    height: var(--album-footer-height) !important;
  }
  html.album-experiment[data-layout] #main .container .collection,
  html.album-experiment[data-layout] #main .siteIndexContent {
    inset: 0 0 auto !important;
    height: 100dvh !important;
    flex-direction: column !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scroll-snap-type: none;
    overscroll-behavior: contain;
    gap: 2.5rem !important;
    padding: calc(var(--album-header-height) + 0.5rem) var(--album-gutter) calc(var(--album-footer-height) + 0.5rem) !important;
    scroll-padding-top: calc(var(--album-header-height) + 0.5rem);
    scroll-padding-bottom: calc(var(--album-footer-height) + 0.5rem);
  }
  html.album-experiment[data-layout] #main .collection :is(.albumIntro, .albumIntro.has-columns, .albumNext, .collectionVideoItem),
  html.album-experiment[data-layout] #main .container .collection .collectionImageItem,
  html.album-experiment[data-layout] #main :is(.siteIndexGroup, .aboutPortraitPanel) {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible;
    box-sizing: border-box;
  }
  html.album-experiment[data-layout] #main .albumIntro .albumIntroFlow,
  html.album-experiment[data-layout] #main .siteIndexGroupFlow {
    width: 100%;
    height: auto;
    columns: auto;
  }
  html.album-experiment[data-layout] #main .collection .albumIntroText {
    display: block;
  }
  html.album-experiment[data-layout] #main .container .collection .collectionImageItem > img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    /* Native vertical reading: equal photo edges, regardless of aspect ratio.
       A viewport height cap would letterbox portraits inside this full-width box. */
    max-height: none !important;
    object-fit: contain !important;
  }
  html.album-experiment[data-layout] #main .collection .collectionVideoEmbed {
    height: auto !important;
    aspect-ratio: var(--video-aspect, 1.7777778);
    max-height: none;
  }
  html.album-experiment[data-layout] #main .collection .albumNext {
    padding: 1rem 0 !important;
  }
  html.album-experiment[data-layout] #main .aboutProfilePhoto {
    height: auto;
    width: min(65vw, 240px);
  }
  /* Homepage only: portrait 2:3 cards, centered crop; album originals stay intact. */
  html.album-experiment[data-layout] #main .container.homePage .collection {
    --home-card-ratio: 0.6666667;
    --home-max-ratio: 0.6666667;
  }
}

/* One shared portrait column for text, photos, Index and Contact. */
@media (hover: none) and (orientation: portrait), (pointer: coarse) and (orientation: portrait) {
  html.album-experiment[data-layout] body#siteTop .siteHeader {
    /* Override the shared chrome's ID-specific transparent background. */
    background: #fff !important;
    mix-blend-mode: normal;
    /* Include the ribbon's top breathing space in the opaque chrome on every
       portrait page, without shifting the navigation text vertically. */
    height: calc(var(--album-header-height) + var(--album-stage-inset)) !important;
    min-height: calc(var(--album-header-height) + var(--album-stage-inset)) !important;
    padding-bottom: var(--album-stage-inset) !important;
  }
  html.album-experiment[data-layout] #main .container:not(.homePage) :is(.collection, .siteIndexContent) {
    padding-top: calc(var(--album-header-height) + var(--album-stage-inset) + 0.5rem) !important;
    padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px)) !important;
    scroll-padding-top: calc(var(--album-header-height) + var(--album-stage-inset) + 0.5rem);
    scroll-padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
  }
  html.album-experiment[data-layout] #main .siteIndexContainer .siteIndexGroup {
    width: var(--text-column-width) !important;
    align-self: center;
  }
  html.album-experiment[data-layout] #main .aboutRibbon > :is(.aboutPortraitPanel, .siteIndexGroup) {
    width: var(--text-column-width) !important;
    align-self: center;
  }
  html.album-experiment[data-layout] #main .container:not(.homePage) .collection > :is(.albumIntro, .albumNext, .aboutPortraitPanel) {
    width: var(--text-column-width) !important;
    align-self: center !important;
  }
  html.album-experiment[data-layout] #main .container:not(.homePage) .collection > :is(.collectionImageItem, .collectionVideoItem) {
    width: var(--text-column-width) !important;
    align-self: center !important;
  }
}

/* One homepage composition on every device. The native scroll surface includes
   the white lower quarter, so swiping there uses the same browser inertia. */
html.album-experiment[data-layout] #main .container.homePage .collection {
  --home-neighbour-peek: 1.5rem;
  --home-gap: clamp(1rem, 2vw, 2rem);
  --home-title-space: var(--home-measured-title-space, 4.5rem);
  --home-width-limit: max(1rem, calc(100vw - 2 * (var(--home-neighbour-peek) + var(--home-gap))));
  --home-card-height: max(1rem, min(calc(75svh - var(--album-header-height) - var(--album-stage-inset) - var(--home-title-space)), calc(var(--home-width-limit) / var(--home-max-ratio, 1.5))));
  --home-card-width: calc(var(--home-card-height) * var(--home-card-ratio, 1.5));
  --home-explorer-width: min(var(--home-width-limit), clamp(12rem, var(--home-card-width), 28rem));
  inset: 0 !important;
  height: 100dvh !important;
  padding: calc(var(--album-header-height) + var(--album-stage-inset)) 0 0 !important;
  gap: var(--home-gap) !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  touch-action: pan-x pan-y pinch-zoom;
  scroll-snap-type: none;
  scroll-padding-inline: 0;
}
html.album-experiment[data-layout] #main .container.homePage .collection .collectionImageItem {
  flex: 0 0 auto !important;
  width: calc(var(--home-card-height) * var(--home-card-ratio, var(--photo-ratio, 1.5))) !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  scroll-snap-stop: normal;
}
html.album-experiment[data-layout] #main .container.homePage .collection .collectionImageItem > img {
  width: 100% !important;
  height: var(--home-card-height) !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}
html.album-experiment[data-layout] #main .container.homePage .collection .collectionImageCaption {
  height: auto !important;
}
html.album-experiment[data-layout] #main .container.homePage .collection .collectionNavigationItem {
  flex: 0 0 var(--home-explorer-width);
  width: var(--home-explorer-width);
  height: var(--home-card-height);
}
@media (min-width: 601px) {
  html.album-experiment[data-layout] #main .container.homePage .collection {
    --home-neighbour-peek: 2.5rem;
  }
}
@media (hover: none) and (orientation: portrait), (pointer: coarse) and (orientation: portrait) {
  html.album-experiment[data-layout] #main .container.homePage .collection .collectionImageItem > img {
    object-fit: cover !important;
  }
}

/* Empty flex spacers extend native scroll without widening its viewport or
   duplicating cards. Original cards move by whole laps only when offscreen. */
html.album-experiment[data-layout] #main .homePage .collection.has-virtual-track::before,
html.album-experiment[data-layout] #main .homePage .collection.has-virtual-track::after {
  content: '';
  display: block;
  flex: 0 0 var(--home-track-reserve);
  width: var(--home-track-reserve);
  height: 1px;
  pointer-events: none;
}

/* Intro keeps normal ribbon geometry; only its overlay expands on arrival. */
.homeIntroAction {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  pointer-events: auto;
  cursor: pointer;
  touch-action: pan-y pinch-zoom;
}
.homeIntroAction:focus-visible { outline: 2px solid #000; outline-offset: -8px; }
.homeIntroAction > span {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: calc(100vw - 2rem);
  text-align: center;
  font: inherit;
  font-size: var(--type-navigation);
  color: #fff;
  background: rgb(0 0 0 / 40%);
  padding: 0.65rem 0.85rem;
  box-sizing: border-box;
  pointer-events: auto;
  transition: transform 180ms ease;
}
.homeIntroAction:focus-visible > span {
  transform: translate(calc(-50% + 0.35em), -50%);
  font-style: normal;
}
@media (hover: hover) and (pointer: fine) {
  .homeIntroAction > span:hover {
    transform: translate(calc(-50% + 0.35em), -50%);
    font-style: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  .homeIntroAction > span { transition: none; }
  .homeIntroAction:focus-visible > span,
  .homeIntroAction > span:hover { transform: translate(-50%, -50%); }
}
html.home-intro-entering .homeIntroAction > span { visibility: hidden; }
html.home-return .homeSoloImmersion { display: none !important; }
/* Keep layout measurable, but do not paint catalog order before return centering. */
html.home-return .homePage .collection:not(.is-return-ready) { visibility: hidden; }
html.home-intro-locked .homeIntroAction { touch-action: pinch-zoom; }

/* Transform only the visible image: keep top edge, card widths and neighbour peeks. */
html.album-experiment[data-layout] #main .homePage .collection.has-scroll-magnification .collectionImageItem > img {
  transform: translateX(var(--scroll-photo-offset, 0px)) scale(var(--scroll-photo-scale, 1)) !important;
  transform-origin: left top;
}
@media (prefers-reduced-motion: reduce) {
  html.album-experiment[data-layout] #main .homePage .collection.has-scroll-magnification .collectionImageItem > img {
    transform: none !important;
  }
  html.album-experiment[data-layout] #main .homePage .collectionNavigationItem a p {
    transition: none;
    transform: none;
  }
}

/* Footer remains reversible in Hugo config; release its reserved space. */
html.album-experiment[data-footer-enabled="false"] {
  --album-footer-height: env(safe-area-inset-bottom, 0px);
  --site-footer-min-height: 0px;
}
html.album-experiment[data-footer-enabled="false"] .siteFooter {
  display: none !important;
}
/* One compact chrome height for phones, regardless of their orientation. */
@media (max-width: 860px), (max-height: 600px) and (orientation: landscape) {
  html.album-experiment {
    --album-header-height: calc(3rem + env(safe-area-inset-top, 0px));
  }
}
/* Short landscape viewports use the real stage rather than a vh ceiling or
   obsolete footer allowances. Desktop's deliberately smaller ribbon is kept. */
@media (max-height: 600px) and (orientation: landscape) {
  html.album-experiment {
    --album-photo-height: max(1rem, calc(var(--album-stage-height) - var(--album-caption-space)));
  }
}
/* Phone landscape: narrower text columns and a content-sized final step.
   Captionless media may use the stage down to its bottom padding. */
@media (max-width: 1099px) and (max-height: 600px) and (orientation: landscape) {
  html.album-experiment {
    --text-column-width: min(18rem, 42vw);
    --album-stage-inset: 0.5rem;
    --album-stage-breathing: 1rem;
    --album-caption-space: 4rem;
  }
  html.album-experiment[data-layout] #main .container .collection:not(:has(.collectionImageCaption, .collectionVideoCaption)) {
    --album-photo-height: max(1rem, calc(var(--album-stage-height) - 1rem));
  }
  html.album-experiment[data-layout] #main .collection .albumNext {
    flex: 0 0 auto;
    width: max-content !important;
    max-width: var(--text-column-width);
    padding-inline: 0.5rem !important;
    justify-content: flex-start;
  }
  html.album-experiment[data-layout] #main .collection .albumNext button {
    max-width: 100%;
    text-align: left;
  }
  html.album-experiment[data-layout] #main .aboutPortraitPanel .aboutProfilePhoto {
    width: auto;
    height: min(180px, calc(var(--text-column-height) * 0.5));
    max-width: 100%;
    flex: 0 0 auto;
    object-fit: contain;
    object-position: left top;
  }
  html.album-experiment[data-layout] #main .collection :is(.collectionImageCaption, .collectionVideoCaption) {
    max-height: max(2rem, calc(var(--album-stage-height) - var(--album-photo-height) - 1rem));
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
}
@media (orientation: landscape) and (pointer: coarse), (orientation: landscape) and (max-width: 1099px) {
  html.album-experiment[data-layout] .siteHeader,
  html.album-experiment[data-layout] .siteIndexContainer .siteHeader {
    background: transparent !important;
  }
}
html.album-experiment[data-footer-enabled="false"] #main .container:not(:has(.collection, .siteIndexContent, .notFoundContent)) {
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
}

/* Solo cards inherit the same dimensions, padding and gap as album covers. */

/* Opaque intro overlay, shrinking toward the real card without fading. */
.homeSoloImmersion {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 880;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint;
  transform-origin: 0 0;
  background: var(--album-ground);
}
.homeSoloImmersion[hidden] { display: none; }
.homeSoloImmersion.is-loading > img { visibility: hidden; }
.homeSoloImmersion.is-initial { width: 100vw; height: 100dvh; }
.homeSoloImmersion.is-initial > img { width: 100%; height: 100%; }
.homeSoloImmersion.is-initial > img.is-portrait { width: auto; left: 50%; transform: translateX(-50%); }
.homeSoloImmersion:not([hidden]) > img { will-change: transform; }
.homeSoloImmersion.is-full { pointer-events: auto; cursor: default; touch-action: pan-y pinch-zoom; }
.homeSoloImmersion > img {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform-origin: 0 0;
}
