.spotlight-dialog {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: rgba(17, 20, 23, .22) transparent;
  scrollbar-width: thin;
}

.spotlight-dialog[open] {
  display: flex;
  flex-direction: column;
}

.spotlight-shell {
  position: relative;
  order: 2;
  flex: 0 0 100vh;
  height: 100vh;
  min-height: 700px;
}

.spotlight-next-section {
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  color: rgba(17, 20, 23, .46);
  font-size: 8px;
  transform: translateX(-50%);
}

.spotlight-dialog:not(.has-assembly-story) .spotlight-next-section { display: none; }

.assembly-story {
  --assembly-progress: 0;
  position: relative;
  order: 1;
  flex: 0 0 500vh;
  height: 500vh;
  min-height: 3500px;
  background: #f6f6f3;
  color: #111417;
}

.assembly-story[hidden] { display: none; }

.assembly-story::after {
  display: none;
}

.assembly-sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(310px, .9fr);
  width: 100%;
  height: 100vh;
  min-height: 700px;
  padding: 4.8vh 4.5vw 4vh;
  overflow: hidden;
  isolation: isolate;
}

.assembly-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(17, 20, 23, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 20, 23, .035) 1px, transparent 1px);
  background-size: 8vw 8vw;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.25) 68%, transparent);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.25) 68%, transparent);
}

.assembly-heading {
  position: absolute;
  z-index: 12;
  top: 5.5vh;
  left: 4.5vw;
  width: 30vw;
  pointer-events: none;
}

.assembly-heading p {
  margin: 0 0 8px;
  color: #8a6516;
  font-size: 8px;
  text-transform: uppercase;
}

.assembly-heading h2 {
  max-width: 29vw;
  margin: 0;
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.assembly-route {
  position: absolute;
  z-index: 14;
  left: 31.5%;
  top: 50%;
  display: grid;
  grid-template-columns: auto 44px auto 44px auto;
  align-items: center;
  gap: 8px;
  width: 330px;
  color: #3d454a;
  font-size: 7px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.assembly-route i { height: 1px; background: rgba(17, 20, 23, .28); }
.assembly-route strong { color: #8a6516; font-weight: 700; }

.assembly-visual {
  position: absolute;
  z-index: 2;
  inset: 0 31% 0 0;
  overflow: visible;
}

.assembly-axis {
  position: absolute;
  z-index: 0;
  background: rgba(17, 20, 23, .11);
}

.axis-horizontal { left: 9%; right: 3%; top: 50%; height: 1px; }
.axis-vertical { top: 10%; bottom: 8%; left: 46%; width: 1px; }

.assembly-ghost {
  position: fixed;
  z-index: -1;
  top: -2.5vh;
  left: 4vw;
  width: 76vw;
  overflow: hidden;
  color: rgba(17, 20, 23, .028);
  font-size: clamp(90px, 12vw, 185px);
  font-weight: 750;
  line-height: .75;
  white-space: nowrap;
  text-transform: uppercase;
}

.assembly-product,
.assembly-item {
  --reel-y: 0vh;
  --reel-x: 0vw;
  --reel-rotate: 0deg;
  --reel-scale: 1;
  --reel-opacity: 1;
  --reel-blur: 0px;
  position: absolute;
  left: 46%;
  top: 52%;
  opacity: var(--reel-opacity);
  filter: blur(var(--reel-blur));
  transform: translate(-50%, -50%) translate(var(--reel-x), var(--reel-y)) scale(var(--reel-scale)) rotate(var(--reel-rotate));
  transition: filter .12s linear, opacity .12s linear;
  will-change: transform, opacity, filter;
}

.assembly-product {
  width: min(58vw, 790px);
  height: 60vh;
  object-fit: contain;
  filter: blur(var(--reel-blur)) drop-shadow(0 34px 28px rgba(25, 34, 40, .22));
  pointer-events: none;
}

.assembly-item {
  display: block;
  width: min(36vw, 540px);
  height: min(55vh, 500px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111417;
}

.assembly-item img {
  display: block;
  width: 100%;
  height: calc(100% - 34px);
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
}

.assembly-pfd { width: min(31vw, 460px); }
.assembly-pfd img,
.assembly-audio img { object-fit: cover; }
.assembly-audio { width: min(35vw, 510px); }
.assembly-linq { width: min(34vw, 500px); }
.assembly-cover { width: min(43vw, 620px); }

.spotlight-dialog[open] .assembly-visual { animation: assemblyCanvasIn 1.15s cubic-bezier(.16, 1, .3, 1) both; }
.spotlight-dialog[open] .assembly-narrative { animation: assemblyCopyIn .8s .2s cubic-bezier(.16, 1, .3, 1) both; }

.assembly-item-index {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(10, 14, 17, .84);
  color: #fff;
  font-size: 8px;
}

.assembly-item-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 34px;
  padding: 8px 2px 0;
  border-top: 1px solid rgba(17, 20, 23, .28);
  text-align: left;
}

.assembly-item-label strong { font-size: 9px; text-transform: uppercase; }
.assembly-item-label small { color: #687178; font-size: 7px; text-transform: uppercase; }
.assembly-item[data-included="true"] .assembly-item-label small { color: #8a6516; }
.assembly-item.active .assembly-item-label { border-top-color: #b88419; }

.assembly-narrative {
  position: relative;
  z-index: 15;
  grid-column: 2;
  align-self: center;
  min-height: 470px;
  padding: 1vh 0 0 2.4vw;
  border-left: 1px solid rgba(17, 20, 23, .18);
}

.assembly-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: #7b858c;
  font-size: 8px;
}

.assembly-step span:first-child { color: #9a6e12; }
.assembly-step i { height: 1px; background: rgba(17, 20, 23, .2); }
.assembly-narrative > p:first-of-type { margin: 8vh 0 12px; color: #8a6516; font-size: 8px; text-transform: uppercase; }

.assembly-narrative h3 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(34px, 3.7vw, 58px);
  line-height: .94;
  letter-spacing: 0;
}

#assembly-description {
  max-width: 390px;
  min-height: 74px;
  margin: 20px 0 0;
  color: #566169;
  font-size: 11px;
  line-height: 1.68;
}

.assembly-state {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 16px;
  margin-top: 26px;
  padding: 15px 0;
  border-top: 1px solid rgba(17, 20, 23, .18);
  border-bottom: 1px solid rgba(17, 20, 23, .18);
}

.assembly-state small { color: #7a848b; font-size: 7px; }
.assembly-state strong { font-size: 10px; line-height: 1.45; }

.assembly-narrative > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  padding-bottom: 5px;
  border-bottom: 1px solid #111417;
  font-size: 8px;
  text-transform: uppercase;
}

.assembly-narrative > a svg { width: 12px; }

.assembly-caveat {
  max-width: 390px;
  margin: 25px 0 0;
  color: #80898f;
  font-size: 7px;
  line-height: 1.55;
}

.assembly-progress {
  position: absolute;
  z-index: 16;
  right: 4.5vw;
  bottom: 4vh;
  left: 4.5vw;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
}

.assembly-progress > span { height: 1px; background: rgba(17, 20, 23, .16); }
.assembly-progress > span i { display: block; width: calc(var(--assembly-progress) * 100%); height: 2px; margin-top: -1px; background: #b88419; }
.assembly-progress strong { color: #656f76; font-size: 7px; text-transform: uppercase; }

/* The product and its motion carry this view; interface chrome stays deliberately quiet. */
.assembly-story { background: #fafaf8; }

.assembly-sticky::before,
.assembly-axis,
.assembly-ghost { display: none; }

.assembly-route {
  left: 31%;
  display: flex;
  width: auto;
  gap: 14px;
  color: rgba(17, 20, 23, .44);
  letter-spacing: 0;
}

.assembly-route i { display: none; }
.assembly-route strong { color: #111417; font-weight: 500; }

.assembly-heading p { color: rgba(17, 20, 23, .48); }
.assembly-heading h2 { font-weight: 500; }

.assembly-item-index {
  top: 6px;
  left: 6px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: rgba(17, 20, 23, .6);
  font-size: 8px;
  backdrop-filter: none;
}

.assembly-item-label {
  height: 30px;
  padding: 8px 0 0;
  border-top: 0;
}

.assembly-item.active .assembly-item-label { border-top: 0; }

.assembly-narrative {
  min-height: 440px;
  padding-left: 3.2vw;
  border-left: 0;
}

.assembly-step {
  display: flex;
  justify-content: space-between;
  color: rgba(17, 20, 23, .42);
}

.assembly-step i { display: none; }
.assembly-step span:first-child { color: #111417; }
.assembly-narrative > p:first-of-type { color: rgba(17, 20, 23, .48); }

.assembly-state {
  grid-template-columns: 105px minmax(0, 1fr);
  margin-top: 30px;
  padding: 0;
  border: 0;
}

.assembly-narrative > a {
  margin-top: 24px;
  padding-bottom: 0;
  border-bottom: 0;
}

.assembly-caveat { color: rgba(17, 20, 23, .4); }

.assembly-progress {
  left: auto;
  display: block;
}

.assembly-progress > span { display: none; }
.assembly-progress strong { color: rgba(17, 20, 23, .5); font-weight: 500; }

.assembly-story[data-line="atv"] .assembly-product {
  width: min(54vw, 760px);
  height: min(61vh, 590px);
  padding: 10px;
  object-fit: cover;
  background: #e4e7e4;
  filter: blur(var(--reel-blur));
}

.assembly-story[data-line="atv"] .assembly-item {
  display: grid;
  place-items: center;
  width: min(42vw, 590px);
  height: 210px;
  border-top: 1px solid rgba(17,20,23,.2);
  border-bottom: 1px solid rgba(17,20,23,.2);
}

.assembly-story[data-line="atv"] .assembly-item img { display: none; }

.assembly-story[data-line="atv"] .assembly-item-label {
  display: grid;
  justify-items: center;
  height: auto;
  padding: 0;
  text-align: center;
}

.assembly-story[data-line="atv"] .assembly-item-label strong {
  font-size: clamp(30px,4vw,58px);
  font-weight: 500;
  text-transform: none;
}

.assembly-story[data-line="atv"] .assembly-item-label small {
  margin-top: 12px;
  color: rgba(17,20,23,.46);
  font-size: 8px;
}

.spotlight-dialog.has-assembly-story .spotlight-close {
  border: 1px solid rgba(17, 20, 23, .26);
  background: rgba(250, 250, 248, .8);
  color: #111417;
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.spotlight-dialog.has-assembly-story .spotlight-close:focus-visible {
  outline: 1px solid rgba(17, 20, 23, .72);
  outline-offset: 4px;
}

.spotlight-dialog.has-assembly-story .spotlight-model-nav button {
  border: 1px solid rgba(17, 20, 23, .22);
  background: rgba(250, 250, 248, .76);
  color: #111417;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.spotlight-dialog.has-assembly-story .spotlight-model-nav span { color: rgba(17, 20, 23, .46); }
.spotlight-dialog.has-assembly-story .spotlight-model-nav strong { color: #111417; }

@keyframes assemblyCanvasIn {
  from { opacity: 0; transform: translateY(12vh) scale(.96); filter: blur(12px); }
  58% { filter: blur(2px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes assemblyCopyIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .assembly-sticky { grid-template-columns: minmax(0, 1.8fr) 330px; }
  .assembly-visual { right: 33%; }
  .assembly-route { left: 29%; }
  .assembly-product { width: 44vw; }
  .assembly-pfd,
  .assembly-audio,
  .assembly-linq,
  .assembly-cover { width: 29vw; }
}

@media (max-width: 520px) {
  .spotlight-dialog[open] { display: block; }
  .spotlight-shell { height: auto; min-height: 1200px; }
  .spotlight-next-section { display: none; }
  .assembly-story { height: auto; min-height: 0; }
  .assembly-sticky { position: relative; display: block; height: auto; min-height: 1320px; padding: 70px 5vw; }
  .assembly-route { top: 210px; left: 50%; width: 80vw; }
  .assembly-visual { inset: 180px 0 auto; height: 680px; }
  .assembly-product,.assembly-item { left: 50%; top: 46%; }
  .assembly-product { width: 92vw; }
  .assembly-item { width: 72vw; }
  .assembly-narrative { position: absolute; right: 5vw; bottom: 90px; left: 5vw; min-height: 0; padding: 35px 0 0; border-left: 0; border-top: 1px solid rgba(17, 20, 23, .18); }
  .assembly-progress { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .assembly-story { height: auto; min-height: 1100px; }
  .assembly-sticky { position: relative; }
}
