/* World of DT — match Canva PDF screens (does not restyle homepage) */

body.is-wodt {
    background: #000;
    color: #fff;
}

.wodt-section {
    scroll-margin-top: var(--ed-header-h);
}

.wodt-echo {
    display: none;
}

/* —— Welcome —— */
.wodt-hero {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    height: 100vh;
    background: #000;
    overflow: hidden;
}

.wodt-hero-title {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: calc(var(--ed-header-h) + 0.85rem) 6% 0.35rem;
    text-align: center;
    background: #000;
}

.wodt-hero-title h1 {
    position: relative;
    margin: 0;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(2.6rem, 6.2vw, 5rem);
    font-weight: 500;
    line-height: 0.88;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wodt-hero-title h1 .js-mask:first-of-type .js-line {
    font-size: 0.62em;
    letter-spacing: 0.18em;
}

.wodt-hero-title .wodt-echo {
    align-items: center;
    font-size: 1em;
    line-height: 0.88;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wodt-hero-title .wodt-echo span:first-child {
    font-size: 0.62em;
    letter-spacing: 0.18em;
}

.wodt-hero-photo {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: #000;
}

.wodt-hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}

.wodt-hero-caption {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 7% 1.05rem;
    text-align: center;
    background: #000;
}

.wodt-tag {
    margin: 0;
    max-width: 52rem;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(0.92rem, 1.6vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.35;
}

.wodt-lede {
    margin: 0;
    max-width: 58rem;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(0.58rem, 0.95vw, 0.72rem);
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

/* —— Chapter screens —— */
.wodt-chapter {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
    background: #000;
    padding: 4.2rem 5% 1.6rem;
    gap: 1.1rem;
}

@media (min-width: 900px) {
    .wodt-chapter {
        grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.35fr);
        height: 100vh;
        overflow: hidden;
        align-items: center;
        padding: 4.4rem 4% 1.4rem 5.5%;
        gap: 2.2%;
    }

    .wodt-chapter.is-media-left {
        grid-template-columns: minmax(0, 1.28fr) minmax(240px, 0.88fr);
    }

    .wodt-chapter.is-media-left .wodt-chapter-media {
        order: -1;
    }

    .wodt-chapter.is-bleed-right .wodt-chapter-media {
        margin-right: -4%;
        height: 92%;
    }

    .wodt-chapter.is-bleed-left .wodt-chapter-media {
        margin-left: -4%;
        height: 92%;
    }
}

.wodt-chapter-copy {
    position: relative;
    max-width: 28rem;
}

.wodt-display {
    position: relative;
    margin: 0;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(3.1rem, 6.4vw, 5.6rem);
    font-weight: 500;
    line-height: 0.86;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.wodt-display .js-mask:first-of-type .js-line {
    font-size: 0.55em;
    letter-spacing: 0.16em;
}

.wodt-display .wodt-echo {
    font-size: 1em;
    line-height: 0.86;
}

.wodt-display .wodt-echo span:first-child {
    font-size: 0.55em;
    letter-spacing: 0.16em;
}

.wodt-kicker {
    margin: 1.05rem 0 0.7rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.wodt-rule {
    display: block;
    width: 7.2rem;
    height: 1px;
    margin: 0 0 1.35rem;
    background: #fff;
    transform-origin: left center;
}

.wodt-body {
    margin: 0 0 1rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.72;
    letter-spacing: 0.02em;
    color: #fff;
}

.wodt-body:last-child {
    margin-bottom: 0;
}

.wodt-chapter-media {
    position: relative;
    margin: 0;
    min-height: 52vh;
    overflow: hidden;
}

@media (min-width: 900px) {
    .wodt-chapter-media {
        height: 92%;
        min-height: 0;
        max-height: none;
    }
}

.wodt-chapter-media img {
    width: 100%;
    height: 52vh;
    object-fit: cover;
    display: block;
}

@media (min-width: 900px) {
    .wodt-chapter-media img {
        height: 100%;
    }
}

.wodt-founder-img {
    object-position: center top;
}

.wodt-city-img {
    object-position: center;
}

/* —— Process mosaic —— */
.wodt-mosaic {
    display: grid;
    grid-template-columns: 1.15fr 0.82fr 0.68fr 0.72fr;
    grid-template-rows: 1fr 1.12fr;
    height: auto;
    min-height: 100vh;
    gap: 0.28rem;
    padding: 0;
    background: #000;
    overflow: hidden;
}

@media (min-width: 900px) {
    .wodt-mosaic {
        height: 100vh;
        min-height: 100vh;
    }
}

.wodt-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 28vh;
}

.wodt-mosaic-carve {
    grid-column: 1;
    grid-row: 1 / 3;
}

.wodt-mosaic-tuft {
    grid-column: 2;
    grid-row: 1;
}

.wodt-mosaic-trim {
    grid-column: 3;
    grid-row: 1;
}

.wodt-mosaic-shuttle {
    grid-column: 2 / 4;
    grid-row: 2;
}

.wodt-mosaic-texture {
    grid-column: 4;
    grid-row: 1 / 3;
    object-position: center center;
}

@media (max-width: 699px) {
    .wodt-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
        min-height: 0;
        gap: 0.28rem;
    }

    .wodt-mosaic-carve,
    .wodt-mosaic-tuft,
    .wodt-mosaic-trim,
    .wodt-mosaic-shuttle,
    .wodt-mosaic-texture {
        grid-column: auto;
        grid-row: auto;
        min-height: 38vh;
    }

    .wodt-mosaic-carve {
        grid-column: 1;
        grid-row: 1 / 3;
        min-height: 76vh;
    }
}

/* —— How We Work —— */
.wodt-work {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #000;
    padding: 4.2rem 5% 0;
}

@media (min-width: 900px) {
    .wodt-work {
        height: 100vh;
        overflow: hidden;
        padding: 4.4rem 5% 0;
    }
}

.wodt-work-inner {
    width: min(1080px, 100%);
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.wodt-work-title {
    position: relative;
    margin: 0 auto 1.65rem;
    text-align: center;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(2.4rem, 5.4vw, 4.4rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    width: 100%;
}

.wodt-work-title .wodt-echo {
    align-items: center;
    justify-content: center;
}

.wodt-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    align-items: stretch;
}

@media (min-width: 900px) {
    .wodt-steps {
        grid-template-columns: 1fr 0.42fr 1fr 0.42fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 1.15rem 0.7rem;
        min-height: 17.5rem;
    }

    .wodt-steps .wodt-card:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .wodt-steps .wodt-card:nth-child(2) {
        grid-column: 2 / 4;
        grid-row: 2;
    }

    .wodt-steps .wodt-card:nth-child(3) {
        grid-column: 3 / 5;
        grid-row: 1;
    }

    .wodt-steps .wodt-card:nth-child(4) {
        grid-column: 4 / 6;
        grid-row: 2;
    }
}

.wodt-card {
    border: 1px solid #fff;
    padding: 1.1rem 1.2rem 1.2rem;
    background: #000;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.wodt-card h3 {
    margin: 0 0 0.7rem;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.35;
    min-height: 1.35em;
}

.wodt-card p {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.wodt-work-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 10.5rem));
    justify-content: center;
    justify-items: stretch;
    gap: 0.75rem 1.1rem;
    width: calc(100% + 10%);
    margin: 1.5rem -5% 0;
    padding: 1.25rem 1rem 1.45rem;
    background: #2a2a2a;
    box-sizing: border-box;
}

@media (min-width: 900px) {
    .wodt-work-cta {
        grid-template-columns: repeat(4, minmax(0, 10.5rem));
        margin-top: auto;
    }
}

.wodt-work-cta .ed-explore {
    min-width: 0;
    width: 100%;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .wodt-hero-photo img,
    .wodt-chapter-media img,
    .wodt-mosaic img {
        transform: none !important;
    }
}
