@font-face {
    font-family: "Lions Accordion Icons";
    src: url("../fonts/home-accordion-icons.woff") format("woff");
    font-display: block;
}

@font-face {
    font-family: "Lions Caption Arrow";
    src: url("../fonts/home-arrow-compat.woff2") format("woff2");
    font-display: block;
    unicode-range: U+F178;
}

.lions-home {
    --home-ink: #282445;
    --home-gold: #d6a461;
    --home-heading: "Cormorant Garamond", Georgia, serif;
    background: #fff;
    color: var(--home-ink);
    font: 400 16px/24px Montserrat, Arial, sans-serif;
}

.lions-home *, .lions-home *::before, .lions-home *::after {
    box-sizing: border-box;
}

.lions-home [hidden] { display: none; }
.lions-home img { display: block; max-width: 100%; }
.lions-home a { color: inherit; text-decoration: none; }
.lions-home :is(h1, h2, p) { margin: 0; }
.lions-home :is(h1, h2) { font-family: var(--home-heading); }
.lions-home :focus-visible { outline: 2px solid var(--home-gold); outline-offset: 2px; }

.home-section {
    width: min(1420px, calc(100% - 40px));
    margin-inline: auto;
}

.flooring-collections { padding-block: 48px 60px; }
.flooring-collections :is(h1, h2) { font-size: clamp(32px, 4vw, 54px); line-height: 1.12; }
.flooring-collections p { margin-top: 16px; }
.flooring-collections .home-card-grid { margin-top: 32px; }
.flooring-collections .home-card img { aspect-ratio: 17 / 20; object-fit: cover; }
.flooring-collections .home-card > span::after {
    margin-left: 10px;
    color: var(--home-gold);
    font: 400 1em/1 "Lions Caption Arrow";
    content: "\f178";
}
.flooring-collections__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.home-hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.home-hero__slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: var(--hero-image) center / cover no-repeat;
    overflow-anchor: none;
}

.home-hero__slide > img:last-child {
    position: relative;
    width: min(439px, 90%);
    height: auto;
}

.home-hero__slide--incoming { z-index: 1; }

.home-arrow {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--home-ink);
    cursor: pointer;
    transform: translateY(-50%);
}

.home-arrow:disabled { opacity: .35; cursor: default; }
.home-arrow--prev { left: 5px; }
.home-arrow--next { right: 5px; }

.home-arrow::before {
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(-45deg);
}

.home-arrow--prev::before { transform: rotate(135deg); }
.home-hero .home-arrow {
    z-index: 2;
    width: 25px;
    height: 75px;
    color: #fff;
    opacity: .7;
    transform: translateY(-16px);
}

.home-hero .home-arrow:is(:hover, :focus-visible) { opacity: 1; }

.home-hero .home-arrow::before {
    width: auto;
    height: auto;
    border: 0;
    font: 900 50px/75px Lions Header Icons;
    transform: none;
}

.home-hero .home-arrow--prev::before { content: "\f104"; }
.home-hero .home-arrow--next::before { content: "\f105"; }

.home-collections {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    padding-top: 30px;
    padding-bottom: 70px;
}

.home-collections h2,
.home-colors h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 51px;
}

.home-collections h2 {
    grid-area: 1 / 1;
    align-self: start;
    margin-left: 10px;
    pointer-events: none;
}

.home-collections__tabs {
    grid-area: 1 / 1;
    width: 100%;
    align-self: start;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0 20px;
    padding-top: 2.1875px;
}

.home-collections__tabs button {
    padding: 15px;
    border: 0;
    background: none;
    color: inherit;
    font: 600 18px/16px Montserrat, Arial, sans-serif;
    letter-spacing: .9px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 150ms linear;
}

.home-collections__tabs button[aria-selected="true"] {
    color: var(--home-gold);
}

.home-collections__accordion { display: none; }

.home-collection {
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 27.1875px 0 0;
    overflow-anchor: none;
}

.home-collection,
.home-carousel { position: relative; }

.home-carousel { margin: 0 -10px -10px; }
#home-panel-spc { margin-inline: 10px; }

.home-card-grid {
    display: grid;
    gap: 20px;
}

.home-rail,
.home-rail__track {
    --home-visible-cards: 4;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% / var(--home-visible-cards));
}

.home-rail { overflow: clip; }
.home-rail--enhanced { display: block; touch-action: pan-y pinch-zoom; }
.home-rail__track {
    --home-visible-cards: inherit;
    position: relative;
    overflow-anchor: none;
}
.home-rail__track--moving { transition: transform 500ms ease; }
.home-rail .home-card { padding: 10px; }

.home-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#home-panel-laminate .home-card-grid,
#home-panel-wpc .home-card-grid,
#home-panel-loose-lay .home-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.home-card {
    display: block;
    min-width: 0;
    overflow: hidden;
}

.home-card img {
    width: 100%;
    height: auto;
}

.home-rail .home-card img { aspect-ratio: 17/20; object-fit: cover; }

#home-panel-spc .home-card img {
    aspect-ratio: auto;
    object-fit: fill;
}

#home-panel-spc .home-card span {
    min-height: 48px;
    padding: 15px 0;
    font: 500 18px/16px Montserrat, Arial, sans-serif;
    letter-spacing: .95px;
    background: #fff;
}

.home-card span {
    display: block;
    padding-top: 16px;
    font: 500 19px/20px Montserrat, Arial, sans-serif;
    letter-spacing: .95px;
    text-transform: uppercase;
}

.home-card:hover span { color: var(--home-gold); }

.home-rail .home-card:hover span { color: var(--home-ink); }

.home-rail .home-card > span::after,
.home-help .home-card > span::after {
    display: inline-block;
    margin-left: 10px;
    color: var(--home-gold);
    font: 400 1em/1 "Lions Caption Arrow";
    -webkit-font-smoothing: antialiased;
    text-rendering: auto;
    content: "\f178";
}

#home-panel-spc .home-card > span::after {
    margin-left: 10px;
}

.home-collection .home-arrow,
.home-carousel .home-arrow {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 22.5px;
    height: 30px;
    background: transparent;
    color: var(--home-gold);
}

.home-collection .home-arrow::before,
.home-carousel .home-arrow::before {
    width: auto;
    height: auto;
    border: 0;
    font: 900 45px/28px Lions Header Icons;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    content: "\f105";
    transform: none;
}

.home-collection .home-arrow:is(:hover, :focus-visible)::before,
.home-carousel .home-arrow:is(:hover, :focus-visible)::before {
    flex: 0 0 28px;
}

.home-collection .home-arrow--prev::before,
.home-carousel .home-arrow--prev::before { content: "\f104"; }

.home-collection .home-arrow--prev,
.home-carousel .home-arrow--prev { left: -31.25px; }
.home-collection .home-arrow--next,
.home-carousel .home-arrow--next { right: -31.25px; }

.home-intro {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 677px;
    background: var(--home-ink);
    color: #fff;
}

.home-intro__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: url("../images/home/room-visualizer-background.webp") 80% 0%/cover no-repeat;
}

.home-intro__visual img {
    position: relative;
    width: min(511px, 85%);
    height: auto;
    margin-right: -190px;
}

.lions-js .home-reveal { opacity: 0; }
.home-reveal--visible { animation: home-fade-in 1s ease 500ms both; }

@keyframes home-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.home-intro__copy {
    align-self: center;
    padding: 40px 120px 40px 250px;
}

.home-intro h1 {
    margin-bottom: 20px;
    font-size: 52px;
    line-height: 43px;
}

.home-intro p { padding-bottom: 10px; }
.home-intro .home-button { margin-top: 10px; }

.lions-home .home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border: 1px solid var(--home-gold);
    background: var(--home-gold);
    color: #fff;
    font: 600 15px/19px Montserrat, Arial, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 200ms linear;
}

.lions-home .home-button:is(:hover, :focus-visible) {
    background: var(--home-ink);
}

.home-colors {
    padding: 60px 0;
}

.home-colors h2 { margin-bottom: 10px; }

.home-colors .home-card span {
    min-height: 49px;
    padding: 15px 0;
    font: 500 19px/16px Montserrat, Arial, sans-serif;
    letter-spacing: .95px;
    text-transform: uppercase;
}

.home-card__media {
    position: relative;
    overflow: hidden;
}

.home-card__media img { transition: transform 300ms linear; }
.home-card__media::after {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 50%);
    opacity: 0;
    transition: opacity 150ms linear;
    content: "";
}

.home-card__media:hover img,
.home-card:focus-visible .home-card__media img { transform: scale(1.05); }
.home-card__media:hover::after,
.home-card:focus-visible .home-card__media::after {
    opacity: .4;
    transition-delay: 150ms;
}

.home-story {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 800px;
    padding: 40px 20px;
    background: url("../images/home/story.webp") center var(--home-story-offset, 50%) / cover fixed no-repeat;
    color: #fff;
    text-align: center;
}

.home-story::before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-story::before { z-index: 1; background: rgb(12 3 0 / 60%); content: ""; }
.home-story > div {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(760px, 100%);
}

.home-story h2 {
    margin-bottom: 20px;
    font-size: 53px;
    font-weight: 400;
    line-height: 62px;
}

.lions-home .home-story .home-button { border: 0; border-radius: 0; }

.home-videos {
    padding: 40px 0;
}

.home-video {
    max-width: 840px;
    margin-inline: auto;
    aspect-ratio: 5 / 2;
    overflow: hidden;
    background: #171621;
}

.home-video img { width: 100%; height: 100%; object-fit: cover; }

@media (pointer: coarse) {
    .home-story { background-attachment: scroll; }
}
.home-help { padding: 60px 0; }
.home-help .home-card-grid { gap: 40px; }

.home-help h2 {
    margin-bottom: 40px;
    font-size: 54px;
    line-height: 51px;
    text-align: center;
}

.home-help .home-card span {
    margin: 20px 0 10px;
    padding: 0;
    font-size: 22px;
    line-height: 16px;
    letter-spacing: 1.1px;
}

@media (min-width: 1100px) {
    .home-section:not(.home-intro) { width: min(1420px, calc(100% - 80px)); }
}

@media (min-width: 768px) {
    .home-help .home-card-grid {
        grid-template-columns: repeat(3, calc((100% + 40px) * .3333 - 40px));
    }
}

@media (max-width: 1100px) {
    .home-collections h2 { margin-left: 0; }
    .home-intro__visual img { margin-right: -90px; }
    .home-intro__copy { padding-inline: 110px 25px; }
}

@media (max-width: 1500px) {
    .home-collection .home-arrow--prev,
    .home-carousel .home-arrow--prev { left: 0; }
    .home-collection .home-arrow--next,
    .home-carousel .home-arrow--next { right: 0; }
}

@media (max-width: 1189px) {
    .home-rail { --home-visible-cards: 3; }
}

@media (1100px < width < 1190px) {
    .home-intro__copy { padding-inline: 220px 40px; }
}

@media (max-width: 1098px) {
    .home-rail { --home-visible-cards: 2; }
}

@media (max-width: 1099px) {
    .home-hero { height: auto; aspect-ratio: 1; }
    .home-hero__slide > img:last-child { width: 100%; }
    .home-collections { display: block; padding-top: 40px; }
    .home-collections h2 { margin: 0 0 20px; }
    .home-collections__tabs { display: none; }
    .home-collections__accordion {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 50px;
        padding: 15px;
        border: 0;
        background: #f7f7f7;
        color: var(--home-ink);
        font: 600 16px/16px Montserrat, Arial, sans-serif;
        letter-spacing: .9px;
        text-align: left;
        text-transform: uppercase;
        cursor: pointer;
    }
    .home-collections__accordion[aria-expanded="true"] { color: var(--home-gold); }
    .home-collections__accordion::after {
        flex: 0 0 16.90625px;
        width: 16.90625px;
        text-align: center;
        font: 16px/1 "Lions Accordion Icons";
        -webkit-font-smoothing: antialiased;
        transition: transform 150ms linear;
        content: "\e9f8";
    }
    .home-collections__accordion[aria-expanded="true"]::after { transform: rotate(180deg); }
}

@media (max-width: 1025px) {
    .home-hero { height: 500px; aspect-ratio: auto; }
    .home-hero__slide > img:last-child { width: min(439px, calc(100% - 40px)); }
}

@media (max-width: 480px) {
    .home-hero { height: 400px; }
    .home-hero__slide > img:last-child { width: min(439px, calc(100% - 80px)); }
}

@media (prefers-reduced-motion: reduce) {
    .lions-js .home-reveal { opacity: 1; animation: none; }
    .home-story { background-attachment: scroll; }
    .home-card__media::after, .home-card__media img, .lions-home .home-button { transition: none; }
    .home-collections__accordion::after { transition: none; }
}

@media (max-width: 767px) {
    .home-collections h2, .home-colors h2 { font-size: 25px; line-height: 1.4; }
    .home-collection { margin: 20px 0 0; }
    #home-panel-spc { margin-inline: 0; }
    .home-card-grid { grid-template-columns: minmax(0, 1fr); }
    #home-panel-laminate .home-card-grid,
    #home-panel-wpc .home-card-grid,
    #home-panel-loose-lay .home-card-grid { grid-template-columns: minmax(0, 1fr); }
    .home-intro { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .home-intro__visual { justify-content: center; padding: 20px; }
    .home-intro__visual img { margin: 0; }
    .home-intro__copy { padding: 40px 20px; text-align: center; }
    .home-intro h1 { font-size: 36px; line-height: 1.15; }
    .home-story { min-height: 400px; background-attachment: scroll; }
    .home-story h2, .home-help h2 { font-size: 30px; line-height: 1.4; }
}
