.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 65px;
  z-index: 10;
}
.top-nav {
  display: flex;
  gap: 38px;
  font-size: 17px;
}
.top-nav a {
  position: relative;
}
.top-nav a::after {
  content: "";
  display: block;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.top-nav a:hover::after {
  transform: scaleX(1);
}
.compact-brand {
  display: none;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.08em;
}
.compact-brand span {
  color: var(--pink);
  font-size: 24px;
}
.menu-toggle {
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  height: 1px;
  width: 14px;
  background: white;
}
/* Separate layout rows keep the vehicle clear of the logo at wide, short viewports. */
.hero {
  height: 100svh;
  min-height: 680px;
  max-height: 1000px;
  padding: 100px var(--gutter) 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 5% 52%, #e5dcea99, transparent 45%),
    linear-gradient(160deg, #b6c9dd 0%, #dbe5ef 42%, #f3eff6 72%, white 100%);
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
}
.hero-brand {
  position: relative;
  display: block;
  width: clamp(240px, 29vw, 430px);
  mix-blend-mode: multiply;
  animation: hero-copy-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}
.hero-brand img {
  width: 100%;
  height: auto;
}
.hero-brand canvas {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-brand.logo-ready canvas {
  display: block;
}
.hero-brand.logo-ready img {
  visibility: hidden;
}
.logo-motion-pending .hero-brand img {
  visibility: hidden;
}
.logo-motion-pending .hero-brand canvas {
  display: block;
}
.hero-title {
  padding-right: 5%;
  animation: hero-copy-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}
.hero-title .eyebrow {
  font-size: 9px;
  margin-bottom: 16px;
}
.hero-title h1 {
  font-size: clamp(42px, 3.8vw, 62px);
  line-height: 0.98;
}
.hero-scene {
  position: relative;
  flex: 1;
  min-height: 0;
}
.vehicle-enter {
  position: absolute;
  inset: 0 6%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: vehicle-arrive 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-bus {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translate3d(var(--vehicle-x, 0px), var(--vehicle-y, 0px), 0) scale(var(--vehicle-scale, 1));
  will-change: transform;
}
.vehicle-shadow {
  position: absolute;
  left: 24%;
  width: 52%;
  bottom: 3%;
  height: 4%;
  border-radius: 50%;
  background: #554862;
  opacity: 0.17;
  filter: blur(22px);
  transform: translate3d(var(--shadow-x, 0px), 0, 0) scaleX(var(--shadow-scale, 1));
  transform-origin: center;
}
.horizon {
  position: absolute;
  inset: 60% -20% 0;
  background: radial-gradient(ellipse at center, #fff9, transparent 65%);
  transform: translate3d(0, var(--horizon-y, 0px), 0);
}
.road-curve {
  position: absolute;
  width: 120%;
  height: 27%;
  left: -10%;
  bottom: -2%;
  border-top: 1px solid #c8bacf66;
  border-radius: 50%;
  transform: translate3d(0, var(--road-y, 0px), 0) rotate(-6deg);
}
.hero-baseline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-shrink: 0;
  animation: hero-copy-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}
.hero-photos {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 22px;
}
.hero-photos span {
  font-size: 24px;
}
.menu-panel {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: 62.5vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 38px 7%;
  background: #faf9fc;
  overflow: auto;
}
.menu-panel[open] {
  animation: menu-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-bottom: 50px;
}
.menu-panel nav {
  display: grid;
}
.menu-panel nav a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(26px, 3.5vw, 54px);
  letter-spacing: -0.05em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu-panel nav a:hover {
  color: var(--pink);
}
.menu-panel nav span {
  font-size: 11px;
  letter-spacing: 0;
}
.menu-bottom {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}
.menu-bottom > span {
  color: var(--muted);
}
@keyframes vehicle-arrive {
  from {
    opacity: 0;
    transform: translateX(12%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes menu-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}
