/* Separate image and copy tracks preserve the complete car at every viewport width. */
.ip-billboard.ip-header-spread,.ip-collection-hero.ip-header-spread,.ip-reading-hero.ip-with-image.ip-header-spread {
  position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  grid-template-areas:'copy art';align-items:center;gap:clamp(1.5rem,4vw,6rem);
  width:min(calc(100% - clamp(2.25rem,8vw,10rem)),1580px);min-height:0;
  margin:0 auto;padding:clamp(1.2rem,3.5vw,4rem) 0 clamp(2.2rem,4.9vw,5.8rem);
  overflow:visible;box-shadow:none;
}
.ip-header-spread.ip-collection-hero::after,.ip-header-spread.ip-reading-hero::after,.ip-header-spread.ip-billboard::after {content:none}
.ip-header-spread .ip-feature-copy,.ip-header-spread.ip-reading-hero>div,.ip-header-spread .ip-car-lead {
  grid-area:copy;width:100%;min-width:0;max-width:none;margin:0;padding:0;text-align:left;
}
.ip-header-spread.ip-billboard>.ip-car-lead {align-items:start;display:flex;flex-direction:column;justify-content:center;gap:1.9rem}
.ip-header-spread .ip-book {display:grid;align-items:start;justify-items:start;gap:.9rem;border:0;padding:1.2rem 0 0;width:100%;border-top:1px solid var(--ip-fine)}
.ip-header-spread .ip-book-actions {justify-content:start}
.ip-header-spread .ip-car-title h1,.ip-header-spread.ip-collection-hero h1 {font-size:clamp(3.25rem,6.4vw,7.6rem);text-shadow:none}
.ip-header-spread.ip-reading-hero h1 {font-size:clamp(2.75rem,5.3vw,6.35rem);text-shadow:none}
.ip-header-spread.ip-story-head h1 {font-size:clamp(2.5rem,4.25vw,5.1rem)}
.ip-header-spread.ip-collection-hero>.ip-feature-visual,.ip-header-spread.ip-reading-hero>figure,
.ip-header-spread.ip-billboard>.ip-main-photo {
  grid-area:art;position:relative;inset:auto;isolation:isolate;z-index:0;min-width:0;
  margin:0;transform:none;opacity:1;
}
.ip-header-spread.ip-billboard>.ip-main-photo,.ip-header-spread .ip-feature-visual>.ip-photo,.ip-header-spread.ip-reading-hero>figure>.ip-photo {
  display:grid;grid-template:100% / 100%;place-items:center;width:100%;height:auto;
  aspect-ratio:1.5;max-height:min(68svh,760px);border:1px solid #9c8d7359;border-radius:1px;
  background:radial-gradient(ellipse at 64% 38%,#2b2927,#19191b 70%);overflow:hidden;
}
.ip-header-spread .ip-photo>.ip-art-directed {display:grid;place-items:center;width:100%;height:100%;min-height:0}
.ip-header-spread .ip-photo[data-photo-slot]>img,.ip-header-spread .ip-photo>.ip-art-directed>img {
  display:block;width:min(100%,var(--photo-width,100%));height:min(100%,var(--photo-height,100%));
  max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center;
  transform:none;animation:none;filter:none;
}
.ip-header-spread.ip-collection-hero figure>figcaption,.ip-header-spread.ip-reading-hero figure>figcaption {
  display:block;margin:.55rem 0 0;color:#c6bfae;font:500 .8rem/1.4 Inter,Arial,sans-serif;letter-spacing:.035em;text-align:right;
}
.ip-thumbs .ip-thumb-missing::after {content:attr(data-photo-number);font:500 1rem/1 Arial,sans-serif;color:#d3cbb8}
@media(max-width:820px) {
  .ip-billboard.ip-header-spread,.ip-collection-hero.ip-header-spread,.ip-reading-hero.ip-with-image.ip-header-spread {
    width:calc(100% - 2.25rem);grid-template-columns:minmax(0,1fr);grid-template-areas:'art' 'copy';align-items:start;gap:1.45rem;
    padding:.75rem 0 2rem;
  }
  .ip-header-spread.ip-billboard>.ip-main-photo,.ip-header-spread .ip-feature-visual>.ip-photo,.ip-header-spread.ip-reading-hero>figure>.ip-photo {
    aspect-ratio:1.49;max-height:min(58svh,440px);
  }
  .ip-header-spread .ip-photo>.ip-art-directed>img {width:min(100%,941px);height:min(100%,695px)}
  .ip-header-spread .ip-car-title h1,.ip-header-spread.ip-collection-hero h1 {font-size:clamp(2.8rem,9.6vw,5rem)}
  .ip-header-spread.ip-reading-hero h1 {font-size:clamp(2.45rem,8.8vw,4.5rem)}
  .ip-header-spread.ip-billboard>.ip-car-lead {gap:1rem}
  .ip-header-spread .ip-book {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}
  .ip-header-spread .ip-deck {margin-top:.8rem}
  .ip-header-spread .ip-actions {margin-top:1rem}
}

.ip-vehicle-page {--chapter-header-height:77px;--chapter-nav-height:55px}
.ip-chapters {position:sticky;top:var(--chapter-header-height);z-index:8;background:#171719f5;border-block:1px solid #ac957453;backdrop-filter:blur(16px)}
.ip-chapter-inner {display:flex;align-items:center;justify-content:space-between;gap:1rem}
.ip-chapter-model {max-width:32%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f4ecdc;font:italic 400 clamp(1.06rem,1.55vw,1.7rem)/1.2 var(--ip-serif,Georgia,serif);letter-spacing:-.03em}
.ip-chapter-inner ul {display:flex;flex-wrap:wrap;align-items:stretch;list-style:none;padding:0;margin:0;gap:0 clamp(.75rem,1.7vw,2.3rem)}
.ip-chapter-inner a {position:relative;display:inline-flex;align-items:center;gap:.4rem;min-height:3.25rem;color:#c4bfb5;text-decoration:none;font:550 .86rem/1.25 Inter,Arial,sans-serif;letter-spacing:.015em}
.ip-chapter-inner a::after {content:'';position:absolute;right:0;left:0;bottom:0;height:1px;background:#dcc69b;transform:scaleX(0);transform-origin:left;transition:transform .2s ease}
.ip-chapter-inner a:is(:hover,:focus-visible,[aria-current="location"]) {color:#f7edd8}
.ip-chapter-inner a:is(:hover,:focus-visible,[aria-current="location"])::after {transform:scaleX(1)}
/* Chapter targets include the measured header in their own margin. Do not add the site-wide offset a second time. */
html:has(.ip-vehicle-page :is(#photography,#performance,#rental-details,#features,#inspect-vehicle,#studio):target) {scroll-padding-top:0}
.ip-vehicle-page :is(#performance,#rental-details,#features,#inspect-vehicle,#studio) {scroll-margin-top:calc(var(--chapter-header-height) + var(--chapter-nav-height) + 12px)}
.ip-vehicle-page #photography {scroll-margin-top:var(--chapter-header-height)}
.ip-details-body>section+section {margin-top:2.25rem}
.ip-details-body>section>h3 {margin:0 0 1rem}
@media(max-width:920px) {.ip-chapter-model {display:none}.ip-chapter-inner ul {gap:0 clamp(.75rem,3vw,2rem)}}
@media(max-width:720px) {
  .ip-vehicle-page {--chapter-header-height:61px;--chapter-nav-height:79px}
  .ip-chapter-inner a {min-height:2.55rem;font-size:.8rem}
}
@media(max-height:620px),(max-width:420px) and (max-height:710px) {
  .ip-chapters {position:static}
  .ip-vehicle-page {--chapter-nav-height:0px}
}
@media(prefers-reduced-motion:reduce) {.ip-chapter-inner a::after {transition:none}}
