/* ============ DOOR STYLES INDEX — editorial, alternating plates ============ */

.sp-body { background: var(--offwhite); }

#nav.nav-solid { mix-blend-mode: normal; color: var(--graphite); background: rgba(242,242,240,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-solid .brand, .nav-solid .nav-link { color: var(--graphite); }
.nav-solid .nav-link-active { opacity: 1; border-bottom: 1px solid var(--graphite); padding-bottom: 3px; }
.nav-solid .nav-cta { color: var(--graphite); border-color: rgba(21,23,26,0.45); }
.nav-solid .nav-cta:hover { background: var(--graphite); color: var(--offwhite); border-color: var(--graphite); }

/* hero */
.sp-hero {
  padding: calc(80px + 8vh) clamp(20px, 7vw, 110px) 9vh;
  max-width: 1640px; margin: 0 auto;
  position: relative;
}
.sp-hero h1 {
  font-size: clamp(54px, 8.4vw, 132px);
  font-weight: 200;
  letter-spacing: -0.032em;
  line-height: 0.98;
  margin: 10px 0 26px;
}
.sp-sub { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--gray-1); max-width: 46ch; }
.sp-count {
  position: absolute; right: clamp(20px, 7vw, 110px); bottom: 9vh;
  font-size: 12px; letter-spacing: 0.34em; color: var(--gray-2);
}
.sp-count span { color: var(--graphite); font-weight: 500; }
.sp-in { opacity: 0; transform: translateY(28px); }

/* sticky rail */
.sp-rail {
  position: fixed;
  right: clamp(14px, 2.6vw, 38px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  opacity: 0;
  pointer-events: none;
}
.sp-rail-num {
  font-size: 12px; font-weight: 500; letter-spacing: 0.3em;
  color: var(--gray-1);
  writing-mode: vertical-rl;
}
/* drawn Phillips screw head (flat grey, fill defined in style.css) — spins
   rapidly as it tracks down the list, like drilling in */
.sp-rail-square { width: 16px; height: 16px; display: block; }

/* rows */
#sp-list { max-width: 1640px; margin: 0 auto; }
.sp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(26px, 4.5vw, 70px);
  padding: 7vh clamp(20px, 7vw, 110px);
}
.sp-row:nth-child(even) .sp-plate { order: 2; }
.sp-row:nth-child(even) .sp-info { order: 1; }

/* image plate + parallax door chip */
.sp-plate { position: relative; }
.sp-plate .sp-kitchen {
  width: 100%; aspect-ratio: 16 / 10;
  object-fit: cover; display: block;
  background: var(--stone);
  clip-path: inset(0 100% 0 0);   /* swept open on reveal */
}
.sp-row:nth-child(even) .sp-plate .sp-kitchen { clip-path: inset(0 0 0 100%); }
.sp-plate .sp-door {
  position: absolute;
  bottom: -7%;
  width: clamp(96px, 9.5vw, 168px);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid rgba(21,23,26,0.22);
  box-shadow: 0 28px 60px rgba(21,23,26,0.32);
  background: #fff;
  opacity: 0;
}
.sp-row:nth-child(odd) .sp-plate .sp-door { right: clamp(-26px, -1.6vw, -14px); }
.sp-row:nth-child(even) .sp-plate .sp-door { left: clamp(-26px, -1.6vw, -14px); }

/* info column */
.sp-info { position: relative; }
.sp-num {
  font-size: clamp(64px, 8vw, 128px);
  font-weight: 200;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(21,23,26,0.22);
  display: block;
  margin-bottom: 2vh;
}
.sp-name {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 250;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin-bottom: 12px;
}
.sp-tag {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gray-2);
  margin-bottom: 22px;
}
.sp-link {
  display: inline-block;
  color: var(--graphite); text-decoration: none;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 1px solid var(--gray-2);
  padding-bottom: 5px;
}
.sp-link:hover { border-color: var(--graphite); }
.sp-info > * { opacity: 0; transform: translateY(26px); }

/* outro */
.sp-outro {
  text-align: center;
  padding: 16vh clamp(20px, 7vw, 110px) 18vh;
}
.sp-outro h2 { font-size: clamp(38px, 4.6vw, 72px); font-weight: 200; margin-bottom: 18px; }
.sp-outro p { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--gray-1); max-width: 44ch; margin: 0 auto 36px; }
.sp-outro .cta-row { justify-content: center; }

/* responsive */
@media (max-width: 880px) {
  .sp-row { grid-template-columns: 1fr; gap: 22px; padding: 6vh 6vw; }
  .sp-row:nth-child(even) .sp-plate { order: 0; }
  .sp-row:nth-child(even) .sp-info { order: 0; }
  .sp-plate .sp-door { right: 12px !important; left: auto !important; bottom: -9%; }
  .sp-rail { display: none; }
  .sp-num { font-size: 56px; }
  .sp-count { position: static; margin-top: 26px; }
}
