.model-page .site-header { position: relative; z-index: 5; }
.model-main { width: 100%; max-width: 1680px; margin-inline: auto; padding: 28px 5% 64px; }
.model-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.model-breadcrumb a:hover { color: var(--accent); }
.model-title-row { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); align-items: end; gap: 44px; padding-bottom: 30px; }
.model-heading { min-width: 0; }
.model-heading .eyebrow { margin-bottom: 10px; color: #48b4ff; font-size: 1rem; letter-spacing: .3em; }
.model-heading h1 { color: #f5f7fa; font-family: "Arial Black", "Segoe UI", Arial, sans-serif; font-size: clamp(3.5rem,8vw,8.5rem); font-weight: 900; font-style: italic; line-height: 1.08; letter-spacing: -.055em; }
.model-seating { margin: 18px 0 0; font-size: 1rem; line-height: 1.6; color: var(--muted); }
.model-seating span { margin: 0 10px; color: #078fff; }
.model-intro { max-width: 510px; padding-bottom: 4px; }
.model-description { margin: 0 0 12px; color: #c4cad2; font-size: 1.125rem; line-height: 1.7; }
.model-detail-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; color: var(--accent); font-size: 1rem; font-weight: 600; }
.model-detail-link:hover { color: #fff; }
.model-detail-link span { font-size: 1.5rem; }
.model-showcase { display: grid; grid-template-columns: minmax(130px,.22fr) minmax(0,1fr) minmax(130px,.22fr); align-items: center; gap: 24px; padding: 28px; border-top: 2px solid #078fff; border-bottom: 1px solid #ffffff20; background: radial-gradient(ellipse at 50% 42%,#455764 0,#23313d 30%,#111920 65%,#0c1118 100%); }
.model-main-photo { min-width: 0; margin: 0; }
.model-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #e9edf1; }
.model-photo img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 12px; transform: scale(var(--detail-scale,1)); transform-origin: var(--detail-origin,50% 50%); }
.model-photo[data-view="front"] { --detail-scale: 2; --detail-origin: var(--front-origin); }
.model-photo[data-view="seating"] { --detail-scale: 2; --detail-origin: var(--seating-origin); }
.model-photo[data-view="wheels"] { --detail-scale: 2.5; --detail-origin: var(--wheels-origin); }
.model-main-photo .model-photo { height: clamp(340px,38vw,580px); aspect-ratio: auto; background: transparent; }
.model-main-photo img { padding: 0; }
.model-fact-list { min-width: 0; display: flex; flex-direction: column; gap: 44px; margin: 0; }
.model-fact-list > div { padding: 16px 0; border-top: 1px solid #48b4ff70; }
.model-fact-list dt { margin-bottom: 10px; color: #c0cbd6; font-size: .875rem; line-height: 1.4; }
.model-fact-list dd { margin: 0; color: #fff; font-size: clamp(1.125rem,1.8vw,1.6rem); line-height: 1.35; font-weight: 700; }
.model-photo-note { margin: 10px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.model-build-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.model-base { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 0; color: var(--muted); font-size: 1rem; }
.model-base strong { color: #fff; font-size: 2rem; font-weight: 650; letter-spacing: -.025em; }
.model-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.model-actions .build-button { order: 1; margin-top: 0; min-height: 52px; min-width: 210px; font-size: 1rem; border-radius: 3px; padding: 14px 22px; }
.model-secondary { display: inline-flex; align-items: center; min-height: 52px; padding: 12px 18px; border-bottom: 1px solid #536371; font-size: 1rem; }
.model-secondary:hover { border-color: var(--accent); color: var(--accent); }
.model-section { padding-top: 64px; }
.model-section-heading { min-width: 0; }
.model-section-heading .eyebrow { margin-bottom: 12px; }
.model-section-heading h2, .model-other-section > h2 { margin: 0; color: #fff; font-size: clamp(2rem,3.7vw,3.5rem); line-height: 1.1; letter-spacing: -.04em; }
.model-section-heading > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.model-gallery-section > .model-section-heading { margin-bottom: 28px; }
.model-gallery-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); grid-template-rows: repeat(3,160px); gap: 16px; }
.model-gallery-button { display: grid; grid-template-columns: minmax(0,1fr) minmax(125px,.7fr); align-items: stretch; min-width: 0; padding: 0; border: 1px solid #ffffff20; background: #111820; color: #e5e8ec; font: inherit; cursor: pointer; text-align: left; }
.model-gallery-button:first-child { grid-column: 1; grid-row: 1 / 4; display: flex; flex-direction: column; }
.model-gallery-button:not(:first-child) { grid-column: 2; }
.model-gallery-button:hover { border-color: var(--accent); }
.model-gallery-button .model-photo { min-width: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.model-gallery-button:first-child .model-photo { flex: 1; min-height: 0; }
.model-gallery-button > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 20px; font-size: 1rem; line-height: 1.4; }
.model-gallery-button > span::after { content: "+"; color: var(--accent); font-size: 1.5rem; }
.model-page button:focus-visible, .model-spec-group > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.model-specifications { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); align-items: start; gap: 64px; padding-top: 76px; }
.model-specifications > .model-section-heading { position: sticky; top: 28px; padding-bottom: 28px; }
.model-spec-content { min-width: 0; }
.model-spec-list { border-top: 1px solid #48b4ff80; }
.model-spec-group { border-bottom: 1px solid var(--line); }
.model-spec-group > summary { display: flex; align-items: center; gap: 20px; padding: 24px 0; color: #e5e8ec; font-size: 1.125rem; line-height: 1.4; font-weight: 600; list-style: none; cursor: pointer; }
.model-spec-group > summary::-webkit-details-marker { display: none; }
.model-spec-group > summary::after { content: "+"; margin-left: auto; padding-left: 12px; color: var(--accent); font-size: 1.5rem; font-weight: 400; }
.model-spec-group[open] > summary::after { content: "−"; }
.spec-number { color: #48b4ff; font-size: .875rem; font-weight: 500; }
.model-spec-group dl { margin: 0; padding: 0 0 20px 38px; }
.model-spec-group dl > div { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 24px; padding: 13px 0; border-top: 1px solid #ffffff0d; font-size: 1rem; line-height: 1.5; }
.model-spec-group dt { color: var(--muted); }
.model-spec-group dd { margin: 0; }
.model-spec-note { margin: 20px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.7; }
.model-photo-dialog { width: min(1000px,calc(100% - 32px)); max-height: calc(100svh - 32px); overflow-y: auto; padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: #15191f; color: #e5e8ec; }
.model-photo-dialog::backdrop { background: #000c; }
.model-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.model-dialog-heading h2 { margin: 0; font-size: 1.25rem; }
.model-dialog-heading form { flex-shrink: 0; }
.model-dialog-heading button { min-height: 44px; padding: 8px 14px; border: 1px solid #3b4654; border-radius: 3px; background: #0b0d10; color: #e5e8ec; font: inherit; cursor: pointer; }
.model-photo-dialog .model-photo { max-height: 72svh; }
.model-other-section { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 36px; }
.model-other-section > h2 { margin-bottom: 28px; font-size: 1.75rem; }
.other-models { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.other-model { display: grid; grid-template-columns: minmax(80px,.8fr) minmax(0,1fr); align-items: center; gap: 18px; min-width: 0; padding-bottom: 16px; border-bottom: 1px solid #ffffff26; }
.other-model:hover { border-color: var(--accent); }
.other-model .model-photo { aspect-ratio: 1.35; background: #cfd7df; }
.other-model > span { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 1.25rem; font-weight: 600; }
.other-model small { color: var(--accent); font-size: .875rem; font-weight: 400; }
@media (max-width: 1000px) {
  .model-title-row { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .model-intro { max-width: 720px; }
  .model-showcase { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 28px; padding: 22px; }
  .model-main-photo { grid-column: 1 / -1; grid-row: 1; }
  .model-main-photo .model-photo { height: clamp(320px,55vw,520px); }
  .model-fact-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .model-fact-list dd { font-size: 1.25rem; }
  .model-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; }
  .model-gallery-button, .model-gallery-button:first-child { display: flex; flex-direction: column; grid-column: auto; grid-row: auto; }
  .model-gallery-button:not(:first-child) { grid-column: auto; }
  .model-gallery-button .model-photo, .model-gallery-button:first-child .model-photo { flex: none; aspect-ratio: 4 / 3; height: auto; }
  .model-specifications { grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: 32px; }
  .other-model { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .other-model .model-photo { aspect-ratio: 1.6; }
}
@media (max-width: 680px) {
  .model-page .site-header nav { position: relative; }
  .model-page .site-header .models-dropdown { position: static; }
  .model-page .site-header .model-menu { left: 0; right: 0; width: auto; }
  .model-main { padding: 24px 22px 48px; }
  .model-breadcrumb { margin-bottom: 28px; }
  .model-heading h1 { font-size: clamp(3.4rem,14vw,5.6rem); }
  .model-seating span { margin: 0 6px; }
  .model-showcase { grid-template-columns: minmax(0,1fr); padding: 16px; gap: 0; }
  .model-main-photo { grid-column: 1; }
  .model-main-photo .model-photo { height: clamp(240px,72vw,420px); }
  .model-fact-list { gap: 20px; }
  .model-facts-left { grid-row: 2; }
  .model-facts-right { grid-row: 3; }
  .model-fact-list > div { padding: 14px 0; }
  .model-fact-list dt { margin-bottom: 6px; }
  .model-fact-list dd { font-size: 1.125rem; }
  .model-build-strip { gap: 18px; padding-block: 22px; }
  .model-actions { width: 100%; }
  .model-actions .build-button { justify-content: center; flex: 1; min-width: 0; }
  .model-secondary { width: 100%; justify-content: center; }
  .model-section { padding-top: 44px; }
  .model-gallery-grid { gap: 12px; }
  .model-gallery-button > span { padding: 12px; font-size: .875rem; }
  .model-specifications { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .model-specifications > .model-section-heading { position: static; padding: 0; }
  .model-specifications h2 br { display: none; }
  .model-spec-group > summary { gap: 12px; font-size: 1rem; }
  .model-spec-group dl { padding-left: 0; }
  .model-spec-group dl > div { gap: 14px; }
  .model-dialog-heading h2 { font-size: 1.125rem; }
  .model-other-section { margin-top: 44px; }
  .other-models { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .other-model { grid-template-columns: minmax(100px,.6fr) minmax(0,1fr); gap: 20px; }
}
