/* MWG 121 — the template's assets/style.css, as delivered.
   Two edits only, so it cannot restyle the rest of the site: the template's
   '* {…}' normalize and its 'body {…}' rule are scoped to .mwg_effect121.
   Below that, byte-for-byte the template except the colours marked 'site
   theme' (asked for: cream, carbon ink, light lines, muted grey), plus, at
   the end: one rule from Lenis's own required CSS, one that keeps the site's
   home-page '.hero' rule out of the template's hero, and the 98 scroll cue
   (see there). */
/* Inter 500/800 come from the site's self-hosted variable Inter (styles.css); the template's Google Fonts @import is dropped. */

/* NORMALIZE */
.mwg_effect121, .mwg_effect121 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    appearance: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* NORMALIZE */

.mwg_effect121 {
    background: var(--wk-canvas, #f4f3ef); /* site theme; template: #121212 */
    color: var(--wk-ink, #1a1712);          /* site theme; template: #F1F1F1 */
    font: 500 normal 16px/1 'Inter';
    letter-spacing: -0.06em;
}
.mwg_effect121 {
    padding: 0 0 100vh;
}
.mwg_effect121 .hero {
    height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 22px;
}
.mwg_effect121 .hero .grey {
    color: var(--muted, #6b6358); /* site theme; template: #999 */
}
.mwg_effect121 .section {
    padding: 25px 0;
    display: flex;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    width: calc(100% - 50px);
    margin: 0 auto;
    border-top: 1px solid var(--wk-line, #dcd8cf); /* site theme; template: #323232 */
}
.mwg_effect121 .content {
    position: fixed;
    top: 50%;
    left: 0;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    transform: translateY(-50%);
}
.mwg_effect121 .text-left {
    width: 32.5%;
    font-size: 3.2vw;
    line-height: 1;
    padding: 0 25px 0 0;
}
.mwg_effect121 .number {
    color: var(--muted, #6b6358); /* site theme; template: #999 */
}
.mwg_effect121 .text-right {
    width: 28%;
    font-size: 14px;
    line-height: 1.4;
    padding: 0 4%;
}
.mwg_effect121 .media {
    aspect-ratio: 0.8;
    width: 34vw;
    overflow: hidden;
    clip-path: inset(0% 15% 0% 15% round 1vw);
}
.mwg_effect121 .media img {
    width: 100%;
    height: calc(100% + 200px);
    object-fit: cover;
    display: block;
    opacity: 1;
}

@media (max-width: 767px) {
    .mwg_effect121 .section {
        flex-direction: column;
    }
    .mwg_effect121 .content {
        padding: 25px 0 0;
        order: 2;
        flex-direction: column;
        position: relative;
        transform: none;
        gap: 12px;
    }
    .mwg_effect121 .text-left {
        font-size: 26px;
    }
    .mwg_effect121 .text-right {
        padding: 0;
    }
    .mwg_effect121 .text-left, 
    .mwg_effect121 .text-right, 
    .mwg_effect121 .media {
        width: 100%;
    }
}
/* Lenis's required CSS (lenis.css): the site sets html{scroll-behavior:smooth},
   which would smooth every frame Lenis scrolls a second time. */
html.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

/* The site's own home-page '.hero' rule (styles.css: two columns, 1.35fr 1fr,
   and a gap) also matches the template's .hero and pushed the heading into the
   left column on wide screens. Back to the template's one centred column. */
.mwg_effect121 .hero {
    grid-template-columns: none;
    gap: 0;
}

/* The scroll cue from ninety-eight.in's hero (.nudge-l), in place of the
   hero's 'Scroll to explore' line (asked for). 98's rules as they are, except
   where marked: it sits under the heading, where the words were (98 pins it
   to the hero's bottom-left corner), and it takes this page's ink — the track
   is the ink at 20%, as 98's is. */
.mwg_effect121 .nudge-l {
    position: relative;        /* 98: absolute; left: 1.4rem; bottom: 1.7rem */
    display: block;            /* site: its own line under the heading */
    margin: 1em auto 0;        /* site: one line below the heading, centred */
    width: 1px;
    height: 46px;
    background: rgba(26, 23, 18, .2); /* site ink #1a1712 at .2; 98: rgba(244,244,242,.2) */
    overflow: hidden;
}
.mwg_effect121 .nudge-l::after {
    content: "";
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    background: var(--wk-ink, #1a1712); /* 98: var(--ink) */
    animation: drip 2.1s cubic-bezier(.16, 1, .3, 1) infinite; /* 98's --ease */
}
@keyframes drip {
    to { top: 100%; }
}
/* 98 stills its animations under reduced motion, which leaves the bare track. */
@media (prefers-reduced-motion: reduce) {
    .mwg_effect121 .nudge-l::after { animation: none; }
}
