/* minimal, text-first style inspired by early-personal sites */
:root {
  --bg: #fafafa;
  --fg: #111;
  --muted: #666;
  --link: #0b57d0;
  --rule: #e5e5e5;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --serif: ui-serif, Georgia, "Times New Roman", serif;
}
.imgtxt {
  width: fit-content;
  height: fit-content;
  display: inline-block;
  position: relative;
}
.imgtxt span {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  font-size: 2.5rem;
  color: #FFF;
  filter: drop-shadow(1px 1px 0 black) 
    drop-shadow(-1px 1px 0 black)
    drop-shadow(1px -1px 0 black)
    drop-shadow(-1px -1px 0 black);
}
.imgtxt:hover span, .imgtxt:focus span {
  opacity: 1;
}
.imgtxt:hover img, .imgtxt:focus img {
  /* add hover effects like transform or filter to your images here! */
}
	
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.6 var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: 720px;
  padding: 24px 16px;
  margin: 0 auto;
}

h1, h2 { font-family: var(--mono); font-weight: 600; margin: 0 0 8px; }
h1 { font-size: 20px; letter-spacing: 0.2px; }
h2 { font-size: 14px; text-transform: lowercase; margin-top: 24px; }

.nav {
  display: flex; gap: 16px; margin: 6px 0 10px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 13px;
}
.nav a {
  color: var(--fg); text-decoration: none; border-bottom: 1px solid transparent;
}
.nav a:hover { border-color: var(--fg); }
.nav a[aria-current="page"] { border-color: var(--fg); }
.nav .ghost { color: var(--muted); }

.intro p { margin: 0 0 8px; }
.muted { color: var(--muted); }

.list ul { list-style: none; padding: 0; margin: 8px 0 0; }
.list li { padding: 6px 0; border-top: 1px solid var(--rule); }
.list li:first-child { border-top: none; }
.list time { font-family: var(--mono); font-size: 12px; margin-right: 8px; color: var(--muted); }

.grid.two {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .grid.two { grid-template-columns: 1.2fr .8fr; }
}

.foot { border-top: 1px solid var(--rule); color: var(--muted); }

/* Slider */
.slider { margin-top: 8px; }
.frame {
  margin: 0 0 8px;
  border: 1px solid var(--rule);
  background: #fff;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
}
.frame figcaption { padding: 8px; font-size: 12px; color: var(--muted); }

.controls {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 8px;
  font-family: var(--mono);
}
.btn {
  appearance: none; border: 1px solid var(--rule); background: #fff;
  padding: 6px 10px; border-radius: 4px; cursor: pointer; font-family: var(--mono);
}
.btn:hover { border-color: var(--fg); }
.count { font-size: 12px; color: var(--muted); }

.thumbs {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
  list-style: none; padding: 0; margin: 0;
}
.thumbs .thumb {
  padding: 0; border: 1px solid var(--rule); background: #fff; cursor: pointer;
  border-radius: 4px; overflow: hidden; width: 100%; aspect-ratio: 1 / 1;
}
.thumbs .thumb.is-active { outline: 2px solid var(--fg); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }