.work-page {
    color: #172031;
    background: #fff;
    overflow-x: clip;
}

.work-kicker {
    margin: 0 0 18px;
    color: #9a6325;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* HERO */
.work-hero {
    position: relative;
    z-index: 10;
    isolation: isolate;
    overflow: visible;

    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);

    min-height: clamp(560px, 68vh, 760px);

    padding: clamp(70px, 7vw, 116px) clamp(28px, 5vw, 84px) 0;
    padding-top: 0px;
    padding-right: 0px;
}

.work-hero__crest {
    position: absolute;
    z-index: 1;
    right: 30%;
    top: 46%;
    width: clamp(520px, 52vw, 790px);
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    background: url(/assets/images/crest.avif) center / contain no-repeat;
    opacity: 0.145;
    filter: saturate(0.9);
    pointer-events: none;
}

.work-hero__copy {
    position: relative;
    z-index: 3;
    align-self: center;
    max-width: 650px;
    padding: clamp(20px, 3vw, 48px) 0 clamp(86px, 10vw, 140px);
    padding-top: 6rem;
}

.work-hero h1 {
    margin: 0;
    max-width: 680px;
    font-family: Georgia, serif;
    font-size: 400%;
    line-height: 0.88;
    letter-spacing: -0.065em;
    color: #121a28;
}

.work-hero__copy p:last-of-type {
    max-width: 520px;
    margin: clamp(22px, 2.4vw, 34px) 0 0;
    color: #46505e;
    font-size: clamp(1rem, 1.08vw, 1.18rem);
    line-height: 1.68;
}


.work-hero__cta {
    display: inline-flex;
    margin-top: 2rem;
    text-decoration: none;
}

.work-hero__cta b {
    display: inline-grid;
    place-items: center;
    min-width: 220px;
    height: 42px;
    padding: 0 28px;
    border: 1px solid rgba(23, 32, 49, 0.42);
    border-radius: 999px;
    color: #172031;
    background: transparent;
    font-size: 1rem;
    font-weight: 700;
    transition:
        transform 220ms ease,
        background-color 220ms ease,
        color 220ms ease,
        border-color 220ms ease;
}

.work-hero__cta:hover b {
    transform: translateX(6px);
    background: #172031;
    border-color: #172031;
    color: #fff;
}


.work-hero__image {
    position: relative;
    z-index: 2;
    display: block;
    min-height: clamp(430px, 53vw, 660px);
    overflow: hidden;
    background: #efe6d8;
    text-decoration: none;
}

.work-hero__photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.01);
    transition: transform 420ms ease, filter 420ms ease;
}

.work-hero__image::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.78) 18%, rgba(255,255,255,0.12) 40%, rgba(255,255,255,0) 62%),
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(10,14,22,0.04));
    pointer-events: none;
}

.work-hero__image:hover .work-hero__photo {
    transform: scale(1.055);
    filter: saturate(1.06) contrast(1.03);
}

.work-hero__rail {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 94px;
    background: linear-gradient(90deg, #d58919, #efa935);
    box-shadow: 0 18px 48px rgba(17, 22, 31, 0.2);
}

.work-hero__rail a {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: center;
    padding: 20px clamp(22px, 4vw, 56px);
    color: #fff;
    text-decoration: none;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
    transition: background-color 220ms ease;
}

.work-hero__rail a:last-child {
    border-right: 0;
}

.work-hero__rail a:hover {
    background: rgba(90, 54, 12, 0.14);
}

.work-hero__rail-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #c47a13;
    font-size: 1rem;
    font-weight: 900;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.work-hero__rail a:hover .work-hero__rail-icon {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(17, 22, 31, 0.14);
}

.work-hero__rail strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.work-hero__rail em {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.88rem;
    font-style: normal;
}

/* PANELS */
.work-panels {
    background: #fff;
}

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

.work-panel {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(420px, 44vw, 620px);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: #172031;
}


.work-panel__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.015);
    transition: transform 420ms ease, filter 420ms ease;
}


.work-panel__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 13, 22, 0.02) 20%, rgba(8, 13, 22, 0.82) 100%),
        linear-gradient(90deg, rgba(8, 13, 22, 0.18), transparent 48%);
    z-index: 1;
}

.work-panel__body {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 430px;
    padding: clamp(28px, 4vw, 58px);
}

.work-panel__body strong {
    font-family: Georgia, serif;
    font-size: clamp(2rem, 3.2vw, 4.3rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.work-panel__body em {
    max-width: 340px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.84);
    font-style: normal;
    font-size: clamp(0.98rem, 1.05vw, 1.14rem);
    line-height: 1.48;
}

.work-panel__body b {
    display: inline-grid;
    place-items: center;
    min-width: 220px;
    height: 42px;
    margin-top: 24px;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 999px;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;

}

.work-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            180deg,
            rgba(154, 99, 37, 0.08) 0%,
            rgba(213, 137, 25, 0.16) 45%,
            rgba(154, 99, 37, 0.34) 100%
        );
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 320ms ease;
        backdrop-filter 240ms ease;
}

.work-panel:hover::after {
    opacity: 1;
}



.work-panel:hover .work-panel__body b {
    transform: translateX(6px);
    background: #fff;
    color: #172031;
}

/* STAND CTA */
.work-stand {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 0.56fr 1fr 0.56fr;
    align-items: center;
    min-height: clamp(310px, 34vw, 460px);
    overflow: hidden;
    background: #111925;
    color: #f6ecdc;
}

.work-stand::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 30%, rgba(209, 159, 81, 0.16), transparent 42%),
        linear-gradient(90deg, rgba(17, 25, 37, 0.8), rgba(17, 25, 37, 0.98) 34%, rgba(17, 25, 37, 0.98) 66%, rgba(17, 25, 37, 0.82));
}

.work-stand__image {
    min-height: 100%;
    opacity: 0.46;
    background-size: cover;
    background-position: center;
    mix-blend-mode: screen;
}

.work-stand__image--left {
    background-image: url('/assets/images/crest.avif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.32;
}

.work-stand__image--right {
    background-image: url('/assets/images/order-watermark.avif');
    opacity: 0.2;
}

.work-stand__content {
    padding: clamp(70px, 8vw, 112px) 24px;
    text-align: center;
}

.work-stand h2 {
    max-width: 780px;
    margin: 0 auto clamp(30px, 3vw, 44px);
    font-family: Georgia, serif;
    font-size: 400%;
    line-height: 0.94;
    letter-spacing: -0.05em;
}

.work-stand__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.work-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid rgba(246, 236, 220, 0.46);
    color: #f6ecdc;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.72rem;
    font-weight: 900;
    transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.work-button:hover {
    transform: translateY(-2px);
    background: #f6ecdc;
    color: #111925;
}

.work-button--gold {
    background: #d7a33a;
    border-color: #d7a33a;
    color: #111925;
}

.work-button--gold:hover {
    transform: translateY(-2px);
    background: #f6ecdc;
    border-color: #f6ecdc;
    color: #111925;
    box-shadow: 0 0 0 1px rgba(246, 236, 220, 0.35);
}

/* ARCHIVE */
/* ARCHIVE */
.work-archive {
    position: relative;
    overflow: hidden;
    padding: clamp(70px, 7vw, 110px) clamp(24px, 6vw, 92px) clamp(78px, 8vw, 118px);
    background: #f7f0e4;
    border-bottom: 1px solid rgba(23, 32, 49, 0.1);
}

.work-archive::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("/assets/images/events-background.png") center / cover no-repeat;
    opacity: 0.62;
    pointer-events: none;
}

.work-archive::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(
            90deg,
            rgba(247, 240, 228, 0.38),
            rgba(247, 240, 228, 0.18),
            rgba(247, 240, 228, 0.30)
        );
    pointer-events: none;
}

.work-archive > * {
    position: relative;
    z-index: 1;
}

.work-archive__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: 1680px;
    margin: 0 auto 34px;
}

.work-archive__top h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 4.6rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
}

.work-archive__all {
    color: #801023;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 900;
}

.work-archive__shelf-stage {
    position: relative;
    overflow: visible;
    max-width: 1680px;
    margin: 0 auto;
}

.work-archive__shelf {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0 auto;
    transition:
        opacity 420ms ease,
        transform 420ms ease;
}

.work-archive__shelf--enter-right {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(64px);
}

.work-archive__shelf--enter-left {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(-64px);
}

.work-archive__shelf--active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.work-archive__shelf--exit-left {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(-64px);
}

.work-archive__shelf--exit-right {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(64px);
}

.work-record {
    position: relative;
    display: grid;
    grid-template-rows: 210px 1fr;
    min-height: 500px;
    background: #fff;
    color: #172031;
    text-decoration: none;
    border: 1px solid rgba(23, 32, 49, 0.12);
    box-shadow: 0 12px 26px rgba(17, 22, 31, 0.07);
    transition: box-shadow 180ms ease;
}

.work-record:hover {
    box-shadow: 0 16px 32px rgba(17, 22, 31, 0.50);
}

.work-record__image {
    background-size: cover;
    background-position: center;
}

.work-record__date {
    position: absolute;
    top: 175px;
    left: 24px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    background: #8b1020;
    color: #fff;
    box-shadow: 0 12px 24px rgba(17, 22, 31, 0.22);
}

.work-record__date strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 900;
}

.work-record__date em {
    display: block;
    margin-top: 4px;
    font-size: 0.62rem;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.work-record__body {
    display: flex;
    flex-direction: column;
    padding: 58px 22px 24px;
}

.work-record__body strong {
    font-family: Georgia, serif;
    font-size: 2rem;
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.work-record__body em {
    margin-top: 12px;
    color: #566070;
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.5;
}

.work-archive__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
}

.work-archive__pagination button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(23, 32, 49, 0.18);
    border-radius: 999px;
    background: #fff;
    color: #172031;
    cursor: pointer;
    font-size: 1.2rem;
}

.work-archive__pagination strong {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


@media (max-width: 1050px) {
    .work-hero {
        grid-template-columns: 1fr;
        padding-bottom: 94px;
    }

    .work-hero__copy {
        max-width: 760px;
        padding-bottom: 36px;
    }

    .work-hero__image {
        min-height: 420px;
        margin: 0 calc(clamp(28px, 5vw, 84px) * -1) 0 0;
    }

    .work-hero__rail,
    .work-panels__grid,
    .work-archive__shelf {
        grid-template-columns: 1fr 1fr;
    }

    .work-stand {
        grid-template-columns: 1fr;
    }

    .work-stand__image {
        display: none;
    }
}

@media (max-width: 1050px) and (orientation: portrait) {
    .work-hero__crest {
        display: none;
    }

    .work-panels__grid {
        grid-template-columns: 1fr;
    }

    .work-panel {
        min-height: 460px;
    }
}

@media (max-width: 680px) {
    .work-hero {
        padding: 48px 20px 0;
    }
    
    .work-hero__crest {
        display: none;
    }

    .work-hero h1 {
        font-size: clamp(3rem, 15vw, 4.8rem);
    }

    .work-hero__image {
        min-height: 330px;
        margin-left: -20px;
        margin-right: -20px;
    }

    .work-hero__rail,
    .work-panels__grid,
    .work-archive__shelf {
        grid-template-columns: 1fr;
    }

    .work-hero__rail {
        position: relative;
        margin: 0 -20px;
    }

    .work-hero__rail a {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.26);
    }

    .work-panel {
        min-height: 380px;
    }

    .work-archive__top {
        display: block;
    }

    .work-archive__all {
        display: inline-flex;
        margin-top: 18px;
    }
}

