/* Hair direction extension. Photo contents and AI disclosure stay visible together. */
.hair-visual-demo {
 display: grid;
 grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
 column-gap: clamp(1.5rem, 4vw, 4.5rem);
 row-gap: 1.5rem;
 margin-block: var(--section-gap);
 scroll-margin-top: calc(var(--sticky-header-height, 80px) + 2rem);
 color: var(--graphite);
}
.hair-visual-demo__copy { min-width: 0; }
html body .hair-visual-demo h2 {
 margin: 0 0 1rem;
 font-family: var(--type-family);
 font-size: var(--type-section);
 font-weight: 300;
 line-height: 1.1;
 letter-spacing: -0.03em;
 text-wrap: balance;
}
.hair-visual-demo__intro { margin: 0 0 1rem; line-height: 1.55; }
.hair-visual-demo__disclosure { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--text-muted); }
.hair-visual-demo__choices { margin: 1.5rem 0 0; padding: 0; border: 0; min-width: 0; }
.hair-visual-demo__choices[hidden], .hair-visual-demo__photos [hidden] { display: none; }
.hair-visual-demo__choices legend { margin-bottom: 0.5rem; padding: 0; font-size: 1rem; font-weight: 500; }
.hair-visual-demo__choices label {
 display: flex;
 align-items: center;
 gap: 0.75rem;
 min-height: 3rem;
 padding: 0.65rem 0.75rem;
 cursor: pointer;
 font-size: 1rem;
 line-height: 1.4;
}
.hair-visual-demo__choices label:has(input:checked) { background: var(--graphite); color: var(--frost-bright); }
.hair-visual-demo__choices label:hover:not(:has(input:checked)) { background: var(--silver); }
.hair-visual-demo__choices input { flex: none; width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--gold-text); }
.hair-visual-demo__choices label:focus-within { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.hair-visual-demo__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; align-items: start; min-width: 0; }
.hair-visual-demo__photos figure { margin: 0; min-width: 0; }
.hair-visual-demo__photos figcaption { margin-bottom: 0.65rem; font-size: 1rem; font-weight: 500; line-height: 1.4; }
html body .hair-visual-demo__photos img { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; object-fit: contain; }
.hair-visual-demo__look-name { margin: 0.65rem 0 0; color: var(--text-muted); font-size: 1rem; line-height: 1.4; }
.hair-visual-demo__next { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.hair-visual-demo__next > p:first-child { flex: 1 1 28rem; max-width: 65ch; margin: 0; font-size: 1rem; line-height: 1.55; }
.hair-visual-demo__next .button { flex: 0 1 auto; min-height: 3rem; max-width: 100%; }
.hair-visual-demo__next .button span { text-align: start; }
.hair-visual-demo__scope { flex-basis: 100%; margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--text-muted); }
@media (max-width: 1099px) {
 .hair-visual-demo { grid-template-columns: minmax(0, 1fr); }
 .hair-visual-demo__copy { max-width: 65ch; }
 .hair-visual-demo__choices { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
 .hair-visual-demo__choices label { flex: 1 1 auto; }
 .hair-visual-demo__photos { max-width: 48rem; }
}
@media (max-width: 599px) {
 .hair-visual-demo__choices { display: block; }
 .hair-visual-demo__photos { gap: 0.75rem; }
 .hair-visual-demo__photos figcaption { font-size: 0.9375rem; }
 .hair-visual-demo__next .button { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: no-preference) {
 .hair-visual-demo__choices label { transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
}
@media (forced-colors: active) {
 .hair-visual-demo__choices label:has(input:checked) { outline: 2px solid Highlight; outline-offset: -2px; }
 .hair-visual-demo__choices label:focus-within { outline-color: Highlight; }
}
