:root { color-scheme: dark; --bg:#111; --fg:#ececec; --muted:#9a9a9a; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: Georgia, "Times New Roman", serif; }
img { max-width: 100%; display: block; }

.hero { position: relative; background: #000; }
.hero > img { width: 100%; height: min(70vh, 640px); object-fit: cover; object-position: center; }
.hero-title { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 10px; }
.hero-title h1 { margin: 0; font-size: 1.4rem; font-weight: 400; letter-spacing: .02em; text-shadow: 0 1px 8px #000; }
.mark { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.intro {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  grid-template-areas: "portrait es en box";
  gap: 36px 40px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 28px 36px;
  border-bottom: 1px solid #2a2a2a;
}
.intro-portrait {
  grid-area: portrait;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}
.intro-box {
  grid-area: box;
  height: 280px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.copy { min-width: 0; }
.copy-es { grid-area: es; }
.copy-en { grid-area: en; border-left: 1px solid #2a2a2a; padding-left: 40px; margin-left: -8px; }
.copy .lang {
  margin: 0 0 12px;
  font-family: system-ui, sans-serif;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.copy p:last-child {
  margin: 0;
  font-size: .98rem;
  line-height: 1.62;
}

.gallery { max-width: 1100px; margin: 0 auto; padding: 28px 16px 64px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.grid button {
  margin: 0; padding: 0; border: 0; background: #1a1a1a;
  aspect-ratio: 1; overflow: hidden; cursor: zoom-in; width: 100%;
}
.grid img { width: 100%; height: 100%; object-fit: cover; }

.lightbox {
  border: 0; padding: 0; margin: 0;
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  background: rgba(0,0,0,.94);
}
.lightbox::backdrop { background: #000; }
.lightbox img {
  position: absolute; inset: 0; margin: auto;
  max-width: 100vw; max-height: 100vh; width: auto; height: auto;
  object-fit: contain; cursor: zoom-out;
}
.lightbox .close, .lightbox .nav {
  position: absolute; z-index: 2; background: transparent; border: 0;
  color: #fff; cursor: pointer; line-height: 1;
}
.lightbox .close { top: 12px; right: 18px; font-size: 32px; }
.lightbox .prev { left: 12px; top: 50%; transform: translateY(-50%); font-size: 48px; }
.lightbox .next { right: 12px; top: 50%; transform: translateY(-50%); font-size: 48px; }

footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 0 0 40px; }

@media (max-width: 1100px) {
  .intro {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "portrait box"
      "es en";
    justify-items: center;
    gap: 28px 32px;
  }
  .copy-en { border-left: 0; padding-left: 0; margin-left: 0; }
  .copy { justify-self: stretch; }
}

@media (max-width: 720px) {
  .intro {
    grid-template-columns: 1fr;
    grid-template-areas:
      "portrait"
      "es"
      "en"
      "box";
  }
  .intro-portrait { width: 220px; height: 220px; }
  .intro-box { height: 220px; max-width: 180px; }
  .copy-en { border-top: 1px solid #2a2a2a; padding-top: 24px; }
}
