/* Three distinct vehicles. One considered collection. */
.collection-selector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 24px}
.collection-choice{display:flex;flex-direction:column;padding:0;text-align:left;border:1px solid var(--line);background:transparent;transition:border-color .2s,background .2s;min-width:0}
.collection-choice img{aspect-ratio:16/9;object-fit:cover;object-position:center;}
.collection-choice-copy{display:block;position:relative;padding:19px 22px 20px;width:100%}
.collection-choice small{display:block;color:#69756c;font-size:9px;letter-spacing:1.4px;text-transform:uppercase}
.collection-choice strong{display:block;font:400 26px/1.2 var(--serif);margin:8px 0 6px}
.collection-choice .collection-detail{font-size:10px;color:var(--muted)}
.collection-choice[aria-pressed=true]{border-color:var(--ink);background:#e9e9e1}
.collection-choice[aria-pressed=true] .collection-choice-copy::after{content:'';position:absolute;right:17px;top:21px;width:6px;height:6px;background:var(--ink);border-radius:50%}
.collection-choice:hover{border-color:#938367}
.vehicle-feature{scroll-margin-top:100px}
.vehicle-feature[data-selected-vehicle]:not([data-selected-vehicle=m4]){grid-template-columns:1.35fr 1fr;align-items:start}
.vehicle-feature[data-selected-vehicle]:not([data-selected-vehicle=m4]) .vehicle-image{min-height:0;display:block;align-self:center}
.vehicle-feature[data-selected-vehicle]:not([data-selected-vehicle=m4]) .vehicle-image img{position:relative;aspect-ratio:1440/700;height:auto;object-fit:contain}
.vehicle-feature[data-selected-vehicle]:not([data-selected-vehicle=m4]) .gallery-trigger{position:relative;inset:auto}
.collection-live{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.vehicle-feature[data-selected-vehicle=model-y] .vehicle-image img{aspect-ratio:3/2!important;object-fit:cover!important}
.collection-choice[data-collection-vehicle=model-y] img{object-position:center 60%}
/* Crop only the source's blurred padding. Cabin content remains photographic. */
.gallery-modal[data-vehicle=model-y] .gallery-frame{position:relative;overflow:hidden;aspect-ratio:3/2;max-height:65vh;margin-inline:auto;background:#111a16}
.gallery-modal[data-vehicle=model-y] .gallery-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.gallery-modal[data-vehicle=model-y] .gallery-frame[data-framing=wide] img{width:112.5%;max-width:none;left:-6.25%;object-fit:cover}
.gallery-modal[data-vehicle=model-y] .gallery-frame[data-framing=square] img{width:200%;max-width:none;left:-50%;object-fit:cover}
.gallery-modal[data-vehicle=model-y] #gallery-thumbs button{position:relative;overflow:hidden;width:60px;height:45px}
.gallery-modal[data-vehicle=model-y] #gallery-thumbs button[data-framing=wide] img{width:67.5px;max-width:none;margin-left:-3.75px}
.gallery-modal[data-vehicle=model-y] #gallery-thumbs button[data-framing=square] img{width:120px;max-width:none;margin-left:-30px}
@media(max-width:760px){
  .collection-selector{grid-template-columns:1fr;gap:9px;margin-bottom:20px}
  .collection-choice{display:grid;grid-template-columns:108px minmax(0,1fr);align-items:stretch}
  .collection-choice-copy{padding:12px 14px}
  .collection-choice strong{font-size:23px;line-height:1.12;margin:5px 0}
  .collection-choice small{font-size:8px;letter-spacing:.8px;line-height:1.5;padding-right:8px}
  .collection-choice .collection-detail{font-size:9px;line-height:1.5;display:block}
  .collection-choice[aria-pressed=true] .collection-choice-copy::after{right:9px;top:16px;width:4px;height:4px}
  .collection-choice img{aspect-ratio:auto;height:100%;min-height:98px;object-fit:cover;object-position:center}
  .vehicle-feature[data-selected-vehicle]:not([data-selected-vehicle=m4]){grid-template-columns:1fr}
  .vehicle-feature[data-selected-vehicle]:not([data-selected-vehicle=m4]) .vehicle-image{width:100%}
}
@media(prefers-reduced-motion:reduce){.collection-choice{transition:none}}
