/* ================================================
   BAILEY'S BLANKETS — Home Page
   ================================================ */

.homepage {
    margin: 0;
    padding: 0;
}


/* ------------------------------------------------
   HERO
   ------------------------------------------------ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--color-ivory);
    display: flex;
    align-items: center;
}

.hero__inner {
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-lg);
    display: flex;
    flex-direction: column;
    opacity: var(--parallax-opacity, 1);
}


/* ----- TOP BAR — logo + location ----- */
.hero__header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    padding: var(--space-sm) 0 var(--space-md);
    flex-shrink: 0;
}

.hero__location {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
}


/* ----- BODY — text + image side by side, fills remaining height ----- */
.hero__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: stretch;
    flex: 1;
    min-height: 0;
    padding-bottom: var(--space-md);
}


/* ----- TEXT COLUMN ----- */
.hero__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: var(--space-md);
}

/* Title — big, confident, editorial */
.hero__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(3.2rem, 6vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-charcoal);
    margin-bottom: var(--space-sm);
    will-change: transform;
}

.hero__title span {
    display: block;
}

/* Rule + subtitle inline */
.hero__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.hero__rule {
    width: 36px;
    height: 1px;
    background: var(--color-gold);
    flex-shrink: 0;
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 400;
    font-style: italic;
    color: var(--color-gold);
    letter-spacing: 0.04em;
}

/* Blurb */
.hero__blurb {
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 400;
    line-height: 1.9;
    color: var(--color-charcoal);
    opacity: 0.6;
    max-width: 480px;
    margin-bottom: var(--space-sm);
}

/* Tagline — small, caps, a whisper */
.hero__tagline {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    opacity: 0.5;
}


/* ----- IMAGE COLUMN ----- */
.hero__media {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 0;
}

.hero__image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    z-index: 1;
}

.hero__image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    will-change: transform;
}

/* ----- HERO SLIDESHOW ----- */
.hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    will-change: transform;
    opacity: 0;
    z-index: 0;
}

/* Active slide */
.hero__slide.is-active {
    opacity: 1;
    z-index: 1;
}

/* First slide holds the layout flow */
.hero__slide:first-child {
    position: relative;
    opacity: 1;
    z-index: 1;
}

/* Curtain panel — sweeps across to reveal new image */
.hero__curtain {
    position: absolute;
    inset: 0;
    background: var(--color-teal);
    z-index: 2;
    transform: translateX(-101%);
    will-change: transform;
    pointer-events: none;
}

/* Reduced motion: hide all but first, no curtain */
@media (prefers-reduced-motion: reduce) {
    .hero__slide:not(:first-child) {
        visibility: hidden;
    }
    .hero__curtain {
        display: none;
    }
}

.hero__image-frame:hover img {
    /* Hover scale handled via JS when parallax is active */
}

/* Accent block — decorative rectangle behind image */
.hero__image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    opacity: 0.2;
    z-index: 0;
    will-change: transform;
    animation: accent-breathe 8s ease-in-out infinite;
}

.hero__media:hover .hero__image-accent {
    opacity: 0.3;
}

/* Ambient breathing — gold accents drift slowly */
@keyframes accent-breathe {
    0%, 100% { transform: translate(0, 0); }
    33%      { transform: translate(3px, -4px); }
    66%      { transform: translate(-2px, 2px); }
}


/* ----- DECORATIVE: Ghost monogram ----- */
.hero__text::before {
    content: 'BB';
    position: absolute;
    bottom: -0.1em;
    left: -0.15em;
    font-family: var(--font-heading);
    font-size: 22vw;
    font-weight: 700;
    line-height: 1;
    color: var(--color-charcoal);
    opacity: 0;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    letter-spacing: -0.05em;
    animation: hero-ghost-in 2s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
    animation-play-state: paused;
    transform: translate3d(0, var(--parallax-y, 0px), 0);
    will-change: transform;
}

.hero--visible .hero__text::before {
    animation-play-state: running;
}

@keyframes hero-ghost-in {
    to { opacity: 0.035; }
}

.hero__text {
    position: relative;
}

.hero__text > * {
    position: relative;
    z-index: 1;
}

.hero__inner {
    position: relative;
}

/* ----- DECORATIVE: Inset border frame ----- */
.hero::before {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid var(--color-gold);
    opacity: 0.17;
    pointer-events: none;
    z-index: 1;
    transform: translate3d(0, var(--parallax-frame-y, 0px), 0);
    will-change: transform;
}


/* ----- ENTRANCE ANIMATIONS (paused until hero enters viewport) ----- */
.anim {
    opacity: 0;
    transform: translateY(28px);
    animation: hero-in 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

.hero--visible .anim {
    animation-play-state: running;
}

.anim--1 { animation-delay: 0.1s; }
.anim--2 { animation-delay: 0.25s; }
.anim--3 { animation-delay: 0.4s; }
.anim--4 { animation-delay: 0.6s; }
.anim--5 { animation-delay: 0.85s; }
.anim--6 { animation-delay: 1.05s; }

@keyframes hero-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image reveal — scale down + fade */
.anim-img {
    opacity: 0;
    transform: scale(0.96);
    animation: img-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    animation-play-state: paused;
}

.hero--visible .anim-img {
    animation-play-state: running;
}

@keyframes img-in {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Rule width animation */
.hero__rule {
    animation: rule-grow 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
    animation-play-state: paused;
}

.hero--visible .hero__rule {
    animation-play-state: running;
}

@keyframes rule-grow {
    from { width: 0; }
    to   { width: 36px; }
}


/* ----- REDUCED MOTION ----- */
@media (prefers-reduced-motion: reduce) {
    .anim,
    .anim-img {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .hero__rule {
        animation: none;
        width: 36px;
    }

    .hero__image-frame img {
        transition: none;
    }

    .hero__image-accent {
        transition: none;
        animation: none;
    }

    .preview__card {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .preview__image-wrap img {
        transition: none;
    }

    .preview__image-accent {
        transition: none;
        animation: none;
    }

    .preview {
        height: auto !important;
    }

    .preview__inner {
        position: static !important;
        height: auto !important;
    }

    /* Turn the horizontal scroll track into a real 3-column grid.
       No scroll-pinning, no carousel chrome, all three pieces visible
       at once — the appropriate static fallback for a 3-item showcase. */
    .preview__track {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-lg);
        align-items: stretch;
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
        padding: var(--space-md) var(--space-lg) var(--space-xl);
        transform: none !important;
    }

    .preview__card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        flex-shrink: 1 !important;
    }

    /* End-card becomes a full-width CTA row below the grid */
    .preview__end-card {
        grid-column: 1 / -1;
        justify-self: center;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: var(--space-md) var(--space-lg);
        margin-top: var(--space-sm);
    }

    .preview__ghost-number,
    .preview__progress,
    .preview__card + .preview__card::before,
    .preview__scroll-hint {
        display: none;
    }
}

/* Reduced-motion + narrow viewport: collapse grid to single column */
@media (prefers-reduced-motion: reduce) and (max-width: 720px) {
    .preview__track {
        grid-template-columns: 1fr;
        max-width: 560px;
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .preview__end-card {
        grid-column: 1;
    }
}


/* ------------------------------------------------
   SHOP VIBE — dark editorial split, storefront moment
   ------------------------------------------------ */
.shop-vibe {
    position: relative;
    background: var(--color-teal);
    color: var(--color-ivory);
    overflow: hidden;
}

.shop-vibe__inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
    min-height: clamp(520px, 78vh, 820px);
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

/* ----- IMAGE (left, bleeds to viewport edge) ----- */
.shop-vibe__media {
    position: relative;
    overflow: hidden;
}

.shop-vibe__image-frame {
    position: absolute;
    /* Extend 60px above and below so parallax has room to translate
       without exposing gaps */
    top: -60px;
    right: 0;
    bottom: -60px;
    /* Bleed left edge beyond the inner container so the image
       always reaches the viewport edge on wide screens */
    left: calc((100vw - min(100vw, 1600px)) / -2);
    will-change: transform;
}

.shop-vibe__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* ----- CONTENT (right) ----- */
.shop-vibe__content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl) var(--space-lg) var(--space-xl) var(--space-lg);
    max-width: 580px;
}

.shop-vibe__label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
    display: inline-block;
}

.shop-vibe__rule {
    width: 36px;
    height: 1px;
    background: var(--color-gold);
    margin-bottom: var(--space-md);
}

.shop-vibe__title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.2vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.01em;
    font-weight: 600;
    margin: 0 0 var(--space-md);
    color: var(--color-ivory);
}

.shop-vibe__text {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--color-ivory);
    opacity: 0.9;
    max-width: 42ch;
    margin: 0 0 var(--space-lg);
}

.shop-vibe__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold);
    text-decoration: none;
    padding: var(--space-xs) 0 calc(var(--space-xs) + 2px);
    border-bottom: 1px solid rgba(196, 162, 101, 0.45);
    transition: gap 0.3s ease, border-color 0.3s ease;
    align-self: flex-start;
}

.shop-vibe__link:hover {
    border-color: var(--color-gold);
    gap: 14px;
}

.shop-vibe__link svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.shop-vibe__link:hover svg {
    transform: translateX(3px);
}

/* Decorative ghost wordmark anchored to the section corner */
.shop-vibe__ghost {
    position: absolute;
    bottom: -0.18em;
    right: -0.08em;
    font-family: var(--font-heading);
    font-size: clamp(8rem, 18vw, 18rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-ivory);
    opacity: 0.04;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.05em;
}

/* Mobile / tablet: stack image on top, content below */
@media (max-width: 900px) {
    .shop-vibe__inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .shop-vibe__media {
        aspect-ratio: 4 / 3;
        min-height: 320px;
    }

    .shop-vibe__image-frame {
        position: relative;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .shop-vibe__content {
        padding: var(--space-lg) var(--space-md);
        max-width: none;
    }

    .shop-vibe__ghost {
        font-size: 10rem;
    }
}

@media (max-width: 600px) {
    .shop-vibe__title {
        font-size: clamp(2.4rem, 11vw, 3.5rem);
    }

    .shop-vibe__text {
        font-size: 1.05rem;
    }
}


/* ------------------------------------------------
   FEATURED ARTIST — editorial magazine spread
   ------------------------------------------------ */
.artist {
    position: relative;
    background: var(--color-teal);
    overflow: hidden;
}

/* Parallax-able gold border lines */
.artist::before,
.artist::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-gold);
    will-change: transform;
}

.artist::before {
    top: 0;
    transform: translateX(var(--border-top-x, 0px));
}

.artist::after {
    bottom: 0;
    transform: translateX(var(--border-bottom-x, 0px));
}

.artist__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: stretch;
    min-height: 450px;
}

/* ----- PORTRAIT COLUMN ----- */
.artist__portrait {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.artist__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform;
}

/* Gold accent border — offset behind portrait */
.artist__image-accent {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    opacity: 0.2;
    z-index: -1;
    will-change: transform;
    animation: accent-breathe 8s ease-in-out infinite;
    pointer-events: none;
}

/* ----- TEXT COLUMN ----- */
.artist__text {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: var(--space-md);
}

/* ----- LABEL — pill badge ----- */
.artist__label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-teal);
    background: var(--color-gold);
    padding: 6px 18px 5px;
    border-radius: 2px;
    margin-bottom: var(--space-sm);
    align-self: flex-start;
}

/* ----- HEADLINE — name + medium ----- */
.artist__headline {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: 0;
}

.artist__name {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 600;
    font-style: italic;
    line-height: 1.2;
    color: var(--color-ivory);
    will-change: transform;
}

.artist__medium {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
}

/* ----- GOLD RULE ----- */
.artist__rule {
    width: 36px;
    height: 1px;
    background: var(--color-gold);
    margin: var(--space-sm) 0;
    transform-origin: left center;
}

/* ----- BIO ----- */
.artist__bio {
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-ivory);
    opacity: 0.65;
    margin-bottom: var(--space-sm);
}

.artist__bio p {
    margin: 0;
}

/* ----- CTA LINK ----- */
.artist__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    text-decoration: none;
    padding: 0.6em 1.6em;
    border: 1px solid rgba(196, 162, 101, 0.45);
    margin-top: var(--space-xs);
    transition: background 0.3s ease, gap 0.3s ease, border-color 0.3s ease;
    align-self: flex-start;
}

.artist__link:hover {
    background: rgba(196, 162, 101, 0.12);
    border-color: var(--color-gold);
    gap: 12px;
}

.artist__link svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.artist__link:hover svg {
    transform: translateX(3px);
}

/* ----- GHOST TEXT "AM" ----- */
.artist__ghost {
    position: absolute;
    bottom: -0.15em;
    right: -0.1em;
    font-family: var(--font-heading);
    font-size: 10vw;
    font-weight: 700;
    line-height: 1;
    color: var(--color-ivory);
    opacity: 0.025;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    letter-spacing: -0.05em;
    will-change: transform;
}

.artist__text > *:not(.artist__ghost) {
    position: relative;
    z-index: 1;
}


/* ------------------------------------------------
   BLANKET PREVIEW — Horizontal Scroll Gallery
   ------------------------------------------------ */
.preview {
    position: relative;
    background: var(--color-bisque);
    overflow: clip;
    /* Height set by JS to create scroll runway.
       overflow:clip (not hidden) so sticky still works on the inner. */
    border-radius: 20px 20px 0 0;
    margin-top: -20px;
    z-index: 1;
}

.preview__inner {
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ----- HEADER — editorial giant type, outside sticky ----- */
.preview__header {
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: end;
    gap: 0 var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.preview__header-top {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.preview__label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    white-space: nowrap;
}

.preview__rule {
    flex: 1;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.3;
}

.preview__title {
    grid-column: 1;
    font-family: var(--font-heading);
    font-size: clamp(3.4rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 0.88;
    letter-spacing: -0.03em;
    color: var(--color-charcoal);
    will-change: transform;
}

.preview__title-line {
    display: block;
}

.preview__title-line:last-child {
    padding-left: 0;
}

.preview__intro {
    grid-column: 2;
    align-self: end;
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-style: italic;
    color: var(--color-charcoal);
    opacity: 0.55;
    max-width: 320px;
    line-height: 1.8;
    padding-bottom: 0.3em;
}

/* ----- PROGRESS INDICATOR ----- */
.preview__progress {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg) 0;
    flex-shrink: 0;
}

.preview__progress-track {
    flex: 1;
    height: 1px;
    background: var(--color-charcoal);
    opacity: 0.12;
    position: relative;
    overflow: hidden;
}

.preview__progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--color-gold);
    transition: width 0.05s linear;
}

.preview__progress-count {
    display: flex;
    align-items: baseline;
    gap: 3px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-charcoal);
    flex-shrink: 0;
}

.preview__progress-current {
    color: var(--color-gold);
    font-size: 1.1rem;
    min-width: 1.4em;
    text-align: right;
}

.preview__progress-sep {
    opacity: 0.25;
}

.preview__progress-total {
    opacity: 0.65;
}

/* ----- HORIZONTAL TRACK ----- */
.preview__track {
    display: flex;
    align-items: stretch;
    gap: var(--space-lg);
    padding: var(--space-sm) var(--space-lg) var(--space-xl);
    flex: 1;
    min-height: 0;
    will-change: transform;
}

/* ----- CARD ----- */
.preview__card {
    display: block;
    text-decoration: none;
    color: inherit;
    min-width: 35vw;
    max-width: 480px;
    flex-shrink: 0;
    position: relative;
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Vertical divider between cards */
.preview__card + .preview__card::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-lg) / 2);
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--color-gold);
    opacity: 0.2;
}

/* White card background on all cards */
.preview__card-inner {
    background: var(--color-ivory);
    border-radius: 8px;
    padding: var(--space-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ----- GHOST NUMBER — oversized decorative ----- */
.preview__ghost-number {
    position: absolute;
    top: -0.2em;
    left: -0.15em;
    font-family: var(--font-heading);
    font-size: clamp(8rem, 14vw, 14rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-charcoal);
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* ----- IMAGE WITH ACCENT BORDER ----- */
.preview__image-wrap {
    position: relative;
    border-radius: 4px;
    overflow: visible;
    margin-bottom: var(--space-md);
    flex: 1;
    min-height: 0;
    z-index: 1;
}

.preview__image-wrap img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    z-index: 1;
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview__card:hover .preview__image-wrap img {
    transform: scale(1.03);
}

/* Gold accent border — mirrors hero__image-accent */
.preview__image-accent {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    opacity: 0.15;
    z-index: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: accent-breathe 8s ease-in-out infinite;
}

/* Stagger the breathing so cards don't pulse in sync */
.preview__card:nth-child(2) .preview__image-accent { animation-delay: -2.5s; }
.preview__card:nth-child(3) .preview__image-accent { animation-delay: -5s; }

.preview__card:hover .preview__image-accent {
    opacity: 0.3;
}

/* ----- CAPTION — number + text ----- */
.preview__caption {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    flex-shrink: 0;
    z-index: 1;
    position: relative;
}

.preview__number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--color-gold);
    opacity: 0.3;
    flex-shrink: 0;
    padding-top: 2px;
}

.preview__caption-text {
    flex: 1;
    min-width: 0;
}

.preview__name {
    font-family: var(--font-heading);
    font-size: var(--text-h3);
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 4px;
}

.preview__desc {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-charcoal);
    opacity: 0.75;
    line-height: 1.7;
}

/* ----- END CTA CARD ----- */
.preview__end-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30vw;
    flex-shrink: 0;
    padding: var(--space-lg);
}

.preview__end-inner {
    text-align: center;
}

.preview__end-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.preview__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.9rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    text-decoration: none;
    border: 1.5px solid var(--color-primary);
    background: transparent;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}

.preview__btn:hover {
    background: var(--color-primary);
    color: var(--color-ivory);
    border-color: var(--color-primary);
    gap: calc(var(--space-sm) + 4px);
}

.preview__btn svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.preview__btn:hover svg {
    transform: translateX(4px);
}

/* ----- SCROLL HINT — idle indicator, right edge vertical ----- */
.preview__scroll-hint {
    position: absolute;
    right: var(--space-sm);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 10;
    background: rgba(30, 30, 32, 0.7);
    padding: 14px 8px 16px;
    border-radius: 100px;
}

.preview__scroll-hint.is-visible {
    opacity: 1;
}

.preview__scroll-hint-text {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-ivory);
    writing-mode: vertical-rl;
}

.preview__scroll-hint-line {
    width: 1px;
    height: 52px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.preview__scroll-hint-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-ivory);
    opacity: 0.5;
    transform-origin: top center;
    animation: hint-wipe 2s ease-in-out infinite;
}

@keyframes hint-wipe {
    0%   { clip-path: inset(0 0 100% 0); }
    40%  { clip-path: inset(0 0 0% 0); }
    70%  { clip-path: inset(100% 0 0 0); }
    100% { clip-path: inset(100% 0 0 0); }
}


/* ------------------------------------------------
   SECTION ENTRANCE ANIMATIONS
   Triggered by IntersectionObserver adding .section--visible
   ------------------------------------------------ */

/* Shared keyframe */
@keyframes section-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ghost-in {
    to {
        opacity: 0.025;
        transform: translateY(0);
    }
}

@keyframes rule-widen {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* ----- ARTIST SECTION ----- */
.artist__label,
.artist__portrait,
.artist__name,
.artist__medium,
.artist__bio,
.artist__link {
    opacity: 0;
    transform: translateY(24px);
    animation: section-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

.artist__ghost {
    opacity: 0;
    transform: translateY(24px);
    animation: ghost-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

/* Portrait uses scale reveal like hero image */
.artist__portrait {
    transform: scale(0.96);
    animation: img-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

/* Gold rule grows from left */
.artist__rule {
    transform-origin: left center;
    transform: scaleX(0);
    animation: rule-widen 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

.section--visible .artist__label    { animation-play-state: running; animation-delay: 0.05s; }
.section--visible .artist__portrait { animation-play-state: running; animation-delay: 0.1s; }
.section--visible .artist__name     { animation-play-state: running; animation-delay: 0.25s; }
.section--visible .artist__medium   { animation-play-state: running; animation-delay: 0.3s; }
.section--visible .artist__rule     { animation-play-state: running; animation-delay: 0.35s; }
.section--visible .artist__bio      { animation-play-state: running; animation-delay: 0.45s; }
.section--visible .artist__link     { animation-play-state: running; animation-delay: 0.6s; }
.section--visible .artist__ghost    { animation-play-state: running; animation-delay: 0.7s; }

/* ----- SHOP VIBE SECTION ----- */
.shop-vibe__label,
.shop-vibe__title,
.shop-vibe__text,
.shop-vibe__link {
    opacity: 0;
    transform: translateY(24px);
    animation: section-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

/* Image uses scale reveal like artist portrait. Animating the inner img
   keeps the outer frame free for parallax transform. */
.shop-vibe__image {
    opacity: 0;
    transform: scale(0.98);
    animation: img-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

/* Gold rule grows from left */
.shop-vibe__rule {
    transform-origin: left center;
    transform: scaleX(0);
    animation: rule-widen 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

/* Ghost fades in (opacity only — parallax owns transform) */
.shop-vibe__ghost {
    opacity: 0;
    animation: shop-vibe-ghost-in 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

@keyframes shop-vibe-ghost-in {
    to { opacity: 0.04; }
}

.shop-vibe--visible .shop-vibe__image { animation-play-state: running; animation-delay: 0.1s; }
.shop-vibe--visible .shop-vibe__label { animation-play-state: running; animation-delay: 0.3s; }
.shop-vibe--visible .shop-vibe__rule  { animation-play-state: running; animation-delay: 0.4s; }
.shop-vibe--visible .shop-vibe__title { animation-play-state: running; animation-delay: 0.35s; }
.shop-vibe--visible .shop-vibe__text  { animation-play-state: running; animation-delay: 0.5s; }
.shop-vibe--visible .shop-vibe__link  { animation-play-state: running; animation-delay: 0.65s; }
.shop-vibe--visible .shop-vibe__ghost { animation-play-state: running; animation-delay: 0.8s; }

/* ----- PREVIEW SECTION ----- */
.preview__label,
.preview__title,
.preview__intro,
.preview__progress {
    opacity: 0;
    transform: translateY(24px);
    animation: section-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

.preview__rule {
    transform-origin: left center;
    transform: scaleX(0);
    animation: rule-widen 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

.section--visible .preview__label    { animation-play-state: running; animation-delay: 0.05s; }
.section--visible .preview__rule     { animation-play-state: running; animation-delay: 0.2s; }
.section--visible .preview__title    { animation-play-state: running; animation-delay: 0.15s; }
.section--visible .preview__intro    { animation-play-state: running; animation-delay: 0.3s; }
.section--visible .preview__progress { animation-play-state: running; animation-delay: 0.4s; }


/* ----- REDUCED MOTION: section entrances ----- */
@media (prefers-reduced-motion: reduce) {
    .artist__label,
    .artist__portrait,
    .artist__name,
    .artist__medium,
    .artist__bio,
    .artist__link,
    .artist__ghost,
    .artist__rule,
    .preview__label,
    .preview__title,
    .preview__intro,
    .preview__progress {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .preview__rule {
        transform: none;
        animation: none;
    }

    .artist__rule {
        transform: none;
        animation: none;
    }

    .shop-vibe__label,
    .shop-vibe__title,
    .shop-vibe__text,
    .shop-vibe__link,
    .shop-vibe__image {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .shop-vibe__ghost {
        opacity: 0.04;
        animation: none;
    }

    .shop-vibe__rule {
        transform: none;
        animation: none;
    }

    .home-cta__label,
    .home-cta__title,
    .home-cta__text,
    .home-cta__hours,
    .home-cta__link,
    .home-cta__media,
    .home-cta__ghost,
    .home-cta__rule {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .home-cta__ghost {
        opacity: 0.025;
    }

    .home-cta__rule {
        transform: scaleX(1);
    }

    .home-cta__image-accent {
        animation: none;
    }
}


/* ------------------------------------------------
   VISIT US CTA — Dark closing section
   ------------------------------------------------ */
.home-cta {
    position: relative;
    background: var(--color-charcoal);
    overflow: hidden;
}

/* Top gold border line — mirrors artist section */
.home-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.3;
}

.home-cta__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

/* ----- CONTENT COLUMN ----- */
.home-cta__content {
    position: relative;
    display: flex;
    flex-direction: column;
}

.home-cta__label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
}

.home-cta__rule {
    width: 48px;
    height: 1px;
    background: var(--color-gold);
    margin-bottom: var(--space-sm);
    transform-origin: left center;
}

.home-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-ivory);
    margin-bottom: var(--space-sm);
}

.home-cta__text {
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 400;
    line-height: 1.9;
    color: var(--color-ivory);
    opacity: 0.5;
    max-width: 480px;
    margin-bottom: var(--space-md);
}

/* ----- HOURS ----- */
.home-cta__hours {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0 0 var(--space-md);
}

.home-cta__hours-row {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.home-cta__hours dt {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold);
    min-width: 7em;
}

.home-cta__hours dd {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-ivory);
    opacity: 0.7;
    margin: 0;
}

.home-cta__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    text-decoration: none;
    padding: 0.7em 1.8em;
    border: 1px solid rgba(196, 162, 101, 0.35);
    transition: background 0.3s ease, gap 0.3s ease, border-color 0.3s ease;
    align-self: flex-start;
}

.home-cta__link:hover {
    background: rgba(196, 162, 101, 0.1);
    border-color: var(--color-gold);
    gap: 12px;
}

.home-cta__link svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    stroke: var(--color-gold);
}

.home-cta__link:hover svg {
    transform: translateX(3px);
}

/* ----- GHOST LOGO ----- */
.home-cta__ghost {
    position: absolute;
    bottom: -5%;
    right: -5%;
    width: 14vw;
    height: auto;
    opacity: 0;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    will-change: transform;
    filter: invert(1);
}

.home-cta__content > *:not(.home-cta__ghost) {
    position: relative;
    z-index: 1;
}

/* ----- MAP COLUMN ----- */
.home-cta__media {
    position: relative;
}

.home-cta__map {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    z-index: 1;
}

.home-cta__map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.home-cta__image-accent {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    opacity: 0.25;
    z-index: 0;
    will-change: transform;
    animation: accent-breathe 8s ease-in-out infinite;
    pointer-events: none;
}

/* ----- CTA ENTRANCE ANIMATIONS ----- */
.home-cta__label,
.home-cta__title,
.home-cta__text,
.home-cta__hours,
.home-cta__link,
.home-cta__media {
    opacity: 0;
    transform: translateY(24px);
    animation: section-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

.home-cta__ghost {
    opacity: 0;
    transform: translateY(24px);
    animation: ghost-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

.home-cta__rule {
    transform-origin: left center;
    transform: scaleX(0);
    animation: rule-widen 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

.home-cta--visible .home-cta__label  { animation-play-state: running; animation-delay: 0.2s; }
.home-cta--visible .home-cta__rule   { animation-play-state: running; animation-delay: 0.3s; }
.home-cta--visible .home-cta__title  { animation-play-state: running; animation-delay: 0.35s; }
.home-cta--visible .home-cta__text   { animation-play-state: running; animation-delay: 0.5s; }
.home-cta--visible .home-cta__hours  { animation-play-state: running; animation-delay: 0.55s; }
.home-cta--visible .home-cta__link   { animation-play-state: running; animation-delay: 0.65s; }
.home-cta--visible .home-cta__media  { animation-play-state: running; animation-delay: 0.1s; }
.home-cta--visible .home-cta__ghost  { animation-play-state: running; animation-delay: 0.7s; }


/* ------------------------------------------------
   RESPONSIVE
   ------------------------------------------------ */
@media (max-width: 1200px) {
    .hero__inner {
        padding: var(--space-md) var(--space-md);
    }

    .hero__text {
        padding-right: var(--space-sm);
    }
}

@media (max-width: 900px) {
    .artist__inner {
        grid-template-columns: 1fr;
        padding: 0 var(--space-md) var(--space-md);
        min-height: 0;
    }

    .artist__portrait {
        aspect-ratio: 16 / 9;
        max-height: 300px;
    }

    .artist__text {
        padding-left: 0;
    }

    .artist__ghost {
        display: none;
    }

    .preview__card {
        min-width: 55vw;
    }

    .preview__ghost-number {
        font-size: clamp(6rem, 12vw, 10rem);
    }

    .preview__header {
        padding: var(--space-md) var(--space-md) 0;
        grid-template-columns: 1fr;
        gap: var(--space-xs) 0;
    }

    .preview__title {
        margin-bottom: var(--space-md);
    }

    .preview__intro {
        grid-column: 1;
        max-width: none;
    }

    .preview__progress {
        padding: var(--space-sm) var(--space-md);
    }

    .preview__track {
        padding: var(--space-sm) var(--space-md) var(--space-md);
    }

    .home-cta__inner {
        grid-template-columns: 1fr;
    }

    .home-cta__media {
        max-width: 500px;
        margin: 0 auto;
    }

    .home-cta__ghost {
        display: none;
    }

    /* Hide decorative elements on stacked layout */
    .hero__text::before {
        display: none;
    }

    .hero::before {
        inset: 12px;
    }

    .hero {
        height: auto;
        min-height: 0;
    }

    .hero__inner {
        height: auto;
    }

    .hero__header {
        padding: var(--space-xs) 0 var(--space-sm);
    }

    .hero__body {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        padding-bottom: var(--space-md);
    }

    .hero__text {
        padding-right: 0;
        order: 2;
    }

    .hero__media {
        order: 1;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero__image-frame {
        aspect-ratio: 16 / 9;
    }

    .hero__image-accent {
        display: none;
    }

    .hero__title {
        font-size: clamp(2.8rem, 10vw, 4rem);
    }
}

@media (max-width: 600px) {
    .artist__inner {
        padding: 0 var(--space-sm) var(--space-md);
    }

    .artist__portrait {
        aspect-ratio: 4 / 3;
        max-height: 250px;
    }

    .artist__text {
        text-align: center;
        align-items: center;
    }

    .artist__headline {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .artist__bio {
        max-width: 100%;
    }

    .artist__link {
        justify-content: center;
    }

    .artist__image-accent {
        display: none;
    }

    .artist__rule {
        transform-origin: center center;
    }

    .home-cta__inner {
        padding: var(--space-lg) var(--space-sm);
    }

    .home-cta__image-accent {
        display: none;
    }

    .preview__card {
        min-width: 0;
        max-width: none;
        width: calc(100vw - var(--space-sm) * 3);
        flex-shrink: 0;
    }

    .preview__card-inner {
        overflow: hidden;
    }

    .preview__ghost-number {
        font-size: clamp(5rem, 18vw, 8rem);
        opacity: 0.03;
    }

    .preview__number {
        display: none;
    }

    .preview__header {
        padding: var(--space-md) var(--space-sm) 0;
        grid-template-columns: 1fr;
        gap: var(--space-xs) 0;
    }

    .preview__title {
        font-size: clamp(2.6rem, 12vw, 4rem);
    }

    .preview__intro {
        grid-column: 1;
        max-width: 100%;
        padding-bottom: 0;
    }

    .preview__progress {
        padding: var(--space-xs) var(--space-sm);
    }

    .preview__track {
        padding: var(--space-xs) var(--space-sm) var(--space-md);
        gap: var(--space-sm);
    }

    .preview__card + .preview__card::before {
        display: none;
    }

    .preview__image-accent {
        display: none;
    }

    .preview__end-card {
        min-width: 0;
        width: calc(100vw - var(--space-sm) * 3);
    }

    .hero::before {
        display: none;
    }

    .hero__inner {
        padding: var(--space-sm);
        gap: var(--space-md);
    }

    .hero__body {
        padding-bottom: var(--space-md);
    }

    .hero__title {
        font-size: clamp(2.4rem, 12vw, 3.4rem);
        margin-bottom: var(--space-sm);
    }

    .hero__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }

    .hero__blurb {
        margin-bottom: var(--space-sm);
    }

    .hero__image-accent {
        display: none;
    }
}
