* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

body {
font-family: Arial, Helvetica, sans-serif;
background: white;
color: #111;
line-height: 1.5;
}

.container {
width: min(1200px, 92%);
margin: 0 auto;
}

header {
position: fixed;
top: 0;
left: 0;
right: 0;
background: white;
z-index: 1000;
padding: 20px 0;
}

.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
}

.site-title {
text-decoration: none;
color: black;
font-size: 16px;
}

nav {
display: flex;
gap: 32px;
}

nav a {
text-decoration: none;
color: #555;
}

nav a:hover {
color: black;
}

main {
padding-top: 100px;
}

.language-switch {
display: flex;
gap: 8px;
}

.language-switch button {
border: none;
background: transparent;
cursor: pointer;
}

.language-switch button.active {
border-bottom: 1px solid black;
}

.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fill,minmax(320px,1fr));
gap: 30px;
margin-top: 40px;
}

.artwork-card {
display: block;
text-decoration: none;
color: inherit;
}

.artwork-card img {
width: 100%;
display: block;
aspect-ratio: 1;
object-fit: cover;
}

.artwork-info {
padding-top: 12px;
}

.artwork-title {
font-size: 14px;
font-weight: 600;
}

.artwork-year {
color: #777;
font-size: 12px;
}

.copyright {
text-align: center;
margin: 80px 0;
color: #888;
font-size: 12px;
}

.gallery-grid {
display: grid;
grid-template-columns: 1fr;
gap: 3rem;
}

@media (min-width: 768px) {
.gallery-grid {
grid-template-columns: 1fr 1fr;
gap: 4rem;
}
}

.gallery-item a {
text-decoration: none;
color: inherit;
}

.gallery-image-wrapper {
min-height: 320px;
display: flex;
align-items: center;
justify-content: center;
}

.gallery-image-wrapper img {
max-width: 100%;
height: auto;
object-fit: contain;
}

.gallery-title {
margin-top: 1rem;
text-align: center;
font-weight: 300;
letter-spacing: 0.04em;
}

.artwork-page {
padding-top: 120px;
padding-bottom: 60px;
}

.artwork-header {
max-width: 900px;
margin-bottom: 50px;
}

.artwork-header h1 {
margin-bottom: 20px;
}

.artwork-meta {
color: #666;
margin-bottom: 20px;
}

.artwork-description {
white-space: pre-line;
line-height: 1.7;
max-width: 900px;
}

.artwork-media {
display: grid;
gap: 40px;
}

.artwork-media img {
width: 100%;
height: auto;
}

.media-item iframe {
width: 100%;
aspect-ratio: 16 / 9;
border: 0;
}

.media-item video {
width: 100%;
}

.photo-credit {
font-size: 12px;
color: #666;
margin-top: 8px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  z-index: 50;
  padding: 10px 8px;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.site-title {
  font-size: 12px;
  font-weight: 400;
  color: black;
  text-decoration: none;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-nav a,
.language-switch button {
  font-size: 12px;
  font-weight: 400;
  color: #555;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.site-nav a:hover,
.language-switch button:hover {
  color: black;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
}

.language-switch span {
  color: #aaa;
  font-size: 12px;
}

.language-switch button.active {
  color: black;
  border-bottom: 1px solid black;
}

@media (min-width: 768px) {
  .site-header {
    padding: 24px 16px;
  }

  .site-title,
  .site-nav a,
  .language-switch button,
  .language-switch span {
    font-size: 16px;
  }

  .site-title {
    max-width: none;
  }

  .site-nav {
    gap: 32px;
  }

  .language-switch {
    gap: 8px;
    margin-left: 16px;
  }
}

.page-main {
  padding-top: 100px;
  min-height: 100vh;
}

.about-content {
  max-width: 900px;
  padding: 48px 0;
}

.cv-header,
.cv-section {
  margin-bottom: 48px;
}

.cv-header h1 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
}

.cv-header p {
  color: #555;
  line-height: 1.7;
}

.cv-section h2 {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.cv-list {
  color: #555;
  line-height: 1.7;
}

.cv-entry {
  margin-bottom: 12px;
}

.cv-year {
  font-weight: 500;
  color: #111;
}

.cv-entry a {
  color: #2563eb;
  text-decoration: underline;
}

.contact-content {
  max-width: 900px;
  padding: 48px 0;
}

.contact-section h1 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 48px;
}

.contact-list {
  display: grid;
  gap: 32px;
}

.contact-item {
  color: #555;
  font-size: 16px;
}

.contact-label {
  display: block;
  color: #111;
  font-weight: 500;
  margin-bottom: 8px;
}

.contact-item a {
  color: #555;
  text-decoration: none;
}

.contact-item a:hover {
  color: black;
}