@font-face {
  font-family: Playfair;
  src: url("assets/playfair-display.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --navy: #0a1327;
  --indigo: #29295b;
  --gold: #c69e1e;
  --gold-light: #d9bc59;
  --lavender: #aba7c1;
  --white: #f1f0f7;
  --muted: #b4b6c6;
  --edge: clamp(24px, 4.2vw, 90px);
  --space: clamp(72px, 9vw, 160px);
  --line: #f1f0f72c;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --micro: 200ms;
  --interface: 450ms;
  --button-motion: 680ms;
  --signature: 1100ms;
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-gutter: stable;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font:
    400 1rem/1.55 Montserrat,
    Arial,
    sans-serif;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
p,
a {
  overflow-wrap: anywhere;
}
h1,
h2,
h3 {
  font-family: Playfair, Georgia, serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2.75rem, 4.8vw, 6rem);
}
em {
  font-style: italic;
  color: var(--gold-light);
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 6px;
}
main:focus,
section:focus {
  outline: none;
}
::selection {
  background: var(--gold);
  color: var(--navy);
}
.eyebrow {
  font-size: 0.6875rem;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip-link:focus {
  position: fixed;
  inset: 15px auto auto 15px;
  z-index: 100;
  padding: 12px;
  background: var(--white);
  color: var(--navy);
}

/* Navigation */
.site-header {
  min-height: 84px;
  padding: 12px var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: #0a1327f5;
  border-bottom: 1px solid #c69e1e80;
}
.brand {
  flex-shrink: 0;
  padding: 5px 0;
}
.brand img {
  width: 132px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 40px);
}
.desktop-nav > a {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  position: relative;
  padding: 14px 0;
}
.desktop-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--interface) var(--ease);
}
.desktop-nav > a:is(:hover, :focus-visible, .active)::after {
  transform: scaleX(1);
}
.desktop-nav .nav-contact {
  color: var(--gold-light);
}
.nav-contact span {
  margin-left: 10px;
  font-size: 1rem;
}
.menu-toggle {
  display: none;
}
.mobile-menu {
  border: 0;
  background: transparent;
  color: var(--white);
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.mobile-menu::backdrop { background: transparent; }
.mobile-menu-panel {
  position: absolute;
  inset: 76px 0 0;
  background: #0a1327;
  border-top: 1px solid #c69e1e80;
  padding: clamp(26px, 6vh, 64px) var(--edge) 32px;
  overflow-y: auto;
}
.mobile-menu-top {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 var(--edge);
}
.menu-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border: 1px solid var(--line);
  font-size: 28px;
  line-height: 1;
}
.mobile-menu-label { color: var(--gold-light); }
.mobile-menu nav { display: flex; flex-direction: column; margin: 30px 0; }
.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 400 clamp(1.5rem, 6.4vw, 3rem)/1.2 Playfair, serif;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a::after { content: "↗"; font: 400 20px Montserrat, sans-serif; color: var(--gold-light); }
.mobile-menu-contact > a { color: var(--gold-light); display: inline-block; padding: 12px 0; }
.mobile-menu-contact p { font-size: .8125rem; color: var(--muted); }

/* A single automotive stage. */
.hero {
  --vehicle-ground: clamp(170px, 21vh, 245px);
  height: calc(100svh - 84px);
  min-height: 660px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 45%, #24294250, transparent 58%);
}
.hero-topline {
  position: absolute;
  left: var(--edge);
  top: 25px;
  z-index: 5;
}
.hero-topline .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}
.gold-line {
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.hero-model {
  position: absolute;
  left: 39%;
  top: 18%;
  max-width: 61%;
  font:
    400 clamp(8rem, 19vw, 23rem)/1 Playfair,
    Georgia, serif;
  letter-spacing: normal;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px #aba7c14d;
  user-select: none;
  z-index: 1;
  width: 61%;
  height: 1.12em;
}
.hero-model span {
  display: block;
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
}
.model-next { opacity: 0; }
.hero-copy {
  position: absolute;
  left: var(--edge);
  bottom: var(--vehicle-ground);
  z-index: 5;
  pointer-events: none;
}
.hero-copy h1 {
  font-size: clamp(4.5rem, 7.3vw, 8.5rem);
  letter-spacing: normal;
  line-height: 0.98;
}
.hero-copy > p {
  font-size: 0.9375rem;
  color: #c5c7d1;
  line-height: 1.5;
  margin: 22px 0 27px;
}
.hero-copy a {
  pointer-events: auto;
}
.car-stage {
  position: absolute;
  inset: 8% 0 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000);
}
.car {
  position: absolute;
  inset: 0 1.5% 0 32%;
  opacity: 0;
  transform: translateX(130%);
}
.car.is-current {
  opacity: 1;
  transform: translateX(0);
}
/* Each cutout rests on the same baseline, compensating its transparent margin. */
.car-body {
  position: absolute;
  --car-width: 88%;
  width: var(--car-width);
  left: calc((100% - var(--car-width)) / 2);
  bottom: var(--vehicle-ground);
  --clearance: 9.889%;
  --front-contact: 21.6%;
  --rear-contact: 76.6%;
}
.car.is-current .car-body { pointer-events: auto; cursor: grab; touch-action: pan-y; }
.hero.is-dragging .car-body { cursor: grabbing; }
.hero.is-shifting .car-body { pointer-events: none; }
.car[data-car="1"] .car-body { --clearance: 9.838%; --car-width: 86%; --front-contact: 21.3%; --rear-contact: 77%; }
.car[data-car="2"] .car-body { --clearance: 15.035%; --car-width: 89.5%; --front-contact: 23.7%; --rear-contact: 78.3%; }
.car-body > img {
  width: 100%;
  transform: translateY(var(--clearance));
  filter: brightness(.94) saturate(.88) drop-shadow(0 2px 2px #0006);
  user-select: none;
}
.car-body::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0; right: 0; bottom: -2%; height: 5%;
  background:
    radial-gradient(ellipse at var(--front-contact) 50%, #000d 0%, transparent 12%),
    radial-gradient(ellipse at var(--rear-contact) 50%, #000d 0%, transparent 12%),
    radial-gradient(ellipse at 50% 45%, #0008, #0005 35%, transparent 68%);
}

.hero-floor {
  position: absolute;
  z-index: 0;
  inset: 0 0 8%;
  pointer-events: none;
  background: url("assets/hero-chateau-v1.webp") center / cover no-repeat;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 82%, transparent);
}
.hero-floor::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #0a1327 0%, #0a132700 34%),
    linear-gradient(90deg, #0a1327dc 0%, #0a132799 30%, #0a132733 65%, #0a13274d),
    linear-gradient(180deg, #0a132799, #0a132700 40%);
}

.hero-bottom {
  position: absolute;
  bottom: 34px;
  left: var(--edge);
  right: var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 95px;
}
.car-controls {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 40px);
}
.car-choice {
  border: 0;
  background: none;
  padding: 16px 0;
  font-size: 0.75rem;
  color: var(--muted);
  min-height: 48px;
}
.car-choice.selected {
  color: var(--white);
}
.car-choice span {
  font-size: 0.625rem;
  margin-right: 9px;
  color: var(--gold-light);
}
.model-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #aba7c135;
}
.model-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}
.scroll-cue svg {
  width: 25px;
  height: 50px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: scroll-cue 1.8s var(--ease) infinite;
}
.scroll-stem {
  opacity: 0.75;
}
@keyframes scroll-cue {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}
.instrument {
  width: 110px;
  height: 90px;
  margin-left: auto;
}
.instrument svg {
  width: 100%;
  height: 100%;
  fill: var(--gold-light);
}
#dial-ticks line {
  stroke: var(--lavender);
  stroke-width: 1;
}
.dial-red {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
}
.dial-needle {
  stroke: var(--gold-light);
  stroke-width: 2;
  transform-origin: 52px 52px;
}
.instrument text {
  font:
    400 20px Montserrat,
    sans-serif;
  fill: var(--white);
}
.instrument .dial-gears text {
  font-size: 7px;
  fill: var(--muted);
}
/* One button shape. The arrow's field expands underneath the label. */
.button {
  --fill: var(--gold-light);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 58px;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 23px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition:
    color var(--button-motion),
    border-color var(--button-motion);
}
.button-white,
.button-silver {
  --fill: #dcd8eb;
  border-color: #c9cbd6;
  color: var(--white);
}
.button::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: var(--fill);
  clip-path: circle(0 at calc(100% - 39px) 50%);
  transition: clip-path var(--button-motion) var(--ease);
}
.button-label {
  line-height: 1.4;
}
.button-arrow {
  width: 24px;
  flex-shrink: 0;
  transition: transform var(--button-motion) var(--ease);
}
.button-arrow svg {
  display: block;
  width: 100%;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.button:is(:hover, :focus-visible)::before {
  clip-path: circle(150% at calc(100% - 39px) 50%);
}
.button:is(:hover, :focus-visible) {
  color: var(--navy);
  border-color: var(--fill);
}
.button:is(:hover, :focus-visible) .button-arrow {
  transform: translateX(5px);
}

/* The statement and the house share one editorial composition. */
.collection-band {
  padding: var(--space) var(--edge) 90px;
  position: relative;
}
.collection-band .eyebrow {
  color: var(--muted);
  margin-left: 17%;
}
.collection-band h2 {
  font-size: clamp(3rem, 6.8vw, 8rem);
  line-height: 1;
  margin: 30px 0 38px;
  color: var(--gold-light);
  background: linear-gradient(
    110deg,
    #cba848 10%,
    #d9bc59 37%,
    #fff4c6 49%,
    #d9bc59 59%,
    #cba848 85%
  );
  background-size: 250% 100%;
  background-position: 100% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.collection-band h2 em {
  display: inline-block;
  margin-left: 17%;
}
.collection-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}
.maison {
  display: flex;
  align-items: center;
  gap: 6vw;
  padding: 0 var(--edge) var(--space) 0;
}
.maison-photo {
  width: 59%;
  flex-shrink: 0;
  position: relative;
  aspect-ratio: 1.3;
  overflow: hidden;
}
.maison-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 50%;
}
.maison-photo::after {
  content: "";
  position: absolute;
  inset: 60% 0 0;
  background: linear-gradient(transparent, #0a1327c9);
}
.maison-photo figcaption {
  position: absolute;
  bottom: 24px;
  left: var(--edge);
  right: 24px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.625rem;
}
.maison-copy {
  flex: 1;
  min-width: 0;
  padding-top: 40px;
}
.maison-copy h2 {
  margin: 20px 0 24px;
  line-height: 0.94;
}
.maison-copy > p:not(.eyebrow) {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #c5c7d1;
  max-width: 32em;
}
.maison-copy .button {
  margin-top: 28px;
}

/* Three photographic cards, with a quiet editorial frame. */
.journal {
  padding: 0 var(--edge);
  --journey: 0.4;
}
.journal-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 50px;
}
.journal h2 { font-size: clamp(2.75rem, 4.6vw, 5.5rem); }
.journal h2 em,
.services h2 em,
.visit h2 em { color: var(--lavender); }
.journal-intro .eyebrow { padding-bottom: 8px; }
.journal-stories {
  width: 94%;
  margin-inline: auto;
  display: flex;
  gap: 2.2vw;
  align-items: stretch;
}
.journal-story { flex: 1; min-width: 0; }
.story-photo {
  display: block;
  position: relative;
  isolation: isolate;
  aspect-ratio: 4/4.8;
  overflow: hidden;
  border: 1px solid #aba7c14a;
  transition: border-color var(--interface);
}
.story-photo img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  transform: translateY(calc(-2% - var(--journey) * 10%));
}
.journal-story:nth-child(2) .story-photo img {
  transform: translateY(calc(-12% + var(--journey) * 10%));
}
.story-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0a132799, transparent 30%, transparent 42%, #0a132799 72%, #0a1327f5 100%);
  pointer-events: none;
}
.journal-number {
  position: absolute;
  top: 24px;
  left: 26px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-light);
  font: 400 1.625rem/1 Playfair, Georgia, serif;
}
.journal-number::after {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: .65;
}
.story-caption {
  position: absolute;
  z-index: 1;
  inset: auto 24px 30px;
  padding-right: 28px;
}
.journal h3 {
  font-size: clamp(1.75rem, 3.1vw, 3.5rem);
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 13px;
}
.story-caption p {
  font-size: clamp(.625rem, .7vw, .75rem);
  text-transform: uppercase;
  letter-spacing: .14em;
  line-height: 1.7;
  color: #e0e0e9;
}
.story-open {
  position: absolute;
  right: 24px;
  bottom: 62px;
  z-index: 1;
  width: 28px;
  height: 28px;
  color: var(--gold-light);
  transition: transform var(--interface) var(--ease);
}
.story-open svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.story-photo:is(:hover, :focus-visible) { border-color: var(--gold-light); }
.story-photo:is(:hover, :focus-visible) .story-open { transform: translateX(5px); }
.story-photo:focus-visible { outline-offset: 5px; }
.journey-track {
  position: relative;
  height: 32px;
  margin: 88px 0 var(--space);
}
.journey-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: #aba7c140;
}
.journey-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: linear-gradient(90deg, #c69e1e66, var(--gold-light));
  box-shadow: 0 0 8px #c69e1e4d;
  transform: scaleX(0);
  transform-origin: left;
}
.journey-marker {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 84px;
  height: auto;
  max-width: none;
  pointer-events: none;
}

.services {
  padding: 0 var(--edge) var(--space);
  display: flex;
  justify-content: space-between;
  gap: 8vw;
}
.services-heading {
  width: 38%;
}
.services h2 {
  margin: 26px 0 24px;
}
.services-heading > p:not(.eyebrow) {
  font-size: 0.9375rem;
  color: var(--muted);
}
.services .button {
  margin-top: 28px;
}
.service-list {
  flex: 1;
  min-width: 0;
  padding-top: 20px;
}
.service {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.service:first-child {
  border-top: 1px solid var(--line);
}
.service-number {
  align-self: flex-start;
  font-size: 0.6875rem;
  color: var(--gold-light);
  padding-top: 8px;
}
.service h3 {
  font-size: clamp(1.5rem, 2.3vw, 2.5rem);
  transition: color var(--micro);
}
.service p {
  font-size: 0.8125rem;
  margin-top: 10px;
  color: var(--muted);
}
.service-arrow {
  font-size: 1.5rem;
  margin-left: auto;
  transition: transform var(--interface) var(--ease);
}
.service:is(:hover, :focus-visible) h3 {
  color: var(--gold-light);
}
.service:is(:hover, :focus-visible) .service-arrow {
  transform: translate(4px, -4px);
}

/* The showroom map stays within its own aligned section. */
.visit {
  position: relative;
  padding: 0 var(--edge) var(--space);
  display: flex;
  align-items: stretch;
  gap: 7vw;
  isolation: isolate;
}
.visit-copy {
  width: 36%;
  padding: 0;
}
.visit h2 {
  font-size: clamp(3.5rem, 6vw, 7rem);
  margin: 26px 0;
}
.visit-intro {
  font-size: 0.9375rem;
  color: #c5c7d1;
}
.visit address {
  font-style: normal;
  font-size: 0.9375rem;
  margin: 28px 0 22px;
}
.hours {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 0.75rem;
  line-height: 2;
}
.hours > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.visit .button {
  margin-top: 26px;
}
.map-wrap {
  max-width: 560px;
  align-self: center;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  margin-left: auto;
  position: relative;
  z-index: 2;

}
.map {
  flex: none;
  min-height: 0;
  aspect-ratio: 1;
  width: 100%;
  border: 3px solid #ececf0b3;
  box-shadow: 0 0 0 8px #ffffff08;
  border-radius: 50%;
  isolation: isolate;
  position: relative;
  background: #b4c1d3;
  color: var(--navy);
  overflow: hidden;
}
.map-fallback,
.map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-fallback {
  object-fit: cover;
}
.map-canvas {
  opacity: 0;
  transition: opacity var(--interface);
}
.map[data-ready] .map-canvas {
  opacity: 1;
}
.map-notice {
  position: absolute;
  left: 17%;
  right: 17%;
  bottom: 12%;
  background: var(--white);
  padding: 12px;
  font-size: 0.6875rem;
  line-height: 1.4;
  text-align: center;
}
.map-pin {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.map-pin svg {
  display: block; width: 28px; height: 38px;
  filter: drop-shadow(0 2px 3px #0a132744);
  transform-origin: 50% 100%; transition: transform var(--micro);
}
.map-pin:hover svg { transform: scale(1.1); }
.map-pin:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.map-credits { font-size: .5625rem; text-align: center; color: var(--muted); padding-top: 18px; }
.map-credits a { text-decoration: underline; text-underline-offset: 3px; }
.maplibregl-popup-content {
  width: 210px;
  max-width: calc(100vw - 96px);
  font-family: Montserrat, Arial, sans-serif;
  padding: 24px !important;
  color: var(--navy);
  font-size: 0.75rem;
}
.maplibregl-popup-content strong {
  white-space: nowrap;
  font-family: Playfair, serif;
  font-size: 1.375rem;
  font-weight: 400;
}
.maplibregl-popup-content p {
  margin: 8px 0;
}
.maplibregl-popup-content a {
  display: inline-block;
  padding: 12px 0;
  text-decoration: underline;
}
.maplibregl-popup-close-button {
  width: 32px;
  height: 32px;
  font-size: 1.125rem;
}
.map :focus-visible {
  outline-color: var(--navy);
  outline-offset: -4px;
}
.maplibregl-canvas:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -8px;
}

.footer {
  background: var(--lavender);
  color: var(--navy);
  padding: 85px var(--edge) 0;
  overflow: hidden;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.footer-top > div {
  min-width: 0;
  max-width: 100%;
}
.footer-top .eyebrow {
  font-size: 0.625rem;
  color: #30384e;
}
.footer h2 {
  font-size: clamp(3rem, 5.5vw, 6rem);
  margin-top: 24px;
}
.footer h2 em {
  color: var(--indigo);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  width: 34%;
  padding-top: 24px;
}
.footer-contact > a {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 1.125rem;
  min-height: 48px;
  align-items: center;
}
.footer-contact > a span {
  transition: transform var(--interface) var(--ease);
}
.footer-contact > a:is(:hover, :focus-visible) span {
  transform: translate(4px, -4px);
}
.footer-contact .footer-instagram {
  font-size: 0.75rem;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #0a13272e;
}
.footer :focus-visible {
  outline-color: var(--navy);
}
.footer-wordmark {
  font:
    400 clamp(75px, 18vw, 390px)/1.25 Playfair,
    serif;
  letter-spacing: normal;
  white-space: nowrap;
  margin: 50px 0 0 -0.025em;
}
.footer-bottom {
  border-top: 1px solid #0a13272e;
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  font-size: 0.6875rem;
  color: #30384e;
}
.footer-bottom a {
  padding: 12px 0;
}
.ghostoli-signature { letter-spacing: normal; }
.ghostoli-signature a { text-decoration: underline; text-underline-offset: 3px; }
.footer-wordmark .letter { display: inline-block; }
.footer-wordmark.is-waiting .letter { opacity: 0; transform: translateY(.35em); }
.footer-wordmark.is-revealed .letter { animation: wordmark-letter 650ms var(--ease) both; animation-delay: calc(var(--letter) * 65ms); }
@keyframes wordmark-letter { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: translateY(0); } }

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}
.back-top span {
  font-size: 1rem;
  transition: transform var(--button-motion) var(--ease);
}
.back-top:is(:hover, :focus-visible) span {
  transform: translateY(-5px);
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 18px;
  }
  .desktop-nav > a {
    font-size: 0.625rem;
  }
  .hero-copy h1 {
    font-size: 5rem;
  }
  .car {
    left: 35%;
  }
  .maison {
    gap: 4vw;
  }
  .maison-copy h2 {
    font-size: 3rem;
  }
  .maison-photo figcaption {
    flex-direction: column;
    gap: 4px;
  }
  .services {
    gap: 5vw;
  }
  .service {
    gap: 16px;
  }
  .visit {
    gap: 4vw;
  }
  .visit-copy {
    width: 42%;
  }
}
@media (max-width: 900px) {
  .site-header {
    min-height: 76px;
  }
  .brand img {
    width: 124px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: none;
  }
  .menu-toggle span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--white);
  }
  .hero {
    height: auto;
    min-height: calc(100svh - 76px);
    padding: 22px var(--edge) 8px;
    display: grid;
    grid-template-rows: auto auto auto minmax(225px, 1fr) auto auto;
    align-content: stretch;
  }
  .hero-topline {
    position: static;
    grid-row: 1;
  }
  .hero-topline .eyebrow {
    font-size: 0.5625rem;
    letter-spacing: 0.11em;
    gap: 10px;
  }
  .hero-copy {
    display: contents;
  }
  .hero-copy h1 {
    grid-row: 2;
    font-size: clamp(3.5rem, 11vw, 6rem);
    margin-top: 32px;
    z-index: 5;
  }
  .hero-copy > p {
    grid-row: 3;
    font-size: 0.8125rem;
    margin: 18px 0 0;
    z-index: 5;
  }
  .hero-copy .button {
    grid-row: 5;
    justify-self: start;
    z-index: 5;
    margin: 8px 0 24px;
  }
  .hero-model {
    left: 8%;
    top: 43%;
    max-width: 92%;
    width: 92%;
    font-size: clamp(5.5rem, 24vw, 12rem);
  }
  .car-stage {
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000);
    position: relative;
    inset: auto;
    grid-row: 4;
    width: calc(100% + var(--edge) * 2);
    margin-left: calc(var(--edge) * -1);
    height: clamp(225px, 46vw, 370px);
    align-self: center;
  }
  .car { inset: 0; }
  .car-body { bottom: 20%; }

  .hero-bottom {
    position: relative;
    inset: auto;
    grid-row: 6;
    min-width: 0;
    width: 100%;
    height: 72px;
    gap: 12px;
  }
  .car-controls {
    gap: 16px;
  }
  .car-choice {
    font-size: 0.625rem;
  }
  .car-choice span {
    font-size: 0.5625rem;
    margin-right: 5px;
  }
  .instrument {
    width: 78px;
    height: 65px;
    flex-shrink: 0;
  }
  .scroll-cue {
    left: auto;
    right: 95px;
    transform: none;
    width: 32px;
    height: 44px;
  }
  .scroll-cue svg {
    height: 36px;
  }
  .collection-band {
    padding-top: 85px;
    padding-bottom: 64px;
  }
  .collection-band .eyebrow {
    margin-left: 0;
  }
  .collection-band h2 {
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    margin: 24px 0 32px;
  }
  .collection-band h2 em {
    margin-left: 6%;
  }
  .collection-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }
  .maison {
    gap: 0;
    display: block;
    padding: 0 0 var(--space);
  }
  .maison-photo {
    width: 90%;
    aspect-ratio: 1.4;
  }
  .maison-photo figcaption {
    flex-direction: row;
  }
  .maison-copy {
    padding: 38px var(--edge) 0 15%;
  }
  .maison-copy h2 {
    font-size: clamp(3rem, 7.5vw, 4.5rem);
  }
  .journal-intro {
    display: block;
    margin-bottom: 32px;
  }
  .journal h2 {
    font-size: clamp(2.5rem, 6.5vw, 4.5rem);
    margin-top: 22px;
  }
  .journal h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
  }
  .journal-number {
    top: 18px;
    left: 18px;
    font-size: 1.25rem;
  }
  .story-caption { inset: auto 18px 22px; }
  .story-open { right: 16px; bottom: 58px; width: 24px; }
  .services-heading {
    width: 38%;
  }
  .service-list {
    padding-top: 0;
  }
  .services h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }
  .service-number {
    display: none;
  }
  .visit h2 {
    font-size: clamp(3rem, 6vw, 4.5rem);
  }
  .footer-contact {
    width: 42%;
  }
}
@media (max-width: 600px) {
  .hero-copy h1 {
    font-size: clamp(2.1rem, 15vw, 5.5rem);
    margin-top: 28px;
  }
  .hero-copy .button {
    width: 100%;
    font-size: 0.625rem;
  }

  .hero-bottom {
    height: 80px;
    align-items: flex-start;
  }
  .car-controls {
    gap: 13px;
  }
  .car-choice span {
    display: none;
  }
  .car-choice {
    font-size: 0.6875rem;
  }
  .instrument {
    margin-top: -7px;
    width: 70px;
    height: 60px;
  }
  .scroll-cue {
    left: 50%;
    right: auto;
    bottom: -2px;
    transform: translateX(-50%);
    height: 30px;
  }
  .scroll-cue svg {
    height: 28px;
  }
  .button {
    font-size: 0.625rem;
    letter-spacing: .13em;
    gap: 20px;
    padding: 15px 19px;
  }
  .collection-band h2 {
    font-size: clamp(1.9rem, 8vw, 3rem);
  }
  .collection-band h2 em {
    margin-left: 0;
  }
  .collection-links {
    align-items: stretch;
    flex-direction: column;
  }
  .maison-photo {
    width: 100%;
    aspect-ratio: 1.05;
  }
  .maison-photo figcaption {
    font-size: 0.5625rem;
    right: var(--edge);
  }
  .maison-copy {
    padding: 34px var(--edge) 0;
  }
  .journal-stories {
    width: 100%;
    flex-direction: column;
    gap: 24px;
  }
  .journal-story {
    width: 100%;
  }
  .story-photo {
    aspect-ratio: 4/4.6;
  }
  .story-caption { inset: auto 24px 28px; }
  .story-caption p { font-size: .625rem; }
  .story-open { right: 22px; bottom: 62px; }
  .journal-number { top: 24px; left: 24px; }
  .journal h3 {
    font-size: 2rem;
  }
  .journal h2 {
    font-size: clamp(2.15rem, 9vw, 3rem);
  }
  .journey-track {
    margin: 65px 0 75px;
  }
  .services {
    flex-direction: column;
    gap: 36px;
  }
  .services-heading {
    width: 100%;
  }
  .services h2 {
    font-size: 3rem;
  }
  .service {
    padding: 24px 0;
  }
  .service h3 {
    font-size: 1.75rem;
  }
  .visit {
    flex-direction: column;
    gap: 24px;
    padding-bottom: 64px;
  }
  .visit-copy {
    width: 100%;
    padding: 0;
  }
  .visit h2 {
    font-size: 3.5rem;
  }
  .map-wrap {
    flex-basis: auto;
    width: 100%;
    transform: none;
    margin-top: 8px;
  }
  .footer {
    padding-top: 64px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer h2 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
  .footer-contact {
    width: 100%;
    padding-top: 0;
  }
  .footer-top .eyebrow {
    font-size: 0.5625rem;
  }
  .footer-wordmark {
    font-size: 17vw;
    margin: 38px 0 16px;
  }
  .footer-bottom {
    grid-template-columns: 1fr auto;
    gap: 10px;
    font-size: 0.625rem;
  }
  .footer-bottom > span:nth-child(2),
  .ghostoli-signature {
    grid-column: 1 / -1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .story-photo img,
  .journal-story:nth-child(2) .story-photo img {
    transform: translateY(-7%);
  }
}

/* The opening curtains never outlive the fail-safe in the document head. */
.intro-screen { display: none; }
.intro-pending body { overflow: hidden; }
.intro-pending .intro-screen {
  position: fixed; inset: 0; z-index: 100; width: 100vw;
  display: grid; place-items: center;
}
.intro-door {
  position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden;
  background: #080f1e;
  transition: transform 1100ms cubic-bezier(.76,0,.24,1);
}
.intro-door-left { left: 0; }
.intro-door-right { right: 0; }
.intro-screen { --wheel-size: min(84vmin, 820px); }
.intro-wheel-half {
  position: absolute;
  top: 50%;
  width: var(--wheel-size);
  height: var(--wheel-size);
  transform: translate(-50%, -50%);
}
.intro-door-left .intro-wheel-half { left: 100%; }
.intro-door-right .intro-wheel-half { left: 0; }
/* Align the actual wheel bounds without changing the supplied PNG. */
.intro-wheel-half img {
  position: absolute; width: 120.345489%; height: 120.345489%; max-width: none;
  left: -9.644914%; top: -10.12476%; transform-origin: 49.561404% 49.960128%;
}
.intro-backdrop {
  position: absolute; top: 50%; width: 100vw; margin: 0;
  transform: translate(-50%, -50%); text-align: center; white-space: nowrap;
  font: 400 clamp(3rem, 15vw, 20rem)/1 Playfair, serif;
  letter-spacing: -.055em; color: rgba(239, 229, 207, .055); pointer-events: none;
}
.intro-door-left .intro-backdrop { left: 100%; }
.intro-door-right .intro-backdrop { left: 0; }
.intro-skip { position: absolute; right: var(--edge); bottom: 28px; padding: 12px 0; border: 0; background: none; font-size: .625rem; color: var(--muted); }
.intro-skip { opacity: 0; pointer-events: none; }
.intro-skip:focus-visible { opacity: 1; pointer-events: auto; }
.intro-skip span { margin-left: 10px; color: var(--gold-light); }
.intro-opening .intro-door-left { transform: translateX(-100%); }
.intro-opening .intro-door-right { transform: translateX(100%); }
.intro-opening .intro-skip { visibility: hidden; }
@media (max-width: 900px) and (min-width: 601px) {

  .visit { gap: 5vw; }
  .map { min-height: 0; }
}
@media (max-width: 600px) {
  .map { flex: none; min-height: 0; aspect-ratio: 1; }
  .maplibregl-popup-content { width: 190px; padding: 18px !important; }
  .maplibregl-popup-content strong { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-screen { display: none !important; }
  .intro-pending body { overflow: auto; }
  .footer-wordmark .letter { opacity: 1 !important; transform: none !important; }
}

/* Keep the location behind the vehicle row on narrow screens. */
@media (max-width: 900px) {
  .hero-floor {
    grid-row: 4 / 5; inset: 50% 0 auto;
    height: calc(clamp(225px, 46vw, 370px) + 160px);
    transform: translateY(calc(-50% - 80px));
    background-position: 28% center;
  }
  .hero-floor::after {
    background:
      linear-gradient(180deg, #0a1327 0%, #0a132733 40%, #0a132726 64%, #0a1327 100%);
  }
}
