/* simmons — Spline Sans Mono, left menu, the work. nothing else. */

* { box-sizing: border-box; }

:root {
  --ink: #161616;
  --muted: #9a9a9a;
  --paper: #ffffff;
  --menu-w: 220px;
  --pad: clamp(1.25rem, 3.5vw, 3rem);
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---- left menu ---- */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--menu-w);
  height: 100vh;
  height: 100svh;
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.menu .name { margin-bottom: 0.8rem; }
.menu .name {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
/* grouped / sectioned menu */
.menu-group { display: flex; flex-direction: column; gap: 0.3rem; }
.menu-cat {
  color: var(--ink);
  font-weight: 500;
}
.menu ul {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.menu li { padding-left: 0.9rem; }
.menu-link {
  color: var(--muted);
  transition: color 0.18s ease;
}
/* a category that is itself a link (empty category / shows) reads as a header */
.menu-cat.menu-link { color: var(--ink); }
.menu-cat.menu-link:not(.active) { color: var(--ink); }
.menu-link:hover { color: #000; }
.menu-link.active { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---- content ---- */
#content {
  padding: var(--pad);
}
.section { display: none; }
.section.active { display: block; }
/* center the painting column in the middle of the screen (menu is a fixed overlay) */
.section {
  max-width: 760px;
  margin-inline: auto;
}

.work {
  display: block;
  width: 100%;
  margin: 0 0 var(--pad);
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.work:last-child { margin-bottom: 0; }
.work img {
  display: block;
  width: 100%;
  height: auto;
  background: #f4f4f4;
}

.section .empty {
  color: var(--muted);
}

/* shows = text */
.section-text { text-align: left; }
.shows-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.shows-list li { color: var(--ink); }
.shows-list li span { color: var(--muted); margin-right: 0.6rem; }

/* ---- viewer ---- */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  cursor: zoom-out;
}
.viewer[hidden] { display: none; }
.viewer img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  background: #f4f4f4;
}

/* ---- mobile: menu on top ---- */
@media (max-width: 720px) {
  .menu {
    position: static;
    width: 100%;
    height: auto;
    gap: 1rem;
    padding-bottom: 0;
  }
  .menu ul { flex-flow: row wrap; gap: 0.25rem 1.25rem; }
  #content { margin-left: 0; max-width: none; }
}
