/* ver140 — placeholder styles */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: monospace;
  background: #fff;
  color: #000;
  padding: 2rem;
}

nav {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  margin-bottom: 3rem;
}

nav h1 { font-size: 1rem; }
nav h1 a { text-decoration: none; color: inherit; }

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul a {
  text-decoration: none;
  color: inherit;
  font-size: 0.9rem;
}

nav ul a:hover { text-decoration: underline; }

/* about */
.about-text p { line-height: 1.8; margin-bottom: 1.5rem; }

/* news */
.news-list { list-style: none; display: flex; flex-direction: column; gap: 2rem; }
.news-item { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; }
.news-date { font-size: 0.8rem; color: #888; padding-top: 0.2rem; }
.news-item h2 { font-size: 1rem; margin-bottom: 0.5rem; }
.news-item img { max-width: 100%; margin: 0.5rem 0; }
.news-item p { font-size: 0.9rem; line-height: 1.7; }

/* works */
.works-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.work-item { cursor: pointer; }
.work-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.no-img { width: 100%; aspect-ratio: 4/3; background: #eee; }
.work-info { padding: 0.5rem 0; }
.work-item h2 { font-size: 0.85rem; }
.work-cat { font-size: 0.75rem; color: #888; }
.work-date { font-size: 0.75rem; color: #888; }

/* modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 100;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: #fff;
  max-width: 640px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}
.modal img { max-width: 100%; margin-bottom: 1rem; }
.modal-media iframe { width: 100%; aspect-ratio: 16/9; margin-bottom: 1rem; }
.modal h2 { font-size: 1rem; margin-bottom: 0.5rem; }
.modal p { font-size: 0.9rem; line-height: 1.7; margin-top: 0.8rem; }

.empty { color: #aaa; font-size: 0.9rem; }

/* top link list */
.link-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.link-list a { text-decoration: none; color: inherit; font-size: 0.9rem; }
.link-list a:hover { text-decoration: underline; }

/* media */
.media-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.media-item { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; }
.media-date { font-size: 0.8rem; color: #888; padding-top: 0.2rem; }
.media-source { font-size: 0.75rem; color: #888; display: block; margin-bottom: 0.2rem; }
.media-item h2 { font-size: 0.9rem; }
.media-item h2 a { color: inherit; }
.media-item h2 a:hover { text-decoration: none; opacity: 0.7; }
.media-item p { font-size: 0.85rem; line-height: 1.7; margin-top: 0.4rem; color: #444; }

/* work link */
.work-link { display: inline-block; margin-top: 0.8rem; font-size: 0.85rem; color: inherit; }
