/* Homepage studio + how we work: full-bleed red band with a big statement and a horizontal path (see partials/studio-home.php) */
.sb { position: relative; isolation: isolate; overflow: hidden; padding: 8rem 3.5rem 7rem; background: var(--red); color: #F8F7F4; }
/* the photo is a red duotone: greyscale + multiply over the red background, then a red wash from the left so the text stays readable */
.sb__bg { position: absolute; inset: 0; z-index: -1; background: var(--red); }   /* own red backdrop: the multiply below needs something to blend with */
.sb__bg img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 70% 30%; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; will-change: transform; }
.sb__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(196, 18, 48, 0.97) 0%, rgba(196, 18, 48, 0.9) 42%, rgba(196, 18, 48, 0.55) 68%, rgba(196, 18, 48, 0.08) 100%), linear-gradient(0deg, rgba(120, 8, 28, 0.55) 0%, transparent 45%); }
.sb__inner { max-width: calc(var(--container) - 7rem); margin: 0 auto; }
.sb__label { display: block; margin-bottom: 1.75rem; font-family: var(--font-b); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(248, 247, 244, 0.78); }
.sb__statement { max-width: 46ch; font-family: var(--font-d); font-weight: 400; line-height: 1.22; letter-spacing: -0.015em; font-size: clamp(1.6rem, 2.9vw, 2.9rem); }
.sb__link { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 2.25rem; padding: 0.85rem 1.6rem; border: 1px solid rgba(248, 247, 244, 0.6); border-radius: 999px; color: #F8F7F4; text-decoration: none; font-family: var(--font-b); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.3s, color 0.3s, gap 0.3s; }
.sb__link:hover, .sb__link:focus-visible { background: #F8F7F4; color: var(--red); gap: 0.9rem; }

.sb__how { margin-top: 5.5rem; }
.sb__how-title { text-wrap: balance; font-family: var(--font-d); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; font-size: clamp(1.8rem, 2.6vw, 2.6rem); }
.sb__steps { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 1px solid rgba(248, 247, 244, 0.4); }
.sb__step { position: relative; padding-top: 2.25rem; }
.sb__step::before { content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: #F8F7F4; }
.sb__name { font-family: var(--font-d); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; font-size: clamp(1.6rem, 2.45vw, 2.45rem); }
.sb__text { margin-top: 0.8rem; text-wrap: pretty; max-width: 22rem; font-family: var(--font-b); font-size: 1rem; line-height: 1.55; color: rgba(248, 247, 244, 0.86); }

/* reveal: with JS on, each step fades up as you scroll to it (left to right on desktop); the text itself is always solid */
.sb--reveal .sb__step { opacity: 0; translate: 0 16px; transition: opacity 0.8s var(--ease-out), translate 0.8s var(--ease-out); }
.sb--reveal .sb__step.is-on { opacity: 1; translate: 0 0; }
@media (min-width: 961px) {
  .sb--reveal .sb__step:nth-child(2) { transition-delay: 0.15s; }
  .sb--reveal .sb__step:nth-child(3) { transition-delay: 0.3s; }
  .sb--reveal .sb__step:nth-child(4) { transition-delay: 0.45s; }
}

@media (max-width: 960px) {
  .sb { padding: 5rem 1.5rem 4.5rem; }
  .sb__bg img { object-position: 62% center; }
  .sb__bg::after { background: linear-gradient(0deg, rgba(196, 18, 48, 0.9) 0%, rgba(196, 18, 48, 0.72) 100%); }
  .sb__how { margin-top: 3.5rem; }
  .sb__steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid rgba(248, 247, 244, 0.4); gap: 2.5rem 0; margin-left: 5px; }
  .sb__step { padding: 0 0 0 1.75rem; }
  .sb__step::before { left: -6px; top: 0.4rem; }
}

/* the back-to-top button turns cream while it sits over the red band, so it stays visible */
.scroll-top.on-red { background: #F8F7F4; border-color: #F8F7F4; color: var(--red); }
