:root {
    --ink: #1b2f3a;
    --muted: #6e8188;
    --paper: #f6fbfd;
    --milk: #ffffff;
    --yarn-blue: #d9edf7;
    --blue-deep: #8fb8d2;
    --accent: #5667d8;
    --line: #dfebee;
    --shadow: 0 30px 90px rgba(57, 96, 132, .16);
    --radius: 24px;
}

.bliss-professional-home #masthead,
.bliss-professional-home .entry-header,
.bliss-professional-home .entry-title,
.bliss-professional-home #colophon {
    display: none !important;
}

.bliss-professional-home .site-content,
.bliss-professional-home .ast-container,
.bliss-professional-home .site-main,
.bliss-professional-home article,
.bliss-professional-home .entry-content {
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

.bliss-professional-home #primary {
    margin: 0 !important;
}

.bliss-professional-home article.ast-article-single {
    padding: 0 !important;
}

.bliss-home-shell,
.bliss-home-shell * {
    box-sizing: border-box;
}

.bliss-home-shell {
    background:
        linear-gradient(rgba(224, 242, 250, .82), rgba(246, 251, 253, .9)),
        url("home-v3/yarn-bg.jpg") center top / 430px auto;
    color: var(--ink);
    font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0;
    line-height: 1.5;
    overflow: hidden;
    text-transform: none;
}

.bliss-home-shell img,
.bliss-home-shell video {
    display: block;
    max-width: 100%;
    width: 100%;
}

.bliss-home-shell a {
    color: inherit;
    text-decoration: none;
}

.bliss-home-shell button {
    font: inherit;
}

.site-header {
    align-items: center;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 26px 26px 0 0;
    box-shadow: 0 18px 50px rgba(57, 96, 132, .08);
    display: grid;
    gap: 28px;
    grid-template-columns: auto 1fr auto;
    height: 74px;
    margin: 30px auto 0;
    max-width: 1180px;
    padding: 0 30px;
}

.brand img {
    width: 156px;
}

.main-nav {
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 28px;
    justify-content: center;
}

.main-nav a,
.header-actions a {
    padding: 8px 0;
    position: relative;
}

.main-nav a::after,
.header-actions a::after {
    background: var(--accent);
    border-radius: 999px;
    bottom: 2px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    right: 100%;
    transition: right .28s ease;
}

.main-nav a:hover::after,
.main-nav a:focus::after,
.header-actions a:hover::after,
.header-actions a:focus::after {
    right: 0;
}

.header-actions {
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 18px;
}

.mobile-menu {
    display: none;
    justify-self: end;
    position: relative;
}

.mobile-menu summary {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: block;
    list-style: none;
    padding: 8px;
    width: 38px;
}

.mobile-menu summary::-webkit-details-marker {
    display: none;
}

.mobile-menu summary span {
    background: var(--ink);
    display: block;
    height: 1px;
    margin: 6px 0;
}

.mobile-menu nav {
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(57, 96, 132, .16);
    display: grid;
    gap: 2px;
    min-width: 210px;
    padding: 10px;
    position: absolute;
    right: 0;
    top: 46px;
    z-index: 20;
}

.mobile-menu nav a {
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    padding: 12px 14px;
}

.mobile-menu nav a:hover,
.mobile-menu nav a:focus {
    background: #edf8fc;
}

.hero {
    background: transparent;
    min-height: 640px;
    padding: 0 24px 54px;
}

.hero-panel {
    align-items: center;
    background:
        radial-gradient(circle at 82% 48%, rgba(255, 214, 136, .58), transparent 24%),
        radial-gradient(circle at 0 88%, rgba(218, 237, 247, .58), transparent 28%),
        rgba(255, 255, 255, .92);
    border-radius: 0 0 34px 34px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    margin: 0 auto;
    max-width: 1180px;
    min-height: 590px;
    overflow: hidden;
    position: relative;
}

.hero-panel::before {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, .72);
    border-radius: 50%;
    bottom: -84px;
    content: "";
    left: -78px;
    position: absolute;
    width: 250px;
}

.hero-panel::after {
    aspect-ratio: 1;
    border: 24px solid rgba(216, 223, 255, .56);
    border-radius: 50%;
    content: "";
    position: absolute;
    right: -70px;
    top: 82px;
    width: 190px;
}

.hero-copy {
    padding: 76px clamp(34px, 5vw, 74px);
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.bliss-home-shell h1,
.bliss-home-shell h2,
.bliss-home-shell h3,
.bliss-home-shell p {
    margin-top: 0;
}

.bliss-home-shell h1 {
    font-size: clamp(48px, 5.6vw, 82px);
    letter-spacing: 0;
    line-height: .98;
    margin-bottom: 22px;
    max-width: 500px;
}

.hero-copy p:not(.eyebrow) {
    color: #4e6872;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 430px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    text-decoration: none;
    transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}

.hero-actions .button-primary {
    font-size: 15px;
    min-height: 58px;
    min-width: 168px;
    padding: 0 32px;
}

.button:hover,
.button:focus {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0) scale(.98);
}

.button-primary {
    background: var(--accent);
    box-shadow: 0 12px 30px rgba(86, 103, 216, .22);
    color: white;
}

.button-secondary {
    background: rgba(255, 255, 255, .78);
    border-color: rgba(27, 47, 58, .2);
    color: var(--ink);
}

.hero-visual {
    display: grid;
    min-height: 590px;
    padding: 44px 72px 50px 20px;
    place-items: center;
    position: relative;
    z-index: 2;
}

.video-shell {
    aspect-ratio: 720 / 848;
    background: #dcecf2;
    border: 12px solid rgba(255, 255, 255, .92);
    border-radius: 48% 48% 32px 32px;
    box-shadow:
        0 34px 78px rgba(43, 79, 92, .2),
        0 0 0 1px rgba(255, 255, 255, .5) inset;
    overflow: hidden;
    position: relative;
    transform: rotate(.4deg);
    width: min(38vw, 420px);
}

.video-shell::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 28%),
        radial-gradient(circle at 26% 16%, rgba(255, 250, 220, .52), rgba(255, 250, 220, 0) 36%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.hero-video {
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.video-note {
    animation: floatOne 6.4s ease-in-out infinite;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 20px;
    bottom: 70px;
    box-shadow: 0 18px 50px rgba(45, 76, 88, .15);
    left: 14px;
    padding: 17px 19px;
    position: absolute;
    width: 228px;
    z-index: 4;
}

.video-note b {
    display: block;
    font-size: 17px;
    margin-bottom: 6px;
}

.video-note span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.floating-card {
    background: rgba(255, 255, 255, .9);
    border-radius: 13px;
    box-shadow: 0 20px 55px rgba(45, 76, 88, .16);
    padding: 9px 9px 36px;
    position: absolute;
    transition: transform .28s ease, box-shadow .28s ease;
    width: 174px;
    z-index: 3;
}

.floating-card:hover,
.floating-card:focus {
    box-shadow: 0 24px 62px rgba(45, 76, 88, .2);
    transform: translateY(-4px) rotate(var(--tilt));
}

.floating-card img {
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: cover;
}

.floating-card span {
    bottom: 11px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    left: 12px;
    position: absolute;
}

.floating-card-right {
    --tilt: 5deg;
    animation: floatOne 6.8s ease-in-out infinite;
    right: 28px;
    top: 218px;
    transform: rotate(5deg);
}

.promise-strip {
    background: rgba(255, 255, 255, .94);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(50, 86, 101, .12);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: -22px auto 0;
    max-width: 1180px;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.promise-strip div {
    border-left: 1px solid #f0e3dc;
    display: grid;
    gap: 6px;
    padding: 26px 28px;
}

.promise-strip div:first-child {
    border-left: 0;
}

.promise-strip b {
    font-size: 14px;
}

.promise-strip span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.product-showcase,
.patterns-band,
.health-panel,
.site-footer {
    margin: 0 auto;
    max-width: 1180px;
}

.health-panel {
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 28px;
    display: flex;
    gap: 34px;
    justify-content: space-between;
    margin-bottom: 80px;
    padding: 44px 52px;
}

.health-feature {
    background:
        radial-gradient(circle at 88% 20%, rgba(245, 219, 148, .34), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(244, 251, 255, .92));
    margin-bottom: 0;
    margin-top: 82px;
}

.health-panel p {
    color: var(--muted);
    line-height: 1.7;
    margin: 16px 0 0;
    max-width: 620px;
}

.health-panel .button {
    flex: 0 0 auto;
}

.product-showcase {
    padding: 68px 24px 80px;
}

.section-title {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 34px;
}

.section-title h2,
.patterns-copy h2,
.health-panel h2 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    margin-bottom: 0;
}

.section-title a {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.product-row {
    align-items: start;
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
    display: grid;
    gap: 16px;
}

.product-card img {
    aspect-ratio: 1;
    background: #eef6f8;
    border-radius: var(--radius);
    box-shadow: 0 14px 44px rgba(50, 86, 101, .1);
    object-fit: cover;
    transition: transform .32s ease;
}

.product-card:hover img {
    transform: translateY(-6px);
}

.product-card span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}

.product-card h3 {
    font-size: 18px;
    margin: 4px 0 8px;
}

.product-card b {
    font-size: 14px;
}

.patterns-band {
    align-items: center;
    background:
        linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .88)),
        url("home-v3/yarn-bg.jpg") center / 360px auto;
    border-radius: 34px;
    display: grid;
    gap: 56px;
    grid-template-columns: .92fr 1.08fr;
    margin-bottom: 70px;
    padding: 62px;
}

.patterns-copy p {
    color: var(--muted);
    line-height: 1.7;
    margin: 20px 0 28px;
    max-width: 440px;
}

.pattern-stack {
    min-height: 330px;
    position: relative;
}

.pattern-card {
    background: white;
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(50, 86, 101, .14);
    color: var(--ink);
    font-size: 14px;
    line-height: 1.6;
    min-height: 150px;
    padding: 26px;
    position: absolute;
    width: 250px;
}

.pattern-card strong {
    display: block;
    font-size: 25px;
    line-height: 1.1;
    margin-top: 10px;
}

.pattern-card:nth-child(1) {
    left: 30px;
    top: 10px;
    transform: rotate(-5deg);
}

.pattern-card:nth-child(2) {
    right: 20px;
    top: 92px;
    transform: rotate(4deg);
}

.pattern-card:nth-child(3) {
    bottom: 0;
    left: 104px;
    transform: rotate(-2deg);
}

.patterns-hero,
.patterns-products {
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
}

.patterns-hero {
    background:
        radial-gradient(circle at 85% 24%, rgba(245, 219, 148, .34), transparent 28%),
        rgba(255, 255, 255, .92);
    border-radius: 0 0 34px 34px;
    box-shadow: var(--shadow);
    margin-top: 0;
    padding: 92px clamp(28px, 7vw, 96px) 76px;
}

.patterns-hero h1 {
    font-size: clamp(48px, 6vw, 82px);
    line-height: .98;
    margin-bottom: 22px;
}

.patterns-hero p:not(.eyebrow) {
    color: #4e6872;
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 30px;
    max-width: 700px;
}

.patterns-products {
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--line);
    border-radius: 30px;
    margin-bottom: 76px;
    margin-top: 72px;
    padding: 44px;
}

.patterns-products .woocommerce {
    margin-top: 28px;
}

.patterns-products ul.products {
    margin-bottom: 0;
}

.patterns-products ul.products li.product {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 14px 44px rgba(50, 86, 101, .1);
    overflow: hidden;
    padding: 14px 14px 22px !important;
}

.patterns-products ul.products li.product img {
    aspect-ratio: 1;
    border-radius: 16px;
    object-fit: cover;
}

.patterns-products .woocommerce-loop-product__title {
    color: var(--ink);
    font-size: 17px !important;
    font-weight: 800;
}

.patterns-products .price {
    color: var(--accent) !important;
    font-weight: 800;
}

.patterns-products .button {
    background: var(--accent) !important;
    color: #fff !important;
    margin-top: 12px !important;
}

.site-footer {
    align-items: center;
    background:
        linear-gradient(#fff, #fff) left 44px / 100% calc(100% - 44px) no-repeat;
    border-top: 0;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-top: 24px;
    padding: 92px 24px 50px;
    position: relative;
}

.site-footer::before {
    background:
        radial-gradient(circle at 26px 36px, #fff 0 25px, transparent 26px) 0 0 / 52px 58px repeat-x,
        linear-gradient(#fff, #fff) 0 30px / 100% 28px no-repeat;
    content: "";
    filter: drop-shadow(0 -1px 0 rgba(104, 125, 143, .35)) drop-shadow(0 -12px 30px rgba(57, 96, 132, .08));
    height: 58px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.footer-brand {
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    display: inline-flex;
    padding: 0;
    position: relative;
    z-index: 1;
}

.footer-brand img {
    width: 150px;
}

.site-footer nav {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 700;
    gap: 20px;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

@keyframes floatOne {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-13px); }
}

@keyframes floatTwo {
    0%, 100% { margin-top: 0; }
    50% { margin-top: 12px; }
}

@media (max-width: 1000px) {
    .site-header {
        grid-template-columns: auto 1fr auto;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero-panel {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 590px;
        padding: 22px 22px 58px;
    }

    .video-shell {
        width: min(58vw, 380px);
    }

    .floating-card-right {
        right: 9%;
        top: 218px;
    }

    .video-note {
        bottom: 48px;
        left: 12%;
    }

    .promise-strip {
        grid-template-columns: 1fr 1fr;
        margin-left: 24px;
        margin-right: 24px;
    }

    .product-row {
        grid-template-columns: 1fr 1fr;
    }

    .patterns-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-header {
        border-radius: 22px 22px 0 0;
        height: 66px;
        margin-top: 14px;
        padding: 0 18px;
    }

    .brand img {
        width: 130px;
    }

    .hero {
        padding: 0 14px 42px;
    }

    .hero-panel {
        border-radius: 0 0 26px 26px;
        min-height: auto;
    }

    .hero-copy {
        padding: 50px 22px 30px;
    }

    .eyebrow {
        font-size: 10px;
    }

    .bliss-home-shell h1 {
        font-size: 39px;
        line-height: 1;
        max-width: 10ch;
    }

    .hero-copy p:not(.eyebrow) {
        font-size: 15px;
        margin-bottom: 24px;
        max-width: 32ch;
    }

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .hero-actions .button-primary {
        min-height: 56px;
        min-width: 0;
    }

    .hero-visual {
        min-height: 520px;
        padding: 12px 12px 42px;
    }

    .video-shell {
        border-radius: 44% 44% 26px 26px;
        border-width: 9px;
        width: min(74vw, 300px);
    }

    .floating-card {
        padding: 7px 7px 28px;
        width: 128px;
    }

    .floating-card-right {
        right: 8px;
        top: 164px;
    }

    .video-note {
        bottom: 24px;
        left: 18px;
        right: 18px;
        width: auto;
    }

    .promise-strip {
        grid-template-columns: 1fr;
        margin: -18px 14px 0;
    }

    .promise-strip div {
        border-left: 0;
        border-top: 1px solid #f0e3dc;
        padding: 20px 22px;
    }

    .promise-strip div:first-child {
        border-top: 0;
    }

    .health-panel {
        align-items: flex-start;
        flex-direction: column;
        margin: 52px 14px 0;
        padding: 34px 24px;
    }

    .product-showcase {
        padding: 74px 18px 56px;
    }

    .section-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .product-row {
        display: block;
    }

    .product-card {
        margin-bottom: 30px;
    }

    .product-card img {
        aspect-ratio: 1;
    }

    .patterns-band {
        border-radius: 26px;
        margin: 0 14px 52px;
        padding: 42px 22px;
    }

    .patterns-hero {
        border-radius: 0 0 26px 26px;
        margin-left: 14px;
        margin-right: 14px;
        padding: 50px 22px 42px;
    }

    .patterns-products {
        margin: 52px 14px;
        padding: 30px 18px;
    }

    .pattern-stack {
        min-height: 390px;
    }

    .pattern-card {
        min-height: 132px;
        width: 210px;
    }

    .pattern-card:nth-child(1) {
        left: 0;
    }

    .pattern-card:nth-child(2) {
        right: 0;
        top: 118px;
    }

    .pattern-card:nth-child(3) {
        left: 38px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-footer nav {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bliss-home-shell *,
    .bliss-home-shell *::before,
    .bliss-home-shell *::after {
        animation: none !important;
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
