.home-redesign {
    --tailor-ink: #211d1c;
    --tailor-muted: #625a55;
    --tailor-paper: #f8f7f4;
    --tailor-line: #e5dbd1;
    --tailor-accent: #792839;
    --tailor-accent-dark: #591a28;
    --tailor-gold: #a6814b;
    --tailor-radius: 8px;
    --tailor-shadow: 0 12px 32px rgba(42, 29, 23, .07);
}

/* Match carousel and slide heights to prevent a gap below the artwork. */
.home-redesign .header.slider-fade {
    --home-hero-height: clamp(530px, 71vh, 705px);
    min-height: var(--home-hero-height);
    background: var(--tailor-paper);
}

.home-redesign .header.slider-fade .owl-item,
.home-redesign .header.slider-fade .item {
    min-height: var(--home-hero-height);
}

.home-redesign .home-hero-panel {
    background: #fff;
}

.home-redesign .home-hero-art {
    --home-art-position: center 42%;
    position: absolute;
    inset: 0 0 0 auto;
    width: 51%;
    overflow: hidden;
    background: #e3ded7 no-repeat var(--home-art-position) / cover;
    border-left: 1px solid var(--tailor-line);
}

.home-redesign .home-hero-art--upper {
    --home-art-position: center 13%;
}

/* Owl's image placeholder rule also matches lazy background panels. */
.home-redesign .owl-carousel .owl-item .home-hero-art.owl-lazy {
    max-height: none;
}

.home-redesign .home-hero-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--home-art-position);
}

.home-redesign .header .home-hero-panel .caption {
    display: flex;
    align-items: center;
    inset: 0;
    transform: none;
}

.home-redesign .home-hero-panel .slider-content {
    padding-right: 28px;
}

.home-redesign .home-hero-panel .slider-content h1 {
    --site-font: Georgia, "Times New Roman", serif;
    --site-h1: clamp(36px, 4.5vw, 66px);
    margin: 12px 0 18px;
    color: var(--tailor-ink);
}

.home-redesign .header .home-hero-panel .slider-content p {
    max-width: 38ch;
    margin-bottom: 27px;
    color: var(--tailor-muted);
}

.home-redesign .home-hero-panel .slider-tag {
    margin-bottom: 10px;
}

.home-redesign .home-hero-panel .slider-subtitle {
    color: var(--tailor-accent);
}

.home-redesign .home-hero-panel .slider-line {
    background: var(--tailor-gold);
}

.home-redesign .home-hero-panel .slider-btns {
    display: flex;
    gap: 12px 22px;
}

.home-redesign .home-hero-cta {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 18px;
    color: #fff;
    background: var(--tailor-accent);
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.home-redesign .home-hero-cta:is(:hover, :focus-visible) {
    color: #fff;
    background: var(--tailor-accent-dark);
}

.home-redesign .home-hero-panel .slider-ghost-btn,
.home-redesign .home-hero-panel .slider-ghost-btn i {
    margin-top: 0;
    color: var(--tailor-ink);
    border-color: var(--tailor-gold);
}

.home-redesign .header.slider-fade .owl-theme .owl-prev {
    left: 8px;
    margin: 0;
}

.home-redesign .header.slider-fade .owl-theme .owl-next {
    right: 8px;
    margin: 0;
}

.home-redesign .header.slider-fade .owl-theme .owl-nav button {
    background: #211d1c96;
}

.home-redesign .header.slider-fade .owl-theme .owl-dots {
    top: auto;
    right: auto;
    bottom: 13px;
    left: 50%;
    flex-direction: row;
    align-items: center;
    gap: 1px;
    margin: 0;
    padding: 2px 8px;
    background: #211d1cba;
    border-radius: 999px;
    transform: translateX(-50%);
}

.home-redesign .header.slider-fade .owl-theme .owl-dot {
    display: grid;
    height: 22px;
    padding-inline: 4px !important;
    place-items: center;
}

.home-redesign .header.slider-fade .owl-theme .owl-dot span {
    width: 10px;
    height: 3px;
    background: #ffffff75;
}

.home-redesign .header.slider-fade .owl-theme .owl-dot:is(.active, :hover) span {
    width: 19px;
    height: 3px;
    background: #fff;
}

.home-redesign .header.slider-fade .owl-theme .owl-nav button:focus-visible,
.home-redesign .header.slider-fade .owl-theme .owl-dot:focus-visible {
    outline: 2px solid #e9c88e;
    outline-offset: 3px;
}

.home-redesign .home-hero-panel :is(.home-hero-cta, .slider-ghost-btn):focus-visible {
    outline: 2px solid var(--tailor-accent);
    outline-offset: 4px;
}

.home-redesign .home-about {
    background: #fff;
}

.home-redesign .home-about-heading .section-title {
    --site-font: Georgia, "Times New Roman", serif;
    --site-h2: clamp(31px, 3.9vw, 53px);
    color: var(--tailor-ink);
}

.home-redesign .home-about-heading .section-title span {
    color: var(--tailor-accent);
}

.home-redesign .home-about-heading .section-subtitle {
    margin-bottom: 9px;
    color: var(--tailor-accent) !important;
    letter-spacing: .14em;
}

.home-redesign .home-about.section-padding {
    padding-block: clamp(54px, 8vw, 112px);
}

.home-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    grid-template-areas:
        "heading art"
        "copy art";
    column-gap: clamp(24px, 5vw, 72px);
    row-gap: 20px;
}

.home-redesign .home-about .home-about-heading {
    grid-area: heading;
    margin-bottom: 0;
}

.home-redesign .home-about-heading .section-title {
    max-width: 16ch;
    text-wrap: initial;
}

.home-about-copy {
    grid-area: copy;
}

.home-about-copy > p {
    max-width: 63ch;
    margin-bottom: 12px;
    color: var(--tailor-muted);
}

.home-about-copy > p strong {
    color: var(--tailor-ink);
}

.home-redesign .home-about-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 22px 0 20px;
    padding: 0;
    list-style: none;
}

.home-redesign .home-about-benefits li,
.home-redesign .home-about-benefits li:hover {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    padding: 9px 10px;
    color: var(--tailor-ink);
    background: var(--tailor-paper);
    border: 1px solid var(--tailor-line);
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.45;
    transform: none;
}

.home-about-benefits .ti-check {
    display: grid;
    place-items: center;
    flex: 0 0 20px;
    height: 20px;
    color: var(--tailor-accent);
    background: #f1e3e5;
    border-radius: 50%;
    font-size: 10px;
}

.home-about-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    color: var(--tailor-accent);
    border-bottom: 1px solid var(--tailor-gold);
    font-size: 14px;
    font-weight: 600;
}

.home-about-link:is(:hover, :focus-visible) {
    color: var(--tailor-accent-dark);
    border-color: var(--tailor-accent-dark);
}

.home-about-link:focus-visible {
    outline: 2px solid var(--tailor-accent);
    outline-offset: 4px;
}

.home-about-art {
    display: grid;
    grid-area: art;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(8, minmax(0, 1fr));
    align-self: center;
    aspect-ratio: 1.18;
}

.home-about-photo {
    position: relative;
    min-width: 0;
    min-height: 0;
    margin: 0;
}

.home-about-photo--craft {
    grid-area: 1 / 1 / 8 / 10;
    padding: 6px;
    background: var(--tailor-paper);
    border: 1px solid var(--tailor-line);
    border-radius: var(--tailor-radius);
}

.home-about-photo--suit {
    grid-area: 3 / 8 / 9 / 13;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--tailor-line);
    border-radius: var(--tailor-radius);
    box-shadow: var(--tailor-shadow);
}

.home-about-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .home-redesign .header.slider-fade .home-hero-panel .slider-content {
        padding-inline-start: 22px;
    }
}

@media (max-width: 767px) {
    .home-redesign .header.slider-fade {
        --home-hero-height: clamp(485px, 72vh, 600px);
        --home-hero-height: clamp(485px, 72svh, 600px);
    }

    .home-redesign .header.slider-fade .home-hero-panel {
        --home-hero-photo-height: min(48vw, 245px);
    }

    .home-redesign .home-hero-art {
        inset: 0 0 auto;
        width: 100%;
        height: var(--home-hero-photo-height);
        border: 0;
        border-bottom: 1px solid var(--tailor-line);
    }

    .home-redesign .home-hero-art--upper {
        --home-art-position: center 6%;
    }

    .home-redesign .header .home-hero-panel .caption {
        top: var(--home-hero-photo-height);
        bottom: 36px;
    }

    .home-redesign .home-hero-panel .slider-content {
        padding-right: 0;
    }

    .home-redesign .home-hero-panel .slider-content h1 {
        --site-h1: clamp(29px, 7.5vw, 44px);
        margin: 8px 0 10px;
    }

    .home-redesign .header .home-hero-panel .slider-content p {
        --site-text: 14px;
        margin-bottom: 14px;
    }

    .home-redesign .home-hero-panel .slider-btns {
        gap: 9px 16px;
    }

    .home-about-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "heading"
            "art"
            "copy";
    }

    .home-about-art {
        width: min(100%, 530px);
        justify-self: center;
    }
}

@media (max-width: 480px) {
    .home-redesign .home-about-benefits {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Homepage portfolio */
.home-redesign .tailor-gallery {
    --gallery-accent: #c8102e;
    padding-block: clamp(50px, 7vw, 94px);
    background: #0e0b08;
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-family: var(--site-font, "Outfit", Arial, sans-serif);
}

.tailor-gallery-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 22px;
    margin-bottom: clamp(20px, 3vw, 34px);
}

.home-redesign .tailor-gallery .section-head {
    margin: 0;
    text-align: left;
}

.home-redesign .tailor-gallery .section-subtitle {
    margin-bottom: 8px;
    color: var(--gallery-accent) !important;
}

.home-redesign .tailor-gallery .section-title {
    margin: 0;
    color: #fff8ef;
}

.tailor-gallery-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tailor-gallery-controls[hidden] {
    display: none;
}

.tailor-gallery-status {
    margin-right: 7px;
    color: #e1d3c6;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.tailor-gallery-controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #fff3e2;
    background: #3d3230;
    border: 1px solid #826d59;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
}

.tailor-gallery-controls button:is(:hover, :focus-visible) {
    color: #fff;
    background: var(--gallery-accent);
    border-color: var(--gallery-accent);
}

.tailor-gallery-controls button:focus-visible {
    outline: 2px solid var(--gallery-accent);
    outline-offset: 3px;
}

.tailor-gallery-carousel:not(.owl-loaded) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.tailor-gallery-card {
    display: block;
    overflow: hidden;
    background: #17120f;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
}

.tailor-gallery-card:is(:hover, :focus-visible) {
    border-color: var(--gallery-accent);
}

.tailor-gallery-card:focus-visible {
    outline: 2px solid var(--gallery-accent);
    outline-offset: -3px;
}

.tailor-gallery-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.05;
    background: #302827;
}

.tailor-gallery-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform .3s ease;
}

.tailor-gallery-card:hover img {
    transform: scale(1.035);
}

@media (max-width: 991px) {
    .tailor-gallery-carousel:not(.owl-loaded) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 639px) {
    .tailor-gallery-carousel:not(.owl-loaded) {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tailor-gallery-image img {
        transition: none;
    }

    .tailor-gallery-card:hover img {
        transform: none;
    }
}
