/* ============================================================
   Home page sections — part 2
   ============================================================ */

/* ---------------- Services ---------------- */
.services-list { background: var(--stone); }
.service-row {
  display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 30px;
  padding: 30px 0; border-top: 1px solid var(--line-on-light);
  transition: background var(--dur-fast) var(--ease-soft);
  position: relative;
}
.service-row:last-child { border-bottom: 1px solid var(--line-on-light); }
.service-row .sr-num { font-family: var(--font-mono); color: var(--brass); font-size: 0.85rem; }
.service-row .sr-title { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 2rem); display: flex; align-items: center; gap: 16px; }
.service-row .sr-desc { max-width: 46ch; color: var(--text-on-light-soft); font-size: 0.92rem; margin-top: 8px; display: none; }
.service-row .sr-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-on-light); display: flex; align-items: center; justify-content: center; transition: all var(--dur-fast) var(--ease-soft); flex-shrink: 0; }
.service-row:hover { background: var(--paper); }
.service-row:hover .sr-arrow { background: var(--ink); color: var(--text-on-dark); border-color: var(--ink); transform: rotate(45deg); }
.service-thumb {
  position: fixed; width: 220px; height: 280px; pointer-events: none; z-index: 30; overflow: hidden;
  opacity: 0; transform: scale(0.92); transition: opacity 0.25s ease, transform 0.25s ease;
}
.service-thumb.show { opacity: 1; transform: scale(1); }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) {
  .service-row { grid-template-columns: 40px 1fr auto; }
  .service-thumb { display: none; }
}

/* ---------------- Style selector ---------------- */
.style-select { background: var(--ink); color: var(--text-on-dark); }
.style-select .section-head { color: inherit; }
.style-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6vw; align-items: start; }
.style-visual { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--ink-soft); }
.style-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease-soft); }
.style-visual img.active { opacity: 1; }
.style-visual-caption { position: absolute; left: 20px; bottom: 20px; z-index: 2; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; background: rgba(20,18,15,0.65); padding: 8px 14px; }
.style-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.style-tab {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 16px; border: 1px solid var(--line-on-dark); background: transparent; color: var(--text-on-dark-soft);
  transition: all var(--dur-fast) var(--ease-soft);
}
.style-tab.active, .style-tab:hover { border-color: var(--brass); color: var(--brass); }
.style-detail h3 { font-size: var(--step-2); }
.style-detail p { color: var(--text-on-dark-soft); margin-top: 14px; max-width: 48ch; }
.style-swatches { display: flex; gap: 10px; margin-top: 24px; }
.style-swatch { width: 34px; height: 34px; border: 1px solid var(--line-on-dark); }
.style-detail-row { display: flex; gap: 34px; margin-top: 26px; flex-wrap: wrap; }
.style-detail-row div { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-on-dark-soft); max-width: 22ch; }
.style-detail-row b { display: block; color: var(--brass); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; font-size: 0.68rem; }
@media (max-width: 860px) {
  .style-grid { grid-template-columns: 1fr; }
}

/* ---------------- Interactive room (simulated 3D) ---------------- */
.room-configurator { background: var(--stone); }
.room-stage {
  position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--ink); border: 1px solid var(--line-on-light);
}
.room-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s var(--ease-soft); }
.room-layer.active { opacity: 1; }
.room-tint { position: absolute; inset: 0; mix-blend-mode: multiply; opacity: 0; transition: opacity 0.6s var(--ease-soft); pointer-events: none; }
.room-tint.active { opacity: 0.35; }
.room-controls { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.room-control-group h4 { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-on-light-soft); margin-bottom: 14px; }
.room-control-options { display: flex; gap: 10px; flex-wrap: wrap; }
.room-opt {
  padding: 10px 16px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em;
  border: 1px solid var(--line-on-light); background: var(--paper); transition: all var(--dur-fast) var(--ease-soft);
}
.room-opt.active, .room-opt:hover { border-color: var(--brass); color: var(--brass); background: var(--stone); }
.room-cta-row { margin-top: 50px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .room-controls { grid-template-columns: 1fr; }
}

/* ---------------- Materials ---------------- */
.materials-strip { background: var(--ink); color: var(--text-on-dark); }
.materials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-on-dark); margin-top: 10px; }
.material-tile { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--ink-soft); }
.material-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-arch), filter .4s; filter: saturate(0.85); }
.material-tile:hover img { transform: scale(1.08); filter: saturate(1.1); }
.material-tile-info {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
  background: linear-gradient(0deg, rgba(15,13,10,0.88) 0%, rgba(15,13,10,0.05) 60%);
}
.material-tile-info h4 { font-family: var(--font-display); font-size: 1.05rem; }
.material-tile-info p { font-size: 0.78rem; color: var(--text-on-dark-soft); margin-top: 8px; max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-soft); }
.material-tile:hover .material-tile-info p, .material-tile:focus-within .material-tile-info p { max-height: 120px; }
.material-tile-info .m-app { font-family: var(--font-mono); font-size: 0.65rem; color: var(--brass); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 8px; }
@media (max-width: 860px) { .materials-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- Process timeline ---------------- */
.process-timeline { background: var(--stone); }
.timeline-track { position: relative; }
.timeline-line { position: absolute; left: 30px; top: 0; bottom: 0; width: 1px; background: var(--line-on-light); }
.timeline-line-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0%; background: var(--brass); transform-origin: top; }
.timeline-step { position: relative; padding-left: 90px; padding-bottom: 66px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: 22px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--stone); border: 1px solid var(--line-on-light); transition: all .4s var(--ease-soft); }
.timeline-step.in-view .timeline-dot { border-color: var(--brass); background: var(--brass); }
.timeline-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--brass); letter-spacing: 0.08em; }
.timeline-step h3 { margin-top: 8px; font-size: var(--step-1); }
.timeline-step p { margin-top: 10px; max-width: 52ch; color: var(--text-on-light-soft); }

/* ---------------- 3D visualization strip ---------------- */
.viz-strip { background: var(--ink); color: var(--text-on-dark); overflow: hidden; }
.viz-flow { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-on-dark-soft); margin-bottom: 50px; }
.viz-flow b { color: var(--brass); }
.viz-media { position: relative; aspect-ratio: 21/9; overflow: hidden; }
.viz-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.viz-media .viz-concept { clip-path: inset(0 0 0 0); filter: grayscale(0.5) brightness(0.8) contrast(1.1); }
.viz-media .viz-final { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-arch); }
.viz-media.in-view .viz-final { clip-path: inset(0 0 0 0); }
.viz-media-tag { position: absolute; bottom: 20px; left: 20px; z-index: 2; font-family: var(--font-mono); font-size: 0.7rem; background: rgba(20,18,15,0.7); padding: 8px 14px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------------- Numbers ---------------- */
.numbers-strip { background: var(--brass); color: var(--ink); }
.numbers-strip .section-label { color: rgba(20,18,15,0.65); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 46px; }
.number-card b { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4rem); display: block; }
.number-card span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.numbers-note { margin-top: 40px; font-family: var(--font-mono); font-size: 0.72rem; color: rgba(20,18,15,0.65); max-width: 60ch; }
@media (max-width: 760px) { .numbers-grid { grid-template-columns: 1fr 1fr; } }

/* ---------------- Testimonials ---------------- */
.testimonials { background: var(--stone); }
.testi-track { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 14px; }
.testi-card { flex: 0 0 min(520px, 84vw); scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line-on-light); padding: 40px; display: flex; flex-direction: column; gap: 26px; }
.testi-quote { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.4; }
.testi-who { display: flex; align-items: center; gap: 14px; }
.testi-who img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.testi-who b { display: block; font-size: 0.92rem; }
.testi-who span { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-on-light-soft); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------------- Journal ---------------- */
.journal { background: var(--stone); }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.journal-card-media { aspect-ratio: 4/3; overflow: hidden; }
.journal-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-arch); }
.journal-card:hover .journal-card-media img { transform: scale(1.06); }
.journal-card { display: block; }
.journal-tag { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brass); margin-top: 18px; display: block; }
.journal-card h3 { margin-top: 10px; font-size: 1.2rem; font-weight: 500; }
.journal-card p { margin-top: 10px; color: var(--text-on-light-soft); font-size: 0.9rem; }
@media (max-width: 900px) { .journal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .journal-grid { grid-template-columns: 1fr; } }

/* ---------------- FAQ ---------------- */
.faq { background: var(--ink); color: var(--text-on-dark); }
.faq .section-head { color: inherit; }
.faq-list { max-width: 820px; }
.faq-item { border-top: 1px solid var(--line-on-dark); }
.faq-item:last-child { border-bottom: 1px solid var(--line-on-dark); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: none; color: inherit; padding: 26px 0; text-align: left;
  font-family: var(--font-display); font-size: 1.1rem;
}
.faq-q .faq-plus { flex-shrink: 0; width: 26px; height: 26px; position: relative; }
.faq-q .faq-plus::before, .faq-q .faq-plus::after { content: ""; position: absolute; background: var(--brass); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-q .faq-plus::before { width: 14px; height: 1px; }
.faq-q .faq-plus::after { width: 1px; height: 14px; transition: transform .3s var(--ease-soft); }
.faq-item.open .faq-plus::after { transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-soft); }
.faq-a p { padding-bottom: 26px; color: var(--text-on-dark-soft); max-width: 62ch; }

/* ---------------- Start your project (multi-step) ---------------- */
.start-project { background: var(--stone); }
.sp-shell { border: 1px solid var(--line-on-light); background: var(--paper); }
.sp-progress { display: flex; }
.sp-progress span { flex: 1; height: 3px; background: var(--line-on-light); position: relative; }
.sp-progress span::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-soft); }
.sp-progress span.done::after, .sp-progress span.active::after { transform: scaleX(1); }
.sp-body { padding: clamp(28px, 5vw, 64px); }
.sp-step { display: none; }
.sp-step.active { display: block; animation: spIn .5s var(--ease-arch); }
@keyframes spIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.sp-step-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--brass); text-transform: uppercase; }
.sp-step h3 { margin-top: 14px; font-size: var(--step-2); max-width: 18ch; }
.sp-options { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sp-opt {
  border: 1px solid var(--line-on-light); background: var(--stone); padding: 22px 18px; text-align: left;
  font-family: var(--font-body); font-size: 0.95rem; transition: all var(--dur-fast) var(--ease-soft); position: relative;
}
.sp-opt:hover { border-color: var(--brass); }
.sp-opt.selected { border-color: var(--brass); background: rgba(156,122,70,0.1); }
.sp-opt.selected::after { content: "✓"; position: absolute; top: 12px; right: 14px; color: var(--brass); font-family: var(--font-mono); }
.sp-textarea {
  margin-top: 40px; width: 100%; min-height: 160px; background: var(--stone); border: 1px solid var(--line-on-light);
  padding: 18px; font-family: var(--font-body); font-size: 1rem; resize: vertical; color: var(--text-on-light);
}
.sp-fields { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sp-field { display: flex; flex-direction: column; gap: 8px; }
.sp-field.full { grid-column: 1 / -1; }
.sp-field label { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-on-light-soft); }
.sp-field input, .sp-field .sp-upload {
  background: var(--stone); border: 1px solid var(--line-on-light); padding: 14px 16px; font-family: var(--font-body); font-size: 0.95rem;
}
.sp-upload { display: flex; align-items: center; justify-content: space-between; color: var(--text-on-light-soft); font-size: 0.85rem; cursor: pointer; }
.sp-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 50px; }
.sp-nav .sp-count { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-on-light-soft); letter-spacing: 0.06em; }
.sp-back { background: none; border: none; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-on-light-soft); display: flex; align-items: center; gap: 8px; }
.sp-back:disabled { opacity: 0; pointer-events: none; }
.sp-success { text-align: center; padding: 40px 0; }
.sp-success .sp-check { width: 68px; height: 68px; border-radius: 50%; border: 1px solid var(--brass); display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; }
.sp-success h3 { font-size: var(--step-2); }
.sp-success p { margin-top: 16px; color: var(--text-on-light-soft); max-width: 46ch; margin-inline: auto; }
@media (max-width: 760px) {
  .sp-options { grid-template-columns: 1fr 1fr; }
  .sp-fields { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .sp-options { grid-template-columns: 1fr; }
}
