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

body {
    background: #efefef;
    height: 100vh;

    position: relative;

    font-family: "Courier New", monospace;
    color: #111;
}

/* Giant background text */
.bg-title {
    position: absolute;
    top: var(--top, 0);
    left: var(--left, auto);
    right: var(--right, auto);
    letter-spacing: var(--spacing, -0.08em);
   
    font-family: "Lucidia Console", monospace;
    font-size: clamp(6rem, 17vw, 20rem);

    color: rgba(0,0,0,.04);
}
/* Coordinates */
.coordinates {
    position: absolute;
    top: 40px;
    left: 30px;

    font-size: 15px;
    font-weight: 700;
}

/* Center heading */
.center-text {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-20%);

    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.center-text span {
    display: inline-block;
    margin-right: 12px;
}

/* Main text layer scrolls */
.scroll-content {
    position: relative;
    z-index: 2;
    padding: 500px 10vw 200px 10vw;
    max-width: 800px;
    text-align: center;
    margin: 0 auto; 

}

/* Paragraph styling */
.scroll-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}


/* Bottom Left */
.footer-left a {
    color: black;
    text-decoration: none;
    position: fixed;
    bottom: 18px;
    left: 18px;

    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}


/* Bottom Center */
.footer-center {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);

    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}


.footer-right {
    position: fixed;
    bottom: 18px;
    right: 18px;
    font-size: 18px;
    font-weight: 700;
    z-index: 10;
}

/* BUTTON always pinned */
.plus-btn {
    cursor: pointer;
    user-select: none;
}
.footer-right {
    position: fixed;
    bottom: 18px;
    right: 18px;
    font-size: 18px;
    font-weight: 700;
}

.nav-stack {
    position: absolute;
    bottom: 100%;
    right: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;

    margin-bottom: 10px;

    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;

    transition: 0.2s ease;
}

.nav-stack.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-stack a {
    color: black;
    text-decoration: none;
    font-size: 18px;
}

.nav-stack a:hover {
    text-decoration: underline;
}


a,
a:visited,
a:active {
    color: black;
    text-decoration: none;
}

/* actual hover link effect */
.invert-link {
    color: black;
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;

    padding: 2px 4px;
    transition: all 0.2s ease;
}

.invert-link:hover {
    text-decoration: underline;
    background: black;
    color: #efefef; /* matches page background */
}

.work {
    margin-top: 200px; /* space under header */
    padding-bottom: 200px;
}

.work-item {
    width: 66vw;              /* 2/3 of screen */
    margin: 120px 0;          /* vertical spacing */
}

.work-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* LEFT aligned */
.work-item.left {
    margin-left: 5vw;
    margin-right: auto;
}

/* RIGHT aligned */
.work-item.right {
    margin-left: auto;
    margin-right: 5vw;
}