@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: auto;
    scrollbar-color: var(--brew) var(--ink);
}

*::-webkit-scrollbar {
    width: 10px;
}

*::-webkit-scrollbar-track {
    background: var(--ink);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--brew);
    border-radius: 17px;
    border: 2px solid var(--ink);
}

@font-face {
    font-family: hurson;
    src: url("/stylesheet/fonts/Hurson.ttf") format("truetype");
}

@font-face {
    font-family: phalanx;
    src: url("/stylesheet/fonts/Phalanx.otf") format("truetype");
}

:root {
    --ink: #0B0712;
    --ink-deep: #050308;
    --brew: #39FF14;
    --brew-dim: #14591A;
    --bruise: #6225E6;
    --gold: #FFDE00;
    --bone: #F1EAD9;
    --muted: #B9AFC9;
    --paper: #111019;
    --line: rgba(57,255,20,0.32);
}

html {
    cursor: url(/graphics/cursor1.png), auto;
    scroll-behavior: smooth;
}

body {
    background: var(--ink);
    color: var(--bone);
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Epunda Slab", Georgia, serif;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: url(/graphics/cursor2alt.png), auto;
}

img {
    max-width: 100%;
    display: block;
}

#bodycontainer {
    width: 100%;
    background:
        radial-gradient(circle at 80% 10%, rgba(98,37,230,0.10), transparent 25rem),
        radial-gradient(circle at 10% 40%, rgba(57,255,20,0.07), transparent 30rem),
        var(--ink);
}

/* CRT */

.crt::before {
    content: "";
    display: block;
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(18,16,16,0) 20%, rgba(0,0,0,0.12) 10%),
        linear-gradient(90deg, rgba(255,0,0,0.06), rgba(57,255,20,0.05), rgba(98,37,230,0.06));
    background-size: 100% 2px, 3px 100%;
    z-index: 50;
    pointer-events: none;
}

.crt::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(18,16,16,0.08);
    opacity: 0;
    z-index: 50;
    pointer-events: none;
    animation: flicker 0.10s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: .84; }
    20% { opacity: .80; }
    40% { opacity: .87; }
    60% { opacity: .82; }
    80% { opacity: .86; }
}

/* HEADER */

marquee {
    width: 100%;
    height: 40px;
    padding: 5px;
    background: var(--ink-deep);
    border-bottom: 1px solid var(--brew-dim);
    overflow: hidden;
    position: relative;
    z-index: 3;
}

marquee ul {
    display: flex;
    list-style: none;
    align-items: center;
    column-gap: 1em;
}

marquee li {
    font-family: phalanx, sans-serif;
    font-size: 1.2em;
    color: var(--brew);
    letter-spacing: .08em;
}

marquee li:not(:last-child)::after {
    content: "•";
    margin-left: 1em;
    color: var(--bruise);
}

header {
    width: 100%;
    min-height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

nav {
    width: min(1100px, 90%);
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem 4em;
    list-style: none;
}

nav ul li a {
    font-family: phalanx, sans-serif;
    color: var(--muted);
    font-size: 1.1em;
    letter-spacing: .03em;
    transition: color .25s ease, text-shadow .25s ease;
}

nav ul li a:hover {
    color: var(--brew);
    text-shadow: 0 0 10px rgba(57,255,20,.65);
}

#here {
    color: var(--bone);
}

#here::after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    margin-top: 4px;
    background: var(--brew);
    box-shadow: 0 0 8px var(--brew);
}

/* MAIN */

main {
    width: min(1180px, 90%);
    margin: 0 auto;
}

.introtitle {
    min-height: 62vh;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, .75fr);
    gap: 5rem;
    align-items: center;
    padding: 7rem 0 6rem;
    border-bottom: 1px solid var(--line);
}

.hero-copy {
    position: relative;
}

.eyebrow {
    color: var(--brew);
    font-family: phalanx, sans-serif;
    font-size: .95rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.introtitle h1 {
    font-family: Times New Roman, Times, serif;
    font-size: 10rem;
    letter-spacing: -0.2rem;
    line-height: .78;
    color: var(--bone);
    text-shadow:
        0 0 24px rgba(57,255,20,.35),
        0 0 70px rgba(57,255,20,.15);
    margin-left: -.07em;
}

.intro {
    max-width: 680px;
    margin-top: 2.5rem;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.6;
    color: var(--bone);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 2rem;
    margin-top: 2rem;
    color: var(--muted);
    font-family: phalanx, sans-serif;
    font-size: .85rem;
    letter-spacing: .08em;
}

.note {
    padding: 2rem;
margin-top: 40px;
    border: 1px solid var(--brew-dim);
    border-left: 4px solid var(--brew);
    background:
        linear-gradient(135deg, rgba(57,255,20,.06), transparent 65%),
        rgba(5,3,8,.72);
    box-shadow: 10px 10px 0 rgba(20,89,26,.28);
    transform: rotate(2deg);
}

.notetxt {
    display: block;
    font-family: phalanx, sans-serif;
    color: var(--brew);
    letter-spacing: .1em;
    font-size: .85rem;
    margin-bottom: 1.5rem;
}

.note p {
    color: var(--bone);
    font-size: 1.15rem;
    line-height: 1.65;
}

.note-mark {
    display: block;
    margin-top: 1.2rem;
    color: var(--muted);
    text-align: right;
}

.section-rule {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 0;
    color: var(--brew);
    font-family: phalanx, sans-serif;
    letter-spacing: .1em;
    font-size: .85rem;
}

.section-rule::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--brew-dim);
}



#unavailable {
    position: fixed;
    z-index: 9999;

    left: 0;
    top: 0;

    padding: 6px 10px;

    background: var(--ink-deep);
    color: var(--brew);

    border: 1px solid var(--brew);
    box-shadow: 3px 3px 0 var(--brew-dim);

    font-family: phalanx, sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.04em;

    pointer-events: none;

    opacity: 0;
    transform: translate(12px, 12px);

    transition: opacity 0.12s ease;
}

#unavailable.show {
    opacity: 1;
}

.project-log {
    display: flex;
    flex-direction: column;
    gap: 7rem;
    padding: 2rem 0 8rem;
}

.project-post {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(0, 1fr);
    gap: 4.5rem;
    align-items: start;
    position: relative;
}

.project-post.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
}

.project-post.reverse .post-image {
    order: 2;
}

.project-post.reverse .post-content {
    order: 1;
}

.post-image {
    position: sticky;
    top: 2rem;
    border: 1px solid var(--brew-dim);
    background: var(--ink-deep);
    padding: 10px;
    box-shadow: 12px 12px 0 rgba(98,37,230,.22);
}

.post-image::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px dashed rgba(57,255,20,.22);
    pointer-events: none;
    z-index: 1;
}

.post-image img {
    width: 100%;
    max-height: 650px;
    object-fit: cover;
    object-position: center;
    filter: saturate(.9);
    transition: filter .35s ease, transform .35s ease;
}

.post-image:hover img {
    filter: saturate(1.15);
    transform: scale(1.012);
}

.image-stamp {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 18px;
    padding: .4rem .65rem;
    background: var(--ink);
    border: 1px solid var(--brew);
    color: var(--brew);
    font-family: phalanx, sans-serif;
    font-size: .75rem;
    letter-spacing: .08em;
}

.post-content {
    padding-top: .4rem;
    max-width: 620px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .8rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px dashed var(--brew-dim);
    color: var(--brew);
    font-family: phalanx, sans-serif;
    font-size: .82rem;
    letter-spacing: .08em;
}

.post-meta time {
    color: var(--muted);
    white-space: nowrap;
}

.post-content h2 {
    font-family: Times New Roman, Times, serif;
    color: var(--bone);
    font-size: clamp(2.8rem, 5vw, 5.5rem);
    line-height: .95;
    letter-spacing: -.045em;
    margin-bottom: 1rem;
}

.dek {
    color: var(--gold);
    font-size: 1.2rem;
    line-height: 1.45;
    margin-bottom: 1.6rem;
}

.post-content > p:not(.dek) {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.6rem;
}

blockquote {
    margin: 2rem 0;
    padding: 1rem 0 1rem 1.5rem;
    border-left: 3px solid var(--bruise);
    color: var(--bone);
    font-size: 1.25rem;
    line-height: 1.55;
    font-style: italic;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 2rem 0;
}

.post-tags span {
    border: 1px solid var(--brew-dim);
    color: var(--muted);
    padding: .35rem .6rem;
    font-family: phalanx, sans-serif;
    font-size: .78rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: .7rem 1rem;
    border: 1px solid var(--brew);
    color: var(--brew);
    font-family: phalanx, sans-serif;
    letter-spacing: .08em;
    transition: all .25s ease;
}

.read-more span {
    transition: transform .25s ease;
}

.read-more:hover {
    color: var(--ink);
    background: var(--brew);
    box-shadow: 5px 5px 0 var(--brew-dim);
}

.read-more:hover span {
    transform: translateX(5px);
}

.mini-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .7rem;
    margin: 2rem 0;
}

.mini-notes div {
    border-top: 1px solid var(--brew-dim);
    padding-top: .7rem;
}

.mini-notes strong {
    display: block;
    color: var(--brew);
    font-family: phalanx, sans-serif;
    font-size: 1.3rem;
}

.mini-notes span {
    color: var(--muted);
    font-family: phalanx, sans-serif;
    font-size: .72rem;
    letter-spacing: .08em;
}

/* END NOTE */

.end {
    margin: 2rem 0 8rem;
    padding: 4rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.end h2 {
    font-family: Times New Roman, Times, serif;
    font-size: clamp(2.5rem, 7vw, 6rem);
    line-height: .9;
    color: var(--bone);
}

.end > p:last-child {
    color: var(--muted);
    line-height: 1.6;
}

code {
    color: var(--gold);
    font-family: monospace;
}

/* FOOTER */

.footer {
    background: var(--ink-deep);
    border-top: 1px solid var(--brew-dim);
    margin-top: 2rem;
}

.footer .content {
    width: min(1180px, 90%);
    margin: 0 auto;
    padding: 5rem 0;
}

.footer h2 {
    font-family: hurson, sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 100;
    color: var(--bone);
}

.footer p {
    max-width: 680px;
    margin-top: 1rem;
    color: var(--muted);
    line-height: 1.7;
}

.footer a {
    color: var(--brew);
}
.copyright p {
  font-family: Epunda Slab;
  color: var(--muted);
  text-align: center;

}

.copyright {
    background: var(--ink-deep);
}

/* BACK TO TOP */

#backtop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 14px;
    border: 2px solid var(--brew);
    outline: none;
    background: var(--ink);
    color: var(--brew);
    cursor: url(/graphics/cursor2alt.png), auto;
    padding: 15px;
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(57,255,20,.4);
}

#backtop:hover {
    background: var(--brew);
    color: var(--ink);
}

/* ACCESSIBILITY / MOBILE */

@media (prefers-reduced-motion: reduce) {
    .crt::after {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}

@media (max-width: 850px) {
    main {
        width: min(92%, 680px);
    }

    .introtitle {
        grid-template-columns: 1fr;
        gap: 3rem;
        min-height: auto;
        padding: 5rem 0 4rem;
    }

    .note {
        max-width: 500px;
        margin-left: auto;
    }

    .project-post,
    .project-post.reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .project-post.reverse .post-image,
    .project-post.reverse .post-content {
        order: initial;
    }

    .post-image {
        position: relative;
        top: auto;
    }
}

@media (max-width: 560px) {
    nav ul {
        gap: .8rem 1.2rem;
    }

    nav ul li a {
        font-size: .95rem;
    }

    .introtitle h1 {
        font-size: 25vw;
    }

    .intro {
        font-size: 1.05rem;
    }
    

    .hero-meta {
        flex-direction: column;
        gap: .5rem;
    }

    .project-log {
        gap: 5rem;
    }

    .post-content h2 {
        font-size: 3rem;
    }

    .post-meta {
        flex-direction: column;
    }

    .mini-notes {
        grid-template-columns: 1fr;
    }

    #backtop {
        right: 15px;
        bottom: 15px;
    }
}