@font-face {
  font-family: "MB Corpo S";
  src: url("assets/MBKCorpoS-ko.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "MB Corpo A";
  src: url("assets/MBKCorpoA-en.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --paper: #fffefb;
  --ivory: #f3f0e8;
  --stone: #e9e4da;
  --ink: #171716;
  --muted: #68645e;
  --navy: #102635;
  --navy-soft: #193747;
  --bronze: #725b3b;
  --line: #d8d1c5;
  --line-dark: #373c3d;
  --kakao: #fee500;
  --shell: 1240px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "MB Corpo S", "Noto Sans KR", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  word-break: keep-all;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #2d7dad;
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  z-index: 90;
  top: 0;
  height: 68px;
  background: rgba(243, 240, 232, 0.94);
  border-bottom: 1px solid rgba(23, 23, 22, 0.1);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 18px;
}

.brand img {
  width: 32px;
  height: 32px;
}

.topbar nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
}

.topbar nav a {
  color: #3e3c38;
}

.topbar nav a:hover {
  color: var(--ink);
}

.topbar-cta {
  justify-self: end;
  min-width: 104px;
  padding: 10px 17px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.button {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  background: var(--navy);
  color: #fff;
}

.button-primary:hover {
  background: var(--navy-soft);
}

.button-quiet,
.button-outline {
  background: transparent;
  border-color: #8e8981;
  color: var(--ink);
}

.button-quiet:hover,
.button-outline:hover {
  border-color: var(--ink);
}

.button-light {
  background: #fff;
  color: var(--navy);
}

.button-light:hover {
  background: var(--ivory);
}

.button-kakao {
  background: var(--kakao);
  color: #191600;
}

.hero {
  background: var(--ivory);
  padding: 68px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(520px, 1.14fr);
  gap: clamp(48px, 6vw, 92px);
  align-items: center;
}

.overline,
.section-label,
.contact-label {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 16px;
  font-family: "MB Corpo A", Georgia, serif;
  font-size: clamp(62px, 7vw, 96px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;
  margin: 0 0 14px 5px;
  font-family: "MB Corpo S", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-lead {
  margin-top: 28px;
  color: #44413c;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.hero-prices {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-prices div {
  min-height: 55px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
}

.hero-prices div + div {
  border-top: 1px solid var(--line);
}

.hero-prices dt {
  color: var(--muted);
  font-size: 14px;
}

.hero-prices dd {
  color: var(--muted);
  font-size: 13px;
}

.hero-prices strong {
  color: var(--ink);
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-trust {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 13px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.hero-visual::before {
  content: "PRIVATE SELECTION DESK";
  position: absolute;
  z-index: 2;
  top: 26px;
  right: 28px;
  padding: 5px 8px;
  background: rgba(16, 38, 53, 0.86);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.13em;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
  object-position: center;
}

.hero-visual figcaption {
  min-height: 62px;
  padding: 13px 4px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.hero-visual figcaption span {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.advisor-section {
  padding: 32px 0;
  background: var(--ivory);
}

.advisor-ribbon {
  padding: 22px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(42, 34, 21, 0.07);
}

.advisor-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.advisor-avatar,
.contact-avatar {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--stone);
  color: var(--navy);
  border: 1px solid var(--line);
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 21px;
}

.advisor-avatar img,
.contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advisor-profile h2 {
  margin-top: 2px;
  font-size: 21px;
  font-weight: 600;
}

.advisor-profile p:last-child {
  color: var(--muted);
  font-size: 14px;
}

.advisor-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.advisor-actions .button {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
}

.advisor-status {
  grid-column: 1 / -1;
  margin-top: -10px;
  padding-top: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.section {
  padding: 108px 0;
}

.section-heading h2,
.reserve-copy h2 {
  margin-top: 12px;
  font-family: "MB Corpo A", Georgia, serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 60px;
}

.split-heading > p {
  max-width: 410px;
  justify-self: end;
  color: var(--muted);
  font-size: 15px;
}

.changes {
  background: var(--paper);
}

.highlight-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.highlight-card {
  min-height: 220px;
  padding: 30px 28px;
}

.highlight-card + .highlight-card {
  border-left: 1px solid var(--line);
}

.highlight-card > span {
  color: var(--bronze);
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.highlight-card h3 {
  margin-top: 48px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.highlight-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.fine-print {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.lineup {
  background: var(--ivory);
}

.lineup-tabs {
  margin-top: 48px;
  display: flex;
  border-bottom: 1px solid #a9a297;
}

.lineup-tab {
  min-width: 210px;
  padding: 14px 4px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  color: var(--muted);
  text-align: left;
  font-weight: 700;
}

.lineup-tab span {
  margin-left: 7px;
  color: var(--bronze);
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 14px;
}

.lineup-tab.is-active {
  border-bottom-color: var(--navy);
  color: var(--navy);
}

.lineup-layout {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr);
  gap: 30px;
  align-items: start;
}

.selection-desk {
  position: sticky;
  top: 96px;
  min-height: 340px;
  padding: 32px;
  background: var(--navy);
  color: #fff;
}

.selection-desk .section-label {
  color: #c8ad83;
}

.selection-state {
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.selection-desk h3 {
  margin-top: 8px;
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.12;
}

.selection-price {
  margin-top: 12px;
  color: #d5c3a8;
  font-size: 16px;
}

.selection-spec {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.65;
}

.selection-help {
  margin: 24px 0 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.selection-desk .button {
  width: 100%;
}

.model-list {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.model-card {
  position: relative;
  width: 100%;
  min-height: 94px;
  padding: 20px 18px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto 42px;
  align-items: center;
  gap: 16px;
  background: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: background-color 160ms ease;
}

.model-card:hover {
  background: #f8f5ee;
}

.model-card.is-selected {
  background: #eee9de;
}

.model-card.is-selected::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--bronze);
}

.model-check {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid #858079;
  border-radius: 50%;
}

.model-card.is-selected .model-check {
  border: 5px solid var(--navy);
}

.model-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.model-copy strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.model-copy small {
  color: var(--muted);
  font-size: 12px;
}

.model-price {
  white-space: nowrap;
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 17px;
  font-weight: 600;
}

.model-arrow {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.model-card.is-selected .model-arrow {
  color: var(--navy);
  font-weight: 700;
}

.editions {
  background: #181d20;
  color: #fff;
}

.editions .section-label {
  color: #c8ad83;
}

.edition-list {
  margin-top: 58px;
  border-top: 1px solid var(--line-dark);
}

.edition-row {
  min-height: 210px;
  padding: 32px 0;
  display: grid;
  grid-template-columns: 100px minmax(240px, 0.8fr) minmax(260px, 1.2fr) auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line-dark);
}

.edition-index span {
  display: block;
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
}

.edition-index small {
  display: block;
  margin-top: 8px;
  color: #c8ad83;
  font-size: 12px;
}

.edition-name p,
.edition-detail {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.edition-name h3 {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}

.edition-detail {
  line-height: 1.7;
}

.edition-cta,
.visit-select {
  padding: 11px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 700;
}

.edition-cta span,
.visit-select span {
  margin-left: 8px;
}

.editions-note {
  color: rgba(255, 255, 255, 0.48);
}

.edition-row.is-selected {
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 28px 0 rgba(255, 255, 255, 0.045), -28px 0 rgba(255, 255, 255, 0.045);
}

.edition-cta.is-selected {
  color: #d5c3a8;
}

.configuration {
  background: var(--ivory);
}

.configuration-empty {
  margin-top: 50px;
  min-height: 132px;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.configuration-empty > span {
  color: var(--bronze);
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 32px;
}

.configuration-empty h3 {
  font-size: 20px;
  font-weight: 600;
}

.configuration-empty p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.configuration-workspace {
  margin-top: 50px;
}

.configuration-model {
  margin-bottom: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 1px solid #a9a297;
}

.configuration-model > p {
  color: var(--muted);
  font-size: 12px;
}

.configuration-model h3 {
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 25px;
  font-weight: 600;
}

.configuration-model-change {
  margin-left: auto;
  color: var(--muted);
  border-bottom: 1px solid #8d8880;
  font-size: 12px;
}

.configuration-model > span {
  padding: 5px 9px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.config-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.config-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  background: var(--paper);
  border: 1px solid var(--line);
}

.config-media {
  position: relative;
  overflow: hidden;
}

.config-media img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.config-media > span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 5px 8px;
  background: rgba(16, 38, 53, 0.9);
  color: #fff;
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.config-copy {
  padding: 26px;
}

.config-copy > h3 {
  margin-top: 4px;
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
}

.config-current {
  min-height: 60px;
  margin-top: 15px;
  padding-bottom: 14px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
}

.config-current strong {
  font-size: 16px;
  font-weight: 600;
}

.config-current span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.option-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.option-grid.is-grouped {
  display: block;
}

.option-group + .option-group {
  margin-top: 10px;
}

.option-group > summary {
  min-height: 42px;
  padding: 9px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
}

.option-group > summary::-webkit-details-marker {
  display: none;
}

.option-group > summary::after {
  content: "+";
  color: var(--muted);
  font-size: 18px;
}

.option-group[open] > summary::after {
  content: "−";
}

.option-group > summary strong {
  font-size: 12px;
}

.option-group > summary span {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}

.option-group-grid {
  padding-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.option-button {
  min-width: 0;
  min-height: 66px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.option-button:hover {
  border-color: #80796e;
}

.option-button.is-selected {
  background: #f2eee5;
  border-color: var(--navy);
  box-shadow: inset 3px 0 var(--navy);
}

.option-button:disabled {
  cursor: default;
  opacity: 1;
}

.option-swatch {
  width: 36px;
  height: 36px;
  display: block;
  background: var(--swatch, #d8d3ca);
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 -5px 9px rgba(0, 0, 0, 0.18);
}

.option-copy {
  min-width: 0;
}

.option-copy strong,
.option-copy small {
  display: block;
}

.option-copy strong {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.option-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.configuration-summary {
  margin-top: 18px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.configuration-summary strong,
.configuration-summary > div > span {
  display: block;
}

.configuration-summary strong {
  margin-top: 5px;
  font-size: 15px;
}

.configuration-summary > div > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.configuration-summary .button {
  flex: 0 0 auto;
}

.visit {
  background: var(--paper);
}

.visit-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1.3fr);
  gap: 80px;
  align-items: start;
}

.visit-heading > p:last-child {
  max-width: 420px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
}

.visit-calendar {
  border-top: 1px solid var(--line);
}

.visit-row {
  position: relative;
  min-height: 190px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.visit-row.is-past {
  opacity: 0.55;
}

.visit-row.is-selected {
  background: var(--ivory);
  box-shadow: 22px 0 var(--ivory), -22px 0 var(--ivory);
}

.visit-date strong {
  display: block;
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 31px;
  font-weight: 400;
}

.visit-date span {
  color: var(--muted);
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 15px;
}

.visit-live {
  width: max-content;
  margin-bottom: 8px;
  padding: 3px 7px;
  background: var(--navy);
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700;
}

.visit-info h3 {
  font-size: 19px;
  font-weight: 600;
}

.visit-info p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.visit-select {
  color: var(--navy);
  font-size: 13px;
}

.visit-select:disabled {
  color: var(--muted);
  cursor: default;
  border-bottom-style: dotted;
}

.reserve {
  background: var(--stone);
}

.reserve-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
  gap: 80px;
  align-items: center;
}

.reserve-copy > p:not(.section-label) {
  max-width: 450px;
  margin-top: 24px;
  color: var(--muted);
}

.reserve-copy ul {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  list-style: none;
  color: #3f3b36;
  font-size: 13px;
}

.reserve-copy li::before {
  content: "—";
  margin-right: 8px;
  color: var(--bronze);
}

.contact-card {
  padding: clamp(28px, 5vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.contact-top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-avatar {
  width: 78px;
  height: 78px;
}

.contact-top h3 {
  margin-top: 3px;
  font-size: 24px;
  font-weight: 600;
}

.contact-top p:last-child {
  color: var(--muted);
  font-size: 14px;
}

.contact-selection {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.contact-selection > p {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.contact-selection > p strong {
  color: var(--ink);
  text-align: right;
}

.contact-message {
  margin-top: 24px;
  color: #494640;
  font-size: 15px;
}

.contact-actions {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contact-small {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
}

.contact-channels {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-channels > p {
  color: var(--muted);
  font-size: 11px;
}

.contact-channels > div {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-channels a {
  border-bottom: 1px solid #8d8880;
  font-size: 12px;
}

footer {
  padding: 52px 0;
  background: #121718;
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-family: "MB Corpo A", Georgia, serif;
}

.footer-brand img {
  filter: invert(1);
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.45);
  font-family: "MB Corpo S", Arial, sans-serif;
  font-size: 11px;
}

.footer-copy {
  font-size: 11px;
  line-height: 1.75;
}

.footer-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
}

.mobile-dock {
  display: none;
}

body.is-fallback .advisor-ribbon,
body.is-fallback .contact-card {
  border-color: #b66454;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(340px, 0.9fr) minmax(400px, 1.1fr);
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(58px, 8vw, 80px);
  }

  .edition-row {
    grid-template-columns: 76px minmax(220px, 0.8fr) minmax(220px, 1.2fr);
  }

  .edition-cta {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .visit-layout,
  .reserve-grid {
    gap: 46px;
  }
}

@media (max-width: 860px) {
  .topbar-inner {
    grid-template-columns: 1fr auto;
  }

  .topbar nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 670px;
  }

  .hero-visual {
    margin-top: 10px;
  }

  .hero-visual img {
    aspect-ratio: 16 / 10;
  }

  .advisor-ribbon,
  .split-heading,
  .lineup-layout,
  .config-grid,
  .visit-layout,
  .reserve-grid {
    grid-template-columns: 1fr;
  }

  .advisor-actions {
    justify-content: flex-start;
  }

  .split-heading > p {
    justify-self: start;
  }

  .configuration-heading > p {
    max-width: none;
  }

  .config-panel {
    grid-template-columns: 1fr;
  }

  .config-media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .option-grid,
  .option-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .selection-desk {
    position: static;
    min-height: auto;
  }

  .edition-row {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .edition-detail,
  .edition-cta {
    grid-column: 2;
  }

  .visit-heading > p:last-child {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  body.is-public,
  body.is-personal {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .topbar {
    height: 60px;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .topbar-cta {
    min-width: 84px;
    padding: 9px 12px;
    font-size: 13px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(56px, 19vw, 76px);
  }

  .hero-lead br {
    display: none;
  }

  .hero-prices div {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 0;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    padding: 8px;
  }

  .hero-visual::before {
    top: 17px;
    right: 17px;
  }

  .hero-visual img {
    aspect-ratio: 4 / 3;
  }

  .hero-visual figcaption {
    min-height: 70px;
    flex-direction: column;
    gap: 4px;
  }

  .advisor-section {
    padding: 22px 0;
  }

  .advisor-ribbon {
    padding: 19px 16px;
  }

  .advisor-avatar {
    width: 58px;
    height: 58px;
  }

  .advisor-profile h2 {
    font-size: 18px;
  }

  .advisor-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advisor-actions .button {
    width: 100%;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading h2,
  .reserve-copy h2 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .split-heading {
    gap: 22px;
  }

  .highlight-grid {
    margin-top: 34px;
    grid-template-columns: 1fr;
  }

  .highlight-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .highlight-card + .highlight-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .highlight-card h3 {
    margin-top: 22px;
    font-size: 20px;
  }

  .lineup-tabs {
    margin-top: 34px;
  }

  .lineup-tab {
    min-width: 0;
    flex: 1;
    font-size: 13px;
  }

  .lineup-layout {
    gap: 18px;
  }

  .selection-desk {
    padding: 24px 22px;
  }

  .selection-state {
    margin-top: 22px;
  }

  .model-card {
    min-height: 110px;
    padding: 17px 12px;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .model-copy strong {
    font-size: 15px;
  }

  .model-price {
    font-size: 15px;
  }

  .model-arrow {
    display: none;
  }

  .edition-list {
    margin-top: 38px;
  }

  .edition-row {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
  }

  .edition-index span {
    font-size: 38px;
  }

  .edition-name h3 {
    font-size: 20px;
  }

  .configuration-empty {
    margin-top: 34px;
    padding: 22px 20px;
    grid-template-columns: auto 1fr;
  }

  .configuration-empty .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .configuration-workspace {
    margin-top: 34px;
  }

  .configuration-model {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .configuration-model-change,
  .configuration-model > span {
    margin: 5px 0 0;
  }

  .config-copy {
    padding: 22px 18px;
  }

  .option-grid,
  .option-group-grid {
    grid-template-columns: 1fr;
  }

  .configuration-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .configuration-summary .button {
    width: 100%;
  }

  .visit-layout,
  .reserve-grid {
    gap: 38px;
  }

  .visit-row {
    min-height: 0;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .visit-date strong {
    font-size: 25px;
  }

  .visit-info h3 {
    font-size: 16px;
  }

  .visit-select {
    grid-column: 2;
    justify-self: start;
  }

  .reserve-copy ul {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 26px 18px;
  }

  .contact-avatar {
    width: 64px;
    height: 64px;
  }

  .contact-top h3 {
    font-size: 20px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-selection > p {
    display: block;
  }

  .contact-selection > p strong {
    display: block;
    margin-top: 3px;
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mobile-dock {
    position: fixed;
    z-index: 120;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 64px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    background: rgba(255, 254, 251, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }

  .mobile-dock span {
    overflow: hidden;
    color: #3f3b36;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-dock a {
    min-height: 44px;
    padding: 10px 13px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
  }

  .mobile-dock #mobile-dock-sms {
    background: var(--stone);
    color: var(--ink);
  }

  .mobile-dock #mobile-dock-kakao {
    background: var(--kakao);
    color: #191600;
  }
}

@media (max-width: 390px) {
  .model-card {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .model-price {
    grid-column: 2;
  }

  .mobile-dock span {
    display: none;
  }

  .mobile-dock {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-dock.is-call-only {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* MY27 S-Class design and colour configurator */
.configurator {
  background: var(--ivory);
}

.design-switcher {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #a9a297;
}

.design-tab {
  min-height: 64px;
  padding: 13px 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.design-tab span {
  color: var(--bronze);
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 12px;
  font-weight: 400;
}

.design-tab:is(.is-active, [aria-selected="true"]) {
  background: rgba(16, 38, 53, 0.035);
  border-bottom-color: var(--navy);
  color: var(--navy);
}

.builder-layout {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
  align-items: start;
  gap: 24px;
}

.builder-stage {
  position: sticky;
  z-index: 10;
  top: 92px;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(42, 34, 21, 0.08);
}

.builder-stage-meta,
.builder-stage-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.builder-stage-meta {
  min-height: 44px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.builder-stage-meta span:first-child {
  color: var(--navy);
  font-weight: 700;
}

.builder-vehicle {
  position: relative;
  margin: 0;
  aspect-ratio: 1400 / 788;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 79%, rgba(42, 47, 48, 0.12), transparent 28%),
    linear-gradient(180deg, #f7f6f2 0%, #e7e5df 100%);
}

.builder-vehicle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 160ms ease;
}

.builder-stage.is-loading .builder-vehicle > img {
  opacity: 0.48;
}

.builder-loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 254, 251, 0.55);
  pointer-events: none;
}

.builder-loader::after {
  content: "";
  width: 28px;
  height: 28px;
  border: 2px solid rgba(16, 38, 53, 0.2);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: builder-spin 700ms linear infinite;
}

@keyframes builder-spin {
  to {
    transform: rotate(360deg);
  }
}

.builder-stage-caption {
  min-height: 72px;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
}

.builder-stage-caption > div p {
  font-size: 16px;
  font-weight: 600;
}

.builder-stage-caption > div span,
#builder-image-status {
  color: var(--muted);
  font-size: 11px;
}

#builder-image-status {
  max-width: 230px;
  text-align: right;
}

.builder-controls {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.builder-step,
.upholstery-step {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.builder-step-heading {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.builder-step-heading > span {
  color: var(--bronze);
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 27px;
  line-height: 1;
}

.builder-step-heading p {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.builder-step-heading h3 {
  margin-top: 2px;
  font-size: 19px;
  font-weight: 600;
}

.builder-step-heading.compact {
  margin-bottom: 14px;
}

.configurator-models {
  margin-top: 18px;
}

.configurator-models .model-card {
  grid-template-columns: minmax(0, 1fr) auto 42px;
  padding-inline: 14px;
}

.configurator-models .model-price {
  color: #4f4b45;
  font-size: 13px;
}

.paint-options {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.paint-current {
  display: none;
}

.paint-button {
  min-width: 0;
  min-height: 64px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.paint-button:hover {
  border-color: #80796e;
}

.paint-button.is-selected {
  background: #f2eee5;
  border-color: var(--navy);
  box-shadow: inset 3px 0 var(--navy);
}

.paint-swatch {
  width: 38px;
  height: 38px;
  display: block;
  background: var(--swatch, #d8d3ca);
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, 0.18);
}

.paint-name {
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.builder-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
}

.builder-controls .configuration-empty {
  margin-top: 0;
  min-height: 110px;
  grid-template-columns: auto minmax(0, 1fr);
}

.builder-controls .configuration-workspace {
  margin-top: 0;
}

.builder-controls .configuration-workspace:not([hidden]) {
  display: grid;
  gap: 18px;
}

.builder-controls .configuration-model {
  margin: 0;
  padding: 20px;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border: 1px solid var(--line);
}

.configuration-model > div > p {
  color: var(--muted);
  font-size: 11px;
}

.model-materials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.material-card {
  min-width: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.material-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--ivory);
}

.material-card p {
  color: var(--bronze);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.material-card h4 {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.material-card div span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.upholstery-step .option-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.builder-controls .configuration-summary {
  margin-top: 0;
  align-items: stretch;
  flex-direction: column;
}

.builder-controls .configuration-summary .button {
  width: 100%;
}

.configurator-disclaimer {
  max-width: 870px;
}

.editions-heading > p {
  color: rgba(255, 255, 255, 0.7);
}

.edition-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.edition-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #202629;
  border: 1px solid var(--line-dark);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.edition-card.is-selected {
  border-color: #c8ad83;
  box-shadow: 0 0 0 1px #c8ad83;
}

.edition-vehicle {
  position: relative;
  height: clamp(240px, 22vw, 320px);
  overflow: hidden;
  background: linear-gradient(180deg, #f2f1ed, #dcdad4);
}

.edition-vehicle > span {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 16px;
  padding: 5px 8px;
  background: rgba(16, 38, 53, 0.9);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.edition-vehicle img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  transform: scale(1.18);
}

.edition-copy {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.edition-copy > p:first-child {
  color: #c8ad83;
  font-size: 12px;
}

.edition-copy h3 {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
}

.edition-copy .edition-detail {
  margin-top: 12px;
}

.edition-materials {
  margin: 22px 0;
  padding-block: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.edition-materials > span {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.edition-materials img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: var(--ivory);
}

.edition-materials small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 1.4;
}

.edition-copy .edition-cta {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.design-tab:focus-visible,
.configurator-models .model-card:focus-visible,
.paint-button:focus-visible,
.option-button:focus-visible {
  position: relative;
  z-index: 2;
  outline-offset: -3px;
}

.edition-cta:focus-visible {
  outline-color: #fff;
}

@media (max-width: 860px) {
  .builder-layout,
  .edition-grid {
    grid-template-columns: 1fr;
  }

  .builder-stage {
    top: 76px;
  }

  .builder-vehicle {
    height: min(34svh, 300px);
    aspect-ratio: auto;
  }

  .builder-controls :is(button, a) {
    scroll-margin-top: 430px;
    scroll-margin-bottom: 90px;
  }
}

@media (max-width: 640px) {
  .design-switcher {
    margin: 34px -16px 0;
    padding-inline: 16px;
    display: grid;
    grid-template-columns: 0.86fr 0.9fr 1.24fr;
  }

  .design-tab {
    min-width: 0;
    min-height: 60px;
    padding: 10px 6px 9px;
    font-size: 12px;
    line-height: 1.2;
  }

  .design-tab span {
    font-size: 10px;
  }

  .builder-layout {
    margin-top: 18px;
    gap: 14px;
  }

  .builder-stage {
    top: 60px;
  }

  .builder-stage-meta {
    display: none;
  }

  .builder-vehicle {
    height: clamp(154px, 42vw, 174px);
  }

  .builder-stage-caption {
    min-height: 46px;
    padding: 7px 12px;
  }

  .builder-stage-caption > div p {
    font-size: 14px;
  }

  #builder-image-status {
    display: none;
  }

  .builder-step,
  .upholstery-step {
    padding: 18px 14px;
  }

  .configurator-models .model-card {
    min-height: 78px;
    padding: 12px 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .configurator-models .model-copy {
    gap: 2px;
  }

  .configurator-models .model-copy strong {
    font-size: 14px;
    line-height: 1.25;
  }

  .configurator-models .model-copy small {
    font-size: 10px;
  }

  .configurator-models .model-price {
    font-size: 11px;
  }

  .paint-current {
    margin-top: 13px;
    display: block;
    color: #4f4b45;
    font-size: 12px;
    font-weight: 600;
  }

  .paint-options {
    margin-top: 10px;
    grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
    gap: 8px;
  }

  .paint-button {
    position: relative;
    min-height: 52px;
    padding: 6px;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 0;
  }

  .paint-button.is-selected {
    box-shadow: inset 0 -3px var(--navy);
  }

  .paint-name {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .upholstery-step .option-grid,
  .edition-materials {
    grid-template-columns: 1fr;
  }

  .model-materials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .material-card {
    padding: 10px;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
  }

  .material-card img {
    width: 48px;
    height: 48px;
  }

  .material-card h4 {
    font-size: 11px;
  }

  .material-card div span {
    font-size: 9px;
  }

  .builder-controls :is(button, a) {
    scroll-margin-top: 260px;
    scroll-margin-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .edition-copy {
    padding: 22px 18px;
  }

  .edition-copy h3 {
    font-size: 21px;
  }
}

@media (max-width: 390px) {
  .configurator-models .model-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .configurator-models .model-price {
    grid-column: auto;
  }
}

@media (max-width: 350px) {
  .configurator-models .model-card {
    grid-template-columns: 1fr;
  }

  .configurator-models .model-price {
    grid-column: 1;
  }

  .model-materials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) and (max-height: 720px) {
  .builder-stage {
    position: static;
  }

  .builder-controls :is(button, a) {
    scroll-margin-top: 76px;
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .builder-stage {
    position: static;
  }

  .builder-controls :is(button, a) {
    scroll-margin-top: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Mercedes-style full-width design display */
.design-display {
  position: relative;
  width: 100vw;
  margin: 48px 0 0 calc(50% - 50vw);
}

.design-display .builder-stage {
  position: relative;
  z-index: 1;
  top: auto;
  width: 100%;
  overflow: hidden;
  border: 0;
  box-shadow: none;
}

.design-display .builder-vehicle {
  height: clamp(540px, 52vw, 760px);
  aspect-ratio: auto;
}

.design-display .builder-vehicle img {
  padding: 56px clamp(36px, 8vw, 132px) 156px;
  object-position: 50% 48%;
}

.design-display .builder-stage-meta {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: max(24px, calc((100vw - var(--shell)) / 2 + 24px));
  left: max(24px, calc((100vw - var(--shell)) / 2 + 24px));
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.design-display .builder-stage-caption {
  position: absolute;
  z-index: 3;
  top: 66px;
  left: 50%;
  min-height: 0;
  padding: 0;
  display: block;
  border: 0;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.design-display .builder-stage-caption > div p {
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 20px;
  font-weight: 400;
}

.design-display #builder-image-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.design-display-controls {
  position: absolute;
  z-index: 4;
  right: 50%;
  bottom: 24px;
  width: min(calc(100% - 48px), var(--shell));
  display: grid;
  grid-template-columns: minmax(360px, 0.84fr) minmax(520px, 1.16fr);
  align-items: stretch;
  gap: 12px;
  transform: translateX(50%);
}

.design-display .design-switcher {
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(255, 254, 251, 0.94);
  box-shadow: 0 16px 42px rgba(24, 28, 29, 0.14);
  backdrop-filter: blur(18px);
}

.design-display .design-tab {
  min-height: 100%;
  padding: 18px 12px 16px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 0;
  text-align: center;
  font-size: 15px;
}

.design-display .design-tab:last-child {
  border-right: 0;
}

.design-display .design-tab:is(.is-active, [aria-selected="true"]) {
  background: var(--navy);
  color: #fff;
}

.design-display .design-tab:is(.is-active, [aria-selected="true"]) span {
  color: #d7c5a9;
}

.display-paint {
  min-width: 0;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px 18px;
  background: rgba(255, 254, 251, 0.94);
  box-shadow: 0 16px 42px rgba(24, 28, 29, 0.14);
  backdrop-filter: blur(18px);
}

.display-paint-heading {
  min-width: 104px;
}

.display-paint-heading > span {
  color: var(--bronze);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.display-paint-heading > p {
  font-size: 13px;
  font-weight: 600;
}

.display-paint .paint-current {
  margin-top: 1px;
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.display-paint .paint-options {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.display-paint .paint-button {
  position: relative;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 5px;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  gap: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  box-shadow: none;
}

.display-paint .paint-button:hover {
  border-color: #8e877d;
}

.display-paint .paint-button.is-selected {
  background: transparent;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(255, 254, 251, 0.94), 0 0 0 3px var(--navy);
}

.display-paint .paint-swatch {
  width: 32px;
  height: 32px;
}

.display-paint .paint-name {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.display-paint .builder-note {
  display: none;
}

.builder-details {
  width: min(100%, 1040px);
  margin: 22px auto 0;
  background: var(--paper);
  border: 1px solid var(--line);
}

.builder-details-summary {
  min-height: 94px;
  padding: 19px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  column-gap: 24px;
  cursor: pointer;
  list-style: none;
}

.builder-details-summary::-webkit-details-marker {
  display: none;
}

.builder-details-summary > span,
.builder-details-summary > strong,
.builder-details-summary > small {
  grid-column: 1;
}

.builder-details-summary > span {
  color: var(--bronze);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.builder-details-summary > strong {
  margin-top: 2px;
  font-size: 19px;
}

.builder-details-summary > small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.builder-details-summary::after {
  content: "+";
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  color: var(--navy);
  font-family: "MB Corpo A", Georgia, serif;
  font-size: 34px;
  font-weight: 300;
}

.builder-details[open] .builder-details-summary {
  border-bottom: 1px solid var(--line);
}

.builder-details[open] .builder-details-summary::after {
  content: "−";
}

.builder-details .builder-controls {
  padding: 20px;
  display: grid;
  gap: 18px;
}

.builder-details .configurator-models {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.builder-details .configurator-models .model-card {
  min-height: 86px;
  border-bottom: 0;
}

.builder-details .configuration-empty,
.builder-details .configuration-workspace {
  width: 100%;
}

@media (max-width: 1040px) {
  .design-display-controls {
    grid-template-columns: minmax(300px, 0.78fr) minmax(440px, 1.22fr);
  }

  .display-paint .paint-button {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 4px;
  }
}

@media (max-width: 860px) {
  .design-display {
    width: 100%;
    margin: 36px 0 0;
  }

  .design-display .builder-vehicle {
    height: min(54vw, 440px);
  }

  .design-display .builder-vehicle img {
    padding: 42px 24px 18px;
  }

  .design-display-controls {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    transform: none;
  }

  .design-display .design-switcher {
    box-shadow: none;
  }

  .design-display .design-tab {
    min-height: 68px;
  }

  .display-paint {
    box-shadow: none;
  }

  .display-paint .paint-options {
    justify-content: flex-start;
  }

  .builder-details {
    margin-top: 18px;
  }
}

@media (max-width: 640px) {
  .design-display {
    margin-top: 30px;
  }

  .design-display .builder-stage {
    position: relative;
    top: auto;
  }

  .design-display .builder-vehicle {
    height: clamp(210px, 60vw, 280px);
  }

  .design-display .builder-vehicle img {
    padding: 34px 4px 4px;
  }

  .design-display .builder-stage-meta {
    top: 12px;
    right: 12px;
    left: 12px;
  }

  .design-display .builder-stage-caption {
    display: none;
  }

  .design-display .design-switcher {
    margin: 0;
    padding: 0;
    grid-template-columns: 0.86fr 0.9fr 1.24fr;
  }

  .design-display .design-tab {
    min-height: 62px;
    padding: 10px 5px 9px;
    font-size: 11px;
  }

  .display-paint {
    padding: 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .display-paint-heading {
    min-width: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: 8px;
  }

  .display-paint-heading > span {
    grid-column: 1 / -1;
  }

  .display-paint .paint-current {
    margin: 0;
    justify-self: end;
    font-size: 11px;
  }

  .display-paint .paint-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
    justify-content: stretch;
    gap: 8px;
  }

  .display-paint .paint-button {
    width: auto;
    height: 48px;
    min-height: 48px;
  }

  .builder-details {
    margin-top: 14px;
  }

  .builder-details-summary {
    min-height: 88px;
    padding: 16px 14px;
    column-gap: 12px;
  }

  .builder-details-summary > strong {
    font-size: 16px;
  }

  .builder-details-summary > small {
    padding-right: 8px;
    font-size: 10px;
  }

  .builder-details .builder-controls {
    padding: 0;
    gap: 12px;
  }

  .builder-details .configurator-models {
    grid-template-columns: 1fr;
  }
}

/* Mercedes precision with Apple-like restraint */
:root {
  --paper: #ffffff;
  --ivory: #f5f5f7;
  --stone: #e8e8ed;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --navy: #111113;
  --navy-soft: #2c2c2e;
  --bronze: #0071e3;
  --line: #d2d2d7;
  --line-dark: rgba(255, 255, 255, 0.14);
  --shell: 1180px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "MB Corpo S", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.topbar {
  height: 60px;
  background: rgba(255, 255, 255, 0.84);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.topbar-inner {
  gap: 28px;
}

.brand {
  font-size: 17px;
}

.brand img {
  width: 30px;
  height: 30px;
}

.topbar nav {
  gap: 28px;
  font-size: 13px;
}

.topbar nav a {
  color: var(--muted);
}

.topbar-cta,
.button,
.mobile-dock a {
  border-radius: 8px;
}

.topbar-cta {
  min-width: 94px;
  padding: 9px 16px;
  background: var(--ink);
  font-size: 13px;
}

.button {
  min-height: 46px;
  padding: 11px 19px;
}

.button-primary {
  background: var(--ink);
}

.button-primary:hover,
.topbar-cta:hover {
  background: var(--navy-soft);
}

.button-quiet,
.button-outline {
  background: rgba(255, 255, 255, 0.56);
  border-color: #86868b;
}

.hero {
  padding: clamp(62px, 7vw, 92px) 0 54px;
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.hero-grid {
  min-height: 500px;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(18px, 3vw, 38px);
}

.overline,
.section-label,
.contact-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.11em;
}

.hero .overline {
  color: var(--ink);
}

.hero h1 {
  margin-top: 10px;
  font-size: clamp(52px, 6vw, 76px);
  line-height: 1.01;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 500px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
}

.hero-price {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.hero-price strong {
  margin-left: 8px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
}

.hero-actions {
  margin-top: 26px;
}

.hero-trust {
  margin-top: 14px;
  color: #86868b;
  font-size: 11px;
}

.hero-visual {
  position: relative;
  min-height: clamp(360px, 38vw, 500px);
  padding: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
  border: 0;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: auto;
  right: auto;
  bottom: 15%;
  left: 18%;
  width: 70%;
  height: 14%;
  padding: 0;
  background: rgba(29, 29, 31, 0.22);
  border-radius: 50%;
  filter: blur(26px);
}

.hero-visual img,
.hero-car {
  width: 126%;
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  transform: translateX(5%);
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.08));
}

.advisor-section {
  padding: 28px 0 36px;
  background: var(--paper);
}

.advisor-ribbon {
  padding: 22px 24px;
  background: var(--ivory);
  border: 0;
  border-radius: 18px;
  box-shadow: none;
}

.advisor-avatar,
.contact-avatar {
  border-color: transparent;
  border-radius: 50%;
}

.advisor-status {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.section {
  padding: 88px 0;
}

.section-heading h2,
.reserve-copy h2 {
  margin-top: 10px;
  font-size: clamp(40px, 4.8vw, 58px);
  line-height: 1.04;
}

.split-heading {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.split-heading > p {
  max-width: 620px;
  justify-self: center;
  color: var(--muted);
  font-size: 15px;
}

.configurator {
  background: var(--paper);
}

.design-display {
  margin-top: 44px;
}

.design-display .builder-vehicle {
  background:
    radial-gradient(circle at 50% 78%, rgba(29, 29, 31, 0.10), transparent 27%),
    linear-gradient(180deg, #f5f5f7 0%, #e9e9ed 100%);
}

.design-display .builder-stage-meta {
  color: var(--muted);
}

.design-display .builder-stage-caption > div p {
  font-size: 19px;
}

.design-display-controls {
  bottom: 22px;
  gap: 10px;
}

.design-display .design-switcher,
.display-paint {
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.10);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.design-display .design-switcher {
  overflow: hidden;
}

.design-display .design-tab {
  min-height: 64px;
  padding: 16px 10px;
  border-right-color: rgba(0, 0, 0, 0.08);
  font-size: 14px;
}

.design-display .design-tab:is(.is-active, [aria-selected="true"]) {
  background: var(--ink);
}

.display-paint {
  padding: 10px 14px;
}

.display-paint-heading > span,
.builder-details-summary > span,
.builder-step-heading > span,
.material-card p {
  color: var(--muted);
}

.display-paint .paint-button.is-selected {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.96), 0 0 0 3px var(--ink);
}

.builder-details {
  width: min(100%, 980px);
  margin-top: 20px;
  overflow: hidden;
  background: var(--ivory);
  border: 0;
  border-radius: 16px;
}

.builder-details-summary {
  min-height: 84px;
  padding: 18px 24px;
}

.builder-details-summary::after {
  grid-row: 1 / 3;
  color: var(--ink);
}

.builder-details[open] .builder-details-summary {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.builder-details .builder-controls {
  padding: 16px;
  background: var(--paper);
}

.builder-step,
.upholstery-step,
.builder-controls .configuration-model,
.material-card,
.configuration-empty,
.configuration-summary {
  background: var(--ivory);
  border: 0;
  border-radius: 12px;
}

.builder-details .configurator-models {
  overflow: hidden;
  background: var(--line);
  border: 0;
  border-radius: 12px;
}

.builder-details .configurator-models .model-card {
  background: var(--paper);
}

.paint-button.is-selected,
.option-button.is-selected {
  background: #f5f5f7;
  border-color: var(--ink);
  box-shadow: inset 3px 0 var(--ink);
}

.configurator-disclaimer,
.editions-note {
  margin-top: 18px;
  text-align: center;
}

.editions {
  background: #050505;
}

.editions .section-label,
.edition-copy > p:first-child {
  color: #a1a1a6;
}

.edition-grid {
  margin-top: 44px;
  gap: 20px;
}

.edition-card {
  overflow: hidden;
  background: #161617;
  border: 0;
  border-radius: 20px;
  transition: outline-color 160ms ease, background-color 160ms ease;
}

.edition-card.is-selected {
  border-color: transparent;
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: -2px;
  box-shadow: none;
}

.edition-vehicle > span {
  top: 14px;
  left: 14px;
  background: rgba(17, 17, 19, 0.88);
  border-radius: 999px;
}

.edition-copy {
  padding: 26px;
}

.edition-copy h3 {
  font-size: 25px;
}

.edition-copy .edition-detail {
  color: rgba(255, 255, 255, 0.62);
}

.edition-materials img {
  border-radius: 8px;
}

.edition-copy .edition-cta {
  min-height: 46px;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.visit {
  background: var(--paper);
}

.visit-layout {
  width: min(calc(100% - 48px), 980px);
  grid-template-columns: 1fr;
  gap: 36px;
}

.visit-heading {
  text-align: center;
}

.visit-heading > p:last-child {
  max-width: 620px;
  margin: 14px auto 0;
}

.visit-row {
  min-height: 150px;
  padding: 24px 0;
}

.visit-row.is-selected {
  margin-inline: -20px;
  padding-inline: 20px;
  background: var(--ivory);
  border-radius: 12px;
  box-shadow: none;
}

.visit-live {
  border-radius: 999px;
}

.reserve {
  background: var(--ivory);
}

.reserve-grid {
  gap: 60px;
}

.contact-card {
  background: var(--paper);
  border: 0;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.contact-selection,
.contact-channels {
  border-color: rgba(0, 0, 0, 0.08);
}

footer {
  padding: 44px 0;
  background: var(--ivory);
  color: var(--muted);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-brand {
  color: var(--ink);
}

.footer-brand img {
  filter: none;
}

.footer-brand span {
  color: var(--muted);
}

.footer-links a {
  color: var(--ink);
  border-bottom-color: #86868b;
}

.mobile-dock {
  background: rgba(255, 255, 255, 0.94);
  border-top-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
    gap: 18px;
  }

  .reserve-grid {
    gap: 42px;
  }
}

@media (max-width: 860px) {
  .hero {
    padding-top: 58px;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero-copy {
    max-width: 680px;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    width: min(100%, 680px);
    min-height: 330px;
    margin-top: 0;
  }

  .hero-visual img,
  .hero-car {
    width: 118%;
    aspect-ratio: auto;
    transform: none;
  }

  .design-display .design-switcher,
  .display-paint {
    box-shadow: none;
  }

  .design-display .design-switcher {
    border-radius: 14px 14px 0 0;
  }

  .display-paint {
    border-radius: 0 0 14px 14px;
  }

  .reserve-grid {
    grid-template-columns: 1fr;
  }

  .reserve-copy {
    text-align: center;
  }

  .reserve-copy > p:not(.section-label) {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .topbar {
    height: 56px;
  }

  .brand {
    font-size: 15px;
  }

  .brand img {
    width: 27px;
    height: 27px;
  }

  .topbar-cta {
    min-width: 78px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .hero {
    padding: 46px 0 30px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 58px);
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-price {
    margin-top: 18px;
  }

  .hero-price strong {
    display: block;
    margin: 3px 0 0;
    font-size: 18px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-visual {
    min-height: clamp(210px, 66vw, 290px);
    padding: 0;
  }

  .hero-visual::before {
    right: auto;
    bottom: 13%;
    left: 15%;
    width: 70%;
  }

  .hero-visual img,
  .hero-car {
    width: 128%;
    aspect-ratio: auto;
  }

  .advisor-section {
    padding: 20px 0 28px;
  }

  .advisor-ribbon {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .advisor-avatar {
    width: 54px;
    height: 54px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading h2,
  .reserve-copy h2 {
    font-size: clamp(35px, 10vw, 44px);
  }

  .split-heading {
    gap: 10px;
  }

  .design-display {
    margin-top: 30px;
  }

  .design-display .builder-vehicle {
    height: clamp(210px, 60vw, 270px);
  }

  .design-display .builder-vehicle img {
    padding: 32px 4px 2px;
  }

  .design-display .design-tab {
    min-height: 58px;
    padding: 9px 4px;
    font-size: 11px;
  }

  .display-paint {
    padding: 13px;
  }

  .builder-details {
    border-radius: 14px;
  }

  .builder-details-summary {
    min-height: 76px;
    padding: 14px;
  }

  .builder-details .builder-controls {
    padding: 12px;
  }

  .builder-step,
  .upholstery-step {
    border-radius: 10px;
  }

  .edition-card {
    border-radius: 16px;
  }

  .edition-grid {
    margin-top: 28px;
    gap: 14px;
  }

  .edition-vehicle {
    height: clamp(170px, 52vw, 220px);
  }

  .edition-vehicle img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    transform: scale(1.25);
  }

  .edition-copy {
    padding: 22px 18px;
  }

  .visit-layout {
    width: min(calc(100% - 32px), 980px);
    gap: 26px;
  }

  .visit-row {
    min-height: 0;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
  }

  .visit-row.is-selected {
    margin-inline: -10px;
    padding-inline: 10px;
  }

  .contact-card {
    border-radius: 16px;
    box-shadow: none;
  }

  footer {
    padding: 38px 0 96px;
  }
}

/* Official-image studios */
.hero {
  padding-bottom: 0;
}

.hero-intro {
  padding-bottom: clamp(38px, 5vw, 64px);
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-intro .hero-copy {
  width: min(100%, 780px);
}

.hero-intro .hero-lead {
  margin-inline: auto;
}

.hero-intro .hero-actions {
  justify-content: center;
}

.hero-studio .design-display {
  margin-top: 0;
}

.view-badge {
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  color: var(--muted);
  letter-spacing: 0.08em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.configuration-workspace {
  min-width: 0;
}

.detail-studio {
  min-width: 0;
  overflow: hidden;
  background: var(--ivory);
  border-radius: 16px;
}

.detail-studio-heading {
  padding: 24px 24px 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.detail-studio-heading .builder-step-heading {
  margin: 0;
}

.detail-studio-heading > p {
  max-width: 360px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.detail-category-switcher {
  padding: 0 24px 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.detail-category-button {
  min-height: 50px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.detail-category-button:hover {
  border-color: #86868b;
  color: var(--ink);
}

.detail-category-button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.detail-view-switcher {
  padding: 0 24px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.detail-view-group {
  min-width: 0;
  padding: 8px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
}

.detail-view-group > span {
  padding-left: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-view-group > div {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}

.detail-view-button {
  min-height: 44px;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.detail-view-button:hover {
  color: var(--ink);
}

.detail-view-button.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.detail-stage {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 72%, rgba(29, 29, 31, 0.08), transparent 30%),
    linear-gradient(180deg, #f4f4f6 0%, #e6e6e9 100%);
}

.detail-stage > img {
  width: 100%;
  height: 100%;
  display: block;
  object-position: center;
  transition: opacity 160ms ease;
}

.detail-stage[data-view="paint"] > img,
.detail-stage[data-view="wheel"] > img {
  padding: clamp(10px, 2vw, 30px);
  object-fit: contain;
}

.detail-stage[data-view="upholstery"] > img,
.detail-stage[data-view="trim"] > img {
  object-fit: cover;
}

.detail-stage.is-loading > img {
  opacity: 0.38;
}

.detail-stage .builder-loader {
  z-index: 2;
  background: rgba(245, 245, 247, 0.38);
}

.detail-stage-caption {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 126px;
  padding: 42px 24px 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.76));
  color: #fff;
  pointer-events: none;
}

.detail-stage-caption > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.detail-stage-caption span {
  color: rgba(255, 255, 255, 0.67);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-stage-caption strong {
  font-family: "MB Corpo A", Georgia, serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.12;
}

.detail-stage-caption > p {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  line-height: 1.45;
  text-align: right;
}

.detail-options {
  padding: 18px 24px 24px;
  background: var(--paper);
}

.detail-option-panel {
  min-width: 0;
}

.detail-option-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
}

.detail-option-heading > p {
  grid-column: 1;
  grid-row: 1;
}

.detail-option-heading > h4 {
  grid-column: 1;
  grid-row: 2;
}

.detail-current-selection {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  gap: 2px;
  text-align: right;
}

.detail-current-selection > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.detail-current-selection > strong {
  max-width: 270px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.detail-option-heading p,
.detail-spec-copy > p {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-option-heading h4,
.detail-spec-copy h4 {
  margin-top: 3px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.detail-spec-copy > span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

#detail-exterior-options {
  margin-top: 14px;
  grid-template-columns: repeat(auto-fill, 50px);
  gap: 8px;
}

#detail-exterior-options .paint-button {
  width: 50px;
  height: 50px;
  min-height: 50px;
  padding: 7px;
  grid-template-columns: 1fr;
  place-items: center;
  gap: 0;
  background: transparent;
  border-color: transparent;
  border-radius: 50%;
  box-shadow: none;
}

#detail-exterior-options .paint-button:hover {
  border-color: #86868b;
}

#detail-exterior-options .paint-button.is-selected {
  background: transparent;
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink);
}

#detail-exterior-options .paint-swatch {
  width: 34px;
  height: 34px;
}

#detail-exterior-options .paint-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#upholstery-options .option-button.is-selected {
  background: #f5f5f7;
  box-shadow: inset 3px 0 var(--ink);
}

#detail-upholstery-panel .config-current {
  margin: 12px 0 0;
  padding: 12px 14px;
  background: var(--ivory);
  border-radius: 10px;
}

#detail-upholstery-panel .option-grid {
  margin-top: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 861px) {
  .detail-studio {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    grid-template-areas:
      "heading heading"
      "category category"
      "views views"
      "stage options";
    align-items: stretch;
  }

  .detail-studio-heading {
    grid-area: heading;
  }

  .detail-category-switcher {
    grid-area: category;
  }

  .detail-view-switcher {
    grid-area: views;
  }

  .detail-stage {
    grid-area: stage;
  }

  .detail-options {
    grid-area: options;
    display: flex;
    align-items: center;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
  }

  .detail-option-panel {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .hero-intro {
    padding-bottom: 36px;
  }

  .hero-studio .design-display {
    margin-top: 0;
  }

  .detail-studio-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .detail-studio-heading > p {
    max-width: none;
    text-align: left;
  }

  .detail-view-switcher {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  .hero {
    padding-bottom: 0;
  }

  .hero-intro {
    padding-bottom: 28px;
  }

  .view-badge {
    padding: 5px 7px;
    font-size: 8px;
  }

  .detail-studio {
    border-radius: 12px;
  }

  .detail-studio-heading {
    padding: 18px 14px 14px;
  }

  .detail-category-switcher {
    padding: 0 14px 8px;
  }

  .detail-category-button {
    min-height: 48px;
    padding: 10px 8px;
    font-size: 13px;
  }

  .detail-view-switcher {
    padding: 0 14px 14px;
    gap: 8px;
  }

  .detail-view-group {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .detail-view-group > span {
    padding-left: 2px;
  }

  .detail-stage {
    position: sticky;
    z-index: 4;
    top: 58px;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  }

  .detail-stage[data-view="paint"] > img,
  .detail-stage[data-view="wheel"] > img {
    padding: 8px 0 44px;
  }

  .detail-stage[data-view="upholstery"] > img,
  .detail-stage[data-view="trim"] > img {
    object-position: center;
  }

  .detail-stage-caption {
    min-height: 104px;
    padding: 34px 14px 14px;
    display: block;
  }

  .detail-stage-caption strong {
    font-size: 21px;
  }

  .detail-stage-caption > p {
    margin-top: 5px;
    max-width: none;
    text-align: left;
  }

  .detail-options {
    padding: 14px;
  }

  #detail-upholstery-panel .option-grid {
    grid-template-columns: 1fr;
  }

  #detail-upholstery-panel .option-button {
    min-height: 58px;
  }

  #detail-exterior-options {
    grid-template-columns: repeat(auto-fill, 46px);
    gap: 8px;
  }

  #detail-exterior-options .paint-button {
    width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 6px;
  }

  #detail-exterior-options .paint-swatch {
    width: 32px;
    height: 32px;
  }

  .detail-current-selection > strong {
    max-width: 190px;
  }
}

@media (max-width: 640px) and (max-height: 720px),
  (max-height: 620px) and (orientation: landscape) {
  .detail-stage {
    position: relative;
    top: auto;
  }
}

/* Accessible 360-degree exterior viewer */
.spin-viewer {
  position: relative;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}

.spin-viewer.is-dragging {
  cursor: grabbing;
}

.spin-viewer > img {
  pointer-events: none;
  -webkit-user-drag: none;
  transform: translateX(var(--spin-shift-x, 0%)) scale(1.25);
  transform-origin: 50% 53%;
}

.spin-progress {
  display: none !important;
}

.spin-viewer:focus-visible {
  box-shadow: inset 0 0 0 3px var(--navy);
}

.spin-instruction {
  position: absolute;
  z-index: 3;
  bottom: 118px;
  left: 50%;
  min-height: 36px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
  font-size: 11px;
}

.spin-gesture {
  font-size: 15px;
}

.spin-keyboard {
  color: var(--muted);
}

.spin-viewer.is-dragging .spin-instruction,
.spin-viewer.is-spin-active .spin-instruction {
  opacity: 0.8;
}

.spin-viewer.is-spin-unavailable .spin-instruction {
  display: none;
}

@media (max-width: 860px) {
  .spin-viewer > img {
    transform: translate(var(--spin-shift-x, 0%), -4%) scale(1.18);
    transform-origin: 50% 50%;
  }

  .spin-instruction {
    bottom: 14px;
  }
}

@media (max-width: 640px) {
  .spin-viewer > img {
    transform: translate(var(--spin-shift-x, 0%), -6%) scale(1.15);
  }

  .spin-instruction {
    right: 10px;
    bottom: 8px;
    left: 10px;
    min-height: 32px;
    padding: 6px 9px;
    justify-content: center;
    gap: 6px;
    transform: none;
    font-size: 10px;
  }

  .spin-keyboard {
    display: none;
  }

}

/* Copy rhythm: balanced on desktop, intentional on mobile */
.hero-intro #hero-title {
  white-space: nowrap;
}

.hero-intro .hero-lead {
  max-width: 38rem;
}

.hero-lead .copy-line + .copy-line::before {
  content: " ";
}

.hero-lead,
.split-heading > p,
.visit-heading > p:last-child,
.reserve-copy > p:not(.section-label),
.advisor-profile p:last-child,
.configuration-empty,
.detail-studio-heading > p,
.detail-spec-copy > span,
.contact-message,
.fine-print {
  text-wrap: balance;
}

.section-heading h2,
.reserve-copy h2,
.edition-copy h3 {
  word-break: keep-all;
  text-wrap: balance;
}

.keep-together {
  white-space: nowrap;
}

.edition-vehicle > span {
  white-space: nowrap;
}

@media (min-width: 861px) {
  .edition-copy h3 {
    min-block-size: 2.5em;
  }

  .edition-copy .edition-detail {
    min-block-size: 3.4em;
  }
}

@media (max-width: 860px) {
  .builder-details .configurator-models {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-intro #hero-title {
    font-size: clamp(34px, 10.8vw, 54px);
  }

  .hero-lead .copy-line {
    display: block;
  }

  .hero-lead .copy-line + .copy-line::before {
    content: none;
  }

  .section-heading h2,
  .reserve-copy h2 {
    font-size: clamp(32px, 8.8vw, 40px);
    line-height: 1.1;
  }

  .edition-copy h3 {
    min-block-size: 0;
    font-size: 21px;
    line-height: 1.25;
  }

  .edition-copy .edition-detail {
    min-block-size: 0;
  }
}

/* Configuration flow: one-row colours, separate exterior and interior studios */
.display-paint .paint-options {
  min-width: 0;
  padding: 4px 3px 6px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 5px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.display-paint .paint-options::-webkit-scrollbar {
  display: none;
}

.display-paint .paint-button {
  flex: 0 0 44px;
}

.configuration-workspace .interior-studio {
  margin-top: 2px;
}

.wheel-stage-switcher,
.trim-stage-switcher {
  margin-top: 18px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  background: var(--ivory);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
}

.wheel-stage-button,
.trim-stage-button {
  min-height: 46px;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.wheel-stage-button:hover,
.trim-stage-button:hover {
  color: var(--ink);
}

.wheel-stage-button.is-active,
.trim-stage-button.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.detail-stage > img {
  transition: opacity 160ms ease, transform 240ms ease;
}

#detail-stage[data-view="wheel"][data-wheel-display="closeup"] {
  background: #fff;
}

#detail-stage[data-view="wheel"][data-wheel-display="closeup"] > img {
  position: absolute;
  top: 43%;
  left: 50%;
  width: min(52%, 380px);
  height: min(72%, 380px);
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%);
}

#detail-stage[data-view="wheel"][data-wheel-display="closeup"] .detail-stage-caption {
  min-height: 108px;
  padding: 34px 22px 18px;
}

#interior-stage[data-view="trim"][data-trim-display="closeup"] {
  background: #050505;
}

#interior-stage[data-view="trim"][data-trim-display="closeup"] > img {
  transform: scale(1.62);
  transform-origin: 67% 65%;
}

#interior-stage[data-view="trim"][data-trim-display="closeup"][data-design="maybach"] > img {
  transform: scale(1.55);
  transform-origin: 64% 63%;
}

#interior-stage[data-view="trim"][data-trim-display="closeup"] .detail-stage-caption {
  min-height: 108px;
  padding: 34px 22px 18px;
}

.edition-package {
  margin-top: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.edition-package > p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.edition-package > p span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.4;
}

.edition-package > p strong {
  flex: 0 0 auto;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.edition-package details {
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.edition-package summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  list-style: none;
}

.edition-package summary::-webkit-details-marker {
  display: none;
}

.edition-package summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
}

.edition-package details[open] summary::after {
  content: "−";
}

.edition-package ul {
  padding: 2px 0 2px 18px;
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  line-height: 1.5;
}

@media (min-width: 861px) {
  .design-display-controls {
    width: min(calc(100% - 48px), 1320px);
    grid-template-columns: minmax(340px, 0.62fr) minmax(0, 1.38fr);
  }

  .display-paint {
    column-gap: 10px;
  }

  .display-paint-heading {
    min-width: 90px;
  }

  .detail-studio {
    grid-template-areas:
      "heading heading"
      "views views"
      "stage options";
  }
}

@media (min-width: 1041px) {
  .display-paint .paint-options {
    gap: 4px;
  }

  .display-paint .paint-button {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 4px;
  }

  .display-paint .paint-swatch {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 640px) {
  .hero-intro #hero-title {
    font-size: clamp(32px, 9.2vw, 40px);
    letter-spacing: -0.025em;
  }

  .display-paint {
    overflow: hidden;
  }

  .display-paint .paint-options {
    width: 100%;
    padding: 4px 3px 7px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    scroll-snap-type: x proximity;
  }

  .display-paint .paint-button {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 5px;
    scroll-snap-align: center;
  }

  .display-paint .paint-swatch {
    width: 32px;
    height: 32px;
  }

  #configurator-stage:not(.is-spin-active)[data-design="standard"] .spin-viewer > img,
  #configurator-stage:not(.is-spin-active)[data-design="amg-line"] .spin-viewer > img {
    transform: translate(-5%, -6%) scale(1.1);
  }

  #configurator-stage:not(.is-spin-active)[data-design="maybach"] .spin-viewer > img {
    transform: translate(0, -6%) scale(1.08);
  }

  #detail-stage[data-view="wheel"][data-wheel-display="closeup"] > img {
    top: 37%;
    width: min(58%, 220px);
    height: min(66%, 220px);
    transform: translate(-50%, -50%);
  }

  #detail-stage[data-view="wheel"][data-wheel-display="closeup"] .detail-stage-caption {
    min-height: 80px;
    padding: 26px 14px 12px;
  }

  #interior-stage[data-view="trim"][data-trim-display="closeup"] > img {
    transform: scale(1.34);
    transform-origin: 65% 62%;
  }

  #interior-stage[data-view="trim"][data-trim-display="closeup"][data-design="maybach"] > img {
    transform: scale(1.3);
    transform-origin: 62% 60%;
  }

  #interior-stage[data-view="trim"][data-trim-display="closeup"] .detail-stage-caption {
    min-height: 80px;
    padding: 26px 14px 12px;
  }

  .edition-package > p {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }
}
