* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #17212b;
    background: #f4f6ef;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 6vw;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(23, 33, 43, 0.12);
}

.logo {
    color: #26351f;
    font-weight: 700;
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.site-nav a {
    color: #36442b;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: #ffffff;
    border: 1px solid rgba(89, 106, 61, 0.28);
    border-radius: 8px;
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #26351f;
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
    transform: translate(-50%, -50%) translateY(-7px);
}

.menu-toggle span:nth-child(2) {
    transform: translate(-50%, -50%);
}

.menu-toggle span:nth-child(3) {
    transform: translate(-50%, -50%) translateY(7px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.hero {
    min-height: 84vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    align-items: center;
    gap: 36px;
    padding: 120px 6vw 80px;
    background:
        linear-gradient(
            90deg,
            rgba(244, 246, 239, 0.98) 0%,
            rgba(244, 246, 239, 0.9) 36%,
            rgba(244, 246, 239, 0.46) 68%,
            rgba(244, 246, 239, 0.16) 100%
        ),
        url("assets/hero-workspace.png");
    background-size: cover;
    background-position: center;
}

.hero-content {
    width: min(620px, 100%);
}

.hero-panel {
    align-self: end;
    display: block;
    padding: 24px;
    color: #ffffff;
    background: rgba(38, 53, 31, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(23, 33, 43, 0.22);
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 76px rgba(23, 33, 43, 0.28);
}

.hero-panel p {
    margin-bottom: 8px;
    color: #d6e6b6;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-panel strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.25rem;
    line-height: 1.25;
}

.hero-panel span {
    color: #edf3df;
}

.eyebrow {
    margin: 0 0 12px;
    color: #596a3d;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: 5.2rem;
    line-height: 1;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    letter-spacing: 0;
}

.intro {
    max-width: 520px;
    color: #36442b;
    font-size: 1.25rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(38, 53, 31, 0.18);
}

.primary {
    color: #ffffff;
    background: #596a3d;
}

.secondary {
    color: #17212b;
    background: #ffffff;
    border: 1px solid rgba(89, 106, 61, 0.28);
}

.section {
    padding: 76px 6vw;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    gap: 48px;
    background: #ffffff;
}

.two-column p,
.contact p {
    font-size: 1.08rem;
}

.about-copy p {
    max-width: 760px;
}

.about-copy p + p {
    margin-top: 16px;
}

.experience {
    color: #ffffff;
    background: #26351f;
}

.experience .eyebrow {
    color: #d6e6b6;
}

.experience .section-heading p {
    color: #edf3df;
}

.experience-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.experience-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.experience-card h3 {
    color: #ffffff;
    font-size: 1.25rem;
}

.experience-card p {
    color: #edf3df;
    font-size: 1.03rem;
}

.experience-card p:last-child {
    margin-bottom: 0;
}

.experience-role {
    color: #f1d48b;
    font-weight: 700;
}

.experience-link {
    margin-top: 24px;
    color: #17212b;
    background: #f1d48b;
}

.education {
    background: #f4f6ef;
}

.education-list {
    display: grid;
    gap: 16px;
}

.education-item {
    padding: 24px;
    background: #ffffff;
    border: 1px solid rgba(89, 106, 61, 0.18);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(38, 53, 31, 0.08);
}

.education-item h3 {
    color: #26351f;
    font-size: 1.35rem;
}

.education-item p {
    max-width: 920px;
    margin-bottom: 8px;
    color: #2f3c2a;
    font-size: 1.05rem;
}

.education-item p:last-child {
    margin-bottom: 0;
}

.education-date {
    color: #596a3d;
    font-weight: 700;
}

.education-detail {
    color: #36442b;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 28px;
}

.section-heading p {
    max-width: 680px;
    color: #526049;
    font-size: 1.05rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.project-card {
    position: relative;
    grid-column: span 3;
    min-height: 340px;
    display: block;
    overflow: hidden;
    color: #ffffff;
    background: #26351f;
    border: 1px solid rgba(89, 106, 61, 0.18);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(38, 53, 31, 0.09);
    text-decoration: none;
    isolation: isolate;
}

.project-card:first-child {
    grid-column: span 6;
    min-height: 430px;
}

.project-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 500ms ease;
}

.project-card:hover img {
    transform: scale(1.04);
}

.project-overlay {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 22px;
    background: linear-gradient(180deg, rgba(38, 53, 31, 0), rgba(38, 53, 31, 0.9));
}

.project-overlay strong {
    font-size: 1.35rem;
    line-height: 1.15;
    text-align: left;
}

.photos {
    background: #26351f;
    color: #ffffff;
}

.photos .eyebrow {
    color: #d6e6b6;
}

.photos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.photos-header .eyebrow {
    margin-bottom: 0;
}

.instagram-button {
    flex: 0 0 auto;
    gap: 10px;
    color: #17212b;
    background: #e5b76c;
}

.instagram-button img {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 5px;
}

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

.photo-link {
    color: inherit;
    text-decoration: none;
}

.photo-card {
    margin: 0;
    overflow: hidden;
    background: #ffffff;
    color: #17212b;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.photo-card figcaption {
    padding: 14px 16px 16px;
    font-weight: 700;
}

.learning {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
    gap: 48px;
    color: #17212b;
    background: #ffffff;
}

.learning .eyebrow {
    color: #596a3d;
}

.learning ul {
    margin: 0;
    padding-left: 24px;
    font-size: 1.08rem;
}

.learning li + li {
    margin-top: 12px;
}

.contact {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(89, 106, 61, 0.98), rgba(38, 53, 31, 0.98));
}

.contact a {
    color: #f1d48b;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
    gap: 36px;
    align-items: start;
}

.contact-copy p {
    max-width: 760px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #17212b;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(241, 212, 139, 0.38);
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.social-link:hover {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(23, 33, 43, 0.18);
}

.social-link img {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.contact-button {
    margin: 12px 0 26px;
    color: #17212b;
    background: #ffffff;
}

.calendly-card {
    min-width: 0;
    padding: 18px;
    color: #17212b;
    background: #f8fbf2;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(23, 33, 43, 0.26);
}

.calendly-card .eyebrow {
    color: #596a3d;
}

.calendly-card h3 {
    color: #26351f;
}

.calendly-inline-widget {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border-radius: 8px;
}

footer {
    padding: 24px 6vw;
    color: #ffffff;
    background: #17212b;
}

footer p {
    margin: 0;
}

@media (max-width: 760px) {
    .site-header {
        position: sticky;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 16px 5vw;
        gap: 12px;
    }

    .menu-toggle {
        position: relative;
        display: inline-flex;
        margin-left: auto;
    }

    .site-nav {
        width: 100%;
        max-height: 0;
        flex-basis: 100%;
        flex-direction: column;
        gap: 4px;
        margin-top: 0;
        padding: 0 10px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(89, 106, 61, 0);
        border-radius: 8px;
        opacity: 0;
        visibility: hidden;
        transition: max-height 220ms ease, opacity 180ms ease, margin 180ms ease, padding 180ms ease, border-color 180ms ease;
    }

    .site-nav.is-open {
        max-height: 360px;
        margin-top: 8px;
        padding: 10px;
        border-color: rgba(89, 106, 61, 0.18);
        opacity: 1;
        visibility: visible;
    }

    .site-nav a {
        display: block;
        padding: 10px 12px;
        border-radius: 8px;
    }

    .site-nav a:hover {
        background: #f4f6ef;
    }

    .hero {
        min-height: 70vh;
        grid-template-columns: 1fr;
        padding: 72px 5vw 56px;
        background:
            linear-gradient(
                180deg,
                rgba(244, 246, 239, 0.98) 0%,
                rgba(244, 246, 239, 0.9) 58%,
                rgba(244, 246, 239, 0.5) 100%
            ),
            url("assets/hero-workspace.png");
        background-size: cover;
        background-position: center right;
    }

    .section {
        padding: 56px 5vw;
    }

    .two-column,
    .experience-list,
    .learning,
    .project-grid,
    .photo-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .project-card,
    .project-card:first-child {
        grid-column: auto;
        min-height: 280px;
    }

    .project-overlay {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-overlay strong {
        text-align: left;
    }

    .calendly-inline-widget {
        min-width: 0 !important;
        height: 460px !important;
    }

    .photos-header {
        align-items: flex-start;
        flex-direction: column;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }
}
