:root {
    --color-text: #222;
    --color-border: #222;
    --background-color: #ffffff;
    --default-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --text-transform: uppercase;
    --custom-letter-spacing: -0.04em;
    --default-lineheight: 1.2em;
    --site-margin-sm: 1rem;
    --site-margin-md: 1.5rem;
    --site-margin-lg: 2rem;
    --grid-gap: 3rem;
    --photo-max-width: 200px;
    --header-height: 80px;
    --header-height-mobile: 100px;
}

*,
*::after,
*::before {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    font: inherit;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--color-text);
    background-color: var(--background-color);
    font-family: var(--default-font);
    font-size: 16px;
    line-height: var(--default-lineheight);
    letter-spacing: var(--custom-letter-spacing);
    text-transform: var(--text-transform);
    min-height: 100vh;
}

h1, h2 {
    text-wrap: balance;
    font-weight: normal;
}

h1 {
    font-size: 16px;
}

h2 {
    font-size: 12px;
    margin-bottom: 0.5rem;
}

p {
    max-width: 100%;
    text-wrap: pretty;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img,
picture,
video,
svg {
    display: block;
    max-width: 100%;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: var(--background-color);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--site-margin-md);
}

.site-title a {
    font-size: 16px;
    font-weight: normal;
    text-transform: var(--text-transform);
    letter-spacing: var(--custom-letter-spacing);
}

.site-menu ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.site-menu a {
    font-size: 12px;
    text-transform: var(--text-transform);
    letter-spacing: var(--custom-letter-spacing);
}

.main {
    height: 100vh;
    padding: var(--site-margin-md);
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
    width: 100%;
    max-width: none;
}

.about-item {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-item h2 {
    font-size: 13px;
    margin-bottom: 1em;
    opacity: 0.7;
}

.about-item p {
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 400;
}

.about-item.photo {
    grid-column: 1 / -1;
    display: block;
    text-align: left;
}

.about-item.photo img {
    max-width: var(--photo-max-width);
    height: auto;
    object-fit: cover;
}

.no-td {
    text-decoration: none;
}

.centered {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: var(--site-margin-sm);
    }
    
    .site-menu ul {
        gap: 0.75rem;
    }
    
    .main {
        padding: var(--site-margin-sm);
        padding-top: var(--header-height-mobile);
        padding-bottom: 3rem;
        align-items: flex-start;
        height: auto;
        min-height: 100vh;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-item {
        gap: 0.25rem;
    }
    
    .about-item h2 {
        font-size: 12px;
    }
    
    .about-item p {
        font-size: 15px;
        text-transform: uppercase;
    }
}