:root {
  --bg: #eef1f4;
  --panel: rgba(255, 255, 255, 0.72);
  --text: #0f1722;
  --muted: #4f5d71;
  --accent: #1c4f9c;
  --accent-soft: #6d8fc6;
  --border: rgba(17, 37, 72, 0.12);
  --shadow: 0 18px 50px rgba(17, 37, 72, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  overflow-x: hidden;
  background: linear-gradient(180deg, #f6f8fb 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
}

.experience {
  min-height: 100%;
}

.intro-blank {
  height: 100vh;
  min-height: 560px;
  display: grid;
  place-items: end center;
  padding: 28px 22px 52px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(138, 167, 210, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(244, 248, 252, 0.98), rgba(238, 242, 247, 0.98));
}

.scroll-prompt-wrap {
  display: grid;
  place-items: center;
  gap: 10px;
  opacity: 0.86;
  transition: opacity 220ms ease;
}

.scroll-prompt {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-indicator {
  width: 26px;
  height: 42px;
  border: 1.4px solid rgba(79, 93, 113, 0.5);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}

.scroll-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(28, 79, 156, 0.75);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 0.9;
  }
  70% {
    transform: translateY(16px);
    opacity: 0.2;
  }
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }
}

.reveal-journey {
  position: relative;
  height: 430vh;
}

.reveal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 42px);
}

.scene-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 30% at 50% 62%, rgba(42, 76, 129, 0.12), transparent 76%),
    radial-gradient(70% 42% at 50% 14%, rgba(117, 148, 191, 0.23), transparent 74%);
  opacity: 0.16;
  transition: opacity 180ms linear;
}

.car-layer {
  margin: 0;
  position: absolute;
  width: min(1040px, calc(100% - 24px));
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  pointer-events: none;
}

.car-layer img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(9, 21, 42, 0.22));
}

.reveal-copy {
  position: absolute;
  left: min(72px, 6vw);
  top: min(74px, 8vh);
  z-index: 3;
  width: min(560px, calc(100% - 34px));
  opacity: 0;
  transform: translateY(20px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  gap: 8px;
}

#brandLogo {
  height: 20px;
  width: auto;
  display: block;
}

.brand-fallback {
  letter-spacing: 0.26em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text);
}

.reveal-copy h1,
.spec-band h2,
.final-note h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.06;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.reveal-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
}

.spec-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.spec-chip {
  padding: 10px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.detail-strip {
  position: absolute;
  right: min(70px, 6vw);
  bottom: min(42px, 6vh);
  display: grid;
  gap: 12px;
  width: min(350px, calc(100% - 36px));
  opacity: 0;
  transform: translateY(22px);
}

.detail-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.detail-card img {
  width: 100%;
  display: block;
}

.image-fallback {
  display: grid;
  place-items: center;
  min-height: 220px;
  background: linear-gradient(135deg, rgba(98, 126, 171, 0.2), rgba(17, 37, 72, 0.2));
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 16px;
}

.spec-band {
  margin: 24px auto 0;
  width: min(1080px, calc(100% - 26px));
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--panel);
  padding: clamp(18px, 2.8vw, 28px);
  backdrop-filter: blur(10px);
}

.spec-band-cards {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.spec-band-item {
  padding: 10px 14px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}

.final-note {
  margin: 20px auto 70px;
  width: min(1080px, calc(100% - 26px));
  padding: clamp(20px, 2.8vw, 30px);
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(238, 243, 249, 0.78));
}

.final-note p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 66ch;
}

.cta-btn {
  margin-top: 18px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #eef4ff;
  background: linear-gradient(135deg, var(--accent), #2f5fac);
  cursor: pointer;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(28, 79, 156, 0.25);
}

.cta-btn:focus-visible {
  outline: 2px solid #10428f;
  outline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (min-width: 1100px) {
  .detail-strip {
    grid-template-columns: 1fr 1fr;
    width: min(540px, calc(100% - 40px));
  }
}

@media (min-width: 700px) and (max-width: 1099px) {
  .reveal-journey {
    height: 450vh;
  }

  .car-layer {
    width: min(900px, calc(100% - 28px));
  }

  .reveal-copy {
    top: 48px;
  }

  .detail-strip {
    right: 18px;
    width: min(420px, calc(100% - 36px));
  }
}

@media (max-width: 699px) {
  .intro-blank {
    min-height: 520px;
    padding-bottom: 46px;
  }

  .reveal-journey {
    height: 470vh;
  }

  .car-layer {
    top: 54%;
    width: calc(100% - 16px);
  }

  .reveal-copy {
    top: 28px;
    left: 12px;
    width: calc(100% - 24px);
  }

  .detail-strip {
    left: 12px;
    right: 12px;
    bottom: 24px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .spec-band,
  .final-note {
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .scroll-prompt-wrap,
  .car-layer,
  .reveal-copy,
  .detail-strip {
    opacity: 1 !important;
    transform: none !important;
  }
}
