.styling-process { position: relative; isolation: isolate; padding: clamp(4rem, 8vw, 8rem) 1.25rem; color: var(--cream); background: radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--accent-text) 7%, transparent), transparent 65%), var(--ink); scroll-margin-top: 12rem; }
.styling-process__inner { max-width: 80rem; margin-inline: auto; }
.styling-process__intro { max-width: 80rem; margin: 0px auto 6rem; text-align: center; }
.styling-process__eyebrow { margin: 0px 0px 1rem; color: color-mix(in srgb, var(--cream) 58%, transparent); font-family: var(--mono); font-size: clamp(0.625rem, 0.8vw, 0.75rem); font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.styling-process h2 { margin: 0px; font-family: var(--font-headline); font-size: clamp(2.75rem, 5.6vw, 5.75rem); font-weight: 900; line-height: 0.96; letter-spacing: -0.055em; text-transform: uppercase; }
.styling-process h2 em { color: var(--accent-text); font-family: var(--font-subtext); font-weight: 700; font-style: italic; letter-spacing: -0.04em; text-transform: none; }
.styling-process__intro > p:not(.styling-process__eyebrow) { max-width: 52ch; margin: 1.25rem auto 0px; font-family: var(--font-para); font-size: 1.0625rem; line-height: 1.6; color: color-mix(in srgb, var(--cream) 80%, var(--ink)); }
.styling-process__steps { position: relative; display: grid; gap: 4rem; padding: 0px; margin: 0px; list-style: none; }
.styling-process__step { position: relative; display: grid; grid-template-columns: minmax(0px, 1.1fr) minmax(0px, 1fr); gap: 1.75rem; align-items: center; min-width: 0px; }
.styling-process__visual { position: relative; isolation: isolate; aspect-ratio: 3 / 4; margin-left: 1.25rem; }
.styling-process__visual::before { content: ""; position: absolute; z-index: -2; width: 120%; aspect-ratio: 1 / 1; left: -28%; top: -12%; border-radius: 50%; background: radial-gradient(ellipse at 28% 20%, rgb(252 249 244 / .55), transparent 24%), radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent-text) 62%, transparent), transparent 78%); border: 0.0625rem solid rgba(252, 249, 244, 0.25); box-shadow: rgba(252, 249, 244, 0.12) 0.5rem 0.5rem 1rem inset, rgba(0, 0, 0, 0.2) -0.5rem -0.5rem 1.5rem inset, rgba(243, 161, 169, 0.12) 0px 0px 2rem; opacity: 0.55; filter: none; animation: 6s ease-in-out 0s infinite alternate none running process-bubble; }
.styling-process__visual::after { content: ""; position: absolute; z-index: -1; inset: 0px; border-radius: 50% 50% 0px 0px; transform: translate(0.75rem, 0.75rem); background: linear-gradient(135deg, color-mix(in srgb, var(--accent-text) 30%, var(--charcoal)), color-mix(in srgb, var(--accent-text) 18%, var(--charcoal))); border: 0.0625rem solid color-mix(in srgb, var(--cream) 15%, transparent); }
.styling-process__visual img { width: 100%; height: 100%; object-fit: cover; border-radius: 50% 50% 0px 0px; }
.styling-process__step:nth-child(2) .styling-process__visual::before { animation-delay: -2.5s; }
.styling-process__step:nth-child(3) .styling-process__visual::before { animation-delay: -5s; }
.styling-process__number { display: block; width: fit-content; margin-bottom: 0.5rem; color: color-mix(in srgb, var(--accent-text) 40%, var(--ink)); font-family: var(--font-subtext); font-size: clamp(4.5rem, 7vw, 7rem); font-style: italic; line-height: 1; }
.styling-process h3 { margin: 0px 0px 1rem; font-family: var(--font-subtext); font-size: clamp(2rem, 3.2vw, 3.5rem); font-weight: 500; line-height: 1.05; }
.styling-process h3 em { color: var(--accent-text); }
.styling-process__copy > p { max-width: 30ch; margin: 0px; font-family: var(--font-para); font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.65; color: color-mix(in srgb, var(--cream) 78%, var(--ink)); }
@keyframes process-bubble { 
  0% { transform: translate(0px, 0px) scale(0.97); border-radius: 50% 48% 52% 49%; }
  100% { transform: translate(0.9rem, -0.85rem) scale(1.08); border-radius: 47% 52% 49% 53%; }
}
.styling-process__scene { position: relative; }
.styling-process__connectors { display: none; position: absolute; inset: 0px; width: 100%; height: 100%; overflow: visible; pointer-events: none; color: color-mix(in srgb, var(--accent-text) 62%, var(--charcoal)); opacity: 0.8; }
@media (min-width: 64rem) {
.styling-process { padding-inline: 4%; }
.styling-process__steps { max-width: 80rem; margin-inline: auto; grid-template-columns: repeat(12, minmax(0px, 1fr)); gap: 2.75rem 2.5rem; }
.styling-process__step { gap: 2.75rem; grid-template-columns: minmax(0px, 0.95fr) minmax(0px, 1.05fr); }
.styling-process__step:nth-child(3) { grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr); }
.styling-process__step:nth-child(1) { grid-area: 1 / 1 / auto / 7; align-self: start; margin-left: 3rem; }
.styling-process__step:nth-child(2) { grid-area: 1 / 7 / auto / 13; margin-top: 12rem; }
.styling-process__step:nth-child(3) { grid-area: 2 / 3 / auto / 11; margin-top: 0px; }
.styling-process__connectors { display: block; }
}
@media (min-width: 48rem) and (max-width: 63.999rem) {
.styling-process__steps { max-width: 36rem; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
.styling-process__visual::before { animation: auto ease 0s 1 normal none running none; }
}
@media (max-width: 47.999rem) {
.styling-process__visual::before { width: 110%; left: -15%; }
}
@media (max-width: 25rem) {
.styling-process h3 { font-size: 1.625rem; overflow-wrap: anywhere; }
}
@media (min-width: 64rem) {
.styling-process__step:nth-child(1) h3 { font-size: clamp(2rem, 2.8vw, 3rem); }
.styling-process__step:nth-child(1) h3 span, .styling-process__step:nth-child(2) h3 span, .styling-process__step:nth-child(1) p span { display: block; }
.styling-process__step:nth-child(1) p { font-size: clamp(0.9375rem, 1.12vw, 1.0625rem); }
}
.styling-process__step:nth-child(-n+2) h3 span { display: block; }
.styling-process::before, .styling-process::after { content: ""; position: absolute; top: 0px; bottom: 0px; width: clamp(5rem, 18%, 22rem); z-index: -1; pointer-events: none; background: url("./assets/bg-sec6.webp") right center / auto 100% no-repeat; opacity: 0.48; mask-image: linear-gradient(90deg, transparent, black 75%), linear-gradient(transparent, black 12%, black 88%, transparent); mask-composite: intersect; }
.styling-process::before { left: 0px; transform: scaleX(-1); }
.styling-process::after { right: 0px; }
@media (max-width: 47.999rem) {
.styling-process::before, .styling-process::after { width: 18%; opacity: 0.22; }
}
.styling-process__copy { container-type: inline-size; }
.styling-process__step:nth-child(2) h3 { font-size: clamp(1.625rem, 14cqw, 3.25rem); }
@media (min-width: 64rem) {
.styling-process__step:nth-child(-n+2) h3 span { white-space: nowrap; }
}
