

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

:root {
  --bg: #ffffff;
  --surface: #f4f4f4;
  --border: #e2e2e2;
  --muted: #9a9a9a;
  --text: #1c1c1c;
  --nav-h: 3.5rem;
  --panel-w: 340px;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
}

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

/* =====================================================
   NAV
===================================================== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.nav-inner {
  width: 100%;
  max-width: 1300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.nav-name {
  font-family: 'Oxygen', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.45s ease;
}

.nav-name:hover {
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.4s ease;
}

.nav-links a:hover {
  color: var(--text);
}


/* =====================================================
   DETAIL PAGE
===================================================== */

.detail-page {
  overflow: hidden;
}

.detail-outer {
  display: flex;
  justify-content: center;
  height: 100vh;
  padding-top: var(--nav-h);
}

.detail-layout {
  display: flex;
  width: 100%;
  max-width: 1300px;
  height: 100%;
}

.image-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--border);
}

.main-image-area {
  flex: 1;
  overflow: hidden;
  position: relative;
  background: var(--surface);
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image-area img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.35s ease;
}

.main-image-area:hover img {
  opacity: 0.9;
}

.zoom-hint {
  position: absolute;
  bottom: 1rem;
  right: 1.2rem;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.main-image-area:hover .zoom-hint {
  opacity: 1;
}

.thumb-strip {
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  height: calc(90px + 12px);
  background: var(--bg);
}

.thumb-item {
  flex: 0 0 90px;
  height: 90px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--surface);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease;
}

.thumb-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.thumb-item:hover img {
  opacity: 0.75;
}

.thumb-item.active::after {
  border-color: var(--text);
}

.info-panel {
  width: var(--panel-w);
  flex-shrink: 0;
  overflow-y: auto;
  padding: 3rem 2.4rem 3rem;
  display: flex;
  flex-direction: column;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.4s ease;
  margin-bottom: 3rem;
}

.back-link:hover {
  color: var(--text);
}

.work-title {
  font-family: 'Oxygen', sans-serif;
  font-weight: 300;
  font-size: 1.65rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.work-artist {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.8rem;
}

.spec-block {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.8rem;
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.spec-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-value {
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

.panel-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 2.5rem;
}

.work-statement {
  font-size: 0.82rem;
  line-height: 1.9;
  color: #555;
  flex: 1;
}

.inquiry-link {
  display: inline-block;
  margin-top: 2.8rem;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.18rem;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.inquiry-link:hover {
  color: var(--muted);
  border-color: var(--muted);
}

/* =====================================================
   LIGHTBOX
===================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(255,255,255,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  cursor: zoom-out;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  transform: scale(0.975);
  transition: transform 0.45s ease;
}

.lightbox.open .lightbox-inner {
  transform: scale(1);
}

.lightbox-inner img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -2rem;
  right: 0;
  background: none;
  border: none;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.35s ease;
}

.lightbox-close:hover {
  color: var(--text);
}

/* =====================================================
   ABOUT PAGE
===================================================== */

.about-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) 2rem 8rem;
}

.about-title {
  font-family: 'Oxygen', sans-serif;
  font-weight: 300;
  font-size: 2.8rem;
  margin-bottom: 3rem;
}

.about-copy {
  font-size: 1rem;
  line-height: 2;
  color: #444;
  max-width: 720px;
}

.about-copy p {
  margin-bottom: 1.8rem;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 780px) {
  .detail-page {
    overflow: auto;
  }

  .detail-outer {
    height: auto;
  }

  .detail-layout {
    flex-direction: column;
    height: auto;
  }

  .image-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
    height: 60vw;
    min-height: 340px;
  }

  .info-panel {
    width: 100%;
    padding: 2.5rem 1.6rem;
  }

  .masonry {
    columns: 2 220px;
    column-gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .gallery-shell,
  .about-shell {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .nav-inner {
    padding: 0 1.2rem;
  }

  .masonry {
    columns: 1;
  }
}
