/* base */
body {
    background-color: white;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* nav */
nav {
    position: relative;
    width: 100%;
    height: 140px;
    margin-top: 30px;
}

/* text reset */
p {
    margin: 0;
}

/* left SS + T */
.corner {
    position: absolute;
    left: clamp(20px, 8vw, 140px);
    top: 10px;
    text-align: left;
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.05;
}

/* SS link */
.ss {
    font-style: italic;
    text-decoration: underline;
    display: inline-block;
    padding: 2px 6px;
    line-height: 1;
}

.ss:hover {
    opacity: 0.7;
}

/* T under SS */
.t-letter {
    color: black;
    margin-top: 6px;
    display: inline-block;
    padding: 2px 13px;
    line-height: 1;
}

/* center logo */
.brand {
    position: absolute;
    left: 50%;
    top: 48px;
    transform: translateX(-50%);
    font-size: clamp(20px, 2.3vw, 30px);
}

.brand a {
    background-color: #f3f3f3;
    display: inline-block;
    padding: 4px 8px;
    color: #e53935;
    text-decoration: none;
}

.brand a:hover {
    opacity: 0.7;
}

/* right contact */
.contact {
    position: absolute;
    right: clamp(20px, 8vw, 160px);
    top: 53px;
    font-size: clamp(18px, 2vw, 28px);
    text-decoration: underline;
}

.contact a {
    color: #e53935;
    text-decoration: underline;
}

.contact a:hover {
    opacity: 0.7;
}

/* main */
main {
    text-align: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

/* hero */
.hero {
    font-family: "Times New Roman", serif;
    font-size: clamp(38px, 8vw, 84px);
    font-weight: 400;
    line-height: 1.02;
    margin-top: 30px;
    margin-bottom: 30px;
}

.hero span {
    background-color: #f3f3f3;
    display: inline-block;
    padding: 2px 8px 4px 8px;
}

/* image */
.app-image {
    width: min(100%, 625px);
    height: auto;
    display: block;
    margin: 0 auto;
}

/* SS + VG container */
.visual-links {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(40px, 12vw, 220px);
    margin-top: 40px;
    margin-bottom: 40px;
}

/* links */
.visual-gallery {
    display: inline-block;
    font-size: clamp(30px, 5vw, 57px);
    color: #e53935;
    text-decoration: underline;
    cursor: pointer;
}

.visual-gallery:hover {
    opacity: 0.7;
}

/* bottom line */
.directional-line-2 {
    width: 100%;
    height: 2px;
    background-color: black;
    margin: 60px auto 25px auto;
}

/* force SS red */
.ss,
.ss:visited,
.ss:active,
.ss:hover {
    color: #e53935;
}

/* highlight */
.highlight-brand {
    color: #e53935;
}

/* bottom text */
.SS1 {
    color: black;
    font-style: italic;
    text-decoration: none;
    text-align: left;
    line-height: 1.05;
    position: static;
}

.VG1 {
    color: black;
    font-style: normal;
    text-decoration: none;
    background-color: #f3f3f3;
    line-height: 1.05;
    position: static;
}

/* link wrappers */
.ss-link,
.vg-link {
    text-decoration: none;
    color: black;
}

.ss-link:hover,
.vg-link:hover {
    text-decoration: none;
    color: black;
}

/* responsive */
@media (max-width: 768px) {
    nav {
        height: 110px;
        margin-top: 20px;
    }

    .brand {
        top: 38px;
    }

    .contact {
        top: 42px;
    }

    .visual-links {
        gap: 50px;
    }
}

/* nav hidden */
#mainNav {
    display: none;
}

/* nav desktop */
@media (min-width: 992px) {
    #mainNav {
        display: block;
    }
}    

/* overlay */
#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);

    display: none;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

/* overlay links */
#mainNav a {
    color: white;
    font-size: 28px;
    text-decoration: none;

    opacity: 0;
    transform: translateY(20px);
}

/* menu button */
#menuBtn {
    background: none;
    border: none;
    padding: 2px 13px;
    line-height: 1;
    font-size: clamp(18px, 2vw, 28px);
    color: black;
}

/* overlay animation */
#mainNav.show a {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.cursor {
  animation: blink 0.7s infinite;
}

.hero {
    font-family: "Times New Roman", serif;
    font-size: clamp(38px, 7vw, 76px);
    font-weight: 400;
    line-height: 1.05;
    margin: 30px auto;
    max-width: 1000px;
    background-color: #f3f3f3;
    padding: 8px 12px;
    text-align: center;
}

.hero span {
    background: none;
    display: inline;
    padding: 0;
}

.highlight-brand {
    color: #e53935;
}

.black-text {
    color: black;
}

.cursor {
    color: #e53935;
    display: inline-block;
    animation: blink 1s steps(1) infinite;
    margin-left: 0;
}

.cursor.typing {
    animation: none;
    opacity: 1;
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}

#mainNav.show ~ main .cursor {
    opacity: 0;
}
