/* Editorial cards fill their frame. Studio images and product galleries retain
   the complete garment and their source composition. */

.product-image,
body:not(.is-home) .product-card .product-image { aspect-ratio: 2 / 3; background: #fff; }
.product-image img,
body:not(.is-home) .product-card .product-image > img,
body:not(.is-home) .product-card .product-image:not(.studio):hover .product-hover {
  object-fit: cover; object-position: center top; padding: 0;
}
.product-image .product-primary, .product-image .product-hover,
.product-image:hover .product-primary, .product-image:hover .product-hover { transform: none; }

/* The editorial film follows the model in a portrait frame. */
.b-story {
  height:auto; min-height:0; grid-template-columns:minmax(0,2fr) minmax(0,3fr);
  align-items:center; background:#121212;
}
.b-story-video {
  display:block; position:static; width:100%; height:auto; aspect-ratio:4 / 5;
  object-fit:contain; object-position:center; transform:none;
  max-height:calc(100svh - 64px);
}
.b-story:after { display: none; }
.b-story-copy { width: 100%; padding: 64px 40px; translate: 0 var(--story-drift, 0px); }
.b-story h2 { font-size: clamp(32px, 3.4vw, 60px); }

/* Main product images and their controls occupy different rows. */
.b-spotlight { align-items: start; }
.b-spotlight-gallery { aspect-ratio: auto; background: #fff; }
.b-spotlight-main {
  display: block; position: static; width: 100%; height: auto; aspect-ratio: auto;
  object-fit: contain; object-position: center;
}
.b-spotlight-thumbs {
  position: static; padding: 16px 20px; gap: 12px; background: #fff;
}
.b-spotlight-thumbs button {
  flex: 0 0 64px; width: 64px; max-width: none; aspect-ratio: 2 / 3;
  background: #f5f5f5; opacity: .65; border: 1px solid transparent;
}
.b-spotlight-thumbs button[aria-pressed=true] { border-color: #121212; }
.b-spotlight-thumbs img { object-fit: contain; }
.b-spotlight-label { margin:0;padding:12px 20px;color:#696969;font-size:12px;line-height:1.5;background:#fff; }
body:not(.is-home) .bt-product-layout .product-gallery { aspect-ratio: auto; overflow: visible; }
body:not(.is-home) .bt-product-layout .gallery-stage { height: auto; aspect-ratio: 2 / 3; background: #fff; }
body:not(.is-home) .bt-product-layout .gallery-stage > .gallery-photo { position: absolute; inset: 0; }
body:not(.is-home) .bt-product-layout .gallery-stage .gallery-photo { background: #fff; }
body:not(.is-home) .bt-product-layout .gallery-photo > img,
body:not(.is-home) .bt-product-layout .gallery-photo.studio > img { object-fit: contain; object-position: center; padding: 0; }
body:not(.is-home) .bt-product-layout .gallery-thumbnails {
  position: static; left: auto; bottom: auto; transform: none; width: 100%;
  max-width: 100%; padding: 16px 20px; gap: 12px; background: #fff;
}
body:not(.is-home) .bt-product-layout .gallery-thumbnail {
  flex: 0 0 64px; width: 64px; height: 96px; background: #fff;
}
body:not(.is-home) .bt-product-layout .gallery-thumbnail[aria-pressed=true] { border-color: #121212; }
body:not(.is-home) .bt-product-layout .gallery-thumbnail img,
body:not(.is-home) .bt-product-layout .gallery-thumbnail.isolated img { object-fit: contain; padding: 0; }
.outfit-original > img { height: auto; aspect-ratio: auto; object-fit: contain; }
.outfit-piece > img { object-fit: contain; }

/* Collection labels sit outside the complete runway photographs. */
.b-category { display: flex; flex-direction: column; aspect-ratio: auto; background: #fff; color: #121212; }
.b-category img {
  display: block; position: static; width: 100%; height: auto; aspect-ratio: 1066 / 1600;
  object-fit: contain; transform: none;
}
.b-category:after { display: none; }
.b-category h3 { margin: 28px 16px 12px; }
.b-category > span:not(.b-frame) {
  position: static; opacity: 1; transform: none; margin: 0 16px 32px;
}
.b-category:hover h3, .b-category:hover img { transform: none; }
.b-category .b-frame { bottom: 140px; }
.b-paris-look img { aspect-ratio: 1066 / 1600; object-fit: contain; }
.b-paris-look button:hover img { transform: none; }

/* Editorial images include portraits, press layouts and landscape photographs. */
.b-journal-photo, .bt-journal-photo { background: #f5f5f5; }
.b-journal-photo img, .bt-journal-photo img { object-fit: contain; object-position: center; }
.b-journal-grid > a:hover img, .bt-journal-lead:hover img,
.bt-journal-small-card:hover img, .bt-journal-card:hover img { transform: none; }
.bt-about-image img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.bt-values-images figure { aspect-ratio: 1066 / 1600; }
.bt-values-images figure > img {
  position: static; width: 100%; height: 100%; object-fit: contain;
  object-position: center; transform: none; will-change: auto;
}
.bt-craft-photo { aspect-ratio: 1066 / 1600; }
.bt-craft-grid img { object-fit: contain; object-position: center; }
.bt-about-editorial { height: auto; min-height: 0; aspect-ratio: 1600 / 1066; align-items: end; }
body .bt-about-editorial > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center; transform: none; will-change: auto;
}
.bt-about-editorial:after { background: linear-gradient(transparent 55%, #0009); }
.bt-about-editorial > div { width: 100%; text-align: left; padding: 48px 40px; translate: 0 var(--story-drift, 0px); }
.bt-contact-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.bt-contact-image { align-self: start; aspect-ratio: 1066 / 1600; }
.bt-contact-image img { height: auto; object-fit: contain; object-position: center; }
.bt-collection-card > div { aspect-ratio: 2 / 3; background: #f5f5f5; }
.bt-collection-card img { object-fit: contain; }

/* The archive mixes complete runway portraits, square client photos and collages. */
.collection-grid:not(.bt-collection-grid) {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 24px; padding: 0 40px 100px;
}
.collection-card:not(.bt-collection-card) { min-width: 0; }
.collection-card:not(.bt-collection-card) > div { aspect-ratio: 2 / 3; background: #f5f5f5; }
.collection-card:not(.bt-collection-card) img { display: block; width: 100%; height: 100%; object-fit: contain; }
.collection-card:not(.bt-collection-card) .eyebrow { margin-top: 16px; }
.collection-card:not(.bt-collection-card) h2 { margin-top: 8px; font-size: 28px; }
.runway-gallery .gallery-photo, .people-gallery > article > .gallery-photo { aspect-ratio: 2 / 3; }
.people-gallery > .gallery-photo { aspect-ratio: 1; }
.runway-gallery .gallery-photo img, .people-gallery .gallery-photo img {
  width: 100%; height: 100%; object-fit: contain; object-position: center; background: #f5f5f5;
}
.article .rich-copy img, .info-layout .rich-copy img { max-width: 100%; height: auto; object-fit: contain; }
.search-result img, .cart-item > a > img, .outfit-panel .outfit-piece > img { object-fit: contain; }

/* Entrance retains the measured spring, with no temporary enlargement/crop. */
.motion-ready [data-reveal="image"] { transform: scale(.98); transform-origin: center; }
.motion-ready [data-reveal="image"].revealed { transform: none; }

@media (max-width: 809px) {
  .collection-grid:not(.bt-collection-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 20px; }
  .b-story { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .b-story-copy { padding: 56px 20px; translate: none; }
  .b-story h2 { font-size: 36px; }
  .b-spotlight-gallery { aspect-ratio: auto; }
  .b-category h3 { margin-top: 24px; }
}
@media (max-width: 600px) {
  .collection-grid:not(.bt-collection-grid),
  body:not(.is-home) .runway-gallery, body:not(.is-home) .people-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .bt-about-image img { aspect-ratio: auto; }
  .bt-about-editorial { display: flex; flex-direction: column; aspect-ratio: auto; height: auto; min-height: 0; background: #121212; }
  body .bt-about-editorial > img { position: static; height: auto; }
  .bt-about-editorial:after { display: none; }
  .bt-about-editorial > div { padding: 40px 20px; translate: none; }
  .bt-contact-image { aspect-ratio: 1066 / 1600; }
}
@media (prefers-reduced-motion: reduce) {
  .b-story-copy, .bt-about-editorial > div { translate: none; }
}

/* A compact, swipeable selection immediately beneath the campaign films. */
.b-selection { padding: 64px 40px 56px; overflow: hidden; background: #fff; }
.b-selection-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.b-selection-heading .b-kicker { margin-bottom: 10px; font-size: 11px; }
body #app .b-selection-heading h2 { font: 500 clamp(28px, 3vw, 42px)/1.12 var(--font); letter-spacing: -.035em; }
.b-selection-all { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; text-decoration: underline; text-underline-offset: 6px; }
.b-product-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4.2); gap: 24px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #aaa #eee; padding-bottom: 22px; }
.b-product-track::-webkit-scrollbar { height: 3px; }
.b-product-track::-webkit-scrollbar-track { background: #eee; }
.b-product-track::-webkit-scrollbar-thumb { background: #aaa; }
.b-product-slide { min-width: 0; scroll-snap-align: start; }
.b-product-track:focus-visible, .bt-shop-card:focus-visible { outline: 1px solid #111; outline-offset: 3px; }
.b-product-track .bt-shop-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.b-product-track .bt-shop-image { width: 100%; flex-shrink: 0; }
.b-product-track .product-meta { display: flex; flex-direction: column; flex: 1; align-items: start; gap: 10px; padding-top: 14px; }
.b-product-track .product-meta > div { flex: none; }
.b-product-track .product-meta h3 { min-height: 44px; font: 400 15px/22px var(--font); }
.b-product-track .product-type { display: none; }
.b-product-track .product-meta .price { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font: 500 15px/22px var(--font); white-space: normal; }
.b-product-track .price s { font-size: 12px; }
.product-card-cta { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 18px; border: 1px solid #111; color: #111; background: #fff; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; transition: background .2s, color .2s; }
@media (hover: hover) { .bt-shop-card:hover .product-card-cta { background: #111; color: #fff; } }
.b-selection-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.b-selection-hint { color: #777; font-size: 12px; }
.b-selection-controls { display: flex; align-items: center; gap: 14px; }
.b-selection-controls button { padding: 0 4px; min-height: 44px; background: none; border: 0; color: #111; font-size: 12px; cursor: pointer; }
.b-selection-controls button:disabled { color: #aaa; cursor: default; }
.b-selection-position { min-width: 54px; color: #777; font-size: 11px; text-align: center; font-variant-numeric: tabular-nums; }
@media (min-width: 810px) and (max-width: 1100px) {
  .b-product-track { grid-auto-columns: calc((100% - 48px) / 3.15); }
}
@media (max-width: 809px) {
  .b-selection { padding: 32px 16px 28px; }
  .b-selection-heading { display: block; margin-bottom: 16px; }
  .b-selection-heading .b-kicker { margin-bottom: 8px; font-size: 10px; }
  body #app .b-selection-heading h2 { font-size: 27px; max-width: 330px; }
  .b-selection-all { margin-top: 6px; min-height: 36px; font-size: 10px; }
  .b-product-track { grid-auto-columns: 44%; gap: 12px; margin-right: -16px; padding-right: 16px; padding-bottom: 18px; }
  .b-product-track .product-meta { gap: 8px; padding-top: 10px; }
  .b-product-track .product-meta h3 { font-size: 13px; line-height: 18px; min-height: 54px; }
  .b-product-track .product-meta .price { font-size: 13px; line-height: 20px; }
  .product-card-cta { margin-top: 12px; font-size: 10px; }
  .b-selection-footer { margin-top: 4px; justify-content: flex-end; }
  .b-selection-hint { display: none; }
}
