/* ============================================================
   ITALODREAMER — THE WORLD
   about.css
   ============================================================ */


/* ============================================================
   PAGE
   ============================================================ */

.about-page {
    background: #f7f4ec;
    color: #171717;
    overflow-x: hidden;
}


/* ============================================================
   HEADER
   IDENTICAL SPACING LOGIC TO INDEX
   ============================================================ */

.about-header {
    position: relative;
    z-index: 20;
    width: 100%;
}

.about-header .header-inner {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 28px 0;
}

.about-header .brand {
    color: #171717;
    text-decoration: none;
}

.about-header .main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.about-header .main-nav a {
    color: #171717;
    text-decoration: none;
}

.about-header .main-nav a.active {
    opacity: .55;
}

.about-header .nav-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #171717;
    display: block;
}


/* ============================================================
   OPENING
   ============================================================ */

.world-opening {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;
    padding: 110px 0 95px;
}

.world-opening-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 55px;
}

.world-opening-label {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
}

.world-opening-meta {
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .08em;
    text-align: right;
}

.world-opening-title {
    font-family: "Bodoni Moda", serif;
    font-size: clamp(100px, 15vw, 220px);
    line-height: .73;
    letter-spacing: -.065em;
    font-weight: 400;
    max-width: 1100px;
}

.world-opening-title div:nth-child(2) {
    margin-left: 10vw;
}

.world-opening-title div:nth-child(3) {
    margin-left: 21vw;
}

.world-opening-line {
    width: 100%;
    height: 1px;
    background: #171717;
    margin-top: 95px;
    opacity: .7;
}


/* ============================================================
   EDITORIAL SECTIONS
   ============================================================ */

.world-editorial {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        55px
        minmax(500px, 1fr)
        minmax(320px, 560px);

    column-gap: 70px;

    align-items: start;

    padding: 145px 0;
}


/* ============================================================
   INDEX NUMBER
   ============================================================ */

.world-editorial-index {
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .08em;
    padding-top: 13px;
}


/* ============================================================
   EDITORIAL TITLE
   ============================================================ */

.world-editorial-title {
    min-width: 0;
    width: 100%;
    padding-right: 10px;
}

.world-editorial-title h2 {
    margin: 0;

    font-family: "Bodoni Moda", serif;
    font-size: clamp(56px, 6vw, 88px);
    line-height: .88;
    letter-spacing: -.055em;
    font-weight: 400;

    overflow-wrap: normal;
    word-break: normal;
}


/* ============================================================
   WHO IS ITALODREAMER?
   FORCE A CLEAN TWO-WORD BREAK
   ============================================================ */

.world-author .world-editorial-title h2 {
    max-width: 440px;
}

/*
   The original HTML contains:

   WHO IS
   ITALODREAMER?

   The word itself is visually divided so that
   DREAMER is always placed on its own line.
*/

.world-author .world-editorial-title h2 {
    font-size: 0;
}

.world-author .world-editorial-title h2::after {
    content: "WHO IS\A ITALO\A DREAMER?";
    white-space: pre;
    display: block;

    font-family: "Bodoni Moda", serif;
    font-size: clamp(56px, 6vw, 88px);
    line-height: .88;
    letter-spacing: -.055em;
    font-weight: 400;
}


/* ============================================================
   EDITORIAL TEXT
   ============================================================ */

.world-editorial-text {
    min-width: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 300;

    padding-top: 7px;
}

.world-editorial-text p {
    margin: 0 0 27px;
}

.world-editorial-text p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   LARGE EDITORIAL SENTENCE
   ============================================================ */

.world-editorial-emphasis {
    font-family: "Bodoni Moda", serif;
    font-size: clamp(30px, 3.1vw, 48px);
    line-height: 1.05;
    letter-spacing: -.025em;
    font-weight: 400;
}


/* ============================================================
   CONCEPT
   ============================================================ */

.world-concept {
    padding-top: 70px;
    padding-bottom: 150px;
}

.world-concept-highlight {
    font-family: "Bodoni Moda", serif;
    font-size: clamp(22px, 2.3vw, 34px);
    line-height: 1.18;
    letter-spacing: -.02em;

    margin-top: 55px !important;
    margin-bottom: 55px !important;
}

.world-concept-final {
    margin-top: 75px !important;
}


/* ============================================================
   IMAGE PAUSE
   ============================================================ */

.world-image-pause {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;
    padding: 30px 0 145px;
}

/* Image container */

.world-image {
    width: 68%;
    aspect-ratio: 1.5 / 1;

    margin-left: 8%;

    overflow: hidden;
    background: #d9e2df;
}

/* Image */

.world-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.7s ease;
}

/* Subtle editorial hover */

@media (hover: hover) and (pointer: fine) {
    .world-image-pause:hover .world-image img {
        transform: scale(1.025);
    }
}

/* Caption */

.world-image-caption {
    width: 68%;
    margin-left: 8%;

    display: flex;
    justify-content: space-between;
    gap: 30px;

    padding-top: 12px;

    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: .09em;
}

.world-image-caption span:last-child {
    text-align: right;
}


/* ============================================================
   IMAGE PAUSE — TABLET
   ============================================================ */

@media (max-width: 820px) {

    .world-image {
        width: 85%;
        margin-left: 5%;
    }

    .world-image-caption {
        width: 85%;
        margin-left: 5%;
    }

}


/* ============================================================
   IMAGE PAUSE — MOBILE
   ============================================================ */

@media (max-width: 520px) {

    .world-image {
        width: 100%;
        margin-left: 0;
        aspect-ratio: 4 / 5;
    }

    .world-image-caption {
        width: 100%;
        margin-left: 0;

        display: block;
    }

    .world-image-caption span {
        display: block;
        margin-bottom: 7px;
    }

    .world-image-caption span:last-child {
        text-align: left;
    }

}


/* ============================================================
   GENERATION X MANIFESTO
   ============================================================ */

.world-manifesto {
    padding-top: 130px;
    padding-bottom: 155px;
}

.world-manifesto .world-editorial-text {
    padding-top: 0;
}


/* ============================================================
   THE ANALOG SOUL OF WEB3
   ============================================================ */

.analog-soul {
    background: #d9e2df;

    padding: 150px max(40px, calc((100vw - 1380px) / 2)) 170px;

    display: grid;

    grid-template-columns:
        minmax(500px, 1fr)
        minmax(320px, 560px);

    column-gap: 110px;

    align-items: start;
}


/*
   ONE unified heading.
   Both lines have exactly the same typography.
*/

.analog-soul-title {
    min-width: 0;
}

.analog-soul-title h2 {
    margin: 0;

    font-family: "Bodoni Moda", serif;

    font-size: clamp(70px, 8.7vw, 132px);
    line-height: .84;

    letter-spacing: -.055em;
    font-weight: 400;

    text-transform: uppercase;

    overflow-wrap: normal;
    word-break: normal;
}


/* ============================================================
   ANALOG SOUL TEXT
   ============================================================ */

.analog-soul-content {
    min-width: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 300;
}

.analog-soul-content p {
    margin: 0 0 38px;
}

.analog-soul-content p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   FINAL STATEMENT
   ============================================================ */

.world-final {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;

    padding: 170px 0 190px;
}

.world-final p {
    margin: 0;

    font-family: "Bodoni Moda", serif;
    font-size: clamp(48px, 7vw, 105px);
    line-height: .94;
    letter-spacing: -.045em;
    font-weight: 400;
}


/* ============================================================
   FOOTER
   ============================================================ */

.about-footer {
    background: #171717;
    color: #f7f4ec;
}

.about-footer .footer-inner {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;

    min-height: 180px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 30px;
}

.about-footer .footer-brand,
.about-footer .footer-tagline,
.about-footer .footer-links {
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    letter-spacing: .07em;
}

.about-footer .footer-tagline {
    text-align: center;
}

.about-footer .footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.about-footer a {
    color: #f7f4ec;
    text-decoration: none;
}

.about-footer a:hover {
    opacity: .55;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .about-header .header-inner {
        width: calc(100% - 60px);
    }

    .about-header .main-nav {
        gap: 22px;
    }

    .world-editorial {
        grid-template-columns:
            45px
            minmax(390px, 1fr)
            minmax(280px, 430px);

        column-gap: 45px;
    }

    .world-editorial-title h2,
    .world-author .world-editorial-title h2::after {
        font-size: clamp(50px, 7vw, 76px);
    }

    .analog-soul {
        grid-template-columns:
            minmax(390px, 1fr)
            minmax(280px, 430px);

        column-gap: 60px;
    }

    .analog-soul-title h2 {
        font-size: clamp(58px, 8vw, 95px);
    }

}


/* ============================================================
   TABLET / NARROW
   ============================================================ */

@media (max-width: 820px) {

    .about-header .header-inner {
        width: calc(100% - 40px);
    }

    .about-header .main-nav {
        gap: 16px;
    }

    .world-opening,
    .world-editorial,
    .world-image-pause,
    .world-final {
        width: min(100% - 40px, 1380px);
    }

    .world-opening {
        padding-top: 80px;
        padding-bottom: 70px;
    }

    .world-opening-title {
        font-size: clamp(80px, 17vw, 150px);
    }

    .world-opening-title div:nth-child(2) {
        margin-left: 8vw;
    }

    .world-opening-title div:nth-child(3) {
        margin-left: 16vw;
    }


    /*
       At this width the editorial system becomes:

       INDEX + TITLE
       TEXT

       Therefore the title and text can never overlap.
    */

    .world-editorial {
        grid-template-columns: 45px 1fr;
        column-gap: 35px;
        row-gap: 45px;
        padding: 100px 0;
    }

    .world-editorial-index {
        grid-column: 1;
        grid-row: 1;
    }

    .world-editorial-title {
        grid-column: 2;
        grid-row: 1;
        padding-right: 0;
    }

    .world-editorial-text {
        grid-column: 2;
        grid-row: 2;

        max-width: 650px;
    }

    .world-editorial-title h2,
    .world-author .world-editorial-title h2::after {
        font-size: clamp(52px, 11vw, 82px);
    }

    .world-image-pause {
        padding-top: 20px;
        padding-bottom: 100px;
    }

    .world-image-placeholder {
        width: 85%;
        margin-left: 5%;
    }

    .world-image-caption {
        width: 85%;
        margin-left: 5%;
    }

    .analog-soul {
        padding: 100px 20px 110px;
        display: block;
    }

    .analog-soul-title {
        margin-bottom: 70px;
    }

    .analog-soul-title h2 {
        font-size: clamp(62px, 12vw, 100px);
    }

    .analog-soul-content {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }

    .world-final {
        padding: 110px 0 130px;
    }

    .about-footer .footer-inner {
        width: calc(100% - 40px);

        min-height: auto;

        grid-template-columns: 1fr;
        gap: 18px;

        padding: 45px 0;
    }

    .about-footer .footer-tagline {
        text-align: left;
    }

    .about-footer .footer-links {
        justify-content: flex-start;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 520px) {

    .about-header .header-inner {
        width: calc(100% - 30px);
        padding: 22px 0;
    }

    .about-header .main-nav {
        gap: 11px;
    }

    .about-header .main-nav a {
        font-size: 11px;
    }

    .about-header .main-nav a:nth-child(1),
    .about-header .main-nav a:nth-child(2),
    .about-header .main-nav a:nth-child(3),
    .about-header .main-nav a:nth-child(4),
    .about-header .main-nav a:nth-child(5),
    .about-header .nav-dot {
        display: none;
    }


    .world-opening {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .world-opening-top {
        margin-bottom: 45px;
    }

    .world-opening-label {
        font-size: 11px;
    }

    .world-opening-meta {
        font-size: 9px;
    }

    .world-opening-title {
        font-size: clamp(65px, 20vw, 105px);
        line-height: .76;
    }

    .world-opening-title div:nth-child(2) {
        margin-left: 6vw;
    }

    .world-opening-title div:nth-child(3) {
        margin-left: 12vw;
    }

    .world-opening-line {
        margin-top: 65px;
    }


    .world-editorial {
        width: calc(100% - 40px);

        grid-template-columns: 30px 1fr;
        column-gap: 20px;
        row-gap: 35px;

        padding: 75px 0;
    }

    .world-editorial-index {
        font-size: 9px;
        padding-top: 7px;
    }

    .world-editorial-title h2,
    .world-author .world-editorial-title h2::after {
        font-size: clamp(42px, 13vw, 66px);
        line-height: .9;
    }

    .world-editorial-text {
        font-size: 15px;
        line-height: 1.6;
    }

    .world-editorial-emphasis {
        font-size: clamp(27px, 8vw, 40px);
    }


    .world-concept {
        padding-top: 45px;
        padding-bottom: 80px;
    }

    .world-concept-highlight {
        font-size: 22px;

        margin-top: 40px !important;
        margin-bottom: 40px !important;
    }

    .world-concept-final {
        margin-top: 50px !important;
    }


    .world-image-pause {
        width: calc(100% - 40px);
        padding-top: 10px;
        padding-bottom: 80px;
    }

    .world-image-placeholder {
        width: 100%;
        margin-left: 0;
    }

    .world-image-caption {
        width: 100%;
        margin-left: 0;

        display: block;
    }

    .world-image-caption span {
        display: block;
        margin-bottom: 7px;
    }

    .world-image-caption span:last-child {
        text-align: left;
    }


    .world-manifesto {
        padding-top: 70px;
        padding-bottom: 90px;
    }


    /* ========================================================
       THE ANALOG SOUL OF WEB3
       ======================================================== */

    .analog-soul {
        padding: 75px 20px 85px;
    }

    .analog-soul-title {
        margin-bottom: 55px;
    }

    .analog-soul-title h2 {
        font-size: clamp(48px, 14vw, 75px);
        line-height: .87;
    }

    .analog-soul-content {
        font-size: 15px;
        line-height: 1.6;
    }

    .analog-soul-content p {
        margin-bottom: 30px;
    }


    .world-final {
        width: calc(100% - 40px);

        padding: 85px 0 100px;
    }

    .world-final p {
        font-size: clamp(38px, 11vw, 58px);
        line-height: .96;
    }

}

/* FIX — prevent image from overlapping text */

.world-image-pause {
    position: relative;
    clear: both;
    z-index: 1;
}

.world-image {
    position: relative;
    z-index: 1;
}

.world-image-caption {
    position: relative;
    z-index: 1;
}