﻿:root {
  --gold: #f5c875;
  --ink: #050505;
  --glass: rgba(5, 10, 16, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  font-family: Didot, "Bodoni 72", "Times New Roman", "Noto Serif SC", serif;
}

.home {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #050505;
}

.brand-map {
  position: relative;
  width: min(100vw, calc(100dvh * 1672 / 941));
  height: min(100dvh, calc(100vw * 941 / 1672));
  aspect-ratio: 1672 / 941;
  overflow: hidden;
}

.brand-map__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.brand-map__links,
.hotspot {
  position: absolute;
  inset: 0;
}

.hotspot {
  inset: auto;
  display: block;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hotspot span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hotspot:hover,
.hotspot:focus-visible {
  border-color: rgba(245, 200, 117, 0.92);
  background: rgba(245, 200, 117, 0.08);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55), 0 0 26px rgba(245, 200, 117, 0.36);
  outline: none;
  transform: translateY(-1px);
}

.hotspot--benz {
  left: 1.32%;
  top: 24.4%;
  width: 11.30%;
  height: 19.2%;
}

.hotspot--bmw {
  left: 12.62%;
  top: 24.4%;
  width: 10.53%;
  height: 19.2%;
}

.hotspot--audi {
  left: 23.09%;
  top: 24.4%;
  width: 10.05%;
  height: 19.2%;
}

.hotspot--cadillac {
  left: 44.50%;
  top: 50.0%;
  width: 13.93%;
  height: 16.2%;
}

.hotspot--lexus {
  left: 1.32%;
  top: 71.4%;
  width: 9.57%;
  height: 18.6%;
}

.brand-page {
  min-height: 100dvh;
  background-image: var(--brand-image);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.brand-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.32), transparent 22%, transparent 72%, rgba(0, 0, 0, 0.18));
}

.back-home {
  position: fixed;
  z-index: 2;
  left: clamp(14px, 1.8vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
  padding: 18px 10px;
  border: 1px solid rgba(245, 200, 117, 0.72);
  border-radius: 999px;
  color: #ffe7b6;
  text-decoration: none;
  letter-spacing: 0.18em;
  line-height: 1.1;
  writing-mode: vertical-rl;
  text-orientation: upright;
  background: rgba(4, 7, 12, 0.52);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), inset 0 0 22px rgba(245, 200, 117, 0.08);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.back-home:hover,
.back-home:focus-visible {
  transform: translateY(-50%) translateX(4px);
  background: rgba(245, 200, 117, 0.16);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.44), 0 0 28px rgba(245, 200, 117, 0.26);
  outline: none;
}


.brand-page--image {
  background-image: none;
  display: grid;
  place-items: center;
}

.brand-detail {
  position: relative;
  width: min(100vw, calc(100dvh * 1672 / 941));
  height: min(100dvh, calc(100vw * 941 / 1672));
  aspect-ratio: 1672 / 941;
  overflow: hidden;
}

.brand-detail__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.brand-detail__links,
.detail-hotspot {
  position: absolute;
  inset: 0;
}

.detail-hotspot {
  inset: auto;
  display: block;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.detail-hotspot span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.detail-hotspot:focus-visible {
  outline: none;
}

.detail-hotspot--lexus-hybrid {
  left: 8.8%;
  top: 52.3%;
  width: 9.0%;
  height: 6.5%;
}

.detail-hotspot--lexus-safety {
  left: 36.8%;
  top: 52.3%;
  width: 10.6%;
  height: 6.5%;
}





.detail-hotspot--lexus-mute-chassis {
  left: 49.5%;
  top: 52.3%;
  width: 11.0%;
  height: 6.5%;
}

.detail-hotspot--lexus-f-sport {
  left: 76.2%;
  top: 52.3%;
  width: 5.8%;
  height: 6.5%;
}


.detail-hotspot--lexus-reliability {
  left: 0.9%;
  top: 36.2%;
  width: 5.0%;
  height: 8.4%;
}

.detail-hotspot--lexus-takumi {
  left: 12.2%;
  top: 36.2%;
  width: 7.4%;
  height: 8.4%;
}




