:root {
    --orange: #f29a24;
    --orange-dark: #c66e0e;
    --black: #111111;
    --charcoal: #202020;
    --gray: #707070;
    --light: #f5f5f5;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--black);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(17, 17, 17, 0.96);
    border-bottom: 2px solid var(--orange);
}

.site-header__inner,
.site-footer__inner,
.section__inner {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header__inner {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--white);
    text-decoration: none;
}

.site-logo {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
}

/* Navigation */

.site-nav {
    display: flex;
    gap: 24px;
}

.site-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus {
    color: var(--orange);
}

/* Hero */

.hero {
    min-height: 68vh;
    display: grid;
    place-items: center;
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.72),
            rgba(0, 0, 0, 0.78)
        ),
        radial-gradient(
            circle at top,
            #5b3513 0,
            #1a1a1a 48%,
            #090909 100%
        );
}

.hero__content {
    width: min(760px, 100%);
}

.eyebrow {
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 800;
}

h1 {
    margin: 0 0 18px;
    font-size: clamp(2.4rem, 7vw, 5rem);
    line-height: 1.05;
}

h2 {
    margin-top: 0;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

/* Buttons */

.button {
    display: inline-block;
    margin-top: 18px;
    padding: 13px 22px;
    border-radius: 8px;
    color: var(--black);
    background: var(--orange);
    text-decoration: none;
    font-weight: 800;
}

.button:hover,
.button:focus {
    background: #ffb04b;
}

/* Sections */

.section {
    padding: 76px 0;
    scroll-margin-top: 110px;
}

.section--dark {
    color: var(--white);
    background: var(--charcoal);
}

/* Project cards */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.project-card {
    padding: 22px;
    background: #292929;
    border: 1px solid #3b3b3b;
    border-top: 3px solid var(--orange);
    border-radius: 10px;
}

.project-card h3 {
    margin-top: 0;
    color: var(--white);
}

.project-card p {
    margin-bottom: 0;
    color: #d0d0d0;
}

/* Footer */

.site-footer {
    color: #cfcfcf;
    background: var(--black);
    border-top: 1px solid #343434;
}

.site-footer__inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.admin-link {
    color: #999999;
    font-size: 0.9rem;
    text-decoration: none;
}

.admin-link:hover,
.admin-link:focus {
    color: var(--orange);
}

/* Tablet */

@media (max-width: 900px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */

@media (max-width: 700px) {
    .site-header {
        position: relative;
    }

    .site-header__inner,
    .site-footer__inner {
        flex-direction: column;
        justify-content: center;
        padding: 16px 0;
    }

    .site-logo {
        width: 160px;
    }

    .site-nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-footer__inner {
        text-align: center;
    }

    .section {
        scroll-margin-top: 20px;
    }
}