/*
 * Work With Me Page Styles
 * Premium landing page based on Eme's Baked Goods Work with Me content.
 */

:root {
    --work-cream: #f7f3ec;
    --work-paper: #fffaf3;
    --work-ink: #181512;
    --work-charcoal: #4c4842;
    --work-muted: #746d63;
    --work-cocoa: #5a351f;
    --work-blush: #efd4cf;
    --work-gold: #b98548;
    --work-sage: #dfe3d4;
}

.work-page-main {
    background:
        radial-gradient(circle at 85% 8%, rgba(239, 212, 207, 0.72), transparent 25rem),
        radial-gradient(circle at 10% 42%, rgba(223, 227, 212, 0.68), transparent 24rem),
        linear-gradient(180deg, var(--work-cream), #fbf8f2 54%, #eee5d8);
    color: var(--work-ink);
    overflow: hidden;
}

.work-eyebrow {
    color: var(--work-cocoa);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    margin: 0 0 0.9rem;
    text-transform: uppercase;
}

.work-button,
.work-text-link {
    align-items: center;
    display: inline-flex;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.work-button {
    background: var(--work-ink);
    border-radius: 999px;
    box-shadow: 0 1rem 2rem rgba(24, 21, 18, 0.16);
    color: var(--work-paper);
    font-size: 0.82rem;
    justify-content: center;
    min-height: 3rem;
    padding: 0.9rem 1.35rem;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.work-button:hover,
.work-button:focus-visible {
    box-shadow: 0 1.2rem 2.4rem rgba(24, 21, 18, 0.2);
    transform: translateY(-2px);
}

.work-button--light {
    background: var(--work-paper);
    color: var(--work-ink);
}

.work-text-link {
    border-bottom: 1px solid currentColor;
    color: var(--work-cocoa);
    font-size: 0.76rem;
    padding-bottom: 0.18rem;
    transition: color 180ms ease, transform 180ms ease;
}

.work-text-link:hover,
.work-text-link:focus-visible {
    color: var(--work-ink);
    transform: translateX(0.2rem);
}

.work-hero,
.work-offers,
.work-events,
.work-products {
    margin: 0 auto;
    max-width: 78rem;
    padding: clamp(4rem, 10vw, 7rem) 1.25rem;
}

.work-hero {
    display: grid;
    gap: 1rem;
    padding-top: clamp(3rem, 7vw, 5rem);
}

.work-hero__copy {
    align-self: center;
    max-width: 56rem;
}

.work-hero h1,
.work-section-heading h2,
.work-events h2,
.work-final-cta h2 {
    color: var(--work-charcoal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 10vw, 6.2rem);
    font-weight: 500;
    letter-spacing: -0.07em;
    line-height: 0.96;
    margin: 0;
}

.work-hero h1 em,
.work-events h2 em {
    font-style: italic;
}

.work-hero p:not(.work-eyebrow),
.work-section-heading p,
.work-offer-card p,
.work-events p,
.work-experience-card p,
.work-product-feature p,
.work-box-grid p {
    color: var(--work-muted);
    font-size: clamp(1rem, 2.5vw, 1.18rem);
    line-height: 1.8;
    margin: 1.15rem 0 0;
}

.work-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.work-hero__image,
.work-offer-card,
.work-experience-card,
.work-product-feature,
.work-box-grid article,
.work-final-cta {
    background: rgba(255, 250, 243, 0.78);
    border: 1px solid rgba(24, 21, 18, 0.1);
    border-radius: 1.65rem;
    box-shadow: 0 1.2rem 2.4rem rgba(64, 48, 35, 0.08);
    overflow: hidden;
}

.work-hero__image img,
.work-offer-card img,
.work-experience-card img,
.work-product-feature img,
.work-box-grid img {
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.work-hero__image img {
    aspect-ratio: 1 / 0.78;
}

.work-section-heading {
    margin-bottom: 2rem;
    max-width: 56rem;
}

.work-offer-grid,
.work-experience-grid,
.work-box-grid {
    display: grid;
    gap: 1rem;
}

.work-offer-card {
    display: grid;
}

.work-offer-card img,
.work-box-grid img {
    aspect-ratio: 1 / 0.72;
}

.work-offer-card div,
.work-experience-card div,
.work-product-feature div,
.work-box-grid div {
    padding: clamp(1.3rem, 4vw, 2rem);
}

.work-offer-card span,
.work-experience-card span,
.work-product-feature span,
.work-box-grid span {
    color: var(--work-gold);
    display: block;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
}

.work-offer-card h3,
.work-experience-card h3,
.work-product-feature h3,
.work-box-grid h3 {
    color: var(--work-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.6rem, 5vw, 2.55rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.02;
    margin: 0;
}

.work-offer-card .work-text-link,
.work-box-grid .work-text-link {
    margin-top: 1.3rem;
}

.work-offer-card--featured,
.work-experience-card--dark,
.work-final-cta {
    background: var(--work-ink);
}

.work-offer-card--featured h3,
.work-offer-card--featured p,
.work-experience-card--dark h3,
.work-experience-card--dark p,
.work-final-cta h2 {
    color: var(--work-paper);
}

.work-offer-card--featured p,
.work-experience-card--dark p {
    opacity: 0.72;
}

.work-offer-card--featured .work-text-link {
    color: var(--work-paper);
}

.work-events__intro {
    margin-bottom: 2rem;
    max-width: 58rem;
}

.work-events__intro .work-button {
    margin-top: 1.5rem;
}

.work-experience-card img {
    aspect-ratio: 1 / 0.68;
}

.work-product-feature {
    display: grid;
    margin-bottom: 1rem;
}

.work-product-feature img {
    aspect-ratio: 1 / 0.72;
}

.work-product-feature .work-button {
    margin-top: 1.4rem;
}

.work-final-cta {
    margin-top: 1rem;
    padding: clamp(1.6rem, 6vw, 3.5rem);
    text-align: center;
}

.work-final-cta .work-button {
    margin-top: 1.5rem;
}

@media (min-width: 820px) {
    .work-hero,
    .work-product-feature {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .work-offer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .work-experience-card--dark {
        grid-column: 1 / -1;
    }
}
