

*, *::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 {
  min-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,
.nav-links a.active {
  color: var(--text);
}


/* =====================================================
   GALLERY
===================================================== */

.gallery-wrap {
  padding-top: var(--nav-h);
}

.gallery-center {
  max-width: 1300px;
  margin: 0 auto;
}

.masonry {
  columns: 3;
  column-gap: 4px;
  padding: 4px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 4px;
}

.masonry-item a {
  display: block;
  text-decoration: none;
}

.thumb-wrap {
  overflow: hidden;
  background: var(--surface);
  display: block;
}

.thumb-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.5s ease;
}

.masonry-item:hover .thumb-wrap img {
  opacity: 0.78;
}

footer {
  padding: 1.8rem 2rem;
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

.footer-inner {
  width: 100%;
  max-width: 1300px;
  display: flex;
  justify-content: space-between;
}

/* =====================================================
   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-page main {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 7rem;
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 6rem;
  align-items: start;
}

.portrait-wrap {
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 3/4;
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.6s ease;
}

.portrait-wrap:hover img {
  filter: grayscale(30%);
}

.portrait-caption {
  margin-top: 0.8rem;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-col h1 {
  font-family: 'Oxygen', sans-serif;
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.text-col .tagline {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3rem;
}

.text-col p {
  font-size: 0.88rem;
  line-height: 1.95;
  color: #555;
  margin-bottom: 1.5rem;
  max-width: 52ch;
}

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

.contact-block {
  margin-top: 3.5rem;
}

.contact-block a {
  font-size: 0.78rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.15rem;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.contact-block a:hover {
  color: var(--muted);
  border-color: var(--muted);
}

.text-col .text-high {
  color: #e77b00;
}

.about-page footer {
  border-top: 1px solid var(--border);
  padding: 1.8rem 2rem;
  display: flex;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-page .footer-inner {
  width: 100%;
  max-width: 1300px;
  display: flex;
  justify-content: space-between;
}

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

@media (max-width: 720px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .portrait-col {
    max-width: 220px;
  }
}

@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;
  }

}

@media (max-width: 960px) {
  .masonry {
    columns: 2;
  }
}

@media (max-width: 520px) {
  .masonry {
    columns: 1;
  }
}

@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;
  }
}

/* Root About page */
.about-page { min-height: 100vh; }
.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; }
@media (max-width: 640px) { .about-shell { padding-left: 1.2rem; padding-right: 1.2rem; } }


/* =====================================================
   LANDING PAGE
===================================================== */


.landing nav .nav-inner {
  justify-content: center;
}

.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-hero {
  position: relative;
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

.landing-image-frame {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.5rem 1rem;
}

.landing-image-frame img {
  position: absolute;
  left: 50%;
  top: calc(50% + 2em);
  width: auto;
  height: auto;
  max-width: calc(100% - 3rem);
  max-height: calc(100% - 2rem);
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1.1s ease;
}

.landing-image-frame img.active {
  opacity: 1;
}

.landing-choices {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.25rem;
  padding: 1.35rem 2rem 2.25rem;
  background: var(--bg);
  position: relative;
  z-index: 2;
}

.landing-choice {
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .82rem;
  transition: color .45s ease, opacity .45s ease;
}

.landing-choice:hover {
  color: var(--muted);
}

@media (max-width: 640px) {
  .landing-image-frame {
    padding: 1rem 1rem .75rem;
  }

  .landing-image-frame img {
    max-width: calc(100% - 2rem);
    max-height: calc(100% - 1.25rem);
  }

  .landing-choices {
    gap: 1.5rem;
    padding: 1rem 1.25rem 1.6rem;
  }
}
