/* css/pages/home.css */

:root {
    --hero-bg-1: rgba(255, 255, 255, .92);
    --hero-bg-2: rgba(245, 249, 255, .82);
    --glass-stroke: rgba(255, 255, 255, .56);
    --glass-fill-top: rgba(255, 255, 255, .74);
    --glass-fill-bottom: rgba(255, 255, 255, .46);
    --panel-shadow: 0 18px 48px rgba(15, 23, 42, .10);
}

body.home {
    position: relative;
    background: var(--site-bg, #ffffff);
    color: var(--lux-ink);
}

body.home::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 88px 88px;
    opacity: .42;
    -webkit-mask-image: radial-gradient(circle at 50% 8%, #000 0%, transparent 68%);
    mask-image: radial-gradient(circle at 50% 8%, #000 0%, transparent 68%);
}

body.home main {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    padding: 0 0 42px;
}

body.home>[data-include] {
    position: relative;
    z-index: 1;
}

.home-hero {
    position: relative;
    overflow: visible;
    isolation: isolate;
    max-width: min(1520px, calc(100% - 40px));
    margin: 8px auto 28px;
    padding: clamp(6px, 0.9vw, 12px) 0 clamp(20px, 2.2vw, 30px);
    text-align: left;
    border-radius: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.home-hero::before {
    content: none;
}

.home-hero::after {
    content: none;
}

.hero-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(8px, 1vw, 14px) 0 0;
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(360px, .58fr);
    align-items: center;
    gap: clamp(34px, 5vw, 72px);
    border-radius: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.hero-shell::before {
    content: none;
}

.hero-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.home-carousel {
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow: visible;
}

.home-carousel-viewport {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 34px;
}

.home-carousel-track {
    display: flex;
    width: 100%;
    min-width: 0;
    transform: translate3d(0, 0, 0);
    transition: transform .48s cubic-bezier(.22, .9, .22, 1);
    will-change: transform;
}

.home-carousel-card {
    position: relative;
    display: block;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    min-height: 330px;
    aspect-ratio: 5 / 3;
    border-radius: 34px;
    border: 1px solid rgba(92, 112, 142, .18);
    background-clip: padding-box;
    color: inherit;
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .86),
        inset 0 0 0 1px rgba(255, 255, 255, .38),
        inset 0 -1px 0 rgba(92, 112, 142, .10),
        0 22px 54px rgba(92, 112, 142, .14);
    overflow: hidden;
    cursor: pointer;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
}

.home-carousel-card-turnweave {
    background:
        radial-gradient(circle at 82% 18%, rgba(156, 181, 242, .14), transparent 34%),
        url("/images/home/turnweave/turnweave-hero-card-light.webp") center / cover no-repeat,
        linear-gradient(135deg, rgba(248, 251, 255, .96), rgba(232, 239, 248, .92));
}

.home-carousel-card-wordlyte {
    background:
        radial-gradient(circle at 82% 18%, rgba(156, 181, 242, .14), transparent 34%),
        url("/images/home/wordlyte/wordlyte-hero-card-light.webp") center / cover no-repeat,
        linear-gradient(135deg, rgba(248, 251, 255, .96), rgba(232, 239, 248, .92));
}

.home-carousel-card:hover {
    border-color: rgba(92, 112, 142, .24);
    filter: translateZ(0) brightness(1.015);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .90),
        inset 0 0 0 1px rgba(255, 255, 255, .46),
        inset 0 -1px 0 rgba(92, 112, 142, .12),
        0 28px 64px rgba(92, 112, 142, .18);
}

.home-carousel-card:focus-visible {
    border-color: rgba(83, 103, 135, .34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .90),
        inset 0 0 0 1px rgba(255, 255, 255, .46),
        inset 0 -1px 0 rgba(92, 112, 142, .12),
        0 0 0 3px rgba(83, 103, 135, .16),
        0 28px 64px rgba(92, 112, 142, .18);
}

.home-carousel-card[aria-hidden="true"] {
    pointer-events: none;
}

.home-carousel-card::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 36%);
    opacity: .34;
    pointer-events: none;
}

.home-carousel-card::after {
    content: "";
    position: absolute;
    inset: auto -18% -38% 16%;
    height: 46%;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(155, 180, 236, .16), transparent 70%);
    filter: blur(8px);
    pointer-events: none;
}

body.dark.home .home-carousel-card {
    border-color: rgba(255, 255, 255, .18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        inset 0 -1px 0 rgba(0, 0, 0, .12),
        0 22px 54px rgba(0, 0, 0, .16);
}

body.dark.home .home-carousel-card-turnweave {
    background:
        radial-gradient(circle at 82% 18%, rgba(156, 181, 242, .14), transparent 34%),
        url("/images/home/turnweave/turnweave-hero-card-dark.webp") center / cover no-repeat,
        linear-gradient(135deg, rgba(18, 27, 43, .96), rgba(8, 13, 23, .92));
}

body.dark.home .home-carousel-card-wordlyte {
    background:
        radial-gradient(circle at 82% 18%, rgba(156, 181, 242, .14), transparent 34%),
        url("/images/home/wordlyte/wordlyte-hero-card-dark.webp") center / cover no-repeat,
        linear-gradient(135deg, rgba(18, 27, 43, .96), rgba(8, 13, 23, .92));
}

body.dark.home .home-carousel-card:hover {
    border-color: rgba(255, 255, 255, .30);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .22),
        inset 0 -1px 0 rgba(0, 0, 0, .12),
        0 28px 64px rgba(0, 0, 0, .22);
}

body.dark.home .home-carousel-card:focus-visible {
    border-color: rgba(235, 242, 255, .72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .22),
        inset 0 -1px 0 rgba(0, 0, 0, .12),
        0 0 0 3px rgba(190, 210, 255, .20),
        0 28px 64px rgba(0, 0, 0, .22);
}

@media (prefers-reduced-motion: reduce) {
    .home-carousel-track {
        transition: none;
        will-change: auto;
    }
}

.home-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 9px;
}

.home-carousel-dot {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(9, 17, 31, .28);
    box-shadow: 0 0 0 1px rgba(9, 17, 31, .08);
    cursor: pointer;
    transition: width .2s ease, background .2s ease, box-shadow .2s ease, transform .14s ease;
}

.home-carousel-dot:hover,
.home-carousel-dot:focus-visible {
    transform: translateY(-1px);
    outline: none;
    background: rgba(9, 17, 31, .50);
}

.home-carousel-dot.is-active {
    width: 24px;
    background: rgba(9, 17, 31, .82);
    box-shadow:
        0 0 0 1px rgba(9, 17, 31, .12),
        0 0 16px rgba(9, 17, 31, .18);
}

body.dark.home .home-carousel-dot {
    background: rgba(255, 255, 255, .28);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}

body.dark.home .home-carousel-dot.is-active {
    background: rgba(238, 244, 255, .86);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .12),
        0 0 16px rgba(205, 220, 255, .28);
}

.hero-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin: 0 0 20px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: rgba(255, 255, 255, .56);
    color: var(--lux-quiet);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .58);
}

.home-hero .brand-mark {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    max-width: 820px;
    font-size: clamp(42px, 5.6vw, 82px);
    letter-spacing: -0.055em;
    line-height: .94;
    color: var(--lux-heading);
    text-wrap: normal;
}

.home-hero-gradient {
    display: inline-block;
    width: max-content;
    max-width: 100%;
    padding-bottom: .12em;
    margin-bottom: -.12em;
    color: transparent;
    background: linear-gradient(90deg, #45dcff 0%, #7c5cff 44%, #f46bbf 74%, #45dcff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1.08;
    text-shadow: 0 18px 44px rgba(124, 92, 255, .18);
}

.home-hero-dot {
    display: inline-block;
    width: .16em;
    height: .16em;
    margin-left: .04em;
    border-radius: 999px;
    vertical-align: baseline;
    background: linear-gradient(135deg, #f46bbf 0%, #7c5cff 48%, #45dcff 100%);
    transform: translateY(.03em);
}

.home-hero .strap {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 840px;
    font-size: clamp(17px, 1.75vw, 21px);
    line-height: 1.7;
    color: var(--lux-muted);
    text-wrap: normal;
}

.home-hero .hero-cta {
    position: relative;
    z-index: 1;
    margin-top: 28px;
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.home-hero .hero-cta .btn-ghost {
    width: min(100%, 178px);
    text-align: center;
    white-space: nowrap;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .62));
    color: var(--lux-ink);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .02em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .56),
        0 8px 18px rgba(15, 23, 42, .08);
    transition: transform .12s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}

.btn-ghost:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 23, 42, .14);
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .70));
    color: var(--lux-heading);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .62),
        0 12px 22px rgba(15, 23, 42, .10);
}

.btn-primary {
    border-color: rgba(15, 23, 42, .12);
    background: linear-gradient(180deg, #192335, #0d1524);
    color: #f8fbff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .10),
        0 12px 24px rgba(15, 23, 42, .16);
}

.btn-primary:hover {
    color: #ffffff;
    border-color: rgba(15, 23, 42, .16);
    background: linear-gradient(180deg, #223049, #111a2a);
}

.lux-divider {
    display: none;
}

.home-carousel-feature-rail {
    position: relative;
    z-index: 4;
    width: min(520px, 92%);
    margin: 8px auto 0;
    padding: 4px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    border-radius: 999px;
    border: 1px solid rgba(92, 112, 142, .14);
    background: linear-gradient(180deg, rgba(255, 255, 255, .52), rgba(255, 255, 255, .24));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .56),
        0 8px 18px rgba(92, 112, 142, .10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.home-carousel-feature {
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    min-width: 0;
    min-height: 26px;
    padding: 5px 7px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(15, 23, 42, .66);
    cursor: default;
    font: inherit;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .01em;
    text-align: center;
    outline: none;
    transition: transform .12s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.home-carousel-feature:hover,
.home-carousel-feature:focus-visible {
    transform: translateY(-1px);
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .64));
    color: var(--lux-heading);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .70),
        0 8px 16px rgba(92, 112, 142, .10);
}

.home-carousel-feature-popover {
    position: absolute;
    left: 50%;
    top: calc(100% + 6px);
    z-index: 10;
    width: min(190px, calc(100vw - 52px));
    padding: 9px 10px;
    border-radius: 14px;
    border: 1px solid rgba(92, 112, 142, .14);
    background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(245, 249, 255, .82));
    color: var(--lux-muted);
    font-size: .70rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.38;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -6px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .70),
        0 10px 22px rgba(92, 112, 142, .14);
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}

.home-carousel-feature:hover .home-carousel-feature-popover,
.home-carousel-feature:focus-visible .home-carousel-feature-popover {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.home-carousel-feature:first-child .home-carousel-feature-popover {
    left: 0;
    transform: translate(0, -6px);
}

.home-carousel-feature:first-child:hover .home-carousel-feature-popover,
.home-carousel-feature:first-child:focus-visible .home-carousel-feature-popover {
    transform: translate(0, 0);
}

.home-carousel-feature:last-child .home-carousel-feature-popover {
    left: auto;
    right: 0;
    transform: translate(0, -6px);
}

.home-carousel-feature:last-child:hover .home-carousel-feature-popover,
.home-carousel-feature:last-child:focus-visible .home-carousel-feature-popover {
    transform: translate(0, 0);
}

body.dark.home .home-carousel-feature-rail {
    border-color: rgba(255, 255, 255, .16);
    background: linear-gradient(180deg, rgba(18, 18, 18, .92), rgba(0, 0, 0, .78));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .12),
        0 10px 24px rgba(0, 0, 0, .28);
}

body.dark.home .home-carousel-feature {
    color: rgba(230, 235, 246, .72);
}

body.dark.home .home-carousel-feature:hover,
body.dark.home .home-carousel-feature:focus-visible {
    background: linear-gradient(180deg, rgba(42, 42, 42, .86), rgba(10, 10, 10, .82));
    color: rgba(255, 255, 255, .96);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .16),
        0 8px 16px rgba(0, 0, 0, .24);
}

body.dark.home .home-carousel-feature-popover {
    border-color: rgba(255, 255, 255, .16);
    background: linear-gradient(180deg, rgba(16, 16, 16, .96), rgba(0, 0, 0, .90));
    color: rgba(230, 235, 246, .84);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .12),
        0 14px 28px rgba(0, 0, 0, .30);
}

.home-studio-grid {
    max-width: min(1520px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "featured"
        "apparel";
    gap: 22px;
    align-items: start;
}

.home-featured-panel {
    grid-area: featured;
    padding-top: 20px;
    padding-bottom: 20px;
}

.home-featured-panel::before {
    content: none;
}

.home-featured-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(300px, 400px) minmax(360px, 1fr) auto;
    align-items: center;
    gap: 34px;
}

.home-featured-copy {
    max-width: 400px;
}

.home-featured-copy .section-head {
    margin-bottom: 12px;
}

.home-featured-copy .section-sub {
    max-width: 400px;
    font-size: 0.98rem;
    line-height: 1.64;
}

.home-featured-copy .home-featured-link {
    margin-top: 18px;
    white-space: nowrap;
}

.home-featured-product {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.home-featured-product .ess-meta {
    margin-bottom: 10px;
}

.home-product-badges {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.home-product-badges span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: linear-gradient(180deg, rgba(26, 26, 26, .90), rgba(0, 0, 0, .78));
    color: rgba(255, 255, 255, .92);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .14),
        0 8px 16px rgba(0, 0, 0, .18);
}

.home-featured-panel .ess-title {
    margin-top: 0;
}

.home-featured-panel .ess-copy {
    margin-top: 14px;
    max-width: 620px;
    line-height: 1.62;
}

.home-featured-panel .ess-points {
    margin-top: 16px;
    max-width: 620px;
    grid-template-columns: 1fr;
    gap: 10px;
}

.home-featured-side {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 190px;
    padding-top: 0;
}

.home-featured-icon-frame {
    position: relative;
    width: 154px;
    min-height: 154px;
    padding: 0;
    border-radius: 30px;
    border: 0;
    background: none;
    display: grid;
    place-items: center;
    box-shadow: none;
}

.home-featured-icon-frame::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 28px;
    background: radial-gradient(circle at 50% 50%, rgba(145, 166, 226, .20), transparent 62%);
    filter: blur(10px);
    pointer-events: none;
}

.home-featured-icon {
    position: relative;
    z-index: 1;
    width: 142px;
    height: 142px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .20));
}

.home-featured-link {
    white-space: nowrap;
}

.home-apparel-panel {
    grid-area: apparel;
    padding-top: 20px;
    padding-bottom: 20px;
}

.home-apparel-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    align-items: center;
    gap: 26px;
}

.home-apparel-copy {
    max-width: 420px;
}

.home-apparel-panel .section-head {
    margin-bottom: 12px;
}

.home-apparel-panel .section-sub {
    max-width: 420px;
    font-size: 0.98rem;
    line-height: 1.64;
}

.home-apparel-panel .home-section-cta {
    margin-top: 16px;
}

.home-section {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: clamp(24px, 3.4vw, 34px) clamp(18px, 3vw, 28px);
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, .42);
    background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .68));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .58),
        0 14px 30px rgba(15, 23, 42, .09);
}

.home-section::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto 1px;
    height: 72px;
    border-radius: 25px 25px 18px 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .52), rgba(255, 255, 255, .12) 62%, transparent);
    opacity: .58;
    pointer-events: none;
}

.home-section .section-head {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    text-align: left;
    font-size: clamp(26px, 3.4vw, 40px);
    letter-spacing: -.03em;
    color: var(--lux-heading);
}

.home-section .section-sub {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 720px;
    text-align: left;
    color: var(--lux-muted);
    font-size: 1rem;
    line-height: 1.72;
    text-wrap: balance;
}

.home-section-cta {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.home-more-apparel {
    min-width: 190px;
    text-align: center;
}

.home-apparel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 220px));
    gap: 14px;
    justify-content: end;
    margin-top: 0;
    transition: opacity .55s ease, transform .55s ease, filter .55s ease;
    will-change: opacity, transform, filter;
}

.home-apparel.is-fading {
    opacity: .18;
    transform: translateY(3px);
    filter: blur(1px);
}

@media (prefers-reduced-motion: reduce) {
    .home-apparel {
        transition: none;
        will-change: auto;
    }

    .home-apparel.is-fading {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

.home-card {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .72));
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .46);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .58),
        0 10px 22px rgba(15, 23, 42, .08);
    text-align: center;
    transition: box-shadow .18s ease, transform .08s ease, border-color .2s ease, background .2s ease;
    padding: 10px 10px 12px;
    height: 100%;
}

.home-card:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .66),
        0 14px 26px rgba(15, 23, 42, .10);
    border-color: rgba(255, 255, 255, .58);
    background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78));
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
}

.product-link:focus-visible {
    outline: 2px solid rgba(15, 23, 42, .16);
    outline-offset: 2px;
}

.home-card img {
    width: 100%;
    height: 168px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    background: rgba(228, 235, 244, .60);
    padding: 8px;
}

.home-card p {
    font-weight: 700;
    font-size: 0.92rem;
    margin: 10px 0 8px;
    line-height: 1.3;
    color: var(--lux-heading);
}

.home .buy-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    padding: 7px 12px !important;
    line-height: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 999px !important;
    border: 1px solid rgba(15, 23, 42, .10) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .72)) !important;
    color: var(--lux-ink) !important;
    font-weight: 700 !important;
    font-size: 0.84rem !important;
    letter-spacing: .02em;
    white-space: nowrap !important;
    margin: 0 auto !important;
    width: auto !important;
    max-width: none !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .62),
        0 6px 14px rgba(15, 23, 42, .08) !important;
    text-decoration: none !important;
    vertical-align: middle;
}

.home .buy-button:hover,
.home .buy-button:focus {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .78)) !important;
    color: var(--lux-heading) !important;
    outline: none;
    border-color: rgba(15, 23, 42, .14) !important;
}

.home .buy-button:focus-visible {
    outline: 2px solid rgba(15, 23, 42, .16);
    outline-offset: 2px;
}

.essentials {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 20px;
}

.ess-card {
    position: relative;
    overflow: hidden;
    padding: 28px 30px;
    border: 1px solid rgba(255, 255, 255, .46);
    border-radius: 22px;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .64));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .60),
        0 14px 28px rgba(15, 23, 42, .08);
    transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
    text-align: left;
    display: block;
}

.ess-card::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto 1px;
    height: 72px;
    border-radius: 21px 21px 16px 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .52), rgba(255, 255, 255, .14) 64%, transparent);
    pointer-events: none;
}

.ess-card:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .64),
        0 18px 34px rgba(15, 23, 42, .10);
    border-color: rgba(255, 255, 255, .58);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .90), rgba(255, 255, 255, .70));
}

.ess-meta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: rgba(255, 255, 255, .62);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--lux-quiet);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .58);
}

.ess-title {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    color: var(--lux-heading);
    line-height: .98;
}

.ess-title strong {
    font-size: clamp(34px, 4.6vw, 52px);
    font-weight: 800;
    letter-spacing: -.05em;
    color: inherit;
}

.ess-title span {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    font-weight: 800;
    opacity: .72;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--lux-muted);
    vertical-align: middle;
}

.ess-line {
    position: relative;
    z-index: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(15, 23, 42, .14), transparent 72%);
    margin: 16px 0 16px;
    opacity: .9;
}

.ess-copy {
    position: relative;
    z-index: 1;
    max-width: none;
    line-height: 1.75;
    color: var(--lux-muted);
}

.ess-points {
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}

.ess-points li {
    position: relative;
    padding-left: 18px;
    color: var(--lux-ink);
    line-height: 1.55;
}

.ess-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(63, 86, 126, .92), rgba(145, 161, 191, .92));
    box-shadow: 0 0 8px rgba(84, 109, 153, .12);
}

.ess-cta {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--lux-heading);
}

@media (max-width: 1180px) {

    .home-hero,
    .home-studio-grid {
        max-width: calc(100% - 32px);
    }

    .hero-shell,
    .home-featured-copy,
    .home-apparel-copy {
        width: 100%;
        max-width: none;
    }

    .home-studio-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "featured"
            "apparel";
    }

    .home-featured-row {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 22px;
    }

    .home-featured-copy {
        max-width: none;
    }

    .home-featured-copy .section-sub {
        max-width: none;
    }

    .home-featured-side {
        width: auto;
        padding-top: 6px;
        justify-content: flex-start;
    }

    .home-featured-panel .ess-copy,
    .home-featured-panel .ess-points {
        max-width: none;
    }

    .home-featured-panel .ess-points {
        grid-template-columns: 1fr;
    }

    .home-apparel-layout {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 20px;
    }

    .home-apparel-copy {
        max-width: none;
    }

    .home-apparel-panel .section-sub {
        max-width: none;
    }

    .home-apparel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .home-card {
        max-width: none;
    }

    .home-more-apparel {
        min-width: 0;
    }
}

@media (max-width: 980px) {
    .home-hero {
        padding: clamp(14px, 3vw, 22px) 0 clamp(18px, 4vw, 26px);
    }

    .hero-shell {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .home-hero .brand-mark {
        max-width: none;
        font-size: clamp(36px, 8vw, 58px);
        line-height: .96;
    }

    .home-hero .strap {
        max-width: none;
        font-size: clamp(16px, 2.5vw, 19px);
        line-height: 1.64;
    }

    .home-section {
        padding: 24px 20px 28px;
    }

    .home-featured-row {
        gap: 18px;
    }

    .home-featured-side {
        padding-top: 0;
    }

    .home-featured-icon {
        width: 118px;
        height: 118px;
    }
}

@media (max-width: 720px) {

    .home-hero,
    .home-studio-grid {
        max-width: calc(100% - 24px);
    }

    .home-section .section-head,
    .home-section .section-sub,
    .home-featured-copy,
    .home-featured-product,
    .home-apparel-copy {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .home-featured-copy .section-sub,
    .home-apparel-panel .section-sub {
        max-width: none;
    }

    .home-section-cta,
    .home-hero .hero-cta {
        justify-content: center;
    }

    .home-featured-side {
        width: 100%;
        justify-content: center;
    }

    .home-featured-icon {
        width: 104px;
        height: 104px;
    }

    .home-featured-link,
    .home-more-apparel {
        width: min(100%, 320px);
    }

    .home-apparel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .home-hero {
        max-width: calc(100% - 16px);
        margin: 2px auto 18px;
        border-radius: 0;
        padding: 2px 0 16px;
    }

    .hero-shell {
        padding: 0;
        border-radius: 0;
    }

    .hero-kicker {
        margin: 0 0 14px;
        padding: 7px 12px;
        font-size: 0.70rem;
    }

    .home-hero .brand-mark {
        font-size: clamp(30px, 11vw, 42px);
        letter-spacing: -0.04em;
    }

    .home-hero .strap {
        font-size: 0.98rem;
        line-height: 1.58;
    }

    .home-hero .hero-cta {
        margin-top: 20px;
        gap: 10px;
    }

    .home-hero .hero-cta .btn-ghost,
    .home-featured-link,
    .home-more-apparel {
        width: 100%;
        max-width: none;
        white-space: normal;
    }

    .home-studio-grid {
        max-width: calc(100% - 16px);
        gap: 16px;
    }

    .home-section {
        padding: 20px 14px 22px;
        border-radius: 22px;
    }

    .home-featured-row,
    .home-apparel-layout {
        gap: 16px;
    }

    .ess-meta {
        font-size: 0.70rem;
    }

    .ess-title strong {
        font-size: clamp(28px, 9vw, 36px);
    }

    .ess-title span {
        display: block;
        margin-left: 0;
        margin-top: 8px;
    }

    .home-apparel {
        grid-template-columns: 1fr;
    }

    .home-card {
        max-width: none;
    }

    .home-card img {
        height: 180px;
    }

    .home .buy-button {
        width: 100% !important;
        max-width: none !important;
    }

    .ess-card {
        padding: 24px 20px;
        border-radius: 22px;
    }
}

@media (max-width: 1180px) {
    .hero-shell {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-carousel-card {
        min-height: 270px;
    }

    .home-carousel-feature-rail {
        width: min(640px, 100%);
    }

    .home-featured-side {
        width: auto;
    }

    .home-featured-icon-frame {
        width: 154px;
        min-height: 154px;
    }
}

@media (max-width: 720px) {
    .home-carousel-card {
        min-height: 250px;
    }

    .home-carousel-card::before {
        inset: 12px;
    }

    .home-carousel-feature-rail {
        width: min(560px, 100%);
    }

    .home-product-badges {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .home-carousel-card {
        min-height: 230px;
        border-radius: 26px;
    }

    .home-carousel-card::before {
        inset: 10px;
        border-radius: 22px;
    }

    .home-carousel-feature-rail {
        width: 100%;
        padding: 3px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 3px;
        border-radius: 999px;
    }

    .home-carousel-feature {
        min-height: 24px;
        padding: 4px 3px;
        font-size: clamp(0.52rem, 2.25vw, 0.62rem);
        white-space: nowrap;
    }

    .home-carousel-feature-popover {
        width: min(190px, calc(100vw - 40px));
    }
}

@media (orientation: landscape) and (min-width: 560px) and (max-width: 1180px) {
    body.home {
        overflow-x: hidden;
    }

    .home-hero,
    .home-studio-grid {
        max-width: calc(100% - 24px);
    }

    .home-hero {
        margin: 4px auto 18px;
        padding: 6px 0 16px;
    }

    .hero-shell {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        grid-template-columns: minmax(0, 1fr) minmax(320px, .58fr);
        align-items: center;
        gap: clamp(16px, 3vw, 34px);
    }

    .hero-copy,
    .home-carousel,
    .home-featured-row,
    .home-featured-copy,
    .home-featured-product,
    .home-apparel-layout,
    .home-apparel-copy,
    .home-apparel {
        min-width: 0;
        max-width: 100%;
    }

    .hero-copy,
    .home-section .section-head,
    .home-section .section-sub,
    .home-featured-copy,
    .home-featured-product,
    .home-apparel-copy {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-kicker {
        margin: 0 0 12px;
        padding: 6px 11px;
        font-size: 0.68rem;
    }

    .home-hero .brand-mark {
        max-width: 740px;
        font-size: clamp(30px, 5.2vw, 56px);
        line-height: .94;
        text-align: left;
    }

    .home-hero .strap {
        max-width: 660px;
        font-size: clamp(14px, 1.8vw, 18px);
        line-height: 1.48;
        text-align: left;
    }

    .home-hero .hero-cta,
    .home-section-cta {
        justify-content: flex-start;
    }

    .home-hero .hero-cta {
        margin-top: 18px;
        gap: 10px;
    }

    .home-hero .hero-cta .btn-ghost {
        width: min(100%, 178px);
        max-width: none;
        min-height: 42px;
        padding: 10px 16px;
        white-space: nowrap;
    }

    .home-carousel {
        justify-self: end;
        align-self: center;
        width: min(100%, 520px);
        max-width: 100%;
        min-height: 0;
        overflow: visible;
    }

    .home-carousel-card {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        aspect-ratio: 5 / 3;
        border-radius: clamp(22px, 3vw, 30px);
        background-size: auto, cover, auto;
    }

    body.dark.home .home-carousel-card {
        background-size: auto, cover, auto;
    }

    .home-carousel-card::before {
        inset: 10px;
        border-radius: 22px;
    }

    .home-carousel-feature-rail {
        width: 100%;
        max-width: 100%;
        margin-top: 7px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 3px;
        border-radius: 999px;
    }

    .home-carousel-feature {
        min-height: 24px;
        padding: 4px 5px;
        font-size: clamp(0.54rem, 0.9vw, 0.66rem);
        white-space: nowrap;
    }

    .home-carousel-feature-popover {
        width: min(170px, calc(100vw - 40px));
        font-size: 0.66rem;
    }

    .home-carousel-dots {
        margin-top: 7px;
    }

    .home-studio-grid {
        gap: 16px;
    }

    .home-section {
        min-width: 0;
        padding: clamp(16px, 2.2vw, 24px) clamp(14px, 2.4vw, 24px);
        border-radius: 24px;
    }

    .home-section .section-head {
        margin-bottom: 9px;
        font-size: clamp(20px, 3vw, 34px);
        line-height: 1;
    }

    .home-section .section-sub,
    .home-featured-copy .section-sub,
    .home-apparel-panel .section-sub {
        max-width: none;
        font-size: clamp(0.76rem, 1.35vw, 0.96rem);
        line-height: 1.45;
    }

    .home-featured-row {
        grid-template-columns: minmax(150px, 270px) minmax(0, 1fr) clamp(82px, 13vw, 148px);
        align-items: center;
        gap: clamp(14px, 2.2vw, 28px);
    }

    .home-featured-copy {
        max-width: 270px;
    }

    .home-featured-copy .home-featured-link {
        margin-top: 14px;
    }

    .home-featured-link,
    .home-more-apparel {
        width: auto;
        max-width: none;
        min-width: 0;
        min-height: 40px;
        padding: 9px 14px;
        white-space: nowrap;
    }

    .home-product-badges {
        justify-content: flex-start;
        gap: 6px;
        margin-bottom: 9px;
    }

    .home-product-badges span {
        min-height: 24px;
        padding: 5px 8px;
        font-size: clamp(0.58rem, 0.92vw, 0.72rem);
        letter-spacing: .02em;
        white-space: nowrap;
    }

    .home-featured-panel .ess-title {
        margin-top: 0;
    }

    .ess-title strong {
        font-size: clamp(24px, 3.4vw, 42px);
    }

    .ess-title span {
        display: inline-block;
        margin-left: 6px;
        margin-top: 0;
        font-size: 10px;
    }

    .home-featured-panel .ess-copy {
        margin-top: 10px;
        max-width: none;
        font-size: clamp(0.76rem, 1.35vw, 0.94rem);
        line-height: 1.42;
    }

    .home-featured-panel .ess-points {
        margin-top: 10px;
        max-width: none;
        gap: 6px;
    }

    .ess-points li {
        font-size: clamp(0.72rem, 1.18vw, 0.90rem);
        line-height: 1.34;
    }

    .home-featured-side {
        width: auto;
        padding-top: 0;
        justify-content: center;
    }

    .home-featured-icon-frame {
        width: clamp(82px, 13vw, 148px);
        min-height: clamp(82px, 13vw, 148px);
    }

    .home-featured-icon {
        width: clamp(76px, 12vw, 128px);
        height: clamp(76px, 12vw, 128px);
    }

    .home-apparel-layout {
        grid-template-columns: minmax(150px, 300px) minmax(0, 1fr);
        align-items: center;
        gap: clamp(14px, 2.2vw, 28px);
    }

    .home-apparel-copy {
        max-width: 300px;
    }

    .home-apparel {
        grid-template-columns: repeat(3, minmax(90px, 1fr));
        justify-content: stretch;
        gap: clamp(8px, 1.4vw, 14px);
    }

    .home-card {
        min-width: 0;
        max-width: none;
        padding: 8px 8px 10px;
        border-radius: 16px;
    }

    .home-card img {
        height: clamp(82px, 13vw, 150px);
        padding: 6px;
        border-radius: 11px;
    }

    .home-card p {
        margin: 7px 0 6px;
        font-size: clamp(0.66rem, 1.12vw, 0.86rem);
        line-height: 1.18;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home .buy-button {
        width: auto !important;
        max-width: none !important;
        padding: 6px 10px !important;
        font-size: clamp(0.66rem, 1vw, 0.78rem) !important;
        white-space: nowrap !important;
    }
}

.home .z-header a#homeNav,
.home .z-header a[href="/"],
.home .z-header a[href="/index.html"] {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

body.dark.home .home-hero,
body.dark.home .hero-shell {
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.dark.home .home-hero::before,
body.dark.home .home-hero::after,
body.dark.home .hero-shell::before,
body.dark.home .hero-shell::after {
    content: none !important;
    display: none !important;
}

body.dark.home .hero-kicker,
body.dark.home .ess-meta {
    border-color: rgba(255, 255, 255, .14) !important;
    background: linear-gradient(180deg, rgba(24, 24, 24, .86), rgba(0, 0, 0, .76)) !important;
    color: rgba(235, 240, 250, .88) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .12),
        0 8px 18px rgba(0, 0, 0, .24) !important;
}

body.home main {
    width: 100%;
    max-width: none !important;
    margin: 0;
    display: block;
}

body.home .home-hero,
body.home .home-studio-grid {
    width: min(1520px, calc(100% - 40px));
    max-width: min(1520px, calc(100% - 40px));
}

@media (max-width: 560px) {

    body.home .home-hero,
    body.home .home-studio-grid {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
    }
}