/* "Your guide to the spaces around": full-screen layers that wipe up over each other as you scroll.
   Layout idea from the Abodia template (projects stack); colours, fonts and corners are Peacock's own.
   Behaviour (pin + wipes) is in scripts/components/spaces.js. Without JS the layers simply stack one after the other. */

.spc { position: relative; padding-top: 8rem; background: var(--gray, #f5efe6); }

/* header: small square dot + uppercase label, then the title (centred) */
.spc-head { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; max-width: 36rem; margin: 0 auto 4rem; padding: 0 1.5rem; text-align: center; }
.spc-eyebrow { display: flex; align-items: center; gap: .5rem; font-family: var(--_font-family---primary-font, Rubik, sans-serif); font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-color, #2c3a2e); }
.spc-dot { width: 7px; height: 7px; background: var(--primary-color, #2c3a2e); }
.spc-title { margin: 0; font-family: var(--_font-family---secondary-font, "Inter Tight", sans-serif); font-size: clamp(36px, 5vw, var(--_font-size---h2, 64px)); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; color: var(--dark-two, #1c1c1a); }

/* the stack */
.spc-stack { position: relative; }
.spc-layer { position: relative; z-index: 1; display: flex; align-items: center; min-height: 46rem; overflow: hidden; }
.spc-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.spc-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12, 18, 13, .7), rgba(12, 18, 13, .28) 70%), rgba(12, 18, 13, .12); }
.spc-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: flex-start; gap: 2.5rem; width: 100%; max-width: 90rem; margin: 0 auto; padding: 4rem 1.5rem; }
.spc-content { display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; max-width: 34rem; }
.spc-badge { padding: .3rem .65rem; background: #fff; border-radius: 3px; font-family: var(--_font-family---primary-font, Rubik, sans-serif); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--primary-color, #2c3a2e); }
.spc-info { display: flex; flex-direction: column; gap: 1rem; }
.spc-name { margin: 0; font-family: var(--_font-family---secondary-font, "Inter Tight", sans-serif); font-size: clamp(40px, 5.2vw, 72px); font-weight: 400; line-height: 1.02; letter-spacing: -.03em; color: #fff; }
.spc-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.spc-tag { padding: .3rem .65rem; border-radius: 3px; background: rgba(12, 18, 13, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--_font-family---primary-font, Rubik, sans-serif); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.spc-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .6rem 1.5rem; background: #fff; border-radius: 8px; font-family: var(--_font-family---primary-font, Rubik, sans-serif); font-size: 15px; font-weight: 500; color: var(--primary-color, #2c3a2e); text-decoration: none; transition: background-color .35s, color .35s; }
.spc-btn:hover { background: var(--accent-color, #777b67); color: #fff; }

@media (max-width: 991px) {
  .spc { padding-top: 5rem; }
  .spc-head { margin-bottom: 3rem; }
  .spc-layer { min-height: 0; }
  .spc-inner { flex-direction: column; align-items: flex-start; padding: 3.5rem 1.25rem; }
}
