/* Match the Shopify header composition: navigation left, logo on the true
   viewport centerline, and utility icons on the right. */
@media (min-width: 1001px) {
    .calista-header__inner {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        min-height: 76px;
        gap: 24px;
    }

    .calista-header__inner > .calista-brand img {
        max-width: 190px;
        max-height: 52px;
    }

    .calista-header__inner > .calista-nav {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .calista-header__inner > .calista-brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .calista-header__inner > .calista-header__tools {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .calista-nav__list {
        gap: clamp(16px, 1.45vw, 30px);
    }

    .calista-nav__list a {
        font-size: 10px;
        letter-spacing: .1em;
    }

    .calista-hero__content {
        width: min(560px, 52%);
        margin-left: 46%;
        text-align: center;
    }

    .calista-hero h1 {
        max-width: 560px;
        margin-inline: auto;
        font-size: clamp(46px, 4vw, 54px);
        line-height: .99;
    }

    .calista-hero__intro {
        margin-inline: auto;
    }

    .calista-actions,
    .calista-hero__trust {
        justify-content: center;
    }

    .calista-hero__shade {
        background: linear-gradient(90deg, rgba(9,7,11,.18) 0%, rgba(14,10,16,.44) 42%, rgba(15,11,17,.78) 100%), linear-gradient(0deg, rgba(9,7,11,.42), transparent 48%);
    }
}

.calista-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #eee8ef;
}

.calista-account svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
}

.calista-reviews {
    overflow: hidden;
    padding-top: 12px;
    background: #17121a;
}

.calista-reviews__rail {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 0 0 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.calista-reviews__rail::-webkit-scrollbar {
    display: none;
}

.calista-review-card {
    flex: 0 0 calc((100% - 18px) / 2);
    min-height: 198px;
    padding: 28px 30px 24px;
    border: 1px solid rgba(220,206,225,.16);
    background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
    scroll-snap-align: start;
}

.calista-review-card__stars {
    color: #d7bd81;
    font-size: 13px;
    letter-spacing: .16em;
}

.calista-review-card blockquote {
    margin: 18px 0 22px;
    color: #f0eaf2;
    font-family: var(--serif);
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1.35;
}

.calista-review-card__client {
    margin: 0;
    color: #e4d9e8;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.calista-review-card__client span {
    color: #bcb1c1;
}

/* The Shopify proof rail is a swipeable strip with the next item peeking in. */
.calista-proof__rail {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.calista-proof__rail::-webkit-scrollbar {
    display: none;
}

.calista-proof__rail figure {
    flex: 0 0 calc((100% - 45px) / 4);
    scroll-snap-align: start;
}

@media (max-width: 1000px) {
    .calista-header__inner {
        position: relative;
    }

    .calista-header__tools {
        gap: 14px;
    }

    .calista-search {
        position: absolute;
        left: 48px;
        display: flex;
        border: 0;
    }

    .calista-search input {
        display: none;
    }

    .calista-search button {
        width: 28px;
        height: 36px;
        padding: 0;
    }

    .calista-account,
    .calista-cart {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 36px;
    }

    .calista-account svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.3;
    }

    .calista-proof__rail figure {
        flex-basis: min(76vw, 390px);
    }

    .calista-proof__rail figure:nth-child(n+3) {
        display: block;
    }
}

@media (max-width: 700px) {
    .calista-header__tools {
        grid-column: 3;
        width: 100%;
        justify-content: flex-end;
        gap: 7px;
    }

    .calista-header__inner > .calista-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .calista-hero__content {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .calista-hero h1 {
        max-width: 480px;
        margin-inline: auto;
    }

    .calista-hero__intro {
        margin-inline: auto;
    }

    .calista-actions,
    .calista-hero__trust {
        align-items: center;
        justify-content: center;
    }

    .calista-actions {
        width: 100%;
    }

    .calista-actions > * {
        width: min(100%, 420px);
    }

    .calista-hero__trust {
        flex-direction: column;
    }

    .calista-hero__shade {
        background: linear-gradient(0deg, rgba(8,6,10,.96) 3%, rgba(12,8,14,.76) 52%, rgba(13,9,15,.36) 100%);
    }

    .calista-proof__rail figure {
        flex-basis: 86%;
    }

    .calista-reviews {
        padding-top: 0;
    }

    .calista-review-card {
        flex-basis: 86%;
        min-height: 190px;
        padding: 23px 22px 20px;
    }
}

/* Bring the home page closer to the Shopify reference composition. */
@media (min-width: 1001px) {
    .calista-hero {
        min-height: 610px;
    }

    .calista-hero__content {
        width: min(560px, 100%);
        margin-inline: auto;
        text-align: center;
    }

    .calista-hero h1 {
        max-width: 560px;
        margin-inline: auto;
        font-size: clamp(46px, 4vw, 54px);
        line-height: .99;
    }

    .calista-hero__intro {
        margin-inline: auto;
    }

    .calista-actions,
    .calista-hero__trust {
        justify-content: center;
    }

    .calista-hero__trust {
        max-width: 540px;
        margin-inline: auto;
        column-gap: 22px;
        row-gap: 12px;
    }

    .calista-pathways__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .calista-pathway,
    .calista-pathway:nth-child(4),
    .calista-pathway:nth-child(5) {
        grid-column: span 1;
    }

    .calista-pathway:last-child {
        grid-column: 1 / -1;
    }
}

.calista-home-atmosphere {
    position: relative;
    isolation: isolate;
    overflow: clip;
    background: #080d0d;
}

.calista-home-atmosphere__scene {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(16, 14, 17, .72), rgba(16, 14, 17, .93)),
        linear-gradient(135deg, rgba(117, 111, 120, .2), rgba(24, 21, 26, .44)),
        url('./calista-forest-night-v1.webp') center top / cover no-repeat;
    background-blend-mode: normal, color, normal;
    background-attachment: fixed;
}

.calista-home-atmosphere > section {
    position: relative;
    z-index: 1;
    background: transparent !important;
}

.calista-home-atmosphere__scene span {
    position: absolute;
    z-index: 2;
    width: .38rem;
    height: .38rem;
    border-radius: 50%;
    background: rgba(222, 218, 223, .84);
    box-shadow: 0 0 .7rem .2rem rgba(117, 111, 120, .42);
    opacity: 0;
    animation: calista-firefly-float 14s ease-in-out infinite, calista-firefly-glow 5s ease-in-out infinite;
}

.calista-home-atmosphere__scene span:nth-child(1) { top: 8%; left: 12%; animation-delay: -4s, -1s; }
.calista-home-atmosphere__scene span:nth-child(2) { top: 21%; left: 72%; animation-delay: -9s, -3s; }
.calista-home-atmosphere__scene span:nth-child(3) { top: 36%; left: 31%; animation-delay: -12s, -4s; }
.calista-home-atmosphere__scene span:nth-child(4) { top: 51%; left: 84%; animation-delay: -6s, -2s; }
.calista-home-atmosphere__scene span:nth-child(5) { top: 68%; left: 18%; animation-delay: -10s, -5s; }
.calista-home-atmosphere__scene span:nth-child(6) { top: 82%; left: 53%; animation-delay: -2s, -4.5s; }
.calista-home-atmosphere__scene span:nth-child(7) { top: 92%; left: 63%; animation-delay: -7s, -1.5s; }
.calista-home-atmosphere__scene span:nth-child(8) { top: 28%; left: 91%; animation-delay: -11s, -3.5s; }

@keyframes calista-firefly-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    35% { transform: translate3d(2.2rem, -3rem, 0); }
    70% { transform: translate3d(-1.6rem, -5rem, 0); }
}

@keyframes calista-firefly-glow {
    0%, 100% { opacity: 0; }
    38%, 62% { opacity: .48; }
    50% { opacity: .82; }
}

.calista-process .calista-section-heading--row {
    align-items: end;
    margin-bottom: 25px;
}

.calista-process .calista-section-heading--row > div {
    max-width: none;
}

.calista-process .calista-section-heading--row h2 {
    margin-bottom: 0;
}

.calista-process .calista-section-heading--row > p:last-child {
    max-width: 520px;
    margin-bottom: 5px;
}

.calista-process__grid {
    gap: 10px;
}

.calista-process__grid li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 11px;
    min-height: 118px;
    padding: 18px 14px;
    border: 1px solid rgba(223, 207, 231, .17);
    background: rgba(12, 10, 14, .38);
}

.calista-process__grid li > span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    margin: 0;
    border: 1px solid rgba(223, 207, 231, .23);
    border-radius: 50%;
    font-family: var(--sans);
    font-size: 9px;
}

.calista-process__grid h3,
.calista-process__grid p {
    grid-column: 2;
}

.calista-process__grid h3 {
    margin-top: -28px;
    margin-bottom: 8px;
    font-size: 17px;
}

.calista-process__grid p {
    max-width: none;
    font-size: 10px;
    line-height: 1.65;
}

.calista-sample-spells {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.calista-sample-spell {
    overflow: hidden;
    border: 1px solid rgba(223, 207, 231, .15);
    background: #171318;
    text-align: center;
}

.calista-sample-spell a {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.calista-sample-spell img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.05;
    object-fit: cover;
}

.calista-sample-spell__category {
    margin: 18px 10px 8px;
    color: #b9a7bd;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .15em;
}

.calista-sample-spell strong {
    min-height: 48px;
    margin: 0 12px 12px;
    color: #eee8ef;
    font-family: var(--serif);
    font-size: clamp(17px, 1.6vw, 23px);
    font-weight: 400;
}

.calista-sample-spell__link {
    margin-top: auto;
    padding: 8px 12px 17px;
    color: #cbb8d0;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .15em;
}

.calista-sample-spell:hover {
    border-color: rgba(217, 194, 226, .55);
}

.calista-samples-note {
    margin: 14px 0 0;
    color: #958b98;
    font-size: 10px;
    text-align: center;
}

@media (max-width: 700px) {
    .calista-process .calista-section-heading--row {
        align-items: flex-start;
    }

    .calista-process__grid li {
        grid-template-columns: 24px minmax(0, 1fr);
        min-height: 172px;
        padding: 13px 10px;
        column-gap: 7px;
    }

    .calista-process__grid li > span {
        width: 23px;
        height: 23px;
    }

    .calista-process__grid h3 {
        margin-top: -25px;
        font-size: 16px;
    }

    .calista-sample-spells {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .calista-sample-spell__category {
        margin-top: 13px;
        font-size: 7px;
    }

    .calista-sample-spell strong {
        min-height: 42px;
        font-size: 18px;
    }
}

.calista-footer__inner {
    grid-template-columns: minmax(250px, 1.3fr) minmax(150px, .6fr) minmax(290px, 1.15fr);
    align-items: start;
    gap: clamp(32px, 5vw, 78px);
    padding-top: 54px;
    padding-bottom: 46px;
}

.calista-footer__mark {
    display: inline-flex;
    width: 150px;
    margin-bottom: 18px;
}

.calista-footer__mark img {
    display: block;
    width: 100%;
    height: auto;
}

.calista-footer__brand .calista-eyebrow {
    margin-bottom: 10px;
    font-size: 8px;
}

.calista-footer__brand h2,
.calista-footer__newsletter h2 {
    margin: 0 0 11px;
    color: #e9e0eb;
    font-family: var(--serif);
    font-size: clamp(22px, 2vw, 29px);
    font-weight: 400;
    line-height: 1.2;
}

.calista-footer__brand > p:last-child,
.calista-footer__newsletter > p {
    max-width: 370px;
    margin: 0 0 16px;
    color: #bdb3c1;
    font-size: 11px;
    line-height: 1.8;
}

.calista-footer__links h2 {
    margin: 5px 0 15px;
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.calista-footer__list {
    gap: 13px;
}

.calista-footer__list a {
    font-size: 10px;
}

.calista-footer__newsletter h2 {
    font-size: 24px;
}

.calista-newsletter {
    position: relative;
    display: flex;
    width: min(100%, 390px);
    min-height: 44px;
    margin-top: 19px;
    border: 1px solid rgba(223, 207, 231, .16);
    background: rgba(255, 255, 255, .025);
}

.calista-newsletter > input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 0 15px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f3edf4;
    font: inherit;
    font-size: 11px;
}

.calista-newsletter > input[type="email"]::placeholder {
    color: #c0b7c3;
}

.calista-newsletter button {
    width: 42px;
    border: 0;
    border-left: 1px solid rgba(223, 207, 231, .12);
    background: rgba(255, 255, 255, .025);
    color: #eee6f0;
    cursor: pointer;
    font-size: 18px;
}

.calista-newsletter button:hover {
    background: rgba(202, 174, 211, .16);
}

.calista-newsletter__trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.calista-footer__newsletter .calista-newsletter__privacy,
.calista-footer__newsletter .calista-newsletter__notice {
    margin-top: 8px;
    margin-bottom: 13px;
    font-size: 9px;
}

.calista-footer__newsletter .calista-newsletter__notice {
    color: #e1d2e6;
}

.calista-footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 13px;
    color: #c3b8c7;
    font-size: 8px;
    letter-spacing: .15em;
}

.calista-footer__social a {
    display: inline-flex;
    min-width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    padding-inline: 5px;
    border: 1px solid rgba(223, 207, 231, .2);
    background: rgba(255, 255, 255, .08);
    color: #f2eaf3;
    font-family: var(--serif);
    font-size: 10px;
    letter-spacing: 0;
}

.calista-footer__social a:hover {
    background: rgba(202, 174, 211, .2);
}

.calista-footer__bottom-inner {
    min-height: 78px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding-block: 11px;
}

.calista-footer__payments {
    display: flex;
    min-height: 23px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.calista-payment-badge {
    display: inline-flex;
    min-width: 35px;
    min-height: 18px;
    align-items: center;
    justify-content: center;
    padding: 2px 5px;
    border-radius: 2px;
    background: #f7f5f7;
    color: #211c23;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
}

.calista-payment-badge img {
    display: block;
    width: auto;
    max-width: 48px;
    max-height: 16px;
}

.calista-footer__bottom-inner > p {
    margin: 0;
}

@media (max-width: 1000px) {
    .calista-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 34px 28px;
    }

    .calista-footer__brand {
        grid-column: 1 / -1;
    }

    .calista-home-atmosphere__scene {
        background-attachment: scroll;
    }
}

@media (max-width: 700px) {
    .calista-footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 42px;
        padding-bottom: 35px;
    }

    .calista-footer__brand {
        grid-column: auto;
    }

    .calista-footer__mark {
        width: 138px;
    }

    .calista-footer__links h2 {
        margin-top: 0;
    }

    .calista-footer__bottom-inner {
        align-items: center;
        text-align: center;
    }

    .calista-footer__payments {
        gap: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .calista-home-atmosphere__scene span {
        display: none;
        animation: none;
    }
}

/* Shopify-matched card imagery: subdued at rest, clearer on hover/focus. */
.calista-pathway {
    isolation: isolate;
    background-color: #0d0b0e;
    background-image: none;
    transform: none;
    transition: border-color 220ms ease;
}

.calista-pathway::before,
.calista-pathway::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
}

.calista-pathway::before {
    z-index: -2;
    background: var(--path-image) center / cover no-repeat;
    filter: saturate(.54) brightness(.58) contrast(.96);
    transition: filter 220ms ease;
}

.calista-pathway::after {
    z-index: -1;
    background: linear-gradient(0deg, rgba(9, 7, 11, .94), rgba(9, 7, 11, .06) 85%);
    opacity: 1;
}

.calista-pathway__inner {
    z-index: 1;
}

.calista-pathway:hover,
.calista-pathway:focus-visible {
    border-color: rgba(205, 197, 211, .26);
    transform: none;
}

.calista-pathway:hover::before,
.calista-pathway:focus-visible::before {
    filter: saturate(.9) brightness(.82) contrast(.96);
}

.calista-sample-spell {
    transition: border-color 220ms ease;
}

.calista-sample-spell a {
    position: relative;
}

.calista-sample-spell a::after {
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    aspect-ratio: 1 / 1.05;
    background: linear-gradient(180deg, rgba(14, 12, 15, .05), rgba(14, 12, 15, .3)), rgba(70, 62, 72, .14);
    content: "";
    opacity: 1;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.calista-sample-spell img {
    filter: saturate(.7) brightness(.72) contrast(.94);
    transform: none;
    transition: filter 220ms ease;
}

.calista-sample-spell:hover,
.calista-sample-spell:focus-within {
    border-color: rgba(205, 197, 211, .24);
}

.calista-sample-spell:hover img,
.calista-sample-spell:focus-within img,
.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product:focus-within a img {
    filter: saturate(.9) brightness(.82) contrast(.96);
    transform: none;
}

.calista-sample-spell:hover a::after,
.calista-sample-spell:focus-within a::after {
    opacity: .34;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    transform: none;
    transition: border-color 220ms ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product:focus-within,
.woocommerce-page ul.products li.product:hover,
.woocommerce-page ul.products li.product:focus-within {
    border-color: rgba(205, 197, 211, .24);
    transform: none;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    filter: saturate(.7) brightness(.72) contrast(.94);
    transform: none;
    transition: filter 220ms ease;
}

@media (prefers-reduced-motion: reduce) {
    .calista-pathway,
    .calista-pathway::before,
    .calista-pathway::after,
    .calista-sample-spell,
    .calista-sample-spell img,
    .calista-sample-spell a::after,
    .woocommerce ul.products li.product,
    .woocommerce ul.products li.product a img {
        transition: none;
    }
}

/* Extend the Shopify image treatment to CSS background artwork. */
.calista-hero__image {
    filter: saturate(.7) brightness(.72) contrast(.94);
}

.calista-home-atmosphere__scene {
    isolation: isolate;
    background: none;
}

.calista-home-atmosphere__scene::before,
.calista-home-atmosphere__scene::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
}

.calista-home-atmosphere__scene::before {
    z-index: 0;
    background: url('./calista-forest-night-v1.webp') center top / cover no-repeat;
    background-attachment: fixed;
    filter: saturate(.7) brightness(.72) contrast(.94);
}

.calista-home-atmosphere__scene::after {
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(16, 14, 17, .72), rgba(16, 14, 17, .93)),
        linear-gradient(135deg, rgba(117, 111, 120, .2), rgba(24, 21, 26, .44));
}

.calista-home-atmosphere__scene span {
    z-index: 2;
}

.calista-page-hero {
    isolation: isolate;
    background: #100d11;
}

.calista-page-hero::before,
.calista-page-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
}

.calista-page-hero::before {
    z-index: 0;
    background: url('./hero-altar.webp') center 45% / cover no-repeat;
    filter: saturate(.7) brightness(.72) contrast(.94);
}

.calista-page-hero::after {
    z-index: 1;
    background: linear-gradient(90deg, rgba(12, 9, 14, .92), rgba(18, 13, 20, .72));
}

.calista-page-hero .calista-container {
    z-index: 2;
}

.calista-footer {
    isolation: isolate;
    background: #110e13;
}

.calista-footer::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: url('./footer-lunar.jpg') center 43% / cover no-repeat;
    content: "";
    filter: saturate(.7) brightness(.72) contrast(.94);
    pointer-events: none;
}

.calista-footer__veil {
    z-index: 1;
}

.calista-footer__inner,
.calista-footer__bottom {
    z-index: 2;
}

/* Shopify's unified card radius is 5px; keep image edges clipped to it. */
.calista-pathway,
.calista-sample-spell,
.calista-proof__rail figure,
.calista-review-card,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    border-radius: 5px;
}

.calista-sample-spell,
.calista-proof__rail figure,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    overflow: hidden;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    border-radius: 5px 5px 0 0;
}

/* Match Shopify's proof gallery card height, image filter, and hover overlay. */
.calista-proof__rail figure {
    position: relative;
    height: 420px;
    border-radius: 5px;
    transition: border-color 220ms ease;
}

.calista-proof__rail figure::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 12, 15, .05), rgba(14, 12, 15, .3)), rgba(70, 62, 72, .14);
    content: "";
    opacity: 1;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.calista-proof__rail figure img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    filter: saturate(.7) brightness(.72) contrast(.94);
    object-fit: cover;
    object-position: center;
    transform: none;
    transition: filter 220ms ease;
}

.calista-proof__rail figure:hover,
.calista-proof__rail figure:focus-within {
    border-color: rgba(205, 197, 211, .24);
}

.calista-proof__rail figure:hover img,
.calista-proof__rail figure:focus-within img {
    filter: saturate(.9) brightness(.82) contrast(.96);
}

.calista-proof__rail figure:hover::after,
.calista-proof__rail figure:focus-within::after {
    opacity: .34;
}

@media (max-width: 1000px) {
    .calista-home-atmosphere__scene::before {
        background-attachment: fixed;
        background-position: center center;
        background-size: cover;
    }
}

/* Use Shopify's mobile focal point and reduce the panoramic hero crop. */
@media (max-width: 749px) {
    .calista-hero__image {
        background-position: 92% 54%;
        background-size: auto 88%;
        transform: none;
    }

    .calista-hero__content {
        padding-top: 175px;
        padding-bottom: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .calista-proof__rail figure,
    .calista-proof__rail figure img,
    .calista-proof__rail figure::after {
        transition: none;
    }
}
