/* ── Reset & Base ───────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: #fff;
  color: #222;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #222;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* ── Typography ────────────────────────────────────────── */

.artist-name {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-weight: 300;
  font-size: 3.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
}

.exhibition-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-weight: 300;
  font-style: italic;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  margin-top: 0.4rem;
  line-height: 1.3;
}

.section-heading {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.caption {
  font-size: 0.85rem;
  color: #222;
  margin-top: 0.6rem;
  text-align: center;
  font-style: italic;
}


/* ── Layout ────────────────────────────────────────────── */

#app {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* ── Masthead ──────────────────────────────────────────── */

.masthead {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin-left: calc(-50vw + 50%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.masthead__overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
}

.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.masthead__title {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-weight: 300;
  font-size: 4rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
}

.masthead__subtitle {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-weight: 300;
  font-style: italic;
  font-size: 2rem;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
}

.masthead__arrow {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: #fff;
  opacity: 0.8;
  animation: bounceArrow 2s ease infinite;
  text-decoration: none;
}

.masthead__arrow:hover {
  opacity: 1;
  text-decoration: none;
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}


/* ── Header ────────────────────────────────────────────── */

.site-header {
  text-align: center;
  padding: 6rem 1rem 4rem;
}


/* ── Bio ───────────────────────────────────────────────── */

.bio {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  text-align: center;
  font-size: 0.92rem;
}

.bio p {
  margin-bottom: 1rem;
  color: #222;
}


/* ── Sections ──────────────────────────────────────────── */

.section {
  margin-bottom: 80px;
}

/* --- Image --- */
.section--image {
  width: 100%;
}

.section--image img {
  width: 100%;
  height: auto;
}

/* --- Image Pair --- */
.section--image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.image-pair__item img {
  width: 100%;
  height: auto;
}

/* --- Video --- */
.section--video {
  width: 100%;
}

.section--video video {
  width: 100%;
  display: block;
}

/* --- Placeholder (shown when no image is assigned) --- */
.placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e8e8e8;
  border: 2px dashed #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder__label {
  font-family: monospace;
  font-size: 1.1rem;
  color: #222;
  letter-spacing: 0.05em;
  background: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
}

/* --- Text --- */
.section--text {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1rem;
  text-align: center;
}

.section--text p {
  margin-bottom: 1rem;
  color: #222;
}

.section--text p:last-child {
  margin-bottom: 0;
}


/* ── Footer ────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid #e0e0e0;
  padding: 3rem 1rem;
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #222;
}

.footer-gallery {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #222;
  margin-bottom: 0.4rem;
}

.footer-address {
  margin-bottom: 0.4rem;
}

.footer-contact {
  margin-bottom: 0.4rem;
}

.footer-contact a {
  color: #222;
}

.footer-contact a:hover {
  color: #222;
}

.footer-social {
  margin-bottom: 1rem;
}

.social-link {
  color: #222;
  margin: 0 0.5rem;
}

.social-link:hover {
  color: #222;
}

.back-to-top {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #222;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.back-to-top:hover {
  color: #222;
}


/* ── Responsive ────────────────────────────────────────── */

@media (max-width: 768px) {
  .masthead__title {
    font-size: 2.8rem;
    letter-spacing: 0.14em;
  }

  .masthead__subtitle {
    font-size: 1.4rem;
  }

  .artist-name {
    font-size: 2.2rem;
    letter-spacing: 0.12em;
  }

  .exhibition-title {
    font-size: 1.3rem;
  }

  .site-header {
    padding: 4rem 1rem 3rem;
  }

  .section--text {
    padding: 2rem 1rem;
  }

  .section--image-pair {
    grid-template-columns: 1fr;
  }

  #app {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .masthead__title {
    font-size: 2rem;
    letter-spacing: 0.1em;
  }

  .masthead__subtitle {
    font-size: 1.1rem;
  }

  .artist-name {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
  }

  .exhibition-title {
    font-size: 1.1rem;
  }

  .site-header {
    padding: 3rem 0.75rem 2rem;
  }

  .section--text {
    padding: 1.5rem 0.75rem;
  }

  #app {
    padding: 0 0.75rem;
  }
}
