/* Second visual direction: a layered automotive scene, tactile controls and process cards. */
:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --action: #c84f2b;
}
.hero {
  min-height: 680px;
  background: #e9ece7;
}
.hero-architecture {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: linear-gradient(115deg, #f4f4ed 5%, #e7ece7 60%, #d4ddd7);
}
.hero-orbit {
  position: absolute;
  width: 760px;
  height: 760px;
  border: 1px solid #b7c5bb80;
  border-radius: 50%;
  right: -60px;
  top: -185px;
}
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 48px;
  border: 1px solid #bdc9c040;
  border-radius: 50%;
}
.hero-horizon {
  position: absolute;
  left: 34%;
  right: -20%;
  bottom: 74px;
  height: 1px;
  background: #bac7bd;
  transform: rotate(-10deg);
}
.hero-wordmark {
  position: absolute;
  right: 2%;
  top: 25px;
  font-size: clamp(100px, 16vw, 235px);
  font-weight: 650;
  letter-spacing: -0.085em;
  line-height: 1;
  color: #637d6e09;
  user-select: none;
}
.hero-car-stage {
  position: absolute;
  width: min(60vw, 1080px);
  right: -1%;
  bottom: 54px;
  z-index: -1;
  transform: translate3d(var(--scene-x, 0px), var(--scene-y, 0px), 0);
  transition: transform 0.7s var(--ease-out);
}
.hero .hero-picture {
  display: block;
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  z-index: auto;
}
.hero .hero-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  animation: none;
}
.hero-content {
  padding-top: 68px;
  padding-bottom: 130px;
  pointer-events: none;
}
.hero-content a,
.hero-content button {
  pointer-events: auto;
}
.hero h1 {
  font-size: clamp(52px, 5.3vw, 80px);
  line-height: 1.06;
  letter-spacing: -0.07em;
}
.hero-title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.09em;
  margin-bottom: -0.09em;
}
.hero-title-line > span {
  display: inline-block;
}
.hero-description {
  max-width: 410px;
  font-size: 14px;
  color: #52685e;
}
.hero .hero-actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
}
.hero-actions > .text-button {
  min-height: 36px;
}
.hero-caption {
  margin-top: 35px;
}
.hero-coordinate {
  color: #5e7467;
  font-size: 8px;
  top: 34px;
}
.hero-scene-footer {
  position: absolute;
  bottom: 25px;
  left: 56px;
  right: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero .hero-image-label {
  position: static;
  color: #344b3f;
  background: none;
  font-weight: 550;
  font-size: 13px;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
}
.hero-image-label > span {
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.12em;
  padding-left: 16px;
  border-left: 1px solid #aebfb3;
  color: #697e71;
}
.motion-ready:not(.scene-ready) .hero-picture {
  opacity: 0;
  transform: translateX(24%);
}
.motion-ready.scene-ready .hero-picture {
  animation: car-arrive 1.65s var(--ease-out) both;
}
.motion-ready.scene-ready .hero-title-line > span {
  animation: title-arrive 1.05s var(--ease-out) both;
}
.motion-ready.scene-ready .hero-title-line:nth-child(2) > span {
  animation-delay: 0.13s;
}
.motion-ready.scene-ready .hero-eyebrow,
.motion-ready.scene-ready .hero-description,
.motion-ready.scene-ready .hero-actions {
  animation: content-arrive 0.85s var(--ease-out) both;
}
.motion-ready.scene-ready .hero-description {
  animation-delay: 0.2s;
}
.motion-ready.scene-ready .hero-actions {
  animation-delay: 0.3s;
}
@keyframes car-arrive {
  from {
    opacity: 0;
    transform: translate3d(24%, 15px, 0) rotate(-1.5deg);
  }
  35% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0);
  }
}
@keyframes title-arrive {
  from {
    transform: translateY(110%) rotate(2deg);
    opacity: 0;
  }
  to {
    transform: translateY(0) rotate(0);
    opacity: 1;
  }
}
@keyframes content-arrive {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.scroll-progress {
  position: absolute;
  height: 2px;
  bottom: -1px;
  left: 0;
  width: 100%;
  background: var(--action);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* Custom comboboxes retain the real select as the source of form values. */
.search-section {
  z-index: 4;
  margin-top: 0;
  padding-top: 28px;
}
.search-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  gap: 15px;
}
.search-heading .eyebrow {
  font-size: 10px;
  color: #6b796e;
}
.search-heading > span:last-child {
  font-size: 10px;
  color: #718174;
}
.quick-search {
  gap: 10px;
  background: #eeeee7;
  border: 1px solid #dedfd5;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 8px 25px #26372b05;
}
.search-field,
.search-field:first-child {
  padding: 0;
  border: 0;
  gap: 0;
  min-width: 0;
  position: relative;
}
.search-field.enhanced > span,
.search-field.enhanced > svg {
  display: none;
}
.search-field.enhanced > select {
  display: none;
}
.select-trigger {
  width: 100%;
  min-height: 76px;
  background: #fafbf7;
  border: 1px solid #d5dcd0;
  border-radius: 6px;
  display: flex;
  gap: 13px;
  align-items: center;
  text-align: left;
  padding: 13px 16px;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.select-trigger:hover {
  border-color: #839b88;
  background: #fff;
}
.select-trigger[aria-expanded="true"] {
  border-color: #9dac9e;
  background: #fff;
  box-shadow: 0 0 0 3px #cad7c342;
}
.select-leading {
  display: grid;
  place-items: center;
  flex: 0 0 31px;
  height: 31px;
  color: #617e68;
  background: #eaf0e5;
  border-radius: 50%;
}
.select-leading .icon {
  width: 16px;
  height: 16px;
}
.select-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
}
.select-caption {
  font-size: 9px;
  color: #758273;
}
.select-value {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.select-trigger > .icon {
  margin-left: auto;
  width: 16px;
  height: 16px;
  color: #6f806e;
  transition: transform 0.25s;
}
.select-trigger[aria-expanded="true"] > .icon {
  transform: rotate(180deg);
}
.select-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 9px);
  left: 0;
  right: 0;
  min-width: 100%;
  padding: 7px;
  border: 1px solid #dce2d7;
  background: #fff;
  box-shadow:
    0 20px 50px #253d2c20,
    0 3px 10px #253d2c08;
  border-radius: 8px;
  list-style: none;
  max-height: 310px;
  overflow-y: auto;
  animation: dropdown-arrive 0.25s var(--ease-out);
}
.select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 11px;
  border-radius: 4px;
  color: #435648;
  font-size: 12px;
  cursor: pointer;
  min-height: 45px;
}
.select-option.active {
  background: #eff3ea;
}
.select-option[aria-selected="true"] {
  color: #923f25;
  font-weight: 500;
}
.select-option .icon {
  width: 15px;
  height: 15px;
  opacity: 0;
}
.select-option[aria-selected="true"] .icon {
  opacity: 1;
}
.select-option-main {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.select-option .flag {
  transform: scale(1.05);
}
.search-submit {
  min-height: 76px;
  border-radius: 6px;
  background: #263e32;
  min-width: 214px;
  justify-content: center;
  font-size: 12px;
}
.search-submit:hover {
  background: #365843;
}
@keyframes dropdown-arrive {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* The journey is a connected, interactive set of editorial panels. */
.journey-heading {
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.journey-heading h3 {
  font-size: clamp(23px, 2.1vw, 30px);
  letter-spacing: -0.045em;
}
.journey-heading > span:last-child {
  font-size: 13px;
  color: #5d7364;
}
.journey-steps {
  margin-top: 20px;
  gap: 12px;
  position: relative;
  align-items: stretch;
}
.journey-steps::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: #aebfb0;
}
.journey-steps .journey-card {
  padding: 0;
  border: 1px solid #d7dad5;
  border-radius: 7px;
  background: #fff;
  min-height: 326px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    background 0.4s,
    color 0.4s,
    transform 0.4s var(--ease-out),
    box-shadow 0.4s;
}
.journey-steps .journey-card:before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  width: auto;
  height: 2px;
  border-radius: 0;
  background: var(--action);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.journey-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 25px #34472f0a;
}
.journey-steps .journey-card:hover:before,
.journey-steps .journey-card.is-active:before {
  transform: scaleX(1);
}
.journey-trigger {
  width: 100%;
  min-height: 228px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  text-align: left;
  align-items: stretch;
  position: relative;
}
.step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}
.step-number {
  font-size: 59px;
  letter-spacing: -0.08em;
  font-weight: 400;
  line-height: 1;
  color: #b5c4b4;
  transition: color 0.4s;
}
.step-icon {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #668467;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    transform 0.5s var(--ease-out),
    stroke 0.3s;
}
.journey-card:hover .step-icon {
  transform: translateY(-4px) rotate(-5deg);
}
.step-title {
  display: block;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.15;
  min-height: 28px;
}
.step-summary {
  display: block;
  margin-top: 11px;
  font-size: 15px;
  color: #6c806a;
  line-height: 1.5;
}
.journey-card.is-active {
  background: #fff;
  color: #202d32;
  border-color: #b8c0b8;
  box-shadow: 0 15px 30px #263e320d;
}
.journey-card.is-active .step-number {
  color: var(--action);
}
.journey-card.is-active .step-icon {
  stroke: #668467;
}
.journey-card.is-active .step-summary {
  color: #687a6e;
}
.step-detail {
  padding: 0 22px 22px;
  animation: content-arrive 0.4s var(--ease-out);
}
.journey-steps .step-detail p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #627168;
}

/* Every photo is shown uncropped. A second click expands its viewing area. */
.car-photo-wrap {
  background: #e8ede6;
  border: 1px solid #dce2d7;
  border-radius: 7px;
}
.car-photo,
.car-card:first-child .car-photo {
  object-fit: contain;
  object-position: center;
}
.car-photo-link:hover .car-photo {
  transform: scale(1.025);
}
.car-card {
  transition: transform 0.5s var(--ease-out);
}
.car-card:hover {
  transform: translateY(-5px);
}
.car-open {
  border-radius: 50%;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.3s;
}
.car-open:hover {
  transform: rotate(45deg);
}
.car-dialog {
  width: min(1080px, calc(100% - 40px));
  border-radius: 12px;
}
.detail-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: stretch;
}
.detail-photo {
  position: relative;
  min-height: 0;
  padding: 25px 10px 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8ede5;
  aspect-ratio: auto;
  overflow: hidden;
  cursor: zoom-in;
}
.detail-photo img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  object-position: center;
}
.photo-hint {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #546c5b;
  font-size: 10px;
}
.photo-hint .icon {
  width: 18px;
  height: 18px;
}
.detail-content {
  padding: 45px 34px 32px;
}
.photo-expanded .detail-layout {
  display: block;
}
.photo-expanded .detail-content {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
}
.photo-expanded .detail-content button {
  display: none;
}
.photo-expanded .detail-photo {
  width: 100%;
  height: min(78dvh, 760px);
  padding: 42px 20px 55px;
  cursor: zoom-out;
}
.photo-expanded .detail-photo img {
  height: 100%;
  max-height: none;
  object-fit: contain;
}
dialog[open] {
  animation: dialog-enter 0.35s var(--ease-out);
}
@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.btn {
  transition:
    background 0.25s,
    box-shadow 0.3s,
    transform 0.3s var(--ease-out);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 15px #26372b10;
}
.btn:active {
  transform: translateY(0);
}

@media (min-width: 1600px) {
  .hero {
    min-height: 730px;
  }
  .hero-car-stage {
    right: max(-15px, calc((100vw - 1680px) / 2));
    bottom: 50px;
    width: min(60vw, 1080px);
  }
  .hero-content {
    padding-top: 90px;
  }
  .hero-scene-footer {
    left: max(56px, calc((100vw - 1320px) / 2));
    right: max(56px, calc((100vw - 1320px) / 2));
  }
}
@media (max-width: 1180px) {
  .hero {
    min-height: 625px;
  }
  .hero-content {
    padding-top: 55px;
  }
  .hero-car-stage {
    width: 62vw;
    right: -3vw;
    bottom: 68px;
  }
  .hero-scene-footer {
    left: 32px;
    right: 32px;
  }
  .select-trigger {
    padding-inline: 11px;
    gap: 8px;
  }
  .select-leading {
    flex-basis: 25px;
    height: 25px;
  }
  .select-caption {
    font-size: 8px;
  }
  .select-value {
    font-size: 11px;
  }
  .search-submit {
    min-width: 184px;
    font-size: 11px;
    padding-inline: 15px;
  }
  .journey-trigger {
    padding-inline: 18px;
  }
  .step-detail {
    padding-inline: 18px;
  }
  .step-title {
    font-size: 21px;
  }
}
@media (max-width: 960px) {
  .hero {
    min-height: 580px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero-description {
    max-width: 330px;
    font-size: 12px;
  }
  .hero-car-stage {
    width: 60vw;
    right: -5vw;
    bottom: 59px;
  }
  .quick-search {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 9px;
  }
  .search-submit {
    grid-column: 1/-1;
    min-height: 49px;
  }
  .select-trigger {
    min-height: 72px;
  }
  .journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .journey-steps .journey-card {
    min-height: 306px;
  }
  .journey-trigger {
    min-height: 227px;
  }
  .step-top {
    margin-bottom: 24px;
  }
  .step-title {
    font-size: 24px;
  }
  .journey-steps::before {
    display: none;
  }
}
@media (max-width: 760px) {
  .hero {
    min-height: 640px;
  }
  .hero-content {
    padding-top: 37px;
    padding-bottom: 0;
  }
  .hero h1 {
    font-size: clamp(38px, 8vw, 58px);
  }
  .hero-description {
    font-size: 13px;
    max-width: 350px;
    margin-top: 19px;
  }
  .hero .hero-actions {
    flex-direction: row;
    align-items: center;
    margin-top: 22px;
    gap: 14px;
  }
  .hero-car-stage {
    width: 100%;
    right: 0;
    bottom: 57px;
  }
  .hero-orbit {
    width: 490px;
    height: 490px;
    right: -180px;
    top: 120px;
  }
  .hero-wordmark {
    top: auto;
    bottom: 234px;
    right: -10px;
    font-size: 100px;
  }
  .hero-horizon {
    left: -15%;
    right: -40%;
    bottom: 117px;
    transform: rotate(-12deg);
  }
  .hero-scene-footer {
    left: 20px;
    right: 20px;
    bottom: 19px;
    align-items: flex-end;
  }
  .hero .hero-image-label {
    font-size: 11px;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
  }
  .hero-image-label > span {
    border: 0;
    padding: 0;
    font-size: 6px;
  }
  .search-section {
    padding-top: 23px;
  }
  .search-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 13px;
  }
  .search-heading .eyebrow {
    font-size: 9px;
  }
  .search-heading > span:last-child {
    font-size: 10px;
  }
  .quick-search {
    grid-template-columns: 1fr;
    padding: 9px;
    gap: 8px;
  }
  .search-field:nth-child(3) {
    grid-column: auto;
  }
  .select-trigger {
    min-height: 68px;
    padding: 12px 14px;
    gap: 12px;
  }
  .select-leading {
    flex-basis: 33px;
    height: 33px;
  }
  .select-leading .icon {
    width: 17px;
    height: 17px;
  }
  .select-caption {
    font-size: 9px;
  }
  .select-value {
    font-size: 13px;
  }
  .select-option {
    font-size: 13px;
    padding-block: 14px;
  }
  .select-panel {
    max-height: 252px;
    top: calc(100% + 5px);
  }
  .search-submit {
    min-height: 49px;
    font-size: 12px;
  }
  .journey-heading {
    margin-top: 36px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .journey-heading h3 {
    font-size: 23px;
  }
  .journey-heading > span:last-child {
    font-size: 12px;
  }
  .journey-steps {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }
  .journey-steps .journey-card {
    min-height: 0;
  }
  .journey-trigger {
    min-height: 0;
    padding: 17px 18px 15px;
  }
  .step-top {
    margin-bottom: 12px;
  }
  .step-number {
    font-size: 48px;
  }
  .step-icon {
    width: 27px;
    height: 27px;
  }
  .step-title {
    font-size: 22px;
    min-height: 0;
  }
  .step-summary {
    font-size: 15px;
    min-height: 0;
    margin-top: 8px;
  }
  .step-detail {
    padding: 0 18px 18px;
  }
  .journey-steps .step-detail p {
    font-size: 15px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .car-dialog {
    width: calc(100% - 20px);
  }
  .detail-photo {
    min-height: 240px;
    padding: 30px 8px 50px;
  }
  .detail-photo img {
    max-height: 290px;
    height: auto;
  }
  .detail-content {
    padding: 26px;
  }
  .photo-hint {
    left: 18px;
    right: 18px;
    font-size: 9px;
    bottom: 16px;
  }
  .photo-expanded .detail-photo {
    height: 69dvh;
    padding-inline: 8px;
  }
}
@media (max-width: 380px) {
  .hero {
    min-height: 620px;
  }
  .hero h1 {
    font-size: 37px;
  }
  .hero .hero-actions {
    gap: 9px;
  }
  .hero-car-stage {
    width: 100%;
    right: 0;
    bottom: 59px;
  }
  .hero-wordmark {
    bottom: 215px;
    font-size: 83px;
  }
  .journey-trigger {
    padding-inline: 16px;
  }
  .step-number {
    font-size: 42px;
  }
  .step-title {
    font-size: 19px;
  }
  .step-icon {
    width: 24px;
    height: 24px;
  }
  .step-detail {
    padding-inline: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-car-stage {
    transform: none !important;
  }
  .motion-ready:not(.scene-ready) .hero-picture {
    opacity: 1;
    transform: none;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .car-card:hover,
  .journey-card:hover,
  .btn:hover {
    transform: none;
  }
}
