.first-class-paper-hero {
    position: relative;
    --first-class-paper-min-height: 720px;
    min-height: var(--first-class-paper-min-height);
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid rgba(42, 31, 26, .12);
    background: #fff9ec;
}

.first-class-paper-hero--offer {
    --first-class-paper-min-height: 790px;
}

.first-class-paper-scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    perspective: 1400px;
    --first-class-paper-spot-x: 72%;
    --first-class-paper-spot-y: 34%;
}

.first-class-paper-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center bottom;
    transform: scale(1.025);
    filter: saturate(.88) contrast(.98) brightness(1.035);
}

.first-class-paper-wash {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(circle at var(--first-class-paper-spot-x) var(--first-class-paper-spot-y), rgba(255, 255, 255, .04) 0 18%, rgba(64, 43, 31, .08) 78%),
        linear-gradient(90deg, rgba(255, 249, 236, .98) 0%, rgba(255, 249, 236, .93) 35%, rgba(255, 249, 236, .48) 51%, rgba(255, 249, 236, 0) 69%);
}

.first-class-paper-wash::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .11;
    background-image:
        repeating-linear-gradient(15deg, rgba(56, 35, 24, .12) 0 1px, transparent 1px 8px),
        repeating-linear-gradient(102deg, rgba(255, 255, 255, .28) 0 1px, transparent 1px 11px);
    mix-blend-mode: soft-light;
}

.first-class-paper-inner {
    position: relative;
    z-index: 15;
    display: grid;
    grid-template-columns: clamp(180px, 15vw, 210px) minmax(0, 475px);
    gap: clamp(28px, 3vw, 44px);
    align-items: center;
    min-height: var(--first-class-paper-min-height);
    pointer-events: none;
}

.first-class-paper-cover {
    position: absolute;
    z-index: 10;
    right: 4%;
    bottom: 8%;
    width: clamp(260px, 27vw, 390px);
    transform: rotate(1.7deg);
    transform-origin: 50% 88%;
    pointer-events: none;
}

.first-class-paper-cover-mobile { display: none; }

.first-class-paper-cover::before,
.first-class-paper-cover-mobile::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 8px -6px -7px 7px;
    border: 1px solid rgba(98, 70, 50, .14);
    border-radius: 5px 9px 10px 6px;
    background: #eadfce;
    box-shadow: 0 28px 42px -25px rgba(56, 35, 24, .52);
    transform: rotate(1deg);
}

.first-class-paper-cover img,
.first-class-paper-cover-mobile img {
    width: 100%;
    height: auto;
    border: 1px solid rgba(98, 70, 50, .12);
    border-radius: 4px 8px 8px 4px;
    box-shadow: 0 22px 38px -27px rgba(56, 35, 24, .45);
}

.first-class-paper-copy {
    grid-column: 2;
    width: 100%;
    padding: 64px 0 76px;
    pointer-events: auto;
}

.first-class-paper-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 17px;
    color: #315f79;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.first-class-paper-kicker::before {
    content: "";
    width: 30px;
    border-top: 1px dashed rgba(185, 121, 78, .78);
}

.first-class-paper-copy h1 {
    max-width: 475px;
    margin: 0;
    color: var(--color-ink);
    font-family: var(--font-serif);
    font-size: clamp(3rem, 4vw, 4.15rem);
    font-weight: 650;
    letter-spacing: -.045em;
    line-height: .96;
}

.first-class-paper-subtitle {
    max-width: 470px;
    margin: 25px 0 0;
    color: var(--color-ink-soft);
    font-size: clamp(1rem, 1.35vw, 1.14rem);
    line-height: 1.66;
}

.first-class-paper-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.first-class-paper-meta li {
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid rgba(42, 31, 26, .14);
    border-radius: 999px;
    color: var(--color-ink);
    background: rgba(255, 249, 236, .76);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.45;
    backdrop-filter: blur(5px);
}

.first-class-paper-offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    max-width: 470px;
    margin-top: 17px;
    padding: 12px 14px;
    border: 1px solid rgba(196, 106, 77, .28);
    border-radius: 10px;
    background: rgba(255, 249, 236, .86);
    box-shadow: 0 16px 32px -28px rgba(79, 43, 29, .58);
    backdrop-filter: blur(6px);
}

.first-class-paper-offer-label {
    margin: 0;
    color: var(--color-accent-d);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.first-class-paper-offer-note {
    margin: 3px 0 0;
    color: var(--color-ink-soft);
    font-size: .76rem;
    line-height: 1.4;
}

.first-class-paper-offer-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 0;
    white-space: nowrap;
}

.first-class-paper-offer-price del {
    color: var(--color-ink-mute);
    font-size: .78rem;
}

.first-class-paper-offer-price strong {
    color: var(--color-accent-d);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1;
}

.first-class-paper-offer-price span {
    padding: 2px 6px 3px;
    border-radius: 999px;
    background: rgba(196, 106, 77, .13);
    color: var(--color-accent-d);
    font-size: .66rem;
    font-weight: 800;
}

.first-class-paper-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 27px;
}

.first-class-paper-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: var(--radius-sm);
    font-size: .92rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.first-class-paper-button:hover { transform: translateY(-1px); }

.first-class-paper-button:focus-visible {
    outline: 3px solid rgba(196, 106, 77, .45);
    outline-offset: 4px;
}

.first-class-paper-button--primary {
    color: white;
    background: #23475d;
    box-shadow: 0 16px 30px -22px rgba(35, 71, 93, .66);
}

.first-class-paper-button--primary:hover {
    color: white;
    background: #315f79;
}

.first-class-paper-button--ghost {
    border: 1px solid rgba(42, 31, 26, .15);
    color: var(--color-ink);
    background: rgba(255, 249, 236, .68);
    backdrop-filter: blur(5px);
}

.first-class-paper-button--ghost:hover {
    border-color: rgba(164, 79, 52, .36);
    color: var(--color-accent-d);
}

.first-class-paper-layer {
    position: absolute;
    z-index: 4;
    transform: translate3d(0, 0, 0) rotate(var(--first-class-paper-rest-rotate, 0deg));
    transform-origin: 50% 80%;
    transition:
        transform var(--first-class-paper-duration, 1.22s) cubic-bezier(.18, .74, .17, 1) var(--first-class-paper-delay, 0s),
        opacity .4s ease var(--first-class-paper-delay, 0s),
        filter .7s ease;
    will-change: transform;
}

.first-class-paper-layer img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    filter: drop-shadow(0 15px 13px rgba(64, 40, 26, .14));
    transform: translate3d(0, 0, 0);
    transition: transform .18s cubic-bezier(.2, .7, .2, 1);
    will-change: transform;
}

.first-class-paper-hero.first-class-paper-motion-prep .first-class-paper-layer {
    transition: none;
}

.first-class-paper-hero[data-settled="false"] .first-class-paper-layer {
    transform:
        translate3d(var(--first-class-paper-start-x, 0), var(--first-class-paper-start-y, 0), 0)
        rotate(var(--first-class-paper-start-rotate, 0deg));
}

.first-class-paper-layer--cat {
    z-index: 7;
    right: auto;
    left: clamp(7%, 9vw, 11%);
    bottom: 1.4%;
    width: clamp(145px, 12.5vw, 188px);
    --first-class-paper-start-y: 0;
    --first-class-paper-start-rotate: -1deg;
    --first-class-paper-rest-rotate: -1deg;
    --first-class-paper-delay: 0s;
    --first-class-paper-duration: .01ms;
}

.first-class-paper-layer--scissors {
    z-index: 8;
    right: 33%;
    bottom: 1.2%;
    width: clamp(140px, 15vw, 226px);
    --first-class-paper-start-x: -4vw;
    --first-class-paper-start-y: -53vh;
    --first-class-paper-start-rotate: 34deg;
    --first-class-paper-rest-rotate: -9deg;
    --first-class-paper-delay: .04s;
    --first-class-paper-duration: 1.32s;
}

.first-class-paper-layer--scrap {
    z-index: 5;
    opacity: .94;
}

.first-class-paper-layer--scrap-01 {
    left: -5%;
    bottom: -7%;
    width: clamp(178px, 20vw, 316px);
    --first-class-paper-start-y: -44vh;
    --first-class-paper-start-rotate: 24deg;
    --first-class-paper-rest-rotate: 4deg;
    --first-class-paper-delay: 0s;
    --first-class-paper-duration: 1.34s;
}

.first-class-paper-layer--scrap-02 {
    right: 33%;
    bottom: 1%;
    width: clamp(68px, 7vw, 112px);
    --first-class-paper-start-x: 8vw;
    --first-class-paper-start-y: -58vh;
    --first-class-paper-start-rotate: -42deg;
    --first-class-paper-rest-rotate: 19deg;
    --first-class-paper-delay: .09s;
    --first-class-paper-duration: 1.26s;
}

.first-class-paper-layer--scrap-03 {
    right: -1%;
    bottom: -1%;
    width: clamp(80px, 9vw, 142px);
    --first-class-paper-start-x: -17vw;
    --first-class-paper-start-y: -46vh;
    --first-class-paper-start-rotate: 47deg;
    --first-class-paper-rest-rotate: -17deg;
    --first-class-paper-delay: .19s;
    --first-class-paper-duration: 1.28s;
}

.first-class-paper-layer--scrap-04 {
    left: 43%;
    bottom: -3%;
    width: clamp(104px, 13vw, 196px);
    --first-class-paper-start-x: 7vw;
    --first-class-paper-start-y: -38vh;
    --first-class-paper-start-rotate: -28deg;
    --first-class-paper-rest-rotate: -11deg;
    --first-class-paper-delay: .26s;
    --first-class-paper-duration: 1.18s;
}

.first-class-paper-layer--scrap-05 {
    right: 19%;
    bottom: -5%;
    width: clamp(56px, 6vw, 96px);
    --first-class-paper-start-x: -19vw;
    --first-class-paper-start-y: 0;
    --first-class-paper-start-rotate: -22deg;
    --first-class-paper-rest-rotate: 21deg;
    --first-class-paper-delay: .12s;
    --first-class-paper-duration: 1.16s;
}

@media (max-width: 980px) {
    .first-class-paper-hero {
        --first-class-paper-min-height: 820px;
    }

    .first-class-paper-hero--offer {
        --first-class-paper-min-height: 890px;
    }

    .first-class-paper-wash {
        background:
            linear-gradient(180deg, rgba(255, 249, 236, .98) 0%, rgba(255, 249, 236, .9) 46%, rgba(255, 249, 236, .18) 68%, rgba(255, 249, 236, 0) 82%),
            radial-gradient(circle at var(--first-class-paper-spot-x) var(--first-class-paper-spot-y), transparent 0 18%, rgba(64, 43, 31, .07) 78%);
    }

    .first-class-paper-inner {
        grid-template-columns: clamp(138px, 18vw, 160px) minmax(0, 480px);
        gap: clamp(22px, 4vw, 34px);
        align-items: flex-start;
    }

    .first-class-paper-cover {
        right: 2%;
        bottom: 18%;
        width: clamp(150px, 18vw, 176px);
        transform: rotate(1.5deg);
    }

    .first-class-paper-copy {
        padding-top: 58px;
    }

    .first-class-paper-copy h1 { font-size: clamp(2.75rem, 5.8vw, 3.85rem); }
    .first-class-paper-layer--cat {
        left: 3%;
        width: clamp(132px, 17vw, 152px);
    }
    .first-class-paper-layer--scissors { right: 45%; width: clamp(130px, 20vw, 195px); }
}

@media (max-width: 800px) {
    .first-class-paper-hero {
        --first-class-paper-min-height: 970px;
    }

    .first-class-paper-hero--offer {
        --first-class-paper-min-height: 1080px;
    }

    .first-class-paper-background { object-position: 61% bottom; }

    .first-class-paper-inner {
        grid-template-columns: 1fr;
        gap: 0;
        align-content: start;
        padding-right: 18px;
        padding-left: 18px;
    }

    .first-class-paper-cover {
        right: 3%;
        bottom: 26%;
        width: clamp(118px, 20vw, 150px);
        transform: rotate(1.5deg);
    }

    .first-class-paper-copy {
        order: 1;
        grid-column: 1;
        width: 100%;
        padding: 42px 0 0;
    }

    .first-class-paper-kicker { margin-bottom: 14px; }

    .first-class-paper-copy h1 {
        max-width: 390px;
        font-size: clamp(2.65rem, 12vw, 3.75rem);
        line-height: .98;
    }

    .first-class-paper-subtitle {
        max-width: 500px;
        margin-top: 19px;
        font-size: .92rem;
        line-height: 1.58;
    }

    .first-class-paper-meta {
        max-width: 350px;
        margin-top: 18px;
    }

    .first-class-paper-meta li {
        min-height: 28px;
        padding: 4px 9px;
        font-size: .7rem;
    }

    .first-class-paper-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
        margin-top: 20px;
    }

    .first-class-paper-button { min-height: 44px; font-size: .84rem; }

    .first-class-paper-layer--cat {
        right: auto;
        left: 4%;
        bottom: 17%;
        width: clamp(92px, 23vw, 128px);
    }

    .first-class-paper-layer--scissors {
        right: auto;
        left: 3%;
        bottom: 0;
        width: clamp(126px, 34vw, 170px);
        --first-class-paper-start-x: 28vw;
        --first-class-paper-start-y: -32vh;
    }

    .first-class-paper-layer--scrap-01 {
        left: -15%;
        bottom: -2%;
        width: 39vw;
        --first-class-paper-start-y: -31vh;
    }

    .first-class-paper-layer--scrap-02 {
        right: 42%;
        bottom: 1%;
        width: 17vw;
        --first-class-paper-start-y: -38vh;
    }

    .first-class-paper-layer--scrap-03 {
        right: -7%;
        bottom: 19%;
        width: 19vw;
        --first-class-paper-start-x: -22vw;
        --first-class-paper-start-y: -25vh;
    }

    .first-class-paper-layer--scrap-04 { display: none; }

    .first-class-paper-layer--scrap-05 {
        right: 31%;
        bottom: -1%;
        width: 12vw;
        --first-class-paper-start-x: -26vw;
    }
}

@media (max-width: 600px) {
    .first-class-paper-hero {
        --first-class-paper-min-height: 1100px;
    }

    .first-class-paper-hero--offer {
        --first-class-paper-min-height: 1240px;
    }

    .first-class-paper-cover { display: none; }

    .first-class-paper-cover-mobile {
        position: relative;
        z-index: 10;
        display: block;
        width: clamp(169px, 46vw, 191px);
        margin: 22px auto 0;
        transform: rotate(1.2deg);
        transform-origin: 50% 88%;
        pointer-events: none;
    }

    .first-class-paper-offer {
        grid-template-columns: 1fr;
        gap: 9px;
        max-width: 100%;
    }

    .first-class-paper-actions {
        width: 100%;
        align-items: stretch;
    }

    .first-class-paper-button { width: 100%; }

    .first-class-paper-layer--cat { bottom: 10%; }
}

@media (prefers-reduced-motion: reduce) {
    .first-class-paper-layer,
    .first-class-paper-layer img,
    .first-class-paper-button {
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }

    .first-class-paper-layer,
    .first-class-paper-layer img { will-change: auto; }
}
