 *, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Courier New', Courier, monospace;
}

body {
  background-color: #ffffff;
  color: #111111;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px 80px;
}

.container {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  animation: fadeIn 1.2s ease forwards;
}

.top-links {
  width: 100%;
  text-align: left;
}

.top-links a {
  color: #111;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #111;
  transition: opacity 0.2s;
}

.top-links a:hover {
  opacity: 0.5;
}

.folder-grid {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.folder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #111;
  font-size: 13px;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
  image-rendering: pixelated;
}

.folder:hover {
  opacity: 0.5;
}

.folder svg {
  image-rendering: pixelated;
  width: 72px;
  height: 64px;
}

.folder span {
  font-size: 13px;
  letter-spacing: 0.05em;
}

.folder-bottom-left {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  margin-top: 8px;
}

.hero {
  grid-column: 2;
  grid-row: 1 / 3;
}

.hero video {
  width: 100%;
  display: block;
}

.socials {
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.socials-right {
  margin-left: auto;
}

.socials a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.socials a:hover {
  color: #111;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.message-text {
  font-size: 28px;
  line-height: 1.6;
  max-width: 500px;
  text-align: center;
}

.back-link {
  font-size: 16px;
  color: #888;
  text-decoration: none;
  margin-top: 20px;
}

.back-link:hover {
  color: #111;
}

.archive-title {
  font-size: 36px;
  letter-spacing: 0.05em;
}

.archive-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.archive-link {
  font-size: 20px;
  color: #111;
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #111;
  width: fit-content;
  transition: opacity 0.2s;
}

.archive-link:hover {
  opacity: 0.5;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-overlay video {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}

.video-grid video {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
  cursor: pointer;
  background: #000;
}

.video-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  cursor: pointer;
}