/* ==========================================================================
   INOSSI — Real Results (results.html)
   "Skin Stories" hybrid: hero -> featured acne journey (scroll-snap strip,
   pure CSS, no JS) -> hidden video-story slot (structure-built, pending real
   consent+transcript) -> before/after gallery (14 real photos) -> client
   quotes (text-only, no invented ratings/avatars) -> shared .promo CTA.
   Loaded after tokens.css / navigation.css / main.css.
   ========================================================================== */

.results-page .results-hero,
.results-page .journey,
.results-page .results-gallery,
.results-page .words {
    width: var(--width-band, min(100% - 40px, 1700px));
    margin: clamp(20px, 4vw, 40px) auto 0;
}

/* ===== GOLD SECTION KICKERS ===== */
.results-hero__kicker,
.journey__kicker,
.results-gallery__kicker,
.words__kicker {
    margin: 0 0 0.5rem;
    text-align: center;
    font-family: var(--font-body, 'Lato', sans-serif);
    font-size: clamp(0.75rem, 0.9vw, 0.85rem);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent-text, #856828);
}

/* ===== HERO ===== */
.results-hero {
    text-align: center;
}

.results-hero__heading {
    margin: 0 0 1rem;
    font-family: var(--font-display, 'Cormorant Garamond', serif);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 400;
    line-height: var(--line-height-heading, 1.15);
    color: var(--color-ink, #000);
}

.results-hero__intro {
    max-width: 52rem;
    margin: 0 auto;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    color: var(--color-text-muted, #6b6b6b);
}

.results-hero__disclaimer {
    max-width: 52rem;
    margin: 0.85rem auto 0;
    font-size: 1rem;
    line-height: var(--line-height-body, 1.6);
    color: var(--color-text-muted, #6b6b6b);
}

/* ===== FEATURED STORY: acne journey ===== */
.journey {
    margin-top: clamp(3rem, 6vw, 5rem);
}

.journey__heading {
    margin: 0 0 0.5rem;
    text-align: center;
    font-family: var(--font-display, 'Cormorant Garamond', serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--color-ink, #000);
}

.journey__intro {
    max-width: 44rem;
    margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
    text-align: center;
    color: var(--color-text-muted, #6b6b6b);
}

/* Prev/next controls (JS enhancement, see main.js [data-carousel]): reuses
   .services-carousel__btn as-is (unscoped, already loaded via main.css) so
   no duplicate button styling is needed here. */
.journey__controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

/* Horizontal snap strip. width:fit-content + margin:0 auto (instead of
   justify-content:center) centers the whole row on the page whenever it's
   narrower than the container (typical on wide screens); once the row is
   wider than the viewport, fit-content is clamped by max-width:100% and the
   auto margins collapse to 0, so scrolling starts naturally at photo 1 (no
   cropped/offset first item). justify-content:center on an overflowing flex
   container would instead center-crop symmetrically on load, hiding part of
   both the first and last photo until the visitor scrolls either way — not
   what a chronological "journey" strip should do. Touch, trackpad and
   keyboard scrolling all work without JS; the prev/next buttons above are
   only a convenience on top of that native behaviour. */
.journey__track {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    gap: clamp(1rem, 2vw, 1.5rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0.25rem 1rem;
    list-style: none;
    scrollbar-width: thin;
}

.journey__track:focus-visible {
    outline: 2px solid var(--color-accent, #d2ab66);
    outline-offset: 2px;
}

.journey__item {
    flex: 0 0 auto;
    width: clamp(150px, 22vw, 220px);
    scroll-snap-align: start;
}

.journey__figure {
    margin: 0;
}

.journey__photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm, 5px);
    background-color: var(--color-band, #f8f4ee);
}

.journey__caption {
    margin: 0.5rem 0 0;
    text-align: center;
    font-size: 1rem;
    color: var(--color-text-muted, #6b6b6b);
}

/* ===== VIDEO RESULT CARD & MODAL ===== */
.journey__video-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 320px;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    padding: 1rem;
    border: 1px solid var(--color-accent-soft, #ddcdbc);
    border-radius: var(--radius-md, 8px);
    background: linear-gradient(160deg, var(--color-band, #f8f4ee), var(--color-bg, #fff));
    cursor: pointer;
    text-align: center;
    transition: transform var(--duration-base, 0.25s) var(--ease-standard, ease),
                border-color var(--duration-base, 0.25s) var(--ease-standard, ease),
                box-shadow var(--duration-base, 0.25s) var(--ease-standard, ease);
}

.journey__video-card:hover,
.journey__video-card:focus-visible {
    transform: translateY(-4px);
    border-color: var(--color-accent, #d2ab66);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    outline: none;
}

.journey__video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-sm, 5px);
    overflow: hidden;
    background-color: var(--color-band, #f8f4ee);
}

.journey__video-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.journey__video-card:hover .journey__video-thumb img {
    transform: scale(1.04);
}

.journey__video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.3) 100%);
    color: #fff;
}

.journey__video-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--color-ink, #000);
    color: var(--color-accent, #d2ab66);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.journey__video-card:hover .journey__video-play-btn {
    transform: scale(1.12);
    background-color: var(--color-accent, #d2ab66);
    color: var(--color-ink, #000);
}

.journey__video-badge {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.journey__video-info {
    margin-top: 0.85rem;
}

.journey__video-title {
    margin: 0;
    font-family: var(--font-display, 'Cormorant Garamond', serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-ink, #000);
}

.journey__video-sub {
    margin: 0.25rem 0 0;
    font-size: 0.88rem;
    color: var(--color-text-muted, #6b6b6b);
}

.journey__continue {
    max-width: 44rem;
    margin: 1.5rem auto 0;
    text-align: center;
    font-size: 1rem;
    color: var(--color-text-muted, #6b6b6b);
}

/* ===== VIDEO MODAL PLAYER ===== */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    overflow: hidden;
}

.video-modal.is-active,
.video-modal[open] {
    display: flex;
}

.video-modal__backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.video-modal__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    padding: 1.5rem;
    box-sizing: border-box;
}

.video-modal__player-wrapper {
    position: relative;
    width: min(calc(80vh * 9 / 16), calc(100vw - 32px));
    aspect-ratio: 9 / 16;
    max-height: 82vh;
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.65);
}

/* Desktop View (>= 768px): 2x teaser width enlargement strictly keeping 9:16 aspect ratio */
@media (min-width: 768px) {
    .video-modal__player-wrapper {
        width: min(540px, calc(85vh * 9 / 16));
        aspect-ratio: 9 / 16;
        max-height: 85vh;
    }
}

.video-modal__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-modal__close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 1.85rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.video-modal__close:hover,
.video-modal__close:focus-visible {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(1.1);
    outline: none;
}

.video-modal__caption {
    margin: 0.85rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== BEFORE & AFTER GALLERY ===== */
.results-gallery {
    margin-top: clamp(3rem, 6vw, 5rem);
}

.results-gallery__heading {
    margin: 0 0 1.75rem;
    text-align: center;
    font-family: var(--font-display, 'Cormorant Garamond', serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--color-ink, #000);
}

/* Filter pills — same visual language as .radial__cat on services.html. */
.results-gallery__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(0.75rem, 0.9vw, 1.75rem) clamp(1rem, 1.1vw, 2.25rem);
    margin: 0 0 clamp(1.75rem, 3.5vw, 2.5rem);
}

.results-gallery__filter {
    min-height: 44px;
    padding: clamp(0.5rem, 0.35vw, 0.8rem) clamp(1.35rem, 1.1vw, 2rem);
    border: 1px solid var(--color-accent-soft, #ddcdbc);
    border-radius: 999px;
    background-color: var(--color-bg, #fff);
    cursor: pointer;
    font-family: var(--font-body, 'Lato', sans-serif);
    font-size: 1rem;
    color: var(--color-text-muted, #6b6b6b);
    transition: background-color var(--duration-base, 0.25s) var(--ease-standard, ease),
        border-color var(--duration-base, 0.25s) var(--ease-standard, ease),
        color var(--duration-base, 0.25s) var(--ease-standard, ease);
}

.results-gallery__filter:hover {
    border-color: var(--color-accent, #d2ab66);
    color: var(--color-ink, #000);
}

.results-gallery__filter[aria-pressed="true"] {
    background-color: var(--color-ink, #000);
    border-color: var(--color-ink, #000);
    color: var(--color-bg, #fff);
}

.results-gallery__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1.25rem, 2.5vw, 2rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.results-gallery__item {
    flex: 0 0 auto;
    width: clamp(220px, 22vw, 300px);
}

.results-gallery__figure {
    margin: 0;
}

.results-gallery__photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm, 5px);
    border: 1px solid var(--color-accent-soft, #ddcdbc);
}

.results-gallery__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.6rem 0 0;
    padding: 0;
    list-style: none;
}

.results-gallery__chip {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background-color: var(--color-band, #f8f4ee);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text, #111);
}

.results-gallery__chip:is(a) {
    text-decoration: none;
    transition: background-color var(--duration-base, 0.25s) var(--ease-standard, ease);
}

.results-gallery__chip:is(a):hover,
.results-gallery__chip:is(a):focus-visible {
    background-color: var(--color-accent-soft, #ddcdbc);
}

.results-gallery__disclaimer {
    max-width: 52rem;
    margin: clamp(1.5rem, 3vw, 2rem) auto 0;
    text-align: center;
    font-size: 1rem;
    line-height: var(--line-height-body, 1.6);
    color: var(--color-text-muted, #6b6b6b);
}

/* ===== IN THEIR WORDS (quotes & google reviews) ===== */
.words {
    margin-top: clamp(3rem, 6vw, 5rem);
}

.words__heading {
    margin: 0 0 1.75rem;
    text-align: center;
    font-family: var(--font-display, 'Cormorant Garamond', serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--color-ink, #000);
}

.words__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}

.words__quote {
    margin: 0;
    padding: 1.5rem 1.75rem;
    border-left: 3px solid var(--color-accent, #d2ab66);
    border-radius: var(--radius-sm, 4px);
    background-color: var(--color-band, #f8f4ee);
}

.words__quote p {
    margin: 0;
    font-size: 1.05rem;
    line-height: var(--line-height-body, 1.7);
    font-style: italic;
    color: var(--color-text, #111);
}

.words__quote cite {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.85rem;
    font-style: normal;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-ink, #000);
}

.words__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-accent, #d2ab66);
    color: var(--color-ink, #000);
    font-size: 0.85rem;
    font-weight: 700;
}

.words__stars {
    color: #f4b400;
    margin-left: auto;
    letter-spacing: 0.05em;
}

.words__google-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    padding: 1.5rem 2rem;
    max-width: 34rem;
    border: 1px solid var(--color-accent-soft, #ddcdbc);
    border-radius: var(--radius-md, 8px);
    background: var(--color-band, #f8f4ee);
    text-align: center;
}

.words__google-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-ink, #000);
}

.words__google-stars {
    color: #f4b400;
    font-size: 1.15rem;
    letter-spacing: 0.1em;
}

.words__google-link {
    font-weight: 600;
    color: var(--color-ink, #000);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.words__google-link:hover {
    color: var(--color-accent-text, #856828);
}

@media (min-width: 700px) {
    .words__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- Wide / 4K, scoped to .results-page on <main> ---- */
@media (min-width: 1600px) {
    .results-page .results-hero,
    .results-page .journey,
    .results-page .results-gallery,
    .results-page .words {
        width: min(100% - 120px, 3400px);
    }

    .results-page .results-hero__heading {
        font-size: clamp(3.2rem, 2.4vw, 5rem);
    }

    .results-page .results-hero__intro,
    .results-page .results-hero__disclaimer {
        font-size: clamp(1.15rem, 0.7vw, 1.6rem);
        max-width: 60rem;
    }

    .results-page .journey__heading,
    .results-page .results-gallery__heading,
    .results-page .words__heading {
        font-size: clamp(1.8rem, 1.1vw, 2.8rem);
    }

    .results-page .journey__intro {
        font-size: clamp(1.1rem, 0.6vw, 1.4rem);
        max-width: 56rem;
    }

    .results-page .journey__item {
        width: clamp(180px, 12vw, 280px);
    }

    .results-page .results-gallery__item {
        width: clamp(260px, 15vw, 380px);
    }

    .results-page .results-gallery__chip {
        font-size: clamp(0.85rem, 0.4vw, 1rem);
    }

    .results-page .words__quote p {
        font-size: clamp(1.1rem, 0.6vw, 1.35rem);
    }

    .results-page .promo__heading {
        font-size: clamp(2.2rem, 1.4vw, 3.4rem);
    }

    .results-page .promo__text {
        font-size: clamp(1.15rem, 0.7vw, 1.6rem);
        max-width: 52rem;
    }
}

@media (max-width: 650px) {
    .results-page .results-hero,
    .results-page .journey,
    .results-page .results-gallery,
    .results-page .words {
        width: var(--width-container-mobile, min(100% - 30px, 1200px));
    }

    .results-gallery__item {
        width: 100%;
        max-width: 22rem;
    }
}
