* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f7f6f0;
  color: #182e25;
  font:
    16px/1.5 'DM Sans',
    Arial,
    sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
header,
footer,
.about,
.section,
.hero,
.workspace {
  padding-inline: clamp(22px, 6vw, 100px);
}
header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #c8cec4;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 1px;
}
.brand i {
  display: grid;
  place-items: center;
  background: #214938;
  color: #d4ed74;
  width: 44px;
  height: 44px;
  font: bold italic 38px Georgia;
  border-radius: 3px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.4px;
  margin-top: 5px;
}
nav,
.actions {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav {
  font-size: 14px;
  font-weight: 600;
}
.contact {
  border: 1px solid #aeb9ad;
  padding: 9px 18px;
  border-radius: 3px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 4vw;
  padding-block: 52px;
  background: #173c30;
  color: #fff;
}
.hero > div {
  align-self: center;
}
.hero small,
.section small,
.about small,
footer small,
.workspace > small {
  font: 700 11px/1.5 monospace;
  letter-spacing: 1.6px;
}
.hero small {
  color: #d3e5cc;
}
.hero b {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #c9e877;
  margin-right: 6px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: -0.049em;
}
h1 {
  font-size: clamp(45px, 5.9vw, 94px);
  margin: 24px 0;
}
em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #d0e78b;
}
.hero p {
  max-width: 435px;
  color: #dee6db;
}
.actions {
  margin-top: 30px;
  gap: 22px;
}
.btn,
button {
  display: inline-block;
  background: #cfe98a;
  color: #183326;
  border: 0;
  font: 700 14px Arial;
  padding: 14px 20px;
  border-radius: 3px;
  cursor: pointer;
}
.line {
  font-size: 14px;
  border-bottom: 1px solid #89a392;
}
.hero figure {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: 3px;
}
.hero figure img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero figcaption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 30px 16px 15px;
  background: linear-gradient(transparent, #10251fd9);
  font: 700 10px monospace;
  letter-spacing: 1px;
}
.hero figcaption span {
  float: right;
  font-weight: 400;
  letter-spacing: 0;
}
.section,
.workspace,
.about {
  padding-block: 56px;
}
.section h2,
.workspace h1,
.about h2,
footer h2 {
  font-size: clamp(32px, 3.5vw, 54px);
  margin: 12px 0 28px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
article img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 3px;
}
h3 {
  font-size: 26px;
  margin: 15px 0 8px;
}
article p,
.about p {
  color: #526059;
}
.about,
footer {
  display: flex;
  gap: 10vw;
  justify-content: space-between;
}
.about {
  background: #e8ecdf;
}
.about > div {
  max-width: 750px;
}
.about p {
  margin-bottom: 20px;
}
footer {
  background: #152f26;
  color: #f5f6eb;
  padding-block: 48px;
}
footer p {
  margin: 10px 0;
}
.workspace {
  max-width: 1500px;
  margin: auto;
}
.panel {
  background: white;
  border: 1px solid #c9d0c4;
  padding: 24px;
  border-radius: 5px;
  margin: 20px 0;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.wide {
  grid-column: 1/-1;
}
label {
  display: block;
  font-weight: 600;
  font-size: 14px;
}
input:not([type='checkbox']),
select,
textarea {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 5px 0;
  border: 1px solid #aeb9ad;
  border-radius: 3px;
  font: inherit;
}
textarea {
  min-height: 95px;
}
.row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.row button.secondary {
  background: #e6ebdf;
}
.entry {
  padding: 16px 0;
  border-top: 1px solid #c9d0c4;
  justify-content: space-between;
}
.catalog article {
  background: white;
  padding: 18px;
}
.catalog p {
  white-space: pre-line;
}
.catalog a {
  display: inline-block;
  margin-top: 15px;
  text-decoration: underline;
}
@media (max-width: 760px) {
  header {
    flex-wrap: wrap;
    padding-block: 14px;
    gap: 12px;
  }
  nav {
    width: 100%;
    gap: 16px;
    justify-content: space-between;
    font-size: 12px;
  }
  .contact {
    padding: 5px 8px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 32px;
  }
  .hero figure {
    min-height: 240px;
  }
  .grid,
  .formgrid {
    grid-template-columns: 1fr;
  }
  .about,
  footer {
    flex-direction: column;
    gap: 18px;
  }
  .grid img {
    height: 220px;
  }
  .section,
  .workspace,
  .about {
    padding-block: 35px;
  }
  .hero figcaption span {
    display: none;
  }
  footer a {
    overflow-wrap: anywhere;
  }
}
.yard {
  width: min(40%, 480px);
  object-fit: cover;
  border-radius: 4px;
}
.catalog details {
  margin-block: 8px;
}
.catalog summary {
  cursor: pointer;
}
.catalog details img {
  height: 100px;
  object-fit: contain;
}
.catalog details a {
  width: 48%;
}
.hero figure img {
  object-fit: contain;
  background: #203d32;
}
.section article img {
  object-position: center 53%;
}
@media (max-width: 760px) {
  .yard {
    width: 100%;
  }
}
header {
  background: #060606;
  color: white;
  border-color: #242427;
  min-height: 68px;
}
header .brand {
  font-size: 20px;
}
header .brand i {
  background: none;
  color: white;
  border: 1px solid #777;
  border-radius: 50%;
  font-size: 25px;
  width: 34px;
  height: 34px;
}
.contact {
  background: #3854ba;
  border: 0;
  border-radius: 24px;
}
.showcase {
  background: #030303;
  color: white;
}
.showcase section {
  overflow: hidden;
}
.night {
  text-align: center;
  background: radial-gradient(
    ellipse at 50% 70%,
    #15221c,
    #080b09 55%,
    #010201
  );
  padding-top: 36px;
}
.switch {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.switch span {
  border: 1px solid #888;
  border-radius: 12px;
  padding: 0 15px 0 3px;
  font-size: 10px;
}
.night h1 {
  font-size: clamp(38px, 5.3vw, 88px);
  line-height: 1.06;
  margin: 20px 0 0;
  letter-spacing: -0.05em;
}
.night > img {
  width: 100%;
  display: block;
  max-height: 58vh;
  object-fit: contain;
  background: #050705;
  mask-image: linear-gradient(transparent, #000 8%, #000 95%, transparent);
}
.featurestrip,
.support {
  display: flex;
  justify-content: space-evenly;
  gap: 14px;
  padding: 22px 5vw;
  background: #030303;
}
.featurestrip a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.featurestrip i,
.support i {
  font-size: 24px;
  color: #acb5c7;
}
.eff,
.power,
.traffic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6vw;
  min-height: 480px;
  padding: 7vw;
}
.eff {
  padding-left: 0;
  text-align: right;
}
.eff > img {
  width: 34%;
  height: 430px;
  object-fit: contain;
  object-position: left;
}
.eff h2 {
  font-size: clamp(70px, 11vw, 170px);
  background: linear-gradient(110deg, #444, #fff);
  color: transparent;
  background-clip: text;
}
.eff strong {
  font-size: clamp(18px, 2.4vw, 38px);
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 540px;
  margin: 28px 0 0 auto;
}
.facts p,
.power p,
.traffic p {
  color: #bababc;
  font-size: 14px;
}
.facts b,
.support b,
.support span {
  display: block;
  color: white;
}
.traffic {
  background:
    linear-gradient(90deg, #0009, #000b),
    url('/vehicles/display.jpg') center/cover;
}
.traffic h2,
.power h2 {
  font-size: clamp(32px, 4.9vw, 80px);
}
.traffic > div {
  width: 35%;
}
.traffic button {
  background: transparent;
  color: #c6c6c6;
  padding: 12px 0;
  text-align: left;
  font-size: 18px;
}
.traffic button[aria-expanded='true'] {
  color: white;
}
.power > div {
  max-width: 540px;
}
.power h2 {
  margin: 16px 0;
}
.power img {
  width: 37%;
  max-height: 440px;
  object-fit: contain;
}
.power a,
.studio a {
  display: inline-block;
  margin-top: 20px;
  text-decoration: underline;
}
.studio {
  text-align: center;
  background: linear-gradient(172deg, #fff 50%, #e3e7f0 70%, #eff2f5 70%);
  color: #15161a;
  padding: 52px 18px;
}
.studio h2 {
  font-size: clamp(32px, 4vw, 60px);
  margin: 10px;
}
.studio figure {
  margin: 22px auto 12px;
}
.studio img {
  width: min(540px, 100%);
  height: 320px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.studio figcaption,
.studio small {
  font-size: 12px;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.dots button {
  width: 23px;
  height: 23px;
  padding: 0;
  border-radius: 50%;
  background: #566ad2;
  border: 4px solid white;
}
.dots button:nth-child(2) {
  background: #2b966f;
}
.dots button:nth-child(3) {
  background: #e07c27;
}
.dots button:nth-child(4) {
  background: #62626a;
}
.dots button[aria-pressed='true'] {
  outline: 2px solid #333;
}
.support {
  padding: 45px 7vw;
  justify-content: space-between;
}
.support span {
  font-size: 13px;
  color: #aaa;
}
.support i {
  color: #6b85ef;
}
footer {
  background: #080808;
  border-top: 1px solid #272727;
}
@media (max-width: 720px) {
  .eff,
  .power,
  .traffic {
    min-height: 350px;
    padding: 32px 20px;
    gap: 14px;
  }
  .eff {
    padding-left: 0;
  }
  .eff > img {
    height: 220px;
    width: 23%;
  }
  .facts {
    gap: 10px;
  }
  .facts p {
    font-size: 12px;
  }
  .traffic {
    flex-direction: column;
    align-items: start;
  }
  .traffic > div {
    width: 100%;
  }
  .power img {
    width: 31%;
  }
  .featurestrip,
  .support {
    flex-wrap: wrap;
  }
  .featurestrip a {
    font-size: 11px;
  }
  .support {
    justify-content: flex-start;
  }
  .studio img {
    height: 220px;
  }
}
.slide-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 15px auto;
}
.slide-controls button {
  background: #17202c;
  color: white;
  border-radius: 20px;
  padding: 10px 17px;
}
.slide-controls button:focus-visible {
  outline: 3px solid #3354ce;
  outline-offset: 3px;
}
.vehicle-slide {
  animation: vehicle-arrival 0.45s ease-out;
}
@keyframes vehicle-arrival {
  from {
    opacity: 0.45;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vehicle-slide {
    animation: none;
  }
}
.hero-carousel {
  position: relative;
  overflow: hidden;
  background: #050705;
}
.hero-track {
  display: flex;
  height: min(40.8vw, 58vh);
  transition: transform 0.65s ease-in-out;
}
.hero-track img {
  flex: 0 0 100%;
  min-width: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-navigation {
  position: absolute;
  right: 4%;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #121212de;
  color: white;
  border: 1px solid #ffffff50;
  border-radius: 25px;
  padding: 2px 7px;
}
.hero-navigation button {
  color: white;
  background: transparent;
  padding: 6px 10px;
  min-height: 32px;
}
.hero-navigation span {
  font: 12px monospace;
}
.hero-navigation button:focus-visible {
  outline: 2px solid white;
}
@media (max-width: 700px) {
  .hero-track {
    height: 55vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-track {
    transition: none;
  }
}
.hero-track {
  height: auto;
  aspect-ratio: 2.45;
  max-height: 58vh;
}
.hero-track img {
  object-fit: cover;
  object-position: center;
}
@media (max-width: 700px) {
  .hero-track {
    height: auto;
    aspect-ratio: 2.1;
  }
}
.showroom {
  background: #f4f5f8;
  color: #171b24;
}
.stock-hero {
  padding: clamp(42px, 6vw, 88px) 6vw;
  background:
    linear-gradient(90deg, #0a0d15 10%, #0a0d15f0 36%, #0a0d1550 72%),
    url('/showcase/side-night.webp') right center/auto 110% no-repeat,
    #090c13;
  color: white;
}
.stock-hero > div {
  max-width: 52%;
}
.stock-hero small,
.stock-copy small {
  font: 700 11px/1.5 monospace;
  letter-spacing: 1.5px;
}
.stock-hero small {
  color: #b9c7ff;
}
.stock-hero h1 {
  margin: 15px 0;
  font-size: clamp(42px, 5vw, 78px);
}
.stock-hero p {
  max-width: 420px;
  color: #d1d4df;
}
.stock-body {
  max-width: 1680px;
  margin: auto;
  padding: 32px 6vw 72px;
}
.stock-tools,
.stock-filters,
.stock-pager {
  display: flex;
  align-items: center;
  gap: 7px;
}
.stock-tools {
  justify-content: space-between;
  border-bottom: 1px solid #d9dce4;
  padding-bottom: 18px;
  gap: 16px;
}
.stock-filters {
  flex-wrap: wrap;
}
.stock-filters button {
  border-radius: 24px;
  background: #fff;
  color: #424958;
  border: 1px solid #d5d9e3;
  padding: 10px 15px;
}
.stock-filters button[aria-pressed='true'] {
  background: #192032;
  color: white;
  border-color: #192032;
}
.stock-tools input[type='search'] {
  width: min(260px, 100%);
  border: 1px solid #cfd4df;
  border-radius: 10px;
  margin: 0;
  background: white;
}
.stock-total {
  margin: 20px 0 12px;
  font-size: 13px;
  color: #515b6d;
}
.stock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 30px);
}
.stock-card {
  border: 1px solid #dce0e7;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 18px #121c3309;
}
.stock-media {
  position: relative;
  aspect-ratio: 1.5;
  background: #e3e6ed;
  display: grid;
  place-items: center;
}
.stock-media img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  border-radius: 0;
}
.stock-pager {
  position: absolute;
  bottom: 10px;
  right: 10px;
  border-radius: 20px;
  background: #0d1223e8;
  color: white;
  gap: 0;
  font-size: 11px;
}
.stock-pager button {
  background: transparent;
  color: white;
  font-size: 19px;
  padding: 3px 12px;
}
.stock-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(16px, 2vw, 28px);
}
.stock-copy small {
  color: #4057a4;
  text-transform: uppercase;
}
.stock-copy h2 {
  font-size: clamp(23px, 2.2vw, 34px);
  margin: 10px 0;
}
.stock-copy p {
  font-size: 15px;
  color: #545d6a;
  margin: 0 0 24px;
  white-space: pre-line;
}
.stock-copy a {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eef1fc;
  color: #233e90;
  border-radius: 8px;
  padding: 12px;
  font-weight: 700;
  font-size: 14px;
}
.stock-copy a:hover {
  background: #dfe6ff;
}
.stock-copy a span {
  font-size: 19px;
}
@media (max-width: 820px) {
  .stock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stock-tools {
    flex-wrap: wrap;
  }
}
@media (max-width: 570px) {
  .stock-grid {
    grid-template-columns: 1fr;
  }
  .stock-hero > div {
    max-width: 85%;
  }
  .stock-tools input[type='search'] {
    width: 100%;
  }
  .stock-hero {
    background-position:
      center,
      right center;
  }
  .stock-body {
    padding-top: 20px;
  }
  .stock-filters button {
    font-size: 12px;
  }
}
.enlarge-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}
.vehicle-title {
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  padding: 0;
  text-align: left;
}
.vehicle-title:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.vehicle-dialog {
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  width: min(880px, 94vw);
  max-height: 90dvh;
  color: #182032;
  box-shadow: 0 20px 80px #0006;
}
.vehicle-dialog::backdrop {
  background: #090d19cc;
}
.vehicle-dialog.photo {
  background: #0c1019;
  color: white;
  width: min(1100px, 96vw);
}
.dialog-top,
.dialog-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
}
.vehicle-dialog button:not(.detail-preview) {
  background: #e7ebf4;
  color: #1a2337;
  border-radius: 99px;
  padding: 9px 14px;
}
.vehicle-dialog .full-photo {
  display: block;
  width: 100%;
  height: min(68dvh, 760px);
  object-fit: contain;
  border-radius: 0;
}
.dialog-pager {
  justify-content: center;
}
.vehicle-details {
  padding: 0 22px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 24px;
}
.detail-preview {
  background: #eef0f5;
  padding: 0;
  cursor: zoom-in;
}
.detail-preview img {
  height: 100%;
  max-height: 380px;
  width: 100%;
  object-fit: contain;
}
.vehicle-details h2 {
  margin: 8px 0 14px;
}
.vehicle-details h3 {
  font-size: 18px;
}
.vehicle-details p {
  white-space: pre-line;
}
.vehicle-details a {
  display: block;
  margin-top: 12px;
  color: #304ca8;
  text-decoration: underline;
}
.stock-copy > p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.company-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  background: #f5f2ed;
  color: #191919;
  padding: clamp(2rem, 7vw, 7rem) 8%;
}
.company-intro h1,
.company-intro h2 {
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 0 0 1.25rem;
}
.company-intro p,
.company-services p {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 62ch;
  color: #444;
}
.company-intro img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.company-intro a,
.company-services a {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  color: #171717;
  border-bottom: 2px solid #b89338;
  padding-bottom: 0.3rem;
}
.company-services {
  background: white;
  color: #181818;
  padding: 2rem 8% 5rem;
}
.company-services section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}
.company-services h2,
.company-services p {
  margin: 0;
}
@media (max-width: 720px) {
  .company-intro,
  .company-services section {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.choose-samuelo {
  background: #fff;
  color: #191919;
  padding: clamp(2.5rem, 6vw, 6rem) 8%;
}
.choose-samuelo h2 {
  margin: 0 0 2rem;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.choose-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
}
.choose-reasons > div {
  border-top: 2px solid #b89338;
  padding-top: 1.25rem;
}
.choose-reasons h3 {
  font-size: 1.4rem;
  line-height: 1.25;
  margin: 0;
}
.choose-reasons p {
  color: #444;
  line-height: 1.65;
  margin: 0.75rem 0 0;
}
@media (max-width: 760px) {
  .choose-reasons {
    grid-template-columns: 1fr;
  }
}

:root {
  --samuelo-navy: #002643;
  --samuelo-gold: #bd8d33;
  --samuelo-cream: #faf5e9;
}
header {
  background: #fff;
  color: var(--samuelo-navy);
  border-bottom: 2px solid var(--samuelo-gold);
  padding-block: 10px;
}
header .brand img {
  display: block;
  width: clamp(165px, 18vw, 218px);
  height: auto;
}
header nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
header .contact,
.slide-controls button,
.stock-filters button[aria-pressed='true'] {
  background: var(--samuelo-navy);
  color: white;
}
header .contact {
  border-bottom: 2px solid var(--samuelo-gold);
}
.night {
  background: radial-gradient(
    ellipse at 50% 70%,
    var(--samuelo-navy),
    #040e17 65%,
    #02070c
  );
}
.featurestrip,
.support,
footer {
  background: var(--samuelo-navy);
}
.featurestrip i,
.support i,
footer small,
.power > div > span {
  color: #e2ba68;
}
.company-intro,
.stock-copy a {
  background: var(--samuelo-cream);
  color: var(--samuelo-navy);
}
.company-intro h2,
.company-intro h1,
.company-services h2,
.choose-samuelo h2,
.choose-reasons h3,
.vehicle-details a {
  color: var(--samuelo-navy);
}
.company-intro a,
.company-services a,
.choose-reasons > div {
  border-color: var(--samuelo-gold);
}
.stock-copy a:hover {
  background: #f1e4c6;
}
.dots button:nth-child(n) {
  background: #a9b5bd;
}
.dots button[aria-pressed='true'] {
  background: var(--samuelo-gold);
  outline-color: var(--samuelo-navy);
}
.hero-navigation {
  background: #002643eb;
  border-color: var(--samuelo-gold);
}

/* Exclude the registration line above the wordmark at every logo size. */
header .brand img {
  clip-path: polygon(
    0 0,
    70% 0,
    70% 16%,
    91% 16%,
    91% 0,
    100% 0,
    100% 100%,
    0 100%
  );
}

.about-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #06111d;
  color: white;
  display: flex;
  align-items: center;
  min-height: clamp(370px, 37vw, 560px);
  padding: 4rem 7%;
}
.about-feature img {
  position: absolute;
  z-index: -2;
  right: 0;
  top: 0;
  width: 68%;
  height: 100%;
  object-fit: cover;
}
.about-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #06111d 31%,
    rgba(6, 17, 29, 0.95) 39%,
    transparent 66%
  );
}
.about-feature > div {
  width: 35%;
  max-width: 480px;
}
.about-feature h2,
.service-index h2 {
  font-size: clamp(2.7rem, 5.8vw, 6rem);
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 0;
}
.about-feature p {
  font-size: 1.06rem;
  line-height: 1.65;
  color: #e3e7eb;
  margin: 1.3rem 0;
}
.about-feature a,
.service-list a {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  font-weight: 650;
}
.about-feature a {
  color: #f2d79e;
  border-bottom: 1px solid #bd8d33;
  padding: 0.4rem 0;
}
.service-index {
  background: #faf8f3;
  color: var(--samuelo-navy);
  padding: clamp(40px, 6vw, 90px) 7%;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6%;
}
.service-index h2 {
  font-size: clamp(2.6rem, 4.6vw, 5rem);
  max-width: 7.5ch;
}
.service-list article {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0.4rem 1.1rem;
  padding: 1.3rem 0;
  border-top: 1px solid #cfc9bb;
}
.service-list article:last-child {
  border-bottom: 1px solid #cfc9bb;
}
.service-list article > svg {
  grid-row: 1/4;
  color: #876522;
}
.service-list h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
}
.service-list p {
  margin: 0;
  color: #455260;
  line-height: 1.55;
}
.service-list a {
  justify-self: start;
  font-size: 0.89rem;
  padding: 0.3rem 0;
}
.service-list a:hover,
.about-feature a:hover {
  text-decoration: underline;
}
@media (max-width: 720px) {
  .about-feature {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 0;
    min-height: 0;
  }
  .about-feature img {
    position: static;
    width: 100%;
    aspect-ratio: 2/1;
    height: auto;
    object-fit: cover;
  }
  .about-feature::before {
    display: none;
  }
  .about-feature > div {
    width: auto;
    max-width: none;
    padding: 28px 7% 36px;
  }
  .service-index {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .service-index h2 {
    max-width: none;
  }
}
.admin-session {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 6%;
  background: #faf5e9;
  color: #002643;
}

/* Showroom and buyer services */
.service-index {
  display: block;
  background: #f7f6f2;
  padding: clamp(38px, 5vw, 76px) max(6%, calc((100% - 1400px) / 2));
}
.service-index h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: none;
  margin: 0 0 1.6rem;
  font-size: clamp(2.1rem, 4vw, 4rem);
  letter-spacing: -0.055em;
}
.service-index h2::before {
  content: '';
  width: clamp(24px, 3vw, 44px);
  height: 3px;
  background: #bd8d33;
}
.service-list {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 16px;
}
.service-list article,
.service-list article:last-child {
  border: 1px solid #dce0df;
  border-radius: 16px;
  padding: clamp(22px, 2.3vw, 34px);
  background: white;
  align-content: center;
  grid-template-columns: 40px 1fr;
  gap: 0.45rem 1rem;
}
.service-list article > svg {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: #f7efdf;
  color: #88631c;
}
.service-list article h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
  letter-spacing: -0.035em;
}
.service-list article p {
  max-width: 54ch;
}
.service-list article a {
  color: #002643;
  text-underline-offset: 4px;
}
.service-list article:first-child {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.65rem;
  min-height: 370px;
  border: 0;
  color: white;
  background:
    linear-gradient(
      0deg,
      #001724 0%,
      rgba(0, 23, 36, 0.95) 23%,
      rgba(0, 23, 36, 0.72) 49%,
      rgba(0, 23, 36, 0.05) 83%
    ),
    url('/vehicles/display.jpg') center/cover;
}
.service-list article:first-child > svg {
  display: none;
}
.service-list article:first-child h3 {
  font-size: clamp(1.65rem, 2.4vw, 2.55rem);
}
.service-list article:first-child p {
  color: #f5f7f9;
}
.service-list article:first-child a {
  background: #f1d399;
  color: #002643;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  margin-top: 0.3rem;
}
@media (max-width: 760px) {
  .service-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-list article:first-child {
    grid-row: auto;
    min-height: 320px;
  }
  .service-list article {
    gap: 0.4rem 0.7rem;
  }
}

@media (min-width: 761px) {
  .service-list article:first-child {
    min-height: 400px;
  }
  .service-list article:last-child:nth-child(even) {
    grid-column: 1/-1;
  }
}

.about-feature .riding-scene {
  position: absolute;
  inset: 0 0 0 auto;
  width: 68%;
  margin: 0;
  z-index: -2;
}
.about-feature .riding-scene img,
.about-feature .riding-scene canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: auto;
}
.about-feature::before {
  pointer-events: none;
}
.riding-scene button {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #06111ded;
  color: white;
  padding: 8px 12px;
  border: 1px solid #aeb9c1;
  border-radius: 24px;
  font-size: 12px;
}
@media (max-width: 720px) {
  .about-feature .riding-scene {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 2/1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .riding-scene button,
  .riding-scene canvas {
    display: none;
  }
}

/* Keep each banner exactly one carousel viewport wide. */
.hero-carousel .hero-track {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 2.45;
  gap: 0;
}
.hero-carousel .hero-track > img {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* The headline and navigation take their natural height; the photo uses the remainder. */
.showcase .night {
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  height: calc(100vh - var(--public-header-height, 90px));
  height: calc(100svh - var(--public-header-height, 90px));
  min-height: min-content;
  padding-top: clamp(5px, 1.6vh, 20px);
}
.night .switch {
  margin: 0;
}
.night h1 {
  font-size: clamp(26px, min(5.3vw, 7.2vh), 80px);
  margin: clamp(4px, 1vh, 12px) 4%;
  line-height: 1.04;
  overflow-wrap: anywhere;
}
.night .hero-carousel {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #050c12;
}
.night .hero-carousel .hero-track {
  flex: 1 1 0;
  width: 100%;
  min-height: 0;
  height: 0;
  aspect-ratio: auto;
  max-height: none;
}
.night .hero-track > img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.night .hero-navigation {
  position: static;
  align-self: center;
  margin: 3px auto;
  flex: none;
}
.night .featurestrip {
  padding-block: clamp(5px, 1.3vh, 16px);
}
.showcase .night:not(:has(.hero-carousel)) {
  height: auto;
}
.public-menu-toggle {
  display: none;
}
@media (max-width: 760px), (max-height: 460px) and (orientation: landscape) {
  body > header.menu-ready {
    min-height: 0;
    flex-wrap: nowrap;
    padding-block: 6px;
    gap: 12px;
  }
  body > header.menu-ready .brand img {
    width: clamp(108px, 25vw, 150px);
  }
  .menu-ready .public-menu-toggle {
    display: inline-flex;
    margin-left: auto;
    align-items: center;
    min-height: 40px;
    padding: 6px 16px;
    background: #002643;
    color: white;
    border: 0;
    border-radius: 8px;
  }
  body > header.menu-ready #public-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    background: white;
    padding: 12px 5%;
    width: 100%;
    max-height: 65vh;
    overflow: auto;
    box-shadow: 0 8px 18px #00264322;
  }
  body > header.menu-ready button[aria-expanded='true'] + #public-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  #public-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 6px 10px;
  }
}
@media (max-width: 760px) and (orientation: portrait) {
  .showcase .night {
    height: auto;
    grid-template-rows: auto auto auto auto;
  }
  .night .hero-carousel {
    height: auto;
  }
  .night .hero-carousel .hero-track {
    flex: none;
    height: auto;
    aspect-ratio: 2.45;
  }
  .night .featurestrip {
    gap: 6px 14px;
  }
  .night h1 {
    margin-block: 12px;
  }
}
@media (max-height: 460px) and (orientation: landscape) {
  .night .featurestrip {
    display: none;
  }
  .night h1 {
    font-size: clamp(21px, 6vh, 32px);
    margin-block: 3px;
  }
}
main,
.showcase,
.stock-body,
.vehicle-details > * {
  min-width: 0;
}
.stock-copy,
.company-services,
.vehicle-details,
.company-footer {
  overflow-wrap: anywhere;
}
@media (max-width: 540px) {
  .eff > div,
  .power > div,
  .traffic > div {
    min-width: 0;
  }
  .eff h2 {
    font-size: clamp(40px, 13vw, 70px);
  }
  .stock-tools,
  .stock-grid,
  .vehicle-details {
    min-width: 0;
  }
  .dialog-top,
  .dialog-pager,
  .slide-controls {
    flex-wrap: wrap;
  }
  .studio .dots {
    flex-wrap: wrap;
  }
}

.samuelo-profile {
  background: #fff;
  color: #002643;
  --profile-inset: max(6%, calc((100% - 1360px) / 2));
}
.samuelo-profile h1,
.samuelo-profile h2,
.samuelo-profile h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.samuelo-profile h1 {
  font-size: clamp(3rem, 6.3vw, 6rem);
}
.samuelo-profile h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.4rem);
}
.samuelo-profile p {
  margin: 1rem 0 0;
  line-height: 1.7;
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  max-width: 66ch;
}
.profile-opening,
.profile-story,
.profile-purpose,
.profile-trade {
  display: grid;
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(36px, 5.5vw, 84px) var(--profile-inset);
}
.profile-opening {
  grid-template-columns: 1fr 1.12fr;
  align-items: center;
  background: #06283d;
  color: #fff;
}
.profile-opening p {
  color: #e3e9ec;
}
.profile-opening figure {
  margin: 0;
  min-width: 0;
  position: relative;
}
.profile-opening img,
.profile-trade img {
  display: block;
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
  border-radius: 14px;
}
.profile-opening figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #08293dec;
  color: white;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
}
.profile-opening a,
.profile-trade a {
  display: inline-flex;
  gap: 14px;
  margin-top: 1.4rem;
  font-weight: 700;
  text-underline-offset: 4px;
}
.profile-opening a {
  background: #eed194;
  color: #002643;
  border-radius: 8px;
  padding: 11px 17px;
}
.profile-story {
  grid-template-columns: 0.72fr 1.3fr;
}
.profile-story p:first-child {
  margin-top: 0;
}
.profile-purpose {
  grid-template-columns: 1fr 1fr;
  background: #f8f4ea;
}
.profile-purpose > div {
  border-top: 2px solid #bd8d33;
  padding-top: 22px;
}
.profile-purpose svg {
  color: #886622;
  margin-bottom: 14px;
}
.profile-purpose h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
}
.profile-trade {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}
.profile-trade h3 {
  margin-top: 1.6rem;
  font-size: 1.18rem;
}
.profile-trade p {
  margin-top: 0.5rem;
}
@media (max-width: 760px) {
  .profile-opening,
  .profile-story,
  .profile-purpose,
  .profile-trade {
    grid-template-columns: minmax(0, 1fr);
  }
  .profile-trade img {
    aspect-ratio: 2;
  }
  .profile-opening figcaption {
    font-size: 0.76rem;
  }
}

.vehicle-focus,
.ota-visit {
  display: grid;
  align-items: center;
  padding: clamp(36px, 5vw, 80px) max(6%, calc((100% - 1400px) / 2));
  gap: clamp(24px, 4vw, 65px);
}
.vehicle-focus {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  background: #081c2c;
  color: white;
}
.vehicle-focus figure,
.ota-visit figure {
  margin: 0;
  min-width: 0;
}
.vehicle-focus img,
.ota-visit img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.focus-selector {
  display: inline-flex;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid #557081;
  border-radius: 12px;
}
.focus-selector button {
  background: transparent;
  border: 0;
  color: white;
  font: inherit;
  font-size: 0.9rem;
  padding: 9px 12px;
  border-radius: 8px;
}
.focus-selector button[aria-pressed='true'] {
  background: #eed49a;
  color: #082538;
}
.vehicle-focus h2,
.ota-visit h2 {
  font-size: clamp(2.15rem, 3.8vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  margin: 20px 0 12px;
}
.vehicle-focus p,
.ota-visit p,
.ota-visit dd {
  line-height: 1.65;
  max-width: 54ch;
  margin: 0;
}
.vehicle-focus p {
  color: #dbe4e8;
}
.vehicle-focus a,
.ota-visit a {
  display: inline-block;
  margin-top: 20px;
  font-weight: 650;
  text-underline-offset: 5px;
}
.vehicle-focus a {
  color: #f2d495;
}
.ota-visit {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  background: #faf6ed;
  color: #002643;
}
.ota-visit img {
  aspect-ratio: 1.5;
  object-fit: cover;
}
.ota-visit h2 {
  margin-top: 0;
}
.ota-visit dl {
  margin: 18px 0 0;
}
.ota-visit dl div {
  border-top: 1px solid #d6cbb8;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 12px;
}
.ota-visit dt {
  font-weight: 700;
}
.ota-visit dd {
  color: #405362;
}
.ota-visit a {
  border-bottom: 2px solid #bd8d33;
}
@media (max-width: 760px) {
  .vehicle-focus,
  .ota-visit {
    grid-template-columns: minmax(0, 1fr);
  }
  .ota-visit dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

.stock-copy a.vehicle-enquiry,
.vehicle-details a.vehicle-enquiry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #bd8d33;
  color: #051b2a;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
}
.stock-copy a.vehicle-enquiry:hover,
.vehicle-details a.vehicle-enquiry:hover {
  background: #dbad57;
  color: #051b2a;
}
.vehicle-enquiry:focus-visible {
  outline: 3px solid #002643;
  outline-offset: 3px;
}
