@charset "utf-8";

:root {
    --ink: #18302b;
    --muted: #5f6f69;
    --paper: #f6f3eb;
    --surface: #fffdf8;
    --forest: #173f35;
    --forest-2: #24594b;
    --forest-3: #347565;
    --forest-4: #4b917f;
    --sage: #b9c9b9;
    --line: #d8ddd5;
    --gold: #c99446;
    --shadow: 0 24px 70px rgba(24, 48, 43, .12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

.wrap {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 100;
    padding: 10px 16px;
    color: white;
    background: var(--forest);
}

.skip-link:focus {
    top: 16px;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(24, 48, 43, .09);
    background: rgba(246, 243, 235, .9);
    backdrop-filter: blur(14px);
}

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

.site-logo {
    display: inline-block;
    width: 320px;
    max-width: 100%;
}

.site-logo-image {
    display: block;
    width: 100%;
    aspect-ratio: 3071.79 / 586.88;
    background-color: #24594b;

    -webkit-mask-image: url("../img/artist_portfolio_logo.svg");
    mask-image: url("../img/artist_portfolio_logo.svg");

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    background-color: var(--ink);
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: .92rem;
}

nav a {
    text-decoration: none;
    color: var(--muted);
}

nav a:hover,
nav a:focus-visible {
    color: var(--forest);
}

.hero {
    padding: clamp(72px, 10vw, 132px) 0 88px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    gap: clamp(44px, 7vw, 94px);
    align-items: center;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--forest-2);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.1;
}

h1 {
    margin-bottom: 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.35rem, 7.5vw, 6.8rem);
    font-weight: 500;
    letter-spacing: -.055em;
}

h1 em {
    color: var(--forest-2);
    font-weight: 500;
}

.lead {
    max-width: 650px;
    margin: 0 0 34px;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.27rem);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 12px 20px;
    border: 1px solid var(--forest);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 750;
    transition: .2s ease;
}

.button.primary {
    color: white;
    background: var(--forest);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(23, 63, 53, .16);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 28px;
    color: var(--muted);
    font-size: .88rem;
}

.project-meta span::before {
    content: "•";
    margin-right: 8px;
    color: var(--gold);
}

.art-frame {
    position: relative;
    padding: 14px;
    background: #ebe4d7;
    border-radius: 34px;
    box-shadow: var(--shadow);
    transform: rotate(1.4deg);
}

.art-frame::before {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -40px;
    top: -45px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    z-index: -1;
}

.art-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: top;
    border-radius: 23px;
    background: #ddd;
}

.caption {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 8px 2px;
    color: var(--muted);
    font-size: .78rem;
}

section {
    padding: 94px 0;
}

.section-head {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 50px;
    margin-bottom: 52px;
}

.section-head h2 {
    max-width: 520px;
    margin-bottom: 0;
    font-family: Georgia, serif;
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 500;
    letter-spacing: -.035em;
}

.section-head p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.features {
    border-block: 1px solid var(--line);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.feature {
    min-height: 220px;
    padding: 28px;
    background: var(--surface);
}

.feature-number {
    display: block;
    margin-bottom: 40px;
    color: var(--gold);
    font: italic 1.05rem Georgia, serif;
}

.feature h3 {
    margin-bottom: 12px;
    font-size: 1.08rem;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: .94rem;
}

.layouts {
    background: var(--forest);
    color: white;
}

.layouts .eyebrow {
    color: #c8ddcf;
}

.layouts .section-head p {
    color: #c2d1cc;
}

.layout-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.layout-card {
    min-height: 310px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .045);
}

.layout-card strong {
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
}

.layout-card p {
    margin: 12px 0 0;
    color: #c2d1cc;
}

.layout-motif {
    height: 110px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, .26);
    overflow: hidden;
}

.layout-motif {
    width: 95%;
    height: auto; 
    margin-inline: auto;
    background-color: var(--paper);
} 

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.quote {
    margin: 0;
    font: 500 clamp(2rem, 4vw, 3.5rem)/1.2 Georgia, serif;
    letter-spacing: -.025em;
}

.principles {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.principle {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.principle span {
    color: var(--gold);
    font-family: Georgia, serif;
}

.about-panel {
    padding: clamp(34px, 6vw, 72px);
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 68px;
    color: white;
    background: #233733;
    border-radius: 32px;
}

.about-panel h2 {
    margin-bottom: 18px;
    font: 500 clamp(2.2rem, 4.5vw, 3.8rem)/1.08 Georgia, serif;
    letter-spacing: -.035em;
}

.about-panel p {
    margin-top: 0;
    color: #cbd5d2;
}

.about-panel .button {
    border-color: #e8eee9;
    color: white;
}

.about-note {
    align-self: end;
    padding-left: 25px;
    border-left: 2px solid var(--gold);
}

.cta {
    text-align: center;
}

.cta h2 {
    max-width: 820px;
    margin: 0 auto 24px;
    font: 500 clamp(2.4rem, 6vw, 5rem)/1.05 Georgia, serif;
    letter-spacing: -.045em;
}

.cta p {
    max-width: 620px;
    margin: 0 auto 32px;
    color: var(--muted);
}

footer {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .86rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-row p {
    margin: 0;
}

@media (max-width: 900px) {
    nav a:not(.github-link) {
        display: none;
    }

    .hero-grid,
    .section-head,
    .philosophy-grid,
    .about-panel {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 60px;
    }

    .art-frame {
        max-width: 660px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .layout-grid {
        grid-template-columns: 1fr;
    }

    .layout-card {
        min-height: 245px;
    }

    .about-note {
        align-self: auto;
    }
}

@media (max-width: 560px) {
    .wrap {
        width: min(100% - 26px, 1160px);
    }

    .nav {
        min-height: 64px;
    }

    .brand {
        font-size: .9rem;
    }

    .github-link {
        font-size: .82rem;
    }

    .hero {
        padding-top: 58px;
    }

    h1 {
        font-size: clamp(3rem, 17vw, 4.6rem);
    }

    section {
        padding: 72px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        min-height: 190px;
    }

    .footer-row {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}