/* First-view refinements: keep the image dominant and the type restrained. */
.landing-nav {
  position: absolute;
  top: 42px;
  right: 4vw;
  align-items: flex-end;
  text-align: right;
}

.landing-intro {
  max-width: 470px;
  padding-bottom: 32px;
}

.landing-intro h1 {
  font-size: clamp(34px, 3.55vw, 58px);
}

.intro-copy {
  margin-top: 18px;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(12px, 0.9vw, 15px);
  line-height: 1.55;
}

.intro-copy p {
  margin: 0;
}

.intro-copy p + p {
  max-width: 430px;
  margin-top: 9px;
}

@media (max-width: 720px) {
  .landing-nav {
    top: 25px;
    right: 6vw;
  }

  .landing-intro h1 {
    font-size: 39px;
  }

  .intro-copy {
    font-size: 12px;
  }

  .intro-copy p + p {
    max-width: 300px;
  }
}

.writing-section {
  background: #e9e6df;
}

.about-section {
  background: #d2ccc1;
}

.photography-archive {
  padding-top: 88px;
}

.photography-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 76px;
}

.photography-header h2 {
  margin: 0;
  font-family: "Libre Baskerville", "Noto Sans SC", serif;
  font-size: clamp(32px, 4vw, 62px);
  font-weight: 400;
  line-height: 1;
}

.photo-series {
  padding: 20px 0 120px;
  border-top: 1px solid #c8c3ba;
}

.photo-series-heading {
  display: flex;
  justify-content: space-between;
  margin: 0 0 28px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .05em;
  color: #66625c;
}

.photo-series-heading p {
  margin: 0;
}

.photo-hero {
  width: min(62%, 900px);
  margin: 0 0 18px;
}

.photo-series:nth-child(even) .photo-hero {
  margin-left: auto;
}

.photo-hero img,
.photo-details img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: opacity .25s ease;
}

.photo-series figure:hover img,
.photo-series img:focus-visible {
  opacity: .72;
  outline: none;
}

.photo-details {
  column-count: 3;
  column-gap: 18px;
}

.photo-details figure {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
}

.lightbox-open {
  overflow: hidden;
}

.photo-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 10vw;
  background: rgba(10, 10, 9, .96);
}

.photo-lightbox.is-open {
  display: flex;
}

.photo-lightbox figure {
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 100px);
  object-fit: contain;
}

.lightbox-counter {
  margin-top: 12px;
  color: #d7d3cb;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

.lightbox-close {
  top: 22px;
  right: 4vw;
  font-size: 28px;
  line-height: 1;
}

.lightbox-prev { left: 3vw; }
.lightbox-next { right: 3vw; }

@media (max-width: 720px) {
  .photography-archive {
    padding-top: 64px;
  }

  .photography-header {
    margin-bottom: 48px;
  }

  .photo-series {
    padding-bottom: 68px;
  }

  .photo-hero {
    width: 100%;
    margin-bottom: 10px;
  }

  .photo-details {
    column-count: 2;
    column-gap: 10px;
  }

  .photo-details figure {
    margin-bottom: 10px;
  }

  .photo-lightbox {
    padding: 70px 18px 42px;
  }

  .lightbox-image {
    max-height: calc(100vh - 128px);
  }

  .lightbox-nav {
    bottom: 18px;
  }

  .lightbox-prev { left: calc(50% - 54px); }
  .lightbox-next { right: calc(50% - 54px); }
}

.about-links h2 {
  margin: -5px 0 28px;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(23px, 2.7vw, 38px);
  font-weight: 400;
}

.about-links {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-left: 6vw;
}

.about-avatar {
  width: 145px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
}

.about-profile p {
  margin: 9px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-align: center;
}

.about-links a {
  display: table;
  margin-top: 12px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
}

@media (max-width: 720px) {
  .about-links {
    margin-left: 0;
    gap: 18px;
  }

  .about-avatar {
    width: 94px;
  }
}

.design-section {
  display: grid;
  grid-template-columns: 0.75fr 2.15fr;
  gap: 5vw;
  background: #171716;
}

.design-project h2 {
  margin: -10px 0 38px;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(22px, 2.35vw, 38px);
  font-weight: 400;
  line-height: 1.2;
}

.design-project h2 em {
  font-weight: 400;
  font-style: normal;
}

.vj-project {
  margin-bottom: 104px;
}

.vj-project h3 {
  margin: -5px 0 28px;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(23px, 2.7vw, 42px);
  font-weight: 400;
  line-height: 1.2;
}

.vj-player {
  position: relative;
  background: #050505;
}

.vj-player .design-video {
  position: relative;
  z-index: 1;
}

.vj-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.vj-play span {
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;
}

.vj-play[hidden] {
  display: none;
}

.vj-status {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 44px;
  margin: 0;
  color: #fff;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  text-shadow: 0 1px 4px #000;
}

.design-video {
  display: block;
  width: 100%;
  max-height: 76vh;
  background: #050505;
  object-fit: contain;
}

.still-gallery {
  margin-top: 104px;
}

.still-heading {
  margin: 0 0 34px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9b6af;
}

.still-set {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0 18px;
  margin: 0;
  padding: 25px 0 64px;
  border-top: 1px solid rgba(244, 242, 237, 0.26);
}

.still-index {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: #b9b6af;
}

.still-set-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(135px, 0.58fr);
  gap: 14px;
  align-items: start;
}

.still-set img {
  display: block;
  width: 100%;
  background: #060606;
  object-fit: cover;
}

.still-main {
  max-height: 76vh;
}

.still-details {
  display: grid;
  gap: 14px;
}

.still-details img {
  aspect-ratio: 1.22;
}

.still-set.is-single .still-set-grid {
  grid-template-columns: minmax(0, 1fr);
}

.still-set.is-single .still-main {
  width: 78%;
}

.video-collection {
  margin-top: 112px;
}

.video-collection h3 {
  margin: 0 0 36px;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(23px, 2.4vw, 38px);
  font-weight: 400;
  line-height: 1.2;
}

.environment-film {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  padding: 24px 0 56px;
  border-top: 1px solid rgba(244, 242, 237, 0.26);
}

.environment-film p {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: #b9b6af;
}

.environment-film video {
  display: block;
  width: 100%;
  max-height: 76vh;
  background: #050505;
}

@media (max-width: 720px) {
  .design-section {
    display: block;
  }

  .design-project h2 {
    margin: 32px 0 23px;
    font-size: 23px;
  }

  .vj-project {
    margin-bottom: 72px;
  }

  .vj-project h3 {
    margin: 32px 0 23px;
    font-size: 25px;
  }

  .design-video {
    max-height: none;
  }

  .still-gallery {
    margin-top: 72px;
  }

  .still-set {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0 42px;
  }

  .still-set-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(88px, 0.65fr);
    gap: 8px;
  }

  .still-details {
    gap: 8px;
  }

  .still-set.is-single .still-main {
    width: 100%;
  }

  .video-collection {
    margin-top: 72px;
  }

  .environment-film {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0 42px;
  }

  .environment-film video {
    max-height: none;
  }

  .vj-play {
    width: 58px;
    height: 58px;
  }
}
