/* Custom / bespoke — Journal editorial theme */

.cu-page {
    background: #000;
    color: #f7f5f1;
    min-height: 100vh;
    padding-bottom: 4rem;
}

.cu-hero {
    position: relative;
    min-height: min(78vh, 40rem);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: calc(var(--ed-header-h) + 2.2rem) 6% 3.2rem;
    overflow: hidden;
    background-color: #0a0a0a;
}

.cu-hero::before {
    content: "";
    position: absolute;
    inset: -10%;
    background: var(--cu-hero, url("/assets/images/customPage/hero.jpg")) center / cover no-repeat;
    transform: scale(1.12);
    animation: cuKenBurns 18s ease-out forwards;
    will-change: transform;
}

.cu-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

@keyframes cuKenBurns {
    from { transform: scale(1.12) translate3d(0, 2%, 0); }
    to { transform: scale(1) translate3d(0, 0, 0); }
}

.cu-hero-inner {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
}

.cu-kicker {
    margin: 0 0 0.85rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(247, 245, 241, 0.62);
}

.cu-display {
    margin: 0;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 0.9;
}

.cu-lede {
    margin: 1rem auto 0;
    max-width: 36rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    line-height: 1.7;
    color: rgba(247, 245, 241, 0.72);
}

.cu-hero .ed-explore {
    margin-top: 1.5rem;
}

.cu-intro {
    text-align: center;
    padding: 3.2rem 6% 1.2rem;
}

.cu-intro .cu-lede {
    margin-top: 0.85rem;
}

.cu-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
    margin: 0.5rem 5% 2.4rem;
    padding: 1.15rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 10, 0.72);
}

.cu-section {
    margin: 0 5% 2.6rem;
}

.cu-section-head {
    text-align: center;
    margin: 0 0 1.8rem;
}

.cu-section-title {
    margin: 0.35rem 0 0;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.cu-process {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cu-step {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
    color: inherit;
    background: #000;
}

@media (min-width: 900px) {
    .cu-step {
        grid-template-columns: 1.2fr 0.95fr;
        min-height: 24rem;
    }

    .cu-step.is-reversed {
        grid-template-columns: 0.95fr 1.2fr;
    }

    .cu-step.is-reversed .cu-step-media {
        order: 2;
    }
}

.cu-step-media {
    min-height: 16rem;
    height: 100%;
    overflow: hidden;
    background: #161616;
}

.cu-step-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.08);
    transition: transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cu-step.aos-animate .cu-step-media img {
    transform: scale(1);
}

.cu-step:hover .cu-step-media img {
    transform: scale(1.05);
    transition-duration: 0.65s;
}

.cu-step-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.8rem 1.6rem 2rem;
    background: #0a0a0a;
}

.cu-step-copy h3 {
    margin: 0.45rem 0 0.85rem;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 500;
    line-height: 1.1;
}

.cu-step-copy p {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    line-height: 1.65;
    letter-spacing: 0.04em;
    color: rgba(247, 245, 241, 0.7);
}

.cu-sheet {
    background: #000;
    color: #f7f5f1;
    margin: 2.6rem 5% 0;
    padding: 2.6rem 0 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    scroll-margin-top: var(--ed-header-h, 8rem);
}

.cu-sheet-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2rem;
}

.cu-sheet h2 {
    margin: 0.35rem 0 0;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.cu-sheet .cu-sheet-lede {
    margin: 0.85rem auto 0;
    max-width: 36rem;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    line-height: 1.7;
    color: rgba(247, 245, 241, 0.72);
}

.cu-commission {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
    background: #000;
}

@media (min-width: 960px) {
    .cu-commission {
        grid-template-columns: 0.92fr 1.08fr;
        min-height: 34rem;
    }
}

.cu-commission-media {
    position: relative;
    min-height: 18rem;
    background: #161616;
    overflow: hidden;
}

.cu-commission-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 18rem;
    transform: scale(1.06);
    transition: transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cu-commission.aos-animate .cu-commission-media img {
    transform: scale(1);
}

.cu-commission:hover .cu-commission-media img {
    transform: scale(1.05);
    transition-duration: 0.65s;
}

.cu-commission-aside {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.4rem 1.35rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.42) 70%, transparent 100%);
}

.cu-commission-aside ul {
    margin: 0.55rem 0 0;
    padding: 0;
    list-style: none;
}

.cu-commission-aside li {
    position: relative;
    padding: 0.28rem 0 0.28rem 1rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    line-height: 1.55;
    color: rgba(247, 245, 241, 0.82);
}

.cu-commission-aside li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.4rem;
    height: 1px;
    background: #f7f5f1;
}

.cu-commission-reply {
    margin: 0.85rem 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(247, 245, 241, 0.62);
}

.cu-commission-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.6rem 1.35rem 1.8rem;
    background: #0a0a0a;
}

@media (min-width: 960px) {
    .cu-commission-form {
        padding: 2rem 2.1rem 2.2rem;
    }
}

.cu-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.95rem 1rem;
}

@media (min-width: 700px) {
    .cu-form {
        grid-template-columns: 1fr 1fr;
    }

    .cu-form .cu-span {
        grid-column: 1 / -1;
    }
}

.cu-form > label,
.cu-form > .cu-span {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.cu-form label span,
.cu-file-label {
    font-family: "Montserrat", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(247, 245, 241, 0.62);
}

.cu-form input,
.cu-form textarea {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #f7f5f1;
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cu-form textarea {
    text-transform: none;
    letter-spacing: 0.06em;
    resize: none;
    min-height: 7.5rem;
}

.cu-form input::placeholder,
.cu-form textarea::placeholder {
    color: rgba(247, 245, 241, 0.38);
}

.cu-form input:focus,
.cu-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.62);
}

.cu-form input:-webkit-autofill,
.cu-form input:-webkit-autofill:hover,
.cu-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f7f5f1;
    caret-color: #f7f5f1;
    box-shadow: 0 0 0 1000px #0a0a0a inset;
    transition: background-color 9999s ease-out;
}

.cu-file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    min-height: 3.6rem;
    padding: 0.85rem 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.cu-file:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

.cu-file input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.cu-file-btn {
    flex-shrink: 0;
    padding: 0.42rem 0.85rem;
    border: 1px solid #fff;
    background: #fff;
    color: #0a0a0a;
    font-family: "Montserrat", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    pointer-events: none;
}

.cu-file-name,
.cu-file-name.text-\[\#888888\] {
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: rgba(247, 245, 241, 0.42);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cu-file-name.text-\[\#1e1e1e\] {
    color: #f7f5f1;
}

.cu-file-hint {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    color: rgba(247, 245, 241, 0.42);
}

.cu-form [aria-hidden="true"] {
    display: none;
}

.cu-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.15rem;
    padding: 0.78rem 1.3rem;
    border: 1px solid #fff;
    background: #fff;
    color: #0a0a0a;
    font-family: "Montserrat", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
}

.cu-form button[type="submit"]:hover {
    background: transparent;
    color: #fff;
}

.cu-form [data-lead-form-message] {
    grid-column: 1 / -1;
    padding: 0.75rem 1rem;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cu-sheet-foot {
    margin-top: 1.8rem;
    text-align: center;
}

.cu-sheet-note {
    margin: 0 0 1.15rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    line-height: 1.7;
    color: rgba(247, 245, 241, 0.72);
}

.cu-sheet-note a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.cu-sheet-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.cu-sheet .ed-explore.is-solid {
    background: #fff;
    color: #0a0a0a;
}

.cu-sheet .ed-explore.is-solid:hover {
    background: transparent;
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .cu-hero::before,
    .cu-step-media img,
    .cu-commission-media img {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
}
