:root {
  --ink: #20221f;
  --muted: #555b54;
  --line: #d9dbd4;
  --orange: #f76b16;
  --paper: #fbfaf7;
  --soft: #efeee8;
  --dark: #232622;
}

body { background: var(--paper); font-family: "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3 { letter-spacing: -.04em; }
.header { background: var(--paper); }
.header-inner { height: 80px; }
.header nav { gap: clamp(16px, 2vw, 30px); font-size: 14px; }
.header nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.brand, .brand img { width: 153px; }
.nav-build { min-height: 42px; font-size: 13px; }
.button { gap: 18px; min-height: 46px; font-size: 14px; }
.text-link { font-size: 14px; gap: 10px; }
.button.primary { background: var(--orange); border-color: var(--orange); color: #251d16; }
.button.primary:hover { background: #e9590a; border-color: #e9590a; }
.hero-actions { gap: 24px; }
.hero-origin { color: #aeb3a8; font-size: 12px; padding-top: 30px; margin-top: auto; }

.range-hero {
  background: #222520;
  border-bottom: 4px solid var(--orange);
  color: #faf9f4;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 32px;
  padding: 28px max(32px, calc((100vw - 1280px) / 2));
}
.range-hero-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 38px 0 14px; }
.range-hero h1 { font-size: clamp(37px, 4.05vw, 66px); line-height: 1.02; font-weight: 650; margin-bottom: 22px; letter-spacing: -.055em; }
.range-hero p { color: #c9ccc1; max-width: 390px; font-size: 16px; margin-bottom: 28px; }
.range-hero .text-link:hover { color: #ffa96f; }
.range-hero-photo { min-width: 0; align-self: center; background: #d3d3cc; color: #232622; }
.range-hero-photo img {
  width: min(100%, 534px); height: auto; display: block; margin: 0 auto; object-fit: contain;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 90%, transparent),
              linear-gradient(transparent, #000 10%, #000 93%, transparent);
  mask-composite: intersect;
}
.range-hero-photo > div {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  border-top: 1px solid #bdbfb6; padding: 12px 17px; font-size: 13px; font-weight: 600;
}
.range-hero-photo > div span:last-child { font-size: 18px; }
.range-hero-photo:hover > div { background: #f4f1e8; }

.range-section, .selected-section { padding-top: 49px; padding-bottom: 41px; }
.range-section .section-head, .selected-section .section-head { margin-bottom: 22px; }
.range-section h2, .selected-section h2 { font-size: clamp(30px, 4vw, 44px); }
.range-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.range-card { display: block; background: #f4f2eb; border: 1px solid var(--line); min-width: 0; }
.range-card:hover { border-color: #bd4b0f; }
.range-photo { background: #e5e4dd; }
.range-photo img { width: auto; max-width: 100%; height: 180px; object-fit: contain; margin: auto; clip-path: inset(2px); }
.range-caption { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; padding: 15px 16px 17px; }
.range-caption h3 { grid-column: 1; margin: 0; font-size: 20px; }
.range-caption p { grid-column: 1; margin: 0; line-height: 1.45; font-size: 13px; }
.range-caption span { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.classic-link { display: inline-flex; gap: 14px; margin-top: 20px; font-size: 14px; font-weight: 600; }
.classic-link:hover, .trade-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.selected-section { border-top: 1px solid var(--line); }
.category-tabs { margin-bottom: 23px; }
.category-tabs button { font-size: 14px; }
.product-card { border: 1px solid var(--line); background: #fefdf9; }
.product-photo { background: #e6e5df; }
.product-photo > img { padding: 15px 8px; }
.product-meta { padding: 16px 16px 14px; }
.product-meta p, .card-facts, .price-caption, .card-link { font-size: 13px; }
.product-meta p { margin-bottom: 4px; }
.card-facts { margin: 6px 0 12px; }
.price-caption { color: #555b54; }

.trade-section { padding-top: 24px; padding-bottom: 42px; }
.trade-panel { background: #222520; color: #faf9f4; padding: clamp(24px, 4.5vw, 65px); display: grid; gap: 8%; grid-template-columns: 1.1fr 1fr; align-items: center; }
.trade-panel h2 { margin-bottom: 13px; }
.trade-panel p { max-width: 490px; color: #c9ccc1; font-size: 15px; }
.trade-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #777970; padding: 13px 0; font-size: 15px; }
.trade-links a:last-child { border-bottom: 1px solid #777970; }
.trade-links a span { color: #ff984d; }

.faq-section { padding-top: 40px; padding-bottom: 45px; }
.enquiry-band { background: #eeede4; margin-bottom: 42px; }
.site-footer { background: #232622; }
.footer-main { padding-top: 38px; padding-bottom: 34px; }
.footer-main h3, .footer-main > div > a:not(.footer-brand) { font-size: 13px; }
.footer-main .market-trigger { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { border-top-color: #52544c; }
.footer-main a[href^="mailto:"] { overflow-wrap: anywhere; }

.page-heading, .workspace-heading { padding-top: 43px; }
.page-heading h1 { margin-bottom: 14px; }
.page-heading p, .detail-copy > p, .guide-body p { font-size: 16px; }
.catalog-tools, .filter-row { gap: 14px; }
.filter-row { margin-top: 18px; }
.detail-image > img, .related-model img { background: #e5e4dd; }
.detail-image > p, .detail-secondary { font-size: 13px; }
.detail-copy .model-category { color: #565a50; font-size: 13px; margin-bottom: 7px; }
.detail-copy h1 { margin-bottom: 14px; }
.detail-tags span { border-color: #babdb2; font-size: 12px; }
.product-subnav { background: #f0efe6; font-size: 13px; }
.configuration-section { background: #eeeae0; align-items: center; }
.configuration-section > p { margin: 0; }
.guide-heading { background: #ece9de; }
.guide-layout { padding-top: 42px; }
.guide-body > section { padding-bottom: 31px; margin-bottom: 29px; }
.guide-body h3 { margin-top: 20px; margin-bottom: 12px; }
.guide-toc > a { font-size: 14px; }
.destination-note { margin: 0; border-top: 1px solid var(--line); }
.destination-note:last-child { border-bottom: 1px solid var(--line); }
.destination-note summary { font-weight: 600; padding: 13px 4px; list-style: revert; }
.destination-note summary::-webkit-details-marker { display: inline; }
.destination-note p { margin: 0; padding: 4px 16px 14px; }
.destination-note a { text-decoration: underline; text-underline-offset: 3px; }
.section-number { margin-bottom: 15px; }
.section-number > span { font-size: 13px; letter-spacing: 0; }
.order-summary, .studio-controls { background: #efeee7; }
#email-send { margin: 4px 0 8px; }
#email-send[hidden], #whatsapp-send[hidden] { display: none; }
#market-dialog input {
  width: 100%; border: 1px solid #a4a69c; padding: 10px; background: white;
  margin: 7px 0 15px; color: var(--ink);
}
.dialog-top { justify-content: flex-end; margin-bottom: 8px; }
#market-dialog .dialog-close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; }

@media (max-width: 1000px) {
  .range-hero { padding-inline: 24px; gap: 24px; }
  .range-hero-photo img { width: min(100%, 435px); }
  .range-hero-copy { padding-top: 14px; }
  .range-caption { padding: 12px; }
}

@media (max-width: 960px) { .header nav { top: 79px; } }

@media (max-width: 700px) {
  .header-inner { height: 65px; padding-inline: 19px; }
  .header nav { top: 64px; }
  .header-actions { gap: 13px; }
  .brand, .brand img { width: 136px; }
  .range-hero { grid-template-columns: 1fr; gap: 22px; padding: 26px 19px 19px; }
  .range-hero-copy { padding: 0; }
  .range-hero h1 { font-size: clamp(34px, 9vw, 46px); margin-bottom: 14px; }
  .range-hero h1 br { display: none; }
  .range-hero p { font-size: 14px; margin-bottom: 17px; }
  .hero-origin { padding-top: 15px; }
  .hero-actions { gap: 15px; }
  .hero-actions .button, .hero-actions .text-link { font-size: 13px; }
  .range-hero-photo img { width: min(100%, 330px); }
  .range-hero-photo > div { padding: 9px 13px; }
  .range-section, .selected-section { padding: 32px 19px; }
  .range-section .section-head, .selected-section .section-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; }
  .range-section .section-head > .text-link, .selected-section .section-head > .text-link { margin: 0; }
  .range-grid { grid-template-columns: 1fr; gap: 12px; }
  .range-card { display: grid; grid-template-columns: minmax(105px, 44%) 1fr; }
  .range-photo { display: grid; place-items: center; }
  .range-photo img { height: 105px; }
  .range-caption { align-content: center; }
  .range-caption h3 { font-size: 17px; }
  .range-caption p { font-size: 12px; }
  .product-meta { padding: 10px; }
  .product-meta p, .card-facts, .price-caption, .card-link { font-size: 11px; }
  .trade-section { padding: 10px 19px 28px; }
  .trade-panel { grid-template-columns: 1fr; gap: 24px; }
  .trade-panel p { font-size: 14px; }
  .faq-section { padding-top: 30px; padding-bottom: 32px; }
  .enquiry-band { margin-bottom: 0; }
  .page-heading, .workspace-heading { padding-top: 30px; }
  .page-heading p, .detail-copy > p, .guide-body p { font-size: 15px; }
  .footer-main { padding-top: 30px; }
}

@media (max-width: 360px) {
  .range-hero h1 { font-size: 34px; }
  .hero-actions .button, .hero-actions .text-link { font-size: 12px; }
}

.catalogue-source { margin: 8px 0 15px; }
.business-registration {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(22px, 6vw, 75px);
}
.business-registration figure { margin: 0; }
.business-registration figure a { display: block; border: 1px solid var(--line); background: white; }
.business-registration img { width: 100%; height: auto; }
.business-registration figure span { display: block; padding: 11px 15px; font-weight: 600; font-size: 13px; }
.business-registration figure a:hover span { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) {
  .business-registration { grid-template-columns: 1fr; }
  .business-registration h2 { margin-bottom: 16px; }
}

.showroom-hero {
  max-width: 1600px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(360px, 43vw, 650px);
  background: #1c2c25;
  color: #fff;
}
.showroom-copy {
  align-self: center;
  padding: 56px clamp(24px, 5vw, 90px);
}
.showroom-copy h1 {
  max-width: 530px;
  margin: 0 0 22px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  font-weight: 650;
}
.showroom-copy p {
  max-width: 400px;
  color: #dce4de;
  margin-bottom: 27px;
}
.showroom-image {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  margin: 0;
  background: #1c2c25;
}
.showroom-image img {
  display: block;
  width: 100%;
  height: clamp(360px, 43vw, 650px);
  object-fit: contain;
}
.showroom-image figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: #fff;
  color: #20221f;
  font-size: 14px;
  font-weight: 650;
}
.showroom-image figcaption a { display: block; padding: 8px 14px; }
.showroom-image figcaption span { margin-left: 8px; }
.showroom-copy .text-link { color: #fff; text-underline-offset: 4px; }
.showroom-copy .text-link:hover { text-decoration: underline; }

.showroom-featured { padding-block: clamp(32px, 5vw, 67px); }
.showroom-featured .section-head { align-items: baseline; gap: 16px; }
.featured-vehicles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 21px);
}
.featured-vehicle { min-width: 0; border-bottom: 1px solid var(--line); }
.featured-picture {
  display: grid;
  place-items: center;
  background: #e9e9e4;
  aspect-ratio: 1.18;
}
.featured-picture img { width: 100%; height: 100%; object-fit: contain; }
.featured-copy { padding: 13px 0 16px; }
.featured-copy h3 { font-size: clamp(19px, 2vw, 24px); margin: 0; }
.featured-copy p { font-size: 13px; margin: 4px 0 8px; }

.showroom-factory {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  max-width: 1232px;
  margin: 0 auto;
  background: #eceee7;
}
.showroom-factory figure { margin: 0; }
.showroom-factory img { width: 100%; height: auto; display: block; }
.showroom-factory > div { padding: clamp(23px, 4vw, 57px); }
.showroom-factory h2 { margin-bottom: 12px; }
.showroom-factory p { margin-bottom: 18px; }
.showroom-range .range-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.showroom-range .range-caption { padding-block: 13px; }
.showroom-range .range-photo img { width: 100%; height: 160px; clip-path: none; }
.detail-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.detail-gallery img { display: block; width: 100%; height: auto; object-fit: contain; background: var(--soft); }
.factory-range { margin: 0; }
.factory-range figcaption { display: block; padding: 12px 14px; font-size: 13px; }

@media (max-width: 1000px) {
  .featured-vehicles { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
}
@media (max-width: 700px) {
  .showroom-hero, .showroom-factory { grid-template-columns: 1fr; }
  .showroom-copy { padding: 32px 20px 26px; }
  .showroom-copy h1 { font-size: clamp(37px, 9vw, 51px); margin-bottom: 13px; }
  .showroom-copy p { font-size: 15px; margin-bottom: 20px; }
  .showroom-image img { height: auto; max-height: 450px; }
  .showroom-image figcaption { bottom: 11px; right: 11px; }
  .featured-vehicles, .showroom-range .range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showroom-featured .section-head h2 { font-size: clamp(24px, 7vw, 33px); }
  .showroom-featured .section-head > a { white-space: nowrap; }
  .showroom-range .range-card { display: block; }
  .showroom-range .range-photo img { height: 112px; }
  .showroom-range .range-caption h3 { font-size: 15px; }
  .detail-gallery { gap: 8px; }
}
