@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;700&display=swap');

:root {
    --sand: #f4efea;
    --sand-deep: #eae0d5;
    --cream: #faf8f5;
    --white: #ffffff;
    --ink: #211b18;
    --muted: #746b64;
    --red: #b11226;
    --red-deep: #2b080d;
    --hairline: rgba(33, 27, 24, 0.1);
}

html,
body.gsap-landing-body,
.gsap-landing,
.gsap-landing * {
    font-family: 'Tajawal', sans-serif !important;
}

html,
body.gsap-landing-body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    background: var(--cream) !important;
    color: var(--ink);
}

body.gsap-landing-body header,
body.gsap-landing-body footer,
body.gsap-landing-body #masthead,
body.gsap-landing-body .site-header,
body.gsap-landing-body .site-footer,
body.gsap-landing-body .ct-drawer-canvas {
    display: none !important;
}

.gsap-landing,
.gsap-landing * {
    box-sizing: border-box;
    letter-spacing: 0;
}

.gsap-landing {
    direction: rtl;
    width: 100%;
    overflow: clip;
    background:
        radial-gradient(circle at 84% 8%, rgba(177, 18, 38, 0.07), transparent 26%),
        radial-gradient(circle at 9% 48%, rgba(234, 224, 213, 0.64), transparent 34%),
        linear-gradient(180deg, var(--cream) 0%, var(--sand) 48%, var(--sand-deep) 100%);
}

.hero-mask-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 52%, rgba(177, 18, 38, 0.08), transparent 26%),
        linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
    isolation: isolate;
}

.hero-mask-wash {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.82;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(244, 239, 234, 0.95) 0%, rgba(244, 239, 234, 0.08) 44%, rgba(244, 239, 234, 0.78) 100%),
        radial-gradient(circle at center, transparent 0 26%, rgba(244, 239, 234, 0.78) 68%);
}

.hero-mask-svg {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.mask-text-group,
.mask-hole-group {
    transform-origin: 960px 540px;
    will-change: transform;
}

.mask-text,
.mask-hole-text {
    font-family: 'Tajawal', sans-serif !important;
    font-size: 280px;
    font-weight: 700;
    line-height: 1;
}

.hero-cover-rect {
    fill: var(--sand);
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.hero-video {
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-ambient-copy {
    position: absolute;
    inset-inline: 18px;
    bottom: clamp(34px, 8vh, 84px);
    z-index: 3;
    width: min(560px, calc(100% - 36px));
    margin-inline: auto;
    text-align: center;
    pointer-events: none;
}

.section-kicker {
    margin: 0 0 14px;
    color: var(--red);
    font-size: clamp(13px, 1.2vw, 16px);
    font-weight: 700;
}

.hero-ambient-copy p:last-child,
.panel-heading p,
.feature-card p,
.gravity-copy p,
.product-card p {
    font-weight: 300;
}

.hero-ambient-copy p:last-child {
    margin: 0;
    color: rgba(33, 27, 24, 0.72);
    font-size: clamp(18px, 2vw, 25px);
    line-height: 1.9;
}

.landing-panel {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    padding: 15vh clamp(18px, 7vw, 112px);
    overflow: hidden;
    background: transparent;
    isolation: isolate;
}

.panel-heading {
    position: relative;
    z-index: 8;
    width: min(540px, 92vw);
    margin-inline-start: auto;
    text-align: right;
}

.panel-heading--center {
    width: min(720px, 92vw);
    margin: 0 auto;
    text-align: center;
}

.panel-heading h2,
.gravity-copy h2,
.collection-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(38px, 5.8vw, 84px);
    font-weight: 700;
    line-height: 1.06;
}

.panel-heading p:not(.section-kicker),
.gravity-copy p {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 1.6vw, 22px);
    line-height: 1.9;
}

.visual-stage {
    position: relative;
    z-index: 2;
    display: grid;
    width: 100%;
    min-height: clamp(360px, 54vh, 640px);
    place-items: center;
    isolation: isolate;
}

.anatomy-stage,
.flex-stage {
    margin-top: clamp(34px, 8vh, 96px);
}

.bg-type {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    color: #000;
    font-size: 15vw;
    font-weight: 700;
    line-height: 0.82;
    opacity: 0.04;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
}

.stacked-product {
    position: relative;
    z-index: 3;
    width: min(760px, 84vw);
    aspect-ratio: 600 / 303;
}

.flex-stack {
    width: min(840px, 86vw);
}

.stacked-product .part-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    will-change: transform, opacity;
    filter: drop-shadow(0 24px 34px rgba(33, 27, 24, 0.12));
}

.sole-img {
    z-index: 2;
}

.strap-img {
    z-index: 3;
}

.bent-img {
    z-index: 1;
}

.flat-img {
    z-index: 2;
}

.feature-card {
    position: absolute;
    z-index: 9;
    width: min(340px, 84vw);
    padding: 20px 22px;
    border-top: 1px solid var(--hairline);
    background: rgba(250, 248, 245, 0.66);
    opacity: 0;
    translate: 0 26px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.feature-card--sole {
    right: clamp(18px, 7vw, 112px);
    bottom: clamp(58px, 12vh, 130px);
}

.feature-card--strap {
    left: clamp(18px, 7vw, 112px);
    top: clamp(150px, 25vh, 240px);
}

.feature-card span {
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
}

.feature-card h3 {
    margin: 10px 0 10px;
    color: var(--ink);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    line-height: 1.25;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.gravity-section {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: clamp(36px, 6vw, 96px);
    align-items: center;
}

.gravity-stage {
    min-height: clamp(360px, 60vh, 700px);
}

.float-product {
    position: relative;
    z-index: 3;
    width: min(760px, 82vw);
    aspect-ratio: 600 / 303;
}

.float-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    will-change: transform;
    filter: drop-shadow(0 28px 38px rgba(33, 27, 24, 0.12));
}

.shadow-img {
    position: absolute;
    left: 50%;
    bottom: -14%;
    width: min(76%, 560px);
    transform: translateX(-50%);
    opacity: 0.46;
    will-change: transform, opacity;
}

.gravity-copy {
    position: relative;
    z-index: 8;
    width: min(520px, 100%);
    text-align: right;
}

.collection-section {
    position: relative;
    padding: 15vh clamp(18px, 7vw, 112px);
    background: linear-gradient(180deg, rgba(234, 224, 213, 0.36), var(--cream) 52%);
}

.collection-heading {
    width: min(720px, 100%);
    margin: 0 0 clamp(42px, 7vh, 84px);
    text-align: right;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 46px);
}

.product-card {
    min-width: 0;
}

.product-card a {
    display: block;
    color: inherit;
    background: transparent;
    border-radius: 0;
    text-decoration: none;
    box-shadow: none;
    transition: transform 240ms ease;
}

.product-card a:hover {
    transform: translateY(-5px);
}

.product-card figure {
    display: grid;
    min-height: clamp(210px, 22vw, 330px);
    margin: 0;
    padding: clamp(14px, 2vw, 28px);
    place-items: center;
    background:
        radial-gradient(circle at 50% 68%, rgba(33, 27, 24, 0.08), transparent 34%),
        rgba(255, 255, 255, 0.22);
}

.product-card img {
    display: block;
    width: 100%;
    max-height: clamp(170px, 17vw, 270px);
    object-fit: contain;
    transition: scale 240ms ease;
}

.product-card a:hover img {
    transform: scale(1.025);
}

.product-card__body {
    padding: 20px 2px 0;
    text-align: right;
}

.product-card h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: clamp(18px, 1.45vw, 22px);
    font-weight: 700;
    line-height: 1.35;
}

.product-card p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.product-card span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    color: var(--red);
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid currentColor;
}

@media (max-width: 1080px) {
    .collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gravity-section {
        grid-template-columns: 1fr;
    }

    .gravity-copy {
        width: min(680px, 100%);
        margin-inline-start: auto;
    }
}

@media (max-width: 760px) {
    .hero-mask-section {
        min-height: 100svh;
    }

    .hero-mask-wash {
        background:
            linear-gradient(180deg, rgba(244, 239, 234, 0.96) 0%, rgba(244, 239, 234, 0.18) 52%, rgba(244, 239, 234, 0.9) 100%),
            radial-gradient(circle at center, transparent 0 20%, rgba(244, 239, 234, 0.82) 66%);
    }

    .mask-text {
        font-size: 230px;
    }

    .hero-ambient-copy {
        bottom: 28px;
    }

    .hero-ambient-copy p:last-child {
        font-size: 17px;
        line-height: 1.75;
    }

    .landing-panel,
    .collection-section {
        min-height: 100svh;
        padding: 15vh 18px;
    }

    .panel-heading,
    .panel-heading--center,
    .gravity-copy,
    .collection-heading {
        width: 100%;
        text-align: center;
    }

    .panel-heading h2,
    .gravity-copy h2,
    .collection-heading h2 {
        font-size: clamp(34px, 11vw, 50px);
        line-height: 1.12;
    }

    .panel-heading p:not(.section-kicker),
    .gravity-copy p {
        font-size: 16px;
        line-height: 1.75;
    }

    .visual-stage {
        min-height: 42vh;
    }

    .anatomy-stage,
    .flex-stage {
        margin-top: 8vh;
    }

    .stacked-product,
    .flex-stack,
    .float-product {
        width: min(94vw, 520px);
    }

    .bg-type {
        font-size: 26vw;
        opacity: 0.035;
        white-space: nowrap;
    }

    .feature-card {
        width: min(42vw, 170px);
        padding: 12px 10px;
        background: rgba(250, 248, 245, 0.78);
    }

    .feature-card--sole {
        right: 18px;
        bottom: 9vh;
    }

    .feature-card--strap {
        left: 18px;
        top: auto;
        bottom: 9vh;
    }

    .feature-card h3 {
        margin: 8px 0 0;
        font-size: 15px;
        line-height: 1.35;
    }

    .feature-card p {
        display: none;
    }

    .gravity-section {
        gap: 8vh;
    }

    .shadow-img {
        bottom: -20%;
        width: 74%;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .product-card figure {
        min-height: 260px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stacked-product .part-img,
    .float-img,
    .shadow-img,
    .product-card a,
    .product-card img {
        transition: none;
        will-change: auto;
    }
}
