:root {
  color-scheme: light;
  --navy: #101c32;
  --navy-dark: #0a1120;
  --blue: #26466c;
  --blue-light: #e6edf5;
  --ink: #151d29;
  --muted: #526074;
  --paper: #f3f1eb;
  --line: #c8cbd0;
  --white: #fffefa;
  --photo: #71767f;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); }
button:focus-visible, a:focus-visible, input:focus-visible, label:has(input:focus-visible) {
  outline: 3px solid #2467aa;
  outline-offset: 3px;
}
button:disabled:focus-visible { outline: none; }
[hidden] { display: none !important; }
.page-width { width: min(100% - 3.5rem, 1320px); margin: 0 auto; }
.skip {
  position: fixed; z-index: 10; left: 1rem; top: 1rem; transform: translateY(-220%);
  background: white; padding: .8rem 1rem;
}
.skip:focus { transform: translateY(0); }
.masthead {
  background: linear-gradient(105deg, #0c162a, #172b49 75%, #101d34);
  color: #e8edf3;
  border-bottom: 2px solid #647289;
}
.masthead-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: .8rem; }
.brand {
  display: inline-flex; align-items: center; gap: .65rem; text-decoration: none;
  color: #e8edf3; font-style: italic; font-weight: 900; letter-spacing: .11em; text-transform: uppercase;
  font-size: clamp(1.2rem, 3.4vw, 2.04rem);
}
.mountain {
  width: 3rem; height: 1.55rem; flex-shrink: 0; display: inline-block;
  background: linear-gradient(165deg, #fff, #b5c0ce 53%, #707d8d 56%, #d3dbe5);
  clip-path: polygon(0 100%, 36% 25%, 44% 41%, 63% 0, 100% 100%, 66% 41%, 58% 63%, 38% 47%);
}
.model-year { font-size: .73rem; letter-spacing: .18em; text-transform: uppercase; color: #d8e1ed; text-align: right; }
.navigation {
  background: linear-gradient(#e5e9ee, #c1c7cf); border-bottom: 1px solid #909aa7;
}
.nav-inner { display: flex; align-items: stretch; overflow-x: auto; }
.nav-inner > * {
  display: block; text-decoration: none; color: #172235; white-space: nowrap; font-size: .83rem;
  font-weight: 700; text-align: center; padding: .76rem 1.2rem; border: 0;
  border-right: 1px solid #a8b0bd; border-left: 1px solid #eff1f5; background: transparent;
}
.nav-inner > :hover, .nav-inner > .selected { background: linear-gradient(#415975, #253c5a); color: white; }
.nav-inner > .parts-nav { color: #183355; box-shadow: inset 0 -2px #819ab9; }
.nav-inner > .parts-nav:hover { color: white; }
.intro { padding: 1.6rem 0 1.15rem; display: flex; justify-content: space-between; align-items: baseline; gap: .6rem 1.5rem; flex-wrap: wrap; }
.intro h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.75rem); letter-spacing: -.05em; line-height: 1; }
.intro p { margin: 0; font-weight: 700; color: var(--muted); font-size: .94rem; }
.lineup { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.model-card {
  display: flex; flex-direction: column;
  text-align: left; min-width: 0; padding: 0; background: var(--white); border: 1px solid #adb5c0;
  color: var(--ink); overflow: hidden; border-radius: 3px;
}
.model-card:hover { border-color: var(--blue); background: var(--blue-light); }
.model-card[aria-pressed="true"] { border: 2px solid #26466c; box-shadow: 0 0 0 1px #26466c inset; }
.model-card[aria-pressed="true"] .model-card-copy { background: var(--navy); color: white; }
.model-image {
  display: block; width: 100%; height: auto; aspect-ratio: 1.85; object-fit: contain; background: var(--photo);
}
.model-card-copy { display: block; flex: 1; padding: .42rem .55rem .46rem; min-height: 3.9rem; }
.model-card-copy strong {
  display: block; font-size: .86rem; line-height: 1.2;
  white-space: normal; overflow-wrap: break-word;
}
.model-card-copy small, .model-card-copy .body-name { display: block; opacity: .84; font-size: .68rem; margin-top: .24rem; }
.model-card-copy .body-name { font-weight: 700; }
.builder {
  display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(350px, 1fr); gap: .85rem;
  align-items: start; margin: .85rem 0 1.75rem;
}
.display, .configuration {
  min-width: 0; border: 1px solid #adb5c0; background: var(--white); border-radius: 4px;
  box-shadow: 0 1px 3px #10213912;
}
.display { overflow: hidden; }
.vehicle-heading {
  padding: 1rem 1.05rem .9rem; display: flex; justify-content: space-between; align-items: baseline;
  gap: .5rem .8rem; flex-wrap: wrap;
}
.vehicle-heading h2 { font-size: clamp(1.08rem, 2.3vw, 1.48rem); margin: 0 0 .3rem; letter-spacing: -.035em; }
.vehicle-heading p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.35; }
.text-button {
  background: transparent; color: var(--blue); border: 0; text-decoration: underline; padding: .25rem .15rem;
  font-size: .81rem; font-weight: 700; text-underline-offset: 3px;
}
.text-button:hover { color: #132b47; text-decoration-thickness: 2px; }
.gallery { background: #101b2e; }
.vehicle-image {
  background: var(--photo); position: relative; width: 100%; aspect-ratio: 1.56; display: grid; place-items: center;
}
.vehicle-image canvas { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; min-height: 0; }
.image-status {
  position: absolute; padding: .6rem .8rem; margin: 0; inset: auto .75rem .75rem auto;
  border-radius: 3px; background: #12223be8; color: white; font-size: .83rem;
}
.gallery-controls {
  display: flex; justify-content: space-between; align-items: center; gap: .45rem .75rem; flex-wrap: wrap;
  padding: .45rem .67rem; border-top: 1px solid #5f6c7f; color: #d9e0ec;
}
.angle-buttons { display: flex; align-items: center; gap: .25rem; }
.angle-buttons button {
  border: 1px solid #526079; border-radius: 2px; background: #203149; color: #e6edf6;
  min-height: 32px; padding: .35rem .6rem; font-size: .76rem;
}
.angle-buttons button:hover { background: #314561; }
.angle-buttons button[aria-pressed="true"] { background: #e5eaf0; color: #101b2e; font-weight: 700; }
.gallery-finish { font-size: .71rem; line-height: 1.35; margin-left: auto; }
.gallery-share {
  color: #fff; background: #324a69; border: 1px solid #7890ae; border-radius: 2px;
  padding: .4rem .55rem; min-height: 32px; font-size: .75rem; font-weight: 700;
}
.gallery-share:hover { background: #456286; }
.quick-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.quick-specs div { padding: .7rem .75rem; }
.quick-specs div + div { border-left: 1px solid #d2d5da; }
.quick-specs dt { font-size: .64rem; letter-spacing: .075em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.quick-specs dd { margin: .25rem 0 0; font-size: .95rem; font-weight: 700; }
.configuration { display: flex; flex-direction: column; }
.mobile-preview { display: none; }
.step-tabs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: linear-gradient(#e0e5ed, #c2cad5);
  border-bottom: 1px solid #9ea9b8; border-radius: 3px 3px 0 0; overflow: hidden;
}
.step-tabs button {
  border: 0; border-right: 1px solid #aeb7c4; background: transparent; font-size: .75rem;
  color: #21304b; font-weight: 700; min-height: 43px; padding: .3rem .18rem;
}
.step-tabs button:focus-visible { outline-offset: -4px; }
.step-tabs button:last-child { border-right: 0; }
.step-tabs button:hover { background: #e4eaf1; }
.step-tabs button[aria-selected="true"] { background: var(--navy); color: white; box-shadow: inset 0 -3px #a5b9d3; }
.step { min-height: 390px; max-height: 540px; overflow-y: auto; padding: 1rem; }
.step h3 { font-size: 1.05rem; margin: 0 0 .7rem; letter-spacing: -.02em; }
.step fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.step fieldset:last-child { margin-bottom: 0; }
.step legend { font-size: .88rem; font-weight: 700; padding: 0; margin-bottom: .5rem; }
.swatches { display: flex; flex-wrap: wrap; gap: .4rem; }
.swatch {
  width: 39px; height: 37px; padding: 3px; border: 1px solid #a5adba; background: white; border-radius: 3px;
}
.swatch > span {
  display: block; width: 100%; height: 100%; background: linear-gradient(152deg, #ffffff38, #ffffff00 54%, #0000002b), var(--swatch);
  border: 1px solid #00000040; border-radius: 1px;
}
.swatch[aria-pressed="true"] { outline: 2px solid var(--blue); outline-offset: 1px; }
.swatch:hover > span { box-shadow: 0 0 0 1px white inset; }
.swatch-caption { margin: .45rem 0 0; font-size: .78rem; color: #344254; }
.swatch-caption strong { color: var(--ink); }
.option-list { display: grid; gap: .45rem; }
.option {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; column-gap: .55rem;
  border: 1px solid #b8c0cc; border-radius: 3px; padding: .58rem; background: #fbfbf8; cursor: pointer;
}
.option:hover { background: #edf2f7; }
.option:has(input:checked) { background: #e9f0f8; border-color: #567297; }
.option:has(input:disabled) { opacity: .62; cursor: not-allowed; }
.option input { margin: .07rem 0 0; accent-color: var(--blue); width: 1rem; height: 1rem; }
.option-text { display: block; line-height: 1.2; }
.option-text strong { font-size: .81rem; display: block; }
.option-text small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.36; margin-top: .2rem; }
.option-cost { font-size: .73rem; white-space: nowrap; font-weight: 700; text-align: right; }
.config-total { padding: .77rem .85rem .85rem; border-top: 1px solid #aeb8c6; background: #e7eaf0; border-radius: 0 0 3px 3px; }
.price-info { display: flex; align-items: end; justify-content: space-between; gap: .55rem; margin-bottom: .65rem; }
.price-info div { min-width: 0; }
.price-info small { display: block; font-size: .69rem; color: var(--muted); }
.price-info strong { font-size: 1.65rem; line-height: 1.05; letter-spacing: -.04em; }
.total-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.total-actions .button { flex: 1 1 auto; }
.button {
  border: 1px solid #8997ac; border-radius: 3px; color: var(--navy); background: linear-gradient(#fff, #e3e8ef);
  padding: .62rem .62rem; font-size: .78rem; font-weight: 700; line-height: 1.18; min-height: 37px;
}
.button:hover { background: #dce5f1; border-color: var(--blue); }
.button.primary { background: linear-gradient(#395775, #1e3654); color: white; border-color: #172e4b; }
.button.primary:hover { background: #253f62; }
.button:disabled { opacity: .65; }
.summary-table, .details-table { width: 100%; border-collapse: collapse; font-size: .81rem; margin-bottom: .7rem; }
.summary-table th, .summary-table td, .details-table th, .details-table td {
  text-align: left; padding: .46rem .28rem; border-bottom: 1px solid #d1d7df; line-height: 1.3;
}
.summary-table th, .details-table tbody th { font-weight: 400; }
.summary-table td { text-align: right; padding-left: .45rem; white-space: nowrap; }
.summary-table tfoot th, .summary-table tfoot td { font-weight: 700; border-bottom: 0; }
.summary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.site-footer { flex-shrink: 0; color: #d5dce7; background: var(--navy); font-size: .73rem; }
.site-footer > div { padding: .9rem 0; display: flex; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
dialog {
  width: min(840px, calc(100vw - 2rem)); max-height: min(84vh, 850px); padding: 0;
  border: 1px solid #71829a; border-radius: 4px; color: var(--ink); background: var(--white);
}
dialog::backdrop { background: #080f1bba; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; background: #e3e8ef; border-bottom: 1px solid #c2c9d4; gap: 1rem; }
.dialog-header h2 { margin: 0; font-size: 1.1rem; }
.dialog-body { padding: .85rem 1rem 1.05rem; overflow: auto; }
.dialog-body p { font-size: .85rem; line-height: 1.45; margin: 0 0 .75rem; }
.comparison { overflow-x: auto; }
.comparison .details-table { min-width: 690px; }
.comparison thead th { font-weight: 700; }
.comparison td, .comparison th { padding: .52rem .38rem; }
.comparison-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin-bottom: 1rem; }
.compare-model { background: #fffefa; text-align: left; padding: 0; border: 1px solid #acb5c1; border-radius: 3px; color: var(--ink); overflow: hidden; }
.compare-model:hover { border-color: var(--blue); background: #edf2f8; }
.compare-model canvas { display: block; width: 100%; height: auto; aspect-ratio: 1.7; object-fit: contain; background: var(--photo); }
.compare-model > span { display: block; padding: .45rem .5rem; }
.compare-model strong { display: block; font-size: .78rem; }
.compare-model small { display: block; margin-top: .2rem; color: var(--muted); font-size: .68rem; }
.brochure-photo { display: block; width: 100%; height: auto; max-width: 610px; aspect-ratio: 1.5; object-fit: contain; margin-bottom: .75rem; }
.brochure-copy { margin: 0 0 .5rem; }
.share-link { width: 100%; padding: .55rem; border: 1px solid #9aa9bc; }
.share-dialog { width: min(720px, calc(100vw - 1.25rem)); }
.share-controls, .art-formats, .art-actions {
  display: flex; flex-wrap: wrap; gap: .36rem; align-items: center;
}
.share-controls { gap: .55rem; justify-content: space-between; }
.art-formats [aria-pressed="true"] { background: var(--navy); color: white; border-color: var(--navy); }
.download-button { display: inline-flex; align-items: center; text-decoration: none; }
#art-status { margin: .6rem 0 0; font-size: .76rem; }
#art-status:empty { display: none; }
.art-preview { margin: .75rem auto 0; }
.art-preview img {
  display: block; margin: 0 auto; width: auto; max-width: 100%; max-height: 57vh; height: auto;
  object-fit: contain; box-shadow: 0 0 0 1px #b5becb, 0 3px 12px #10203425;
}
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; align-items: start; }
.shop-product { border: 1px solid #c4c8d0; background: var(--white); border-radius: 3px; overflow: hidden; }
.tee-photo { width: 100%; height: auto; display: block; background: #e1ded6; border-bottom: 1px solid #c4c8d0; }
.shop-product-info { padding: .7rem; }
.shop-product-info h3 { margin: 0 0 .45rem; font-size: 1.06rem; letter-spacing: -.02em; }
.tee-description { min-height: 3em; }
.shop-product-info .tee-price { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.tee-price strong { font-size: 1.28rem; }
.tee-price small { color: var(--muted); }
.size-label { display: block; margin: 1rem 0 .34rem; font-weight: 700; font-size: .84rem; }
.tee-size {
  display: block; width: 100%; background: white; border: 1px solid #a3afc1;
  border-radius: 3px; margin-bottom: .58rem; padding: .5rem; font: inherit; color: var(--ink);
}
.tee-order { margin-top: .8rem; background: #eaf0f7; padding: .7rem; border: 1px solid #b8c4d5; }
.tee-order h4 { margin: 0 0 .38rem; font-size: .85rem; }
.tee-order p:last-child { color: var(--muted); margin: 0; font-size: .75rem; }
#window-sticker { display: none; }

@media (max-width: 880px) {
  .page-width { width: calc(100% - 1.75rem); }
  .lineup { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .builder { grid-template-columns: minmax(0, 1fr); }
  .configuration { min-height: auto; }
  .mobile-preview {
    display: flex; align-items: center; gap: .62rem; background: #f7f8fa; color: var(--blue);
    width: 100%; padding: .32rem .75rem; border: 0; border-bottom: 1px solid #bbc5d4;
    text-align: left; text-decoration: underline; font-weight: 700; font-size: .79rem;
  }
  .mobile-preview canvas { width: 68px; height: 45px; object-fit: contain; background: var(--photo); }
  .chevron { width: 8px; height: 8px; border-right: 2px solid; border-top: 2px solid; transform: rotate(-45deg); margin: .25rem .2rem 0 auto; }
  .step { min-height: 0; max-height: none; }
}
@media (max-width: 670px) {
  .lineup { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .38rem; }
  .model-card-copy strong { font-size: .73rem; }
  .model-card-copy small { font-size: .62rem; }
  .intro { padding: 1.12rem 0 .8rem; }
  .model-card-copy { min-height: 3.55rem; padding: .36rem; }
  .model-card-copy .body-name { font-size: .6rem; }
  .nav-inner > * { font-size: .73rem; padding: .67rem .72rem; }
  .masthead-inner { min-height: 55px; }
  .model-year { font-size: .62rem; letter-spacing: .1em; }
  .brand { gap: .33rem; }
  .mountain { width: 1.75rem; height: 1rem; }
  .intro p { font-size: .83rem; }
  .vehicle-heading { padding: .67rem .72rem .6rem; }
  .vehicle-heading p { font-size: .76rem; }
  .gallery-controls { padding: .37rem .45rem; }
  .gallery-finish { margin-left: 0; }
  .gallery-share { margin-left: auto; }
  .quick-specs div { padding: .56rem .4rem; }
  .quick-specs dd { font-size: .82rem; }
  .quick-specs dt { font-size: .58rem; }
  .step { padding: .85rem; }
  .shop-grid { grid-template-columns: 1fr; }
  .tee-description { min-height: 0; }
  .comparison-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
.dialog-header { flex: none; }
.dialog-body { min-height: 0; overscroll-behavior: contain; }
html:has(dialog[open]) { overflow: hidden; }
.share-dialog .share-controls { position: sticky; top: -.85rem; z-index: 1; background: var(--white); padding: .65rem 0; border-bottom: 1px solid var(--line); }
.share-dialog .art-actions a, .share-dialog .art-actions button { white-space: nowrap; }
.sticker-preview img { width: min(100%, 520px); max-height: none; }
.sticker-preview a { display: block; cursor: zoom-in; }
.sticker-text { margin-top: .9rem; font-size: .84rem; }
.sticker-text summary { color: var(--blue); font-weight: bold; cursor: pointer; }
.sticker-text table { margin-top: .65rem; }
@media (max-width: 670px), (max-height: 500px) and (max-width: 950px) {
  dialog[open] { margin: auto; width: min(840px, calc(100% - 1rem)); max-width: none; max-height: calc(100vh - 1rem); max-height: calc(100dvh - 1rem); }
  .dialog-header { padding: .35rem .75rem; }
  .dialog-header button, .dialog-body .button, .tee-size, .gallery-share, .angle-buttons button, .step-tabs button, .swatch { min-height: 44px; }
  .dialog-body { padding: .65rem .75rem max(.75rem, env(safe-area-inset-bottom)); }
  .tee-size { font-size: 16px; }
  .shop-product-info .button { width: 100%; }
  .share-dialog .share-controls { position: static; }
}
@media (max-width: 670px) {
  .shop-product { display: grid; grid-template-columns: minmax(88px, 32%) minmax(0, 1fr); align-items: start; padding: .65rem; gap: .5rem .75rem; }
  .tee-photo { border: 0; border-radius: 2px; }
  .shop-product-info { display: contents; }
  .shop-product-info h3, .shop-product-info .tee-price { grid-column: 2; margin: 0; }
  .tee-photo { grid-row: span 2; }
  .shop-product-info > :is(.tee-description,.size-label,.tee-size,.button,.tee-order) { grid-column: 1 / -1; margin: 0; }
  .tee-order { scroll-margin-block: .5rem; }
  .shop-product-info .tee-price { column-gap: .4rem; }
}
@media print {
  @page { size: letter landscape; margin: .25in; }
  html, body { background: white; }
  body.sticker-ready { display: block; min-height: 0; margin: 0; }
  body.sticker-ready > :not(#window-sticker), body.sticker-ready dialog::backdrop { display: none !important; }
  body.sticker-ready > #window-sticker { display: block; margin: 0; padding: 0; }
  #window-sticker img { display: block; width: auto; height: auto; max-width: 100%; max-height: 7.9in; margin: 0 auto; }
}
