:root{
    --void:#010204;
    --black:#040509;
    --ink:#080A13;
    --navy:#171A2D;
    --violet:#313453;

    --silver:#AFADB3;
    --white:#F4F2F5;

    --line:rgba(244,242,245,.08);
    --line-strong:rgba(244,242,245,.14);
}

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

html{
    scroll-behavior:smooth;
}

body{
    min-height:100vh;
    font-family:"Inter","Helvetica Neue",Arial,sans-serif;
    color:var(--silver);

    background:
        radial-gradient(circle at 18% 12%, rgba(49,52,83,.38), transparent 28%),
        radial-gradient(circle at 82% 78%, rgba(23,26,45,.72), transparent 36%),
        linear-gradient(135deg,var(--void),var(--ink) 52%,var(--black));
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;

    background-image:
        linear-gradient(rgba(175,173,179,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(175,173,179,.03) 1px, transparent 1px);

    background-size:64px 64px;

    mask-image:
        radial-gradient(circle at center, black, transparent 78%);
}

.shell{
    width:min(1040px, calc(100% - 48px));
    margin:0 auto;
    position:relative;
    z-index:2;
}

/* =========================
   HEADER
========================= */

.site-header{
    height:86px;

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

.brand{
    display:flex;
    align-items:center;
    gap:14px;

    text-decoration:none;
    color:var(--white);

    font-size:13px;
    letter-spacing:.28em;
    text-transform:uppercase;
}

.mark{
    width:48px;
    height:48px;
    position:relative;

    border-right:3px solid var(--silver);
    border-top:1px solid rgba(175,173,179,.15);
    border-bottom:1px solid rgba(175,173,179,.15);

    border-radius:50%;
}

.mark::before{
    content:"";

    position:absolute;

    left:11px;
    top:17px;

    width:21px;
    height:2px;

    background:var(--silver);
    border-radius:999px;
}

.mark::after{
    content:"";

    position:absolute;

    left:16px;
    top:28px;

    width:11px;
    height:2px;

    background:var(--silver);
    border-radius:999px;
}

.nav{
    display:flex;
    gap:28px;
}

.nav a{
    color:rgba(175,173,179,.7);
    text-decoration:none;

    font-size:12px;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.nav a:hover{
    color:var(--white);
}

/* =========================
   HERO
========================= */

.hero{
    padding:120px 0 90px;
}

.eyebrow{
    margin-bottom:18px;

    color:rgba(175,173,179,.55);

    font-size:12px;
    letter-spacing:.34em;
    text-transform:uppercase;
}

.hero h1{
    color:var(--white);

    font-size:clamp(64px,10vw,108px);
    font-weight:300;

    line-height:.95;
    letter-spacing:.02em;

    margin-bottom:24px;
}

.hero p{
    max-width:680px;

    color:rgba(175,173,179,.76);

    font-size:22px;
    line-height:1.8;
}

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

.section{
    padding:80px 0;
    border-top:1px solid var(--line);
}

.section-row{
    display:grid;
    grid-template-columns:160px minmax(0,1fr);
    gap:40px;
}

.section-label{
    color:rgba(175,173,179,.42);

    font-size:11px;
    font-weight:800;

    letter-spacing:.24em;
    text-transform:uppercase;
}

.section-body{
    max-width:760px;
}

.section-body h2{
    color:var(--white);

  font-size:clamp(22px,3vw,34px);
    line-height:1.25;

    line-height:1.15;

    margin-bottom:18px;
}

.section-body p{
    color:rgba(175,173,179,.76);

    font-size:16px;
    line-height:1.8;
}

.section-body p + p{
    margin-top:18px;
}

/* =========================
   FILTERS
========================= */

.archive-filters{
    display:flex;
    flex-wrap:wrap;
    gap:10px;

    margin:28px 0 36px;
}

.filter-button{
    cursor:pointer;

    background:none;

    border:1px solid var(--line-strong);
    border-radius:999px;

    padding:10px 14px;

    color:rgba(175,173,179,.7);

    font-size:11px;
    font-weight:800;

    letter-spacing:.16em;
    text-transform:uppercase;
}

.filter-button:hover,
.filter-button.is-active{
    background:var(--white);
    color:var(--ink);
}

/* =========================
   POSTS
========================= */

.notes-grid{
    display:grid;
    gap:0;
}

.note-card{
    padding:28px 0;
    border-top:1px solid var(--line);
}

.note-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;

    margin-bottom:14px;
}

.note-tag{
    color:rgba(175,173,179,.5);

    font-size:10px;
    font-weight:800;

    letter-spacing:.16em;
    text-transform:uppercase;
}

.note-card h3{
    margin-bottom:12px;
}

.note-card h3 a{
    color:var(--white);

    text-decoration:none;

    font-size:30px;
    font-weight:300;

    line-height:1.2;
}

.note-card h3 a:hover{
    text-decoration:underline;
    text-underline-offset:6px;
}

.note-card p{
    color:rgba(175,173,179,.74);

    line-height:1.8;
}

.note-date{
    margin-top:16px;

    color:rgba(175,173,179,.42);

    font-size:11px;
    letter-spacing:.14em;
    text-transform:uppercase;
}

/* =========================
   PROJECT
========================= */

.project-entry{
    display:grid;
    grid-template-columns:60px 1fr;
    gap:22px;
}

.project-index{
    color:rgba(175,173,179,.35);

    font-size:12px;
    font-weight:900;

    letter-spacing:.16em;
}

.project-link{
    display:inline-block;

    margin-top:24px;

    color:var(--white);
    text-decoration:none;

    font-size:12px;
    font-weight:800;

    letter-spacing:.16em;
    text-transform:uppercase;
}

.project-link:hover{
    text-decoration:underline;
    text-underline-offset:5px;
}

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

.footer{
    display:flex;
    justify-content:space-between;

    padding:70px 0 32px;

    border-top:1px solid var(--line);

    color:rgba(175,173,179,.45);

    font-size:11px;
    letter-spacing:.22em;
    text-transform:uppercase;
}

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

@media(max-width:700px){

    .nav{
        display:none;
    }

    .hero{
        padding:80px 0;
    }

    .hero h1{
        font-size:64px;
    }

    .hero p{
        font-size:18px;
    }

    .section-row{
        grid-template-columns:1fr;
        gap:18px;
    }

    .project-entry{
        grid-template-columns:1fr;
    }

    .footer{
        flex-direction:column;
        gap:12px;
    }
}

