/* Stylebook colors */

:root{
    /* green */
    --g900: #283618;
    --g700: #606C38;
    --g300: #AFB38C;

    /* cream */
    --c300: #DED597;
    --c200: #E9E3BA;
    --c100: #FEFAE0;


    /* orange */
    --o700: #BC6C25;
    --o500: #DDA15E;
    --o300: #E6B87F;

    /* other */
    --bg: var(--c100);
    --panel: var(--c100);
    --card-bg: #ffffff;
    --text-main: #111111;
    --text-muted: #3a3a3a;
    --line: rgba(0,0,0, .12);
}

/* background */
* {
    box-sizing: border-box;
}
html, body {
    height: 100%;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text-main);
    font-family: "Harmattan", system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    font-size: 16px;
    line-height: 1.35;
}

/* text */
h1, h2, h3 {
    font-family: "Assistant", system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    margin: 0 0 0.25em 0;
}
h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
h2 {
    font-size: 18px;
    font-weight: 700;
}
h3 {
    font-size: 24px;
    font-weight: 700;
}
p {
    margin: 0 0 1rem 0;
    color: var(--text-muted);
}
a {
    color: inherit;
}

.layout-container {
    display: flex;
    min-height: 100vh;
}

/* vertical nav */

.sidebar {
    background-color: var(--c200);
    border-right: 1px solid var(--line);
    padding: 14px 12px;
    align-items: center;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar .nav-vertical {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.pill {
    all: unset;
    cursor: pointer;
    display: grid;
    place-items: center;
    width: 64px;
    height: 56px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255,255,255, .55);
    box-shadow: 0 6px 16px rgba(0,0,0, .06);
    transition:transform .12s ease, background .12s ease;
    text-align: center;
    font-family: "Assistant", sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .02em;
}

.pill:hover {
    transform: translateY(-1px);
}

.pill.active {
    background: linear-gradient(180deg, var(--g700), var(--g300));
    /* background: var(--g700); */
    color: var(--c100);
    border: rgba(255,255,255, .88);
}

.main-content {
    display: flex;
    flex: 1;
    padding: 40px;
    max-width: 95%;
    height: auto;
    flex-direction: column;
}

.page {
    padding: 18px 0 30px;
}
.top-strip {
    font-family: "Assistant", sans-serif;
    font-weight: 700;
    letter-spacing: .02em;
    margin:0 0 16px 0;
    width: 100%;
    text-align: left;
}

.card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
    padding: 24px;
}

/* MAIN PAGE */
.hero {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
    margin: 0 auto;
}

.hero-main{
    border-radius: 22px;
    background: rgba(255,255,255,.8);
    border: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
    overflow: visible;
    height: auto;
    display:flex;
    flex-direction:column;
    padding: 20px;
    }

.lead {
    font-size: 18px;
    max-width: 95%;
    margin-bottom: 40px;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    align-items: start;
}

.tile {
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    background: var(--c200);
    border: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    position: relative;
}
.tile p {
    color: #222;
    margin-top: 10px;
}
.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(40, 54, 24, 0.2);
    border-color: var(--g700);
}
.project-actions {
    margin-top: auto;
    padding-top: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tile:hover .project-actions {
    opacity: 1;
    transform: translateY(0);
}
.project-link {
    font-family: "Assistant", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--g700);
    text-decoration: none;
    transition: color 0.2s;
}
.project-link:hover {
    color: var(--o700);
    text-decoration: underline;
}

.sep {
    color: var(--line);
    font-size: 12px;
}

/* image */
.image-box {
    width: 100%;
    border-radius: 12px;
    background: rgba(0,0,0, .10);
    border: 1px solid var(--line);
    overflow: hidden;
}
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.image-tall {
    width: 100%;
    aspect-ratio: 9 / 16;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
}
.image-tall img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-wide {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 12px;
    background: rgba(0,0,0, .10);
    overflow: hidden;
    display: block;
}
.image-wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PROJECTS */

.box {
    display: grid;
    gap: 60px;
    align-items: start;
    margin: 0 auto;
}

/* ABOUT ME */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.about-image img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    aspect-ratio: 2 / 3; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.highlights-box {
    background: var(--c200); 
    padding: 20px;
    border-radius: 14px;
    margin-top: 30px;
}

.highlights-box ul {
    list-style: none;
    padding: 0;
}

.highlights-box li {
    margin-bottom: 10px;
    font-family: "Harmattan", sans-serif;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-top: 30px;
}

.info-card {
    background: var(--c200);
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: "Assistant", sans-serif;
    font-weight: 700;
    font-size: 14px;
}

/* input */
input, textarea {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255,255,255, 0.5);
    font-family: "Harmattan", sans-serif;
    font-size: 16px;
    transition: 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--g700);
    background: #ffffff;
}

.contact-form .pill {
    width: 180px;
    border: none;
    cursor: pointer;
}

/* footer */
.footer {
    margin-top: auto;
    padding: 20px 0;
    width: 100%;
    color: rgba(0,0,0, .45);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.hamburger, .mobile-logo {
    display: none !important;
}