/* Global Font Setup */
@font-face {
    font-family: 'FormaTextTest';
    src: url('../assets/FormaTEXTTEST.otf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,body {
  height: 100%;
}
body {
    font-family: 'FormaTextTest', 'Inter', sans-serif;
    background: white;
    color: black;
    max-width: 90vw;              /* Mobile cap */
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/*––––– Header & Main –––––*/
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    padding: 4vh 0 1.5vh; 
    mix-blend-mode: exclusion;
}

.header-content {
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 10vw 0 8vw; 
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-arrow img,
.forward-arrow img {
    width: 4vh;
    height: 4vh;
}

.page-title {
    font-family: 'FormaTextTest', 'Inter', sans-serif;
    margin: 0 auto;
    font-size: 2.5vh;
    padding-top: 2vh;
    padding-bottom: 2vh;
    line-height: 1.2;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 0.5vh;
    color:white;
    -webkit-text-fill-color: white;
}


.container {
    max-width: 95vw;
    padding: 10vh 0 2vh 8vw;
    flex-grow: 1;
}

h1 {
    font-size: 5.5vh;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 525;
    margin-bottom: 4vh;
}

nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5vh;
    gap: 3vw;
}

nav a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.5vh;
    font-size: 2vh;
    text-transform: uppercase;
}

main p {
    font-family: 'Inter', sans-serif;
    font-size: 2vh;
    font-weight: 500;
    line-height: 1;
}

/*––––– Footer –––––*/
footer {

    bottom: 0;
    background: white;
    border-top: 0.1vh solid #e0e0e0;
    padding: 2vh 0 5vh;
    width: 100vw;
    overflow-x: hidden;
}

.footer-content {
    width: 100vw; /* span full width on mobile */
    padding: 0 1vw 0 8vw;
    display: flex;
    align-items: flex-start;
    gap: 1em;
    
}

.logo-icon {
    height: 2vh;
    filter: invert(1);
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1vh;
    font-weight: 400;
    line-height: 1;
    flex: 1;
}

/*––––– iPad (≥768px) –––––*/
@media (min-width: 768px) {
    body {
        max-width: none;
    }
    .header-content {
        max-width: 90vw;
        padding-left: 3vw;
    }
    .footer-content {
        max-width: 90vw;
        padding-left: 8vw;
    }
    .container {
        padding: 10vh 3vw 0vh 8vw;
    }
    h1 {
        font-size: 7vh;
    }
    nav a {
        font-size: 3vh;
    }
    main p {
        font-size: 2.5vh;
    }
    .page-title {
        font-size: 4vh;
    }
    .back-arrow img,
    .forward-arrow img {
        width: 5vh;
        height: 5vh;
    }
    .page-title{
        text-underline-offset: 1vh;
        padding-top: 3vh;
    }
    .sticky-header{
        padding-top: 2vh;
    }
}

/*––– Large Screens (≥1200px) –––*/
@media (min-width: 1200px) {
    .container,
    .footer-content {
        max-width: 50vw;        
    }
        .header-content {
        max-width: 50vw;
        margin: 0 0 0 9vw;     /* left-align header */
        padding: 0;            /* remove horizontal padding override */
    }
    h1 {
        margin-bottom: 6vh;
    }
    nav {
        margin-bottom: 3vh;
        gap: 2vw;
    }
    nav a {
        font-size: 3vh;
    }
    .page-title {
        font-size: 6vh;
    }
    .back-arrow img,
    .forward-arrow img {
        width: 4vh;
        height: 4vh;
    }

}
