:root {
    --background: #f4f3ef;
    --foreground: #111;
    --muted: #777;
    --border: #d8d7d2;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background: var(--background);
    color: var(--foreground);

    font-family: "Inter", sans-serif;
    font-weight: 300;
}


a {
    color: inherit;
    text-decoration: none;
}


/* HEADER */

header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding: 28px 32px;

    font-size: 15px;
    letter-spacing: 0.02em;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    padding: 24px 32px;

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

    z-index: 10;
}

.logo {
    font-size: 13px;
    letter-spacing: .02em;
}

.nav-links {
    display: flex;
    gap: 28px;

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

.nav-links a {
    transition: opacity .2s ease;
}

.nav-links a:hover {
    opacity: .45;
}


/* MAIN */

main {
    padding: 80px 32px 120px;
}

.category {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.category-title {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    margin-bottom: 35px;

    color: #666;
}


/* PROJECT */

.project {
    display: block;
    margin-bottom: 90px;
}

.project-image {
    width: 100%;
    aspect-ratio: 16 / 10;

    background: #ddd;

    overflow: hidden;
}

.project-info {
    display: flex;
    justify-content: space-between;

    margin-top: 14px;

    font-size: 13px;
}

.project-type {
    color: #777;
}


/* TWO PROJECTS */

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 24px;
}

.projects-grid .project {
    margin-bottom: 0;
}

.projects-grid .project-image {
    aspect-ratio: 4 / 5;
}


/* ABOUT */

.about {
    margin-top: 180px;
    margin-bottom: 160px;
}

.about-label {
    font-size: 12px;
    color: #777;

    text-transform: uppercase;
    letter-spacing: 0.08em;

    margin-bottom: 30px;
}

.about-text {
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
}


/* FOOTER */

footer {
    border-top: 1px solid #ddd;

    padding: 25px 32px 40px;

    display: flex;
    justify-content: space-between;

    font-size: 13px;
}

.socials {
    display: flex;
    gap: 25px;
}

.socials a {
    opacity: 0.55;
}

.socials a:hover {
    opacity: 1;
}


.project-image {
    width: 100%;
    aspect-ratio: 16 / 10;

    background: #ddd;
    overflow: hidden;

    position: relative;
}

.slideshow img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;

    transition: opacity 3s ease;
}

.slideshow img:first-child {
    opacity: 1;
}

.hero {
    min-height: 70vh;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 80px 32px 120px;
}

.hero h1 {
    max-width: 1000px;

    font-size: clamp(48px, 8vw, 110px);
    line-height: 0.95;
    letter-spacing: -0.05em;

    font-weight: 400;

    margin-bottom: 50px;
}

.hero-meta {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.hero-meta p {
    font-size: 13px;
    color: #777;

    margin-bottom: 20px;
}

.hero-link {
    width: fit-content;

    font-size: 13px;

    border-bottom: 1px solid #111;
    padding-bottom: 4px;

    transition: opacity 0.2s ease;
}

.hero-link:hover {
    opacity: 0.5;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;

    margin-top: 8rem;
    padding: 2rem 2rem;

    font-size: 0.8rem;
    color: #777;

    border-top: 1px solid #ddd;
}

.footer-info,
.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
    opacity: 1;
}