/* ============================================
   SLOOP — Sub-page (Yarn / Fabric / Wear / Bed)
   ============================================ */

.sub-hero {
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.sub-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.sub-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46,31,23,0.45) 0%, rgba(46,31,23,0.75) 100%);
}

.sub-hero-content {
  position: relative;
  z-index: 2;
  color: var(--skin-ivory);
  width: 100%;
}
.sub-hero-content .eyebrow { color: var(--sage-green); }
.sub-hero-content h1 {
  color: var(--skin-ivory);
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 0.1em;
  /* text-transform removed — provide uppercase text in translations */
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1rem;
}
.sub-hero-content .sub-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: rgba(245,240,230,0.85);
  max-width: 600px;
}

/* Back link */
.back-link {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  /* text-transform removed — provide uppercase text in translations */
  margin-bottom: 3rem;
  color: rgba(245,240,230,0.7);
}
.back-link:hover { color: var(--skin-ivory); opacity: 1; }

/* Specs list */
.specs-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}
.spec-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(46,31,23,0.15);
  align-items: center;
}
.spec-row:last-child { border-bottom: 1px solid rgba(46,31,23,0.15); }
.spec-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--soft-olive);
  font-weight: 400;
}
.spec-text {
  font-size: 1.05rem;
  color: var(--deep-cocoa-soft);
  line-height: 1.6;
}

/* Two-column feature */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .feature-split { grid-template-columns: 1fr; }
}

.feature-split-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--collagen-beige-light);
}
.feature-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery Grid for sub-pages */
.sub-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 3rem;
}
@media (max-width: 700px) { .sub-gallery { grid-template-columns: repeat(2, 1fr); } }
.sub-gallery-item {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--collagen-beige);
}
.sub-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.sub-gallery-item:hover img { transform: scale(1.05); }

/* CTA panel */
.sub-cta {
  background: var(--sage-green);
  color: var(--pure-white);
  padding: var(--section-py) 0;
  text-align: center;
}
.sub-cta h2 { color: var(--pure-white); }
.sub-cta .eyebrow { color: rgba(255,255,255,0.85); }
.sub-cta .text-large { color: rgba(255,255,255,0.9); }
