/* LOOK WEEKLY — editorial fashion magazine */

:root {
    --bg: #f7f5f2;
    --bg-soft: #ebe7e1;
    --ink: #121212;
    --ink-muted: #5c5752;
    --line: rgba(18, 18, 18, 0.12);
    --sale: #9a2b3a;
    --paper: #ffffff;
    --hero-ink: #f4f1ec;
    --max-w: 1440px;
    --header-h: 4.25rem;
    --promo-h: 2rem;
    --font-display: "Cormorant Garamond", "Times New Roman", serif;
    --font-ui: "Jost", "Helvetica Neue", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, p {
    margin: 0;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--paper);
}

.header-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
    min-height: var(--header-h);
    border-bottom: 1px solid var(--line);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
}

.brand-mark__logo {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex: 0 0 auto;
}

.brand-mark__word--light {
    font-weight: 400;
    opacity: 0.55;
}

.header-slogan {
    margin: 0;
    justify-self: center;
    max-width: 36rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    line-height: 1.35;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 0.75rem;
}

.header-cta {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--ink);
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.header-cta:hover {
    background: var(--ink);
    color: var(--paper);
}

/* Hero */

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h) - var(--promo-h));
    min-height: calc(100svh - var(--header-h) - var(--promo-h));
    overflow: hidden;
    background: #2a2622;
    color: var(--hero-ink);
}

.hero__media {
    position: absolute;
    inset: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1);
    animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12, 10, 8, 0.15) 0%, rgba(12, 10, 8, 0.45) 62%, rgba(12, 10, 8, 0.62) 100%),
        linear-gradient(180deg, rgba(12, 10, 8, 0.2) 0%, transparent 35%, rgba(12, 10, 8, 0.35) 100%);
}

.hero__overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
    min-height: inherit;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 4.5rem 1.75rem 3.5rem;
}

.hero__eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(12px);
    animation: rise-in 0.9s var(--ease) 0.15s forwards;
}

.hero__title {
    margin-top: 0.85rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(18px);
    animation: rise-in 1s var(--ease) 0.35s forwards;
}

.hero__lede {
    margin-top: 1.1rem;
    max-width: 22rem;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(14px);
    animation: rise-in 0.9s var(--ease) 0.55s forwards;
}

.hero__cta {
    display: inline-flex;
    margin-top: 1.75rem;
    padding: 0.85rem 1.4rem;
    border: 1px solid rgba(244, 241, 236, 0.85);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(14px);
    animation: rise-in 0.9s var(--ease) 0.7s forwards;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.hero__cta:hover {
    background: var(--hero-ink);
    color: var(--ink);
}

@keyframes rise-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-drift {
    from { transform: scale(1) translate3d(0, 0, 0); }
    to { transform: scale(1.025) translate3d(-0.4%, 0.2%, 0); }
}

/* Look split + public looks carousel */

.look-split {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4rem;
}

.look-split__intro {
    max-width: none;
    margin-bottom: 2rem;
}

.look-split__intro h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: normal;
}

.look-split__intro p {
    margin-top: 0.6rem;
    color: var(--ink-muted);
    font-weight: 300;
}

.featured-look[data-empty]::before {
    content: attr(data-empty);
    display: block;
    color: var(--ink-muted);
    font-size: 0.95rem;
    padding: 2rem 0;
}

.look-split__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.25rem;
    align-items: stretch;
}

.look-feature {
    background: var(--paper);
}

.look-feature__media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background:
        linear-gradient(145deg, #c9bfb2 0%, #8a7d70 48%, #4a433c 100%);
}

.look-feature--saved {
    display: flex;
    min-height: 0;
}

.look-feature--saved .look-feature__media {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

.look-feature--saved .look-feature__media img {
    position: absolute;
    inset: 0;
}

.look-feature__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.look-feature:hover .look-feature__media img {
    transform: scale(1.03);
}

.btn-link {
    display: inline-block;
    margin-top: 1.1rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 0.15rem;
    transition: opacity 0.25s var(--ease);
}

.btn-link:hover {
    opacity: 0.55;
}

.product-collage {
    background: var(--bg-soft);
    padding: 1.15rem;
}

.product-collage__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-collage__head h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.btn-outline {
    flex-shrink: 0;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--ink);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--paper);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.product-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
    background: var(--paper);
    display: flex;
    flex-direction: column;
}

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background:
        linear-gradient(160deg, #ddd6cd 0%, #b0a79c 100%);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--ease);
}

.product-card--featured .product-card__media img {
    object-fit: contain;
}

.product-card:hover .product-card__media img {
    transform: scale(1.04);
}

.product-card__ad-hover {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem;
    background: rgba(18, 18, 18, 0.9);
    color: var(--paper);
    font-size: 0.62rem;
    line-height: 1.45;
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.product-card__media:hover .product-card__ad-hover,
.product-card__media:focus-visible .product-card__ad-hover {
    opacity: 1;
    transform: translateY(0);
}

.product-card__body {
    padding: 0.75rem 0.7rem 0.9rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card__brand {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.product-card__name {
    margin-top: 0.25rem;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-card--featured .product-card__name {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 2.5em;
}

.product-card__price {
    margin-top: 0.35rem;
    font-size: 0.9rem;
}

.product-card__media--aisha {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: var(--paper);
    color: var(--ink);
}

.aisha-mark {
    display: grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.7rem;
    line-height: 1;
}

.aisha-word {
    font-family: var(--font-display);
    letter-spacing: 0.22em;
    font-size: 0.95rem;
}

.product-card__note {
    margin-top: 0.35rem;
    color: var(--ink-muted);
    font-size: 0.75rem;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
}

.product-card--aisha .product-card__cta {
    display: block;
    margin-top: 0.75rem;
    padding: 0.65rem 0.5rem;
    border: 1px solid var(--ink);
    text-align: center;
}

.product-card--aisha .product-card__cta:hover {
    opacity: 1;
    background: var(--ink);
    color: var(--paper);
}

.product-card__ad {
    margin-top: 0.4rem;
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    color: var(--ink-muted);
}

.product-card__cta {
    margin-top: auto;
    padding-top: 0.75rem;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-top: 1px solid var(--line);
    transition: opacity 0.25s var(--ease);
}

.product-card__cta:hover {
    opacity: 0.55;
}

.disclaimer {
    margin-top: 1rem;
    font-size: 0.7rem;
    color: var(--ink-muted);
    line-height: 1.45;
}

/* CTA */

.cta-band {
    padding: 4.5rem 1.5rem;
    text-align: center;
    background:
        radial-gradient(ellipse at center, #3a342e 0%, #161310 70%);
    color: var(--hero-ink);
}

.cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cta-band p {
    max-width: 28rem;
    margin: 0.9rem auto 0;
    font-weight: 300;
    opacity: 0.85;
}

.cta-band .hero__cta {
    opacity: 1;
    transform: none;
    animation: none;
}

/* Footer */

.site-footer {
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.site-footer__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.site-footer__copy {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.site-footer__note {
    margin-top: 0.2rem;
    font-size: 0.7rem;
    color: var(--ink-muted);
}

.site-footer__note a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--line);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.footer-link:hover {
    border-color: var(--ink);
    background: var(--bg);
}

.footer-link__icon {
    font-size: 0.62rem;
    font-weight: 600;
    opacity: 0.7;
}

/* Responsive */

@media (max-width: 980px) {
    .look-split__grid {
        grid-template-columns: 1fr;
    }

    .look-feature--saved .look-feature__media {
        height: auto;
        aspect-ratio: 3 / 4;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero__overlay {
        align-items: flex-start;
        text-align: left;
        padding-top: 3rem;
    }
}

@media (max-width: 760px) {
    .header-bar {
        grid-template-columns: 1fr auto;
        gap: 0.75rem;
    }

    .header-slogan {
        display: none;
    }

    .look-split__intro h2 {
        white-space: normal;
    }

    .product-collage__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .hero__media img {
        transform: none;
    }
}
