@font-face { font-family: 'Inter Currency'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-ruble.ttf') format('truetype'); unicode-range: U+20BD; }
/* Model cover */
.model-cover { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #9dade0; }
.model-cover__image, .model-cover::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.model-cover__image { inset: auto auto 0 0; width: 86%; height: auto; max-height: calc(100% - 2.8rem); object-fit: contain; object-position: left bottom; mask-image: linear-gradient(180deg, transparent, #000 9%); }
.model-cover::after { content: ''; background: var(--cover-shade), linear-gradient(90deg, transparent 25%, rgb(10 19 33 / 18%) 43%, rgb(10 19 33 / 85%) 72%, #101c2bee), linear-gradient(0deg, #101c2b60, transparent 25%); }
.model-cover__inner { min-height: clamp(30rem, 39vw, 43rem); padding-block: calc(var(--cover-header-space) + 3rem) 4rem; display: flex; align-items: center; justify-content: flex-end; }
.model-cover__copy { width: 43%; padding-left: .5rem; }
.model-cover__class { display: flex; align-items: center; gap: .85rem; margin: 0 0 1rem; font-weight: 700; color: #fff; letter-spacing: .1em; font-size: .95rem; }
.model-cover__class::before { content: ''; width: 1.8rem; height: .52rem; transform: skewX(-18deg); background: repeating-linear-gradient(90deg, #63b5ff 0 6px, transparent 6px 9px); }
.model-cover__class span { padding-left: .85rem; border-left: 1px solid #99a8b8; letter-spacing: .01em; font-weight: 400; }
.model-cover__name { margin: 0; font: 400 clamp(4.2rem, 6.9vw, 7.1rem)/.96 'Days One', Lato, sans-serif; letter-spacing: -.055em; text-transform: uppercase; }
.model-cover__name span { display: block; }
.model-cover__numbers { display: flex; margin: 1.7rem 0 1.65rem; }
.model-cover__numbers div + div { border-left: 1px solid #a5b2c36b; margin-left: clamp(.75rem, 1.65vw, 1.7rem); padding-left: clamp(.75rem, 1.65vw, 1.7rem); }
.model-cover__numbers dt { color: #d7e4ef; font-size: .9rem; }
.model-cover__numbers dd { margin: .2rem 0 0; font: 400 clamp(1.35rem, 2.2vw, 2.25rem)/1.14 'Days One', Lato, sans-serif; white-space: nowrap; }
.model-cover__numbers small { font: 700 .52em Lato, sans-serif; color: #e9f2fb; }
.model-cover__order { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.35rem; }
.model-cover__price { font-family: 'Inter Currency', Lato, sans-serif; font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 700; white-space: nowrap; }
.model-cover__price small { font-weight: 400; font-size: .62em; }
.model-cover .button { text-align: center; }

/* In-page navigation */
html { scroll-padding-top: 4.4rem; }
.model-nav { position: sticky; z-index: 3; top: 0; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.model-nav__inner { display: flex; align-items: stretch; justify-content: space-between; }
.model-nav__name { align-self: center; font: 400 .97rem 'Days One', Lato, sans-serif; }
.model-nav__links { display: flex; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #8397ab var(--paper); }
.model-nav__links a { display: flex; align-items: center; min-height: 3.6rem; padding: 0 clamp(.6rem, 1.55vw, 1.65rem); font-weight: 700; white-space: nowrap; border-bottom: 3px solid transparent; }
.model-nav__links a:is(:hover, :focus-visible), .model-nav__links a[aria-current] { border-bottom-color: var(--blue); color: var(--blue); }
.model-nav__links a:focus-visible { outline-offset: -4px; }

/* Shared typography and section rhythm */
.model-section { padding-block: clamp(1.85rem, 3.3vw, 3.6rem); }
.model-title { margin: 0; font: 400 clamp(2.05rem, 3.5vw, 3.75rem)/1.07 'Days One', Lato, sans-serif; letter-spacing: -.055em; text-wrap: balance; }
.model-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.89fr); gap: clamp(2rem, 7vw, 9rem); align-items: end; margin-bottom: clamp(1.1rem, 2vw, 2rem); }
.model-heading p, .overview__copy p, .chassis__note { margin: 0; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.6; color: #465462; }
.model-heading h2, .paint h2, .related h2 { display: grid; gap: 1.1rem; }
.model-heading h2::before, .paint h2::before, .related h2::before { content: ''; width: 2.8rem; height: 4px; background: var(--blue); }
.overview__story { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(19rem, 33vw, 32rem); overflow: hidden; background: #292b29; color: #fff; }
.overview__image, .overview__story::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 38%; }
.overview__story::after { content: ''; background: linear-gradient(85deg, #0b1622d9, transparent 67%), linear-gradient(0deg,#10171a5c,transparent 50%); }
.overview__copy { max-width: 32rem; padding: clamp(1.4rem, 3.3vw, 3.2rem); }
.overview__copy h3 { margin: 0 0 .65rem; font: 400 clamp(1.35rem, 2vw, 2rem)/1.15 'Days One', Lato, sans-serif; letter-spacing: -.035em; }
.overview__copy p { font-size: 1.02rem; color: #edf2f5; }
.design { background: var(--surface); }
.design__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(.8rem, 1.8vw, 1.8rem); }
.design__item, .photo-view figure, .paint__view, .model-reel__slide { margin: 0; }
.design__open { display: block; position: relative; overflow: hidden; background: #dedfe0; }
.design__open::after { content: '+'; position: absolute; bottom: .8rem; right: .8rem; width: 2.25rem; height: 2.25rem; border: 1px solid #ffffffb3; border-radius: 50%; color: white; background: #131b23d9; text-align: center; font: 400 1.4rem/2.08rem Lato, sans-serif; }
.design__open img { width: 100%; aspect-ratio: 1.6; height: auto; object-fit: cover; transition: transform .3s; }
.design__open:hover img { transform: scale(1.04); }
.design__item figcaption { padding-top: .85rem; font-weight: 700; font-size: 1.08rem; }
.photo-view { width: min(54rem, 94vw); max-height: 90vh; padding: 1rem; border: 0; background: #111820; color: #fff; }
.photo-view::backdrop { background: #080e15df; }
.photo-view form { position: absolute; right: 1.45rem; top: 1.45rem; }
.photo-view button { border: 1px solid #b8c6d3; border-radius: 50%; width: 2.7rem; height: 2.7rem; background: #111820eb; color: #fff; font-size: 1.5rem; line-height: 1; }
.photo-view img { width: 100%; height: min(64vh, 34rem); object-fit: contain; }
.photo-view figcaption { margin-top: .7rem; font-size: 1rem; }
body:has(.photo-view[open]) { overflow: hidden; }

/* Offer images. The native radio group also switches the image without JS. */
.paint__picker { min-width: 0; display: flex; flex-wrap: wrap; justify-content: center; padding: 0; margin: clamp(1.6rem, 3vw, 3rem) 0 0; border: 0; gap: .65rem; }
.paint__view { order: -1; flex: 0 0 100%; display: none; place-items: center; padding: clamp(.6rem,2vw,2rem); background: #f0f2f4; }
.paint__view img { width: min(100%,40rem); height: clamp(14rem, 32vw, 29rem); object-fit: contain; mix-blend-mode: multiply; }
.paint__label { display: flex; align-items: center; gap: .6rem; padding: .6rem 1.05rem; min-height: 2.75rem; border: 1px solid #c0cbd5; border-radius: 2rem; font-size: .95rem; font-weight: 700; cursor: pointer; }
.paint__swatch { width: 1.35rem; height: 1.35rem; border-radius: 50%; box-shadow: inset 0 0 0 1px #10182033; background: linear-gradient(135deg, var(--first) 49%,var(--second) 50%); }
.paint__radio:checked + label { border-color: var(--blue); background: #ebf4ff; color: #0b428f; }
.paint__radio:checked + label + .paint__view { display: grid; }
.paint__radio:focus-visible + label { outline: 3px solid #47a8ff; outline-offset: 2px; }

.chassis { background: var(--surface); }
.chassis__note { margin: 1.2rem 0 1.8rem; max-width: 70ch; }
.chassis__facts { margin: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.2rem; }
.chassis__facts div { border-top: 2px solid #376791; padding: 1.1rem 0 0; }
.chassis__facts dt { color: var(--muted); }
.chassis__facts dd { margin: .3rem 0 0; font: 400 clamp(1.3rem, 2vw, 2rem)/1.2 'Days One', Lato, sans-serif; }
.chassis__facts small { display: block; margin-top: .5rem; color: var(--muted); font: 400 .96rem/1.5 Lato,sans-serif; }
.comfort .model-reel__slide img { aspect-ratio: 1.85; }
.model-specs { background: var(--surface); }
.model-specs__layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.38fr); gap: clamp(2rem,5.5vw,6rem); }
.model-specs__layout h2 { font-size: clamp(2rem, 2.9vw, 3rem); }
.model-specs__group { border-top: 1px solid #acbbc8; }
.model-specs__group:last-child { border-bottom: 1px solid #acbbc8; }
.model-specs__group summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem .2rem; list-style: none; font-weight: 700; font-size: clamp(1.1rem,1.5vw,1.45rem); }
.model-specs__group summary::-webkit-details-marker { display: none; }
.model-specs__group summary::after { content: '+'; color: var(--blue); font: 400 1.5rem/1 Lato,sans-serif; }
.model-specs__group[open] summary::after { content: '−'; }
.model-specs__group table { width: 100%; border-collapse: collapse; margin-bottom: 1.1rem; }
.model-specs__group :is(th,td) { padding: .7rem .2rem; border-top: 1px solid #d8e0e6; vertical-align: top; line-height: 1.45; }
.model-specs__group th { width: 46%; padding-right: 1rem; color: #465461; font-weight: 400; text-align: left; }
.model-specs__group td { font-weight: 700; }
.related__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: clamp(1.6rem, 3vw, 3rem); }
.related__card { padding: clamp(1.3rem, 2.4vw, 2.5rem); display: grid; grid-template-columns: auto minmax(0,1fr); gap: 1rem; align-items: center; background: #edf0f2; border-bottom: 3px solid transparent; }
.related__card:hover { color: var(--blue); border-color: var(--blue); }
.related__card h3 { margin: 0; font: 400 clamp(1.4rem, 2.2vw, 2.25rem)/1.12 'Days One', Lato, sans-serif; letter-spacing: -.05em; }
.related__card h3 small { display: block; color: #53606c; font: 700 .9rem Lato,sans-serif; letter-spacing: .1em; margin-bottom: .45rem; }
.related__card img { width: 100%; height: auto; max-height: 12rem; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 60rem) {
    .model-cover__inner { min-height: 33rem; }
    .model-cover__copy { width: 48%; }
    .model-nav__name { display: none; }
    .model-nav__inner { justify-content: center; }
    .model-heading { gap: 2rem; }
    .related__card { grid-template-columns: 1fr; }
    .related__card img { height: 10rem; }
    .model-specs__layout { grid-template-columns: 1fr; }
}
@media (max-width: 45rem) {
    html { scroll-padding-top: 3.7rem; }
    .model-cover { background: #14202d; }
    .model-cover__image { inset: 2rem 0 auto; width: 100%; height: clamp(18rem,64vw,27rem); max-height: none; object-fit: cover; object-position: 30% center; mask-image: linear-gradient(180deg, transparent, #000 15%); }
    .model-cover::after { height: calc(clamp(18rem,64vw,27rem) + 2rem); bottom: auto; background: var(--cover-shade), linear-gradient(0deg,#14202d,transparent 39%); }
    .model-cover__inner { min-height: 0; padding-block: calc(clamp(16rem,56vw,23.5rem) + 1.5rem) 1.7rem; justify-content: start; }
    .model-cover__copy { width: 100%; padding: 0; }
    .model-cover__class { font-size: .88rem; margin-bottom: .6rem; }
    .model-cover__name { font-size: clamp(2.15rem,7.7vw,3.6rem); }
    .model-cover__name span { display: inline; }
    .model-cover__numbers { margin: 1.1rem 0 1.35rem; }
    .model-cover__numbers div + div { padding-left: clamp(.65rem,3vw,1.2rem); margin-left: clamp(.65rem,3vw,1.2rem); }
    .model-cover__numbers dt { font-size: .81rem; }
    .model-cover__numbers dd { font-size: 1.4rem; }
    .model-cover__order { gap: .65rem 1.1rem; }
    .model-cover__order .button { min-height: 2.8rem; padding: .65rem .92rem; }
    .model-nav__inner { width: 100%; justify-content: start; }
    .model-nav__links { width: 100%; padding-inline: calc(var(--inset) - .55rem); }
    .model-nav__links a { min-height: 3rem; padding-inline: .62rem; font-size: .95rem; }
    .model-heading { grid-template-columns: 1fr; align-items: start; gap: 1rem; }
    .overview__story { padding-top: clamp(10rem,39vw,17rem); }
    .overview__image { height: 79%; object-position: 70% center; }
    .overview__story::after { background: linear-gradient(0deg,#141d26 12%,#141d26f5 29%,transparent 67%); }
    .overview__copy { padding: 1.3rem; }
    .design__grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,13.5rem),1fr)); }
    .paint__label { font-size: .88rem; padding-inline: .72rem; }
    .chassis__facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .model-title { font-size: clamp(1.78rem,6.7vw,2.65rem); }
    .model-specs__group :is(td,th) { font-size: .95rem; }
    .related__grid { gap: .7rem; }
    .related__card { gap: .65rem; padding: 1rem; }
    .related__card img { height: clamp(5rem,18vw,8rem); }
}
@media (max-width: 23rem) {
    .model-cover__price { font-size: 1.32rem; }
    .model-cover__order .button { font-size: .92rem; }
    .related__card h3 { font-size: 1.1rem; }
}
@media print {
    .model-nav, .model-reel__controls, .site-header, .site-footer, .model-cover__order a { display: none; }
    .model-section { padding-block: 1.5rem; }
}

.model-cover--vehicle { background: linear-gradient(112deg,#f7f8f9 12%,#e7eced 39%,#36495a 56%,#152335 74%); }
.model-cover--vehicle::after { background: var(--cover-shade); }
.model-cover--vehicle .model-cover__inner { min-height: clamp(28rem,39vw,39rem); }
.model-cover--vehicle .model-cover__image { inset: var(--cover-header-space) auto 0 2%; width: 49%; height: calc(100% - var(--cover-header-space)); max-height: none; padding: clamp(1rem,2.5vw,3rem); object-fit: contain; object-position: center; mix-blend-mode: multiply; mask-image: none; }
.model-cover--vehicle .model-cover__copy { width: 44%; }
.model-cover--vehicle .model-cover__name { font-size: clamp(2.55rem,4.7vw,5rem); overflow-wrap: anywhere; }
.model-cover--vehicle .model-cover__numbers { flex-wrap: wrap; row-gap: .5rem; }
.model-cover--vehicle .model-cover__class a { font-weight: 400; border-left: 1px solid #99a8b8; padding-left: .8rem; }
.model-cover--vehicle .model-cover__class a:hover { text-decoration: underline; }
.model-cover--vehicle .catalog-item__badges { margin-block: 1rem .7rem; }
.model-cover--vehicle .model-cover__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .65rem; }
.model-cover--vehicle del { color: #d2d9df; font-size: .68em; }
.vehicle-section:nth-of-type(even) { background: var(--surface); }
.vehicle-section .model-title { font-size: clamp(1.9rem,3vw,3.1rem); }
.vehicle-section .model-title::before { display: block; content: ''; width: 2.8rem; height: 3px; margin-bottom: .75rem; background: var(--blue); }
.vehicle-section .model-reel { margin-top: 1.2rem; }
.vehicle-section .model-reel__slide img { object-fit: contain; background: #fff; }
.vehicle-overview { margin: 1rem 0 0; max-width: 65ch; font-size: clamp(1.05rem,1.5vw,1.35rem); }
@media (max-width: 45rem) {
    .model-cover--vehicle { background: #152335; }
    .model-cover--vehicle::after { height: var(--cover-header-space); background: linear-gradient(#121d29ee,#192635); }
    .model-cover--vehicle .model-cover__image { position: relative; inset: auto; width: 100%; height: clamp(14rem,65vw,24rem); margin-top: var(--cover-header-space); padding: .85rem; background: #f5f7f8; mix-blend-mode: normal; }
    .model-cover--vehicle .model-cover__inner { min-height: 0; padding-block: 1.45rem 1.75rem; }
    .model-cover--vehicle .model-cover__copy { width: 100%; }
    .model-cover--vehicle .model-cover__name { font-size: clamp(2.05rem,8vw,3.6rem); }
}
