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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    background-color: #ffffff;
    color: #111;
    display: flex;
    min-height: 100vh;
    line-height: 1.6;
}

a:link, a:visited {
    color: #000;
    text-decoration: none;
}

aside {
    width: 260px;
    background-color: #ffffff;
    border-right: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 30px;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
}

.logo-area h1 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.logo-area h1 a {
    color: #000;
}

.logo-area p {
    font-size: 0.85rem;
    color: #777;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 40px;
}

nav ul li a {
    text-decoration: none;
    color: #777;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav ul li a:hover, 
nav ul li a.active {
    color: #000;
    font-weight: 600;
}

.sidebar-footer {
    font-size: 0.75rem;
    color: #aaa;
}

main {
    margin-left: 260px; 
    padding: 60px 80px; 
    flex-grow: 1;
    max-width: 1400px;  
    margin-right: auto; 
}

.gallery-header {
    margin-bottom: 40px;
}

.gallery-header h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.project-header h2 {
    font-weight: 700;
}

.page-title {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    color: #000;
}

.statement-section {
    margin-bottom: 50px;
}

.text-block {
    max-width: 680px;
}

.text-block p {
    font-size: 1.05rem;
    color: #222;
    margin-bottom: 24px;
    text-align: justify;
    text-justify: inter-word;
}

hr {
    border: 0;
    border-top: 1px solid #eaeaea;
    margin: 50px 0;
    max-width: 680px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block; 
}

.card {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card-link:hover .card {
    transform: translateY(-4px);
}

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

.card-info {
    padding: 15px 20px; 
}

.card-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #111;
}

.project-page {
    max-width: 1050px;
}

.project-main-title {
    font-size: 2.6rem;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: 25px;
    color: #000;
}

.project-image-wrapper {
    width: 100%;
    margin-bottom: 40px;
}

.project-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.project-content-columns {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.project-caption-summary {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #111;
    margin-bottom: 20px;
}

.project-divider {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.project-full-text p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #222;
    margin-bottom: 20px;
}

.detail-status-box {
    background-color: #fafafa;
    border: 1px solid #eaeaea;
    padding: 20px;
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.status-meta p {
    font-size: 0.85rem;
    margin-bottom: 2px;
    color: #333;
}

.inventory-lookup-btn {
    display: inline-block;
    padding: 10px 16px;
    background-color: #111;
    color: #fff !important;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, color 0.2s ease;
    border: 1px solid #111;
}

.inventory-lookup-btn:hover {
    background-color: #ffffff;
    color: #111 !important;
}

.meta-grey-block {
    background-color: #f5f5f5;
    padding: 20px 25px;
    margin-bottom: 25px;
}

.meta-year {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin-bottom: 6px;
}

.meta-tags-list {
    font-size: 0.9rem;
    color: #555;
    text-transform: lowercase;
}

.meta-project-tags {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #000;
}

.meta-exhibitions h4 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 20px;
    color: #222;
}

.meta-exhibitions h4.exhibit-highlight {
    color: #e63946; 
}

.meta-exhibitions p {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
    margin-bottom: 5px;
}

.additional-img {
    margin-top: 60px;
}

tr:target {
    background-color: #fff9db !important;
    outline: 2px solid #fab005;
}

.cv-page {
    max-width: 900px;
}

.cv-section {
    margin-bottom: 40px;
}

.cv-section h3 {
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    margin-bottom: 15px;
    color: #000;
}

.cv-row {
    display: flex;
    margin-bottom: 15px;
    gap: 30px;
}

.cv-year {
    width: 60px;
    flex-shrink: 0;
    font-weight: normal;
    color: #000;
}

.cv-details {
    flex: 1;
    line-height: 1.5;
    color: #000;
}

.cv-details em {
    color: #000;
    font-style: italic;
}

.contact-page {
    max-width: 1100px;
}

.contact-content-columns {
    display: flex;
    gap: 50px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-left-col {
    flex: 1;
    min-width: 280px;
}

.contact-left-col p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #000;
}

.contact-divider {
    margin: 20px 0;
    color: #000;
    font-weight: bold;
}

.contact-direct-details {
    line-height: 1.8;
    color: #000;
}

.contact-direct-details a {
    color: #000;
    text-decoration: underline;
}

.contact-right-col {
    flex: 1.5;
    min-width: 320px;
}

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

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

.form-group label {
    font-size: 0.9em;
    font-weight: bold;
    color: #000;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: #000;
    color: #fff;
    padding: 12px 20px;
    border: 1px solid #000;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.submit-btn:hover {
    background: #fff;
    color: #000;
}

.contact-block p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #333;
}

.contact-email {
    margin-top: 15px;
}

.contact-block a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
}

.contact-block a:hover {
    color: #666;
    border-bottom-color: #666;
}

.profile-image-container.static-ratio {
    max-width: 380px;
    width: 100%;
    aspect-ratio: 3 / 4;
    margin-bottom: 35px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.profile-image-container.static-ratio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    aside {
        position: relative;
        width: 100%;
    }   