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

body {
    background-color: #12151C;
    color: #EDEAE3;
    font-family: 'Inter', sans-serif;
}

dd, a {
    overflow-wrap: break-word;
}

.layout, main, .sidebar {
    min-width: 0;
}

.layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    max-width: 1100px;
    margin: 0 auto;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-right: 1px solid #262B36;
}

.sidebar .brand {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    margin-bottom: 2rem;
}

.sidebar a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0.9em;
    background: #D9A441;
}

.sidebar a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: #8B93A3;
    padding: 0.4rem 0 0.4rem 0.8rem;
    position: relative;
}

.sidebar a:hover {
    color: #D9A441;
}

main {
    padding: 0 3rem;
    max-width: 700px;
}

h1, h2, h3 {
    font-family: 'Fraunces', serif;
}

h1 {
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.05;
}

.location {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8B93A3;
}

.role {
    font-family: 'Fraunces', serif;
    font-style: italic;
    color: #D9A441;
    font-size: 1.3rem;
    margin-top: 0.3rem;
}
h2 {
    font-size: 1.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 3px;
    height: 1.4em;
    background: #D9A441;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    color: #8B93A3;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

header p:last-child,
article p:last-child {
    margin-bottom: 0;
}

section {
    padding: 4rem 0;
    border-bottom: 1px solid #262B36;
}

section > p:first-child {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: #8B93A3;
    margin-bottom: 1.75rem;
}

article {
    margin-bottom: 2rem;
}

section div {
    margin-bottom: 1.5rem;
}

section div:last-child {
    margin-bottom: 0;
}

ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

li {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    border: 1px solid #262B36;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

header {
    padding: 4rem 0 2rem;
}

header p {
    margin-bottom: 0.5rem;
}

dl {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 0.8rem 1rem;
}

dt {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: #8B93A3;
}

a {
    color: #EDEAE3;
    text-decoration: none;
}

a:hover {
    color: #D9A441;
}

footer {
    padding: 2.5rem 0;
    color: #8B93A3;
    font-size: 0.85rem;
}

section div h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: 0.75rem;
    color: #8B93A3;
    margin-bottom: 0.8rem;
}

article p:nth-of-type(2) {
    color: #5FA8A0;
    font-size: 0.9rem;
}

.method {
    color: #5FA8A0;
    font-weight: 500;
}

.status {
    color: #D9A441;
}

.contact-form {
    margin-top: 2.5rem;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.field label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: #8B93A3;
    letter-spacing: 0.03em;
}

.contact-form input,
.contact-form textarea {
    background: #171B24;
    border: 1px solid #262B36;
    border-radius: 4px;
    padding: 0.65rem 0.8rem;
    color: #EDEAE3;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #D9A441;
}

.contact-form button {
    background: transparent;
    border: 1px solid #D9A441;
    color: #D9A441;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    padding: 0.7rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    width: fit-content;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-form button:hover {
    background: #D9A441;
    color: #12151C;
}

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

    .sidebar {
        position: static;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid #262B36;
        padding: 1.5rem;
    }

    .sidebar .brand {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    main {
        padding: 0 1.5rem;
        max-width: 100%;
    }

    h1 {
        font-size: 2.2rem;
    }
}