@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=IBM+Plex+Mono:wght@300;400&display=swap");

/* steerike: visual system.
   palette: cream + deep shadow, with subtle per-piece tonality shifts.
   type: serif body, mono for bibliographic captions.
   philosophy: the photographs do the talking. everything else gets out of their way. */

:root {
  --cream: #ebe2cf;
  --shadow: #1a1812;
  --dim: #8a7d61;
  --serif: "EB Garamond", Georgia, "Iowan Old Style", Cambria, serif;
  --mono: "IBM Plex Mono", Menlo, Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--cream);
  color: var(--shadow);
  font-family: var(--serif);
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

::selection { background: var(--shadow); color: var(--cream); }

/* ---------- corner furniture (shared across pages) ---------- */

.wordmark-tiny {
  position: fixed;
  top: 1.5rem;
  left: 2rem;
  z-index: 50;
  display: block;
  line-height: 0;
  transition: opacity 250ms ease;
}
.wordmark-tiny img {
  display: block;
  height: 19px;
  width: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.wordmark-tiny:hover { opacity: 0.7; }

/* a soft cream fade behind the pinned corner wordmark, so scrolling content
   doesn't read as a collision with the mark. desk page has no scroll, so it
   keeps its untouched paper texture. */
body:not(.desk)::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to bottom, var(--cream) 0%, var(--cream) 55%, transparent 100%);
  z-index: 49;
  pointer-events: none;
}

/* on the about page, the wordmark is the page itself, so hide the corner-s. */
body.about .corner-s { display: none; }

.volume-tiny {
  position: fixed;
  top: 2rem;
  right: 2rem;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: lowercase;
  z-index: 50;
}

.corner-s {
  position: fixed;
  bottom: 1.5rem;
  right: 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  z-index: 50;
  transition: opacity 300ms ease;
  opacity: 0.85;
}
.corner-s:hover { opacity: 1; }

.hint-tiny {
  position: fixed;
  bottom: 1.75rem;
  left: 2rem;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--dim);
  text-transform: lowercase;
  z-index: 50;
  opacity: 0.6;
}

.exit-link {
  position: fixed;
  top: 2rem;
  left: 2rem;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: lowercase;
  z-index: 50;
  transition: color 300ms ease;
}
.exit-link:hover { color: var(--shadow); }

/* ---------- homepage: the desk ----------
   the page is a sheet of cream paper. clicking drops a polaroid-shaped
   contact print at the cursor. shirts cycle through the catalog.
   the cursor is replaced by a small mark + the next piece's number. */

body.desk {
  height: 100vh;
  overflow: hidden;
  user-select: none;
  cursor: none;
  /* a faint paper texture made from two layered gradients. cheap and quiet. */
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(26,24,18,0.04) 0%, transparent 60%),
    var(--cream);
}

body.desk .desk-surface {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* invisible strip along the bottom: clicks here don't drop polaroids,
   and the OS cursor returns so the corner nav is easy to hit. */
body.desk .footer-safe {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 5rem;
  z-index: 40;
  cursor: auto;
}
@media (max-width: 720px) {
  body.desk .footer-safe { height: 6rem; }
}

body.desk .desk-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--shadow);
  pointer-events: none;
  transition: opacity 600ms ease;
}
body.desk .desk-empty.gone { opacity: 0; }
body.desk .desk-empty-line.dim { color: var(--dim); }

/* a single dropped polaroid. a print on cream paper, slight tilt. */
body.desk .polaroid {
  position: absolute;
  width: 168px;
  background: #f5ecda;
  padding: 8px 8px 36px;
  box-shadow:
    0 1px 1px rgba(26,24,18,0.18),
    0 8px 22px rgba(26,24,18,0.18),
    inset 0 0 0 0.5px rgba(26,24,18,0.08);
  cursor: pointer;
  transform-origin: center;
  opacity: 0;
  transition: opacity 320ms ease, transform 220ms ease;
  pointer-events: auto;
  will-change: transform, opacity;
}
body.desk .polaroid.shown { opacity: 1; }
body.desk .polaroid.leaving { opacity: 0; transition: opacity 320ms ease; }
body.desk .polaroid:hover { transform: var(--tilt) translateY(-3px) scale(1.02); z-index: 999; }
body.desk .polaroid img {
  display: block;
  width: 100%;
  height: 152px;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
body.desk .polaroid figcaption {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--shadow);
  text-align: center;
  margin-top: 8px;
  padding: 0 4px;
  line-height: 1.5;
}
body.desk .polaroid figcaption .dim { color: var(--dim); }

/* the custom cursor. follows the mouse, shows the next piece's number. */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 100;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  mix-blend-mode: multiply;
  transition: opacity 200ms ease;
}
.cursor.over-link .cursor-mark { content: "↗"; }
.cursor.hidden { opacity: 0; }
.cursor-mark {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--shadow);
  line-height: 1;
}
.cursor-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--dim);
  white-space: nowrap;
}
body.desk .cursor.over-piece .cursor-label::before { content: "open "; }
body.desk .cursor.over-piece .cursor-label { color: var(--shadow); }

/* corner navigation strip used on home + shop. */
.corner-nav {
  position: fixed;
  bottom: 1.6rem;
  right: 2rem;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--dim);
  text-transform: lowercase;
  z-index: 50;
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
}
.corner-nav a {
  color: var(--shadow);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
  padding: 0.4rem 0.1rem; /* enlarges hit target without changing visual size */
}
.corner-nav a:hover { border-bottom-color: var(--shadow); }
.corner-nav span { color: rgba(26,24,18,0.35); }
.corner-nav-bottom { position: static; justify-content: center; margin: 4rem auto 0; }

/* ---------- shop page ---------- */

body.shop {
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
}

body.shop .shop-content {
  max-width: 1180px;
  margin: 0 auto;
}

body.shop .shop-header {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: left;
}

body.shop .shop-numeral {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--dim);
  text-transform: lowercase;
  margin-bottom: 0.6rem;
}

body.shop .shop-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.005em;
  text-transform: lowercase;
  margin-bottom: 1rem;
}

body.shop .shop-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--shadow);
  max-width: 38em;
}

body.shop .shop-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem 2.5rem;
  margin: 2rem 0 4rem;
}

body.shop .tile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body.shop .tile-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(26,24,18,0.04);
  border: 0.5px solid rgba(26,24,18,0.18);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 320ms ease;
}
body.shop .tile-frame:hover { transform: translateY(-2px); }
body.shop .tile-frame:focus-visible { outline: 1px solid var(--shadow); outline-offset: 2px; }

body.shop .tile-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 380ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.shop .tile-slide.active { opacity: 1; }
body.shop .tile-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

body.shop .tile-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(235, 226, 207, 0.78);
  border: 0.5px solid rgba(26, 24, 18, 0.18);
  border-radius: 50%;
  color: var(--shadow);
  font-family: var(--serif);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 6;
  opacity: 0;
  transition: opacity 220ms ease, background 220ms ease;
  padding: 0;
  line-height: 1;
}
body.shop .tile-frame:hover .tile-arrow,
body.shop .tile-arrow:focus-visible { opacity: 1; }
body.shop .tile-arrow:hover { background: var(--cream); }
body.shop .tile-arrow-prev { left: 0.6rem; }
body.shop .tile-arrow-next { right: 0.6rem; }
@media (max-width: 720px) {
  body.shop .tile-arrow { opacity: 1; width: 2rem; height: 2rem; font-size: 1rem; }
}

body.shop .tile-dots {
  position: absolute;
  bottom: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 5;
}
body.shop .tile-dots .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(235,226,207,0.4);
  border: 0.5px solid rgba(26,24,18,0.4);
  cursor: pointer;
  transition: background 200ms ease;
}
body.shop .tile-dots .dot.active { background: var(--shadow); }

body.shop .tile-meta {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  align-items: baseline;
  column-gap: 0.85rem;
  line-height: 1.6;
  white-space: nowrap;
}
body.shop .tile-meta .num { color: var(--dim); }
body.shop .tile-meta .title { color: var(--shadow); font-style: italic; font-family: var(--serif); font-size: 0.95rem; letter-spacing: 0; }
body.shop .tile-meta .price { color: var(--dim); }

body.shop .tile-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: lowercase;
  padding-left: 4.1rem;
  margin-top: -0.25rem;
}
body.shop .tile-foot a,
body.shop .tile-foot button {
  color: var(--shadow);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  padding: 0;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
body.shop .tile-foot a:hover,
body.shop .tile-foot button:hover { border-bottom-color: var(--shadow); }
body.shop .tile-foot button.pending { color: var(--dim); }

/* ---------- lightbox (shop tile zoom) ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 18, 0.92);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  animation: lightbox-fade 220ms ease;
}
.lightbox.open { display: flex; }
@keyframes lightbox-fade { from { opacity: 0; } to { opacity: 1; } }

body.lightbox-locked { overflow: hidden; }

.lightbox-stage {
  position: relative;
  max-width: min(92vw, 1100px);
  max-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 84vh;
}
.lightbox-slide img {
  display: block;
  max-width: min(92vw, 1100px);
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(235, 226, 207, 0.92);
  border: 0.5px solid rgba(26, 24, 18, 0.18);
  border-radius: 50%;
  color: var(--shadow);
  font-family: var(--serif);
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 210;
  padding: 0;
  line-height: 1;
  transition: background 200ms ease, transform 200ms ease;
}
.lightbox-arrow:hover { background: var(--cream); }
.lightbox-arrow:active { transform: translateY(-50%) scale(0.96); }
.lightbox-arrow-prev { left: 1.75rem; }
.lightbox-arrow-next { right: 1.75rem; }

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: rgba(235, 226, 207, 0.85);
  background: transparent;
  border: 0;
  text-transform: lowercase;
  cursor: pointer;
  z-index: 211;
  padding: 0.4rem 0.5rem;
  transition: color 200ms ease;
}
.lightbox-close:hover { color: var(--cream); }

.lightbox-dots {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 210;
}
.lightbox-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(235, 226, 207, 0.32);
  cursor: pointer;
  transition: background 200ms ease;
}
.lightbox-dots .dot.active { background: var(--cream); }

@media (max-width: 720px) {
  .lightbox { padding: 3rem 0.5rem; }
  .lightbox-arrow { width: 2.4rem; height: 2.4rem; font-size: 1.2rem; }
  .lightbox-arrow-prev { left: 0.6rem; }
  .lightbox-arrow-next { right: 0.6rem; }
  .lightbox-close { top: 1rem; right: 1rem; }
  .lightbox-dots { bottom: 1.25rem; }
}

/* ---------- piece editorial pages ---------- */

body.piece {
  min-height: 100vh;
  padding: 6rem 2rem 8rem;
  line-height: 1.5;
}

body.piece .piece-content {
  max-width: 720px;
  margin: 0 auto;
}

body.piece .photo-large {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 4rem;
}

body.piece .piece-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.005em;
  margin-bottom: 0.5rem;
  text-transform: lowercase;
}

body.piece .piece-numeral {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--dim);
  text-transform: lowercase;
  margin-bottom: 0.25rem;
}

body.piece .piece-essay {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin: 2.5rem 0;
  max-width: 38em;
}

body.piece .piece-essay p + p { margin-top: 1.25rem; }

body.piece .biblio {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 2.1;
  text-transform: lowercase;
  border-top: 1px solid var(--shadow);
  border-bottom: 1px solid var(--shadow);
  padding: 1.75rem 0;
  margin: 2.5rem 0;
  display: grid;
  grid-template-columns: 8rem 1fr;
  row-gap: 0.25rem;
  column-gap: 1.5rem;
}

body.piece .biblio dt { color: var(--dim); }
body.piece .biblio dd { color: var(--shadow); }

body.piece .available {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 2.4;
  text-transform: lowercase;
  margin: 2.5rem 0 1.25rem;
}

body.piece .available-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
}

body.piece .available-label {
  color: var(--dim);
  margin-right: 0.5rem;
}

body.piece .sizes {
  display: inline-flex;
  gap: 0.15rem;
}

body.piece .size {
  display: inline-block;
  cursor: pointer;
  padding: 0.25rem 0.55rem;
  border: 1px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
  user-select: none;
}
body.piece .size:hover { border-color: var(--dim); }
body.piece .size.selected { border-color: var(--shadow); }

body.piece .reserve {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  border-bottom: 1px solid var(--shadow);
  padding-bottom: 2px;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: opacity 250ms ease;
}
body.piece .reserve:hover { opacity: 0.6; }
body.piece .reserve.pending { color: var(--dim); border-bottom-color: var(--dim); cursor: default; }

body.piece .next-piece {
  margin-top: 6rem;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--dim);
  text-transform: lowercase;
  display: flex;
  justify-content: space-between;
}

body.piece .next-piece a:hover { color: var(--shadow); }

/* ---------- about page ---------- */

body.about {
  min-height: 100vh;
  padding: 8rem 2rem 8rem;
}

body.about .about-content {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.75;
}

body.about h2 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: lowercase;
  color: var(--dim);
  margin: 4rem 0 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--shadow);
}
body.about h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

body.about p { margin-bottom: 1.25rem; }

body.about .pieces-index {
  list-style: none;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 2.6;
  text-transform: lowercase;
}

body.about .pieces-index li {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: baseline;
  column-gap: 1.5rem;
  border-bottom: 1px solid rgba(26, 24, 18, 0.15);
  padding: 0.25rem 0;
}

body.about .pieces-index .num { color: var(--dim); }
body.about .pieces-index .title { color: var(--shadow); }
body.about .pieces-index .place { color: var(--dim); text-align: right; }

body.about .pieces-index a {
  display: contents;
}
body.about .pieces-index li:hover .title { font-style: italic; }

body.about .meta-grid {
  display: grid;
  grid-template-columns: 8rem 1fr;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 2.1;
  text-transform: lowercase;
  row-gap: 0.25rem;
}
body.about .meta-grid dt { color: var(--dim); }

body.about .about-contact {
  min-height: calc(100vh - 16rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
body.about .contact-list {
  list-style: none;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  line-height: 2.6;
}
body.about .contact-list a {
  color: var(--shadow);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
  padding: 0.4rem 0.2rem;
}
body.about .contact-list a:hover { border-bottom-color: var(--shadow); }

/* ---------- found page ---------- */

body.found {
  min-height: 100vh;
  padding: 8rem 2rem 8rem;
}

body.found .found-content {
  max-width: 720px;
  margin: 0 auto;
}

body.found .found-pending {
  min-height: calc(100vh - 16rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
body.found .coming-soon {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--shadow);
}

body.found .found-intro {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 4rem;
  max-width: 38em;
}

body.found h2 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: lowercase;
  color: var(--dim);
  margin: 4rem 0 1.5rem;
}

/* a coordinate register, geocache-shaped. no map. */
body.found .register {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

body.found .entry {
  display: grid;
  grid-template-columns: 4rem 1fr;
  column-gap: 1.5rem;
  row-gap: 0.35rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(26, 24, 18, 0.15);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  line-height: 1.6;
}

body.found .entry-num {
  color: var(--dim);
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: start;
}

body.found .entry-coords {
  grid-column: 2;
  color: var(--shadow);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
  width: max-content;
}
body.found .entry-coords:hover { border-bottom-color: var(--shadow); }

body.found .entry-place {
  grid-column: 2;
  color: var(--dim);
}

body.found .entry-log {
  grid-column: 2;
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  line-height: 1.85;
}

body.found .entry-log li { color: var(--shadow); display: flex; gap: 1rem; }
body.found .entry-log .when { color: var(--dim); min-width: 4.5rem; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  body.shop .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .wordmark-tiny, .exit-link { left: 1.25rem; top: 1.25rem; }
  .volume-tiny { right: 1.25rem; top: 1.25rem; }
  .corner-s { right: 1.25rem; bottom: 1rem; }
  .hint-tiny { display: none; }

  body.desk { cursor: auto; }
  body.desk .cursor { display: none; }
  body.desk .polaroid { width: 132px; }
  body.desk .polaroid img { height: 116px; }
  .corner-nav { right: 1.25rem; bottom: 1.25rem; gap: 0.7rem; font-size: 10px; }
  .corner-nav a { padding: 0.6rem 0.2rem; } /* mobile tap target */

  body.shop { padding: 4.5rem 1.25rem 4rem; }
  body.shop .shop-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  body.shop .tile-meta { grid-template-columns: 2.25rem 1fr auto; }
  body.shop .tile-foot { padding-left: 0; }

  body.piece { padding: 4.5rem 1.25rem 6rem; }
  body.piece .biblio { grid-template-columns: 6rem 1fr; column-gap: 1rem; }

  body.about { padding: 5rem 1.25rem 5rem; }
  body.about .pieces-index li { grid-template-columns: 2rem 1fr; column-gap: 1rem; }
  body.about .pieces-index .place { display: none; }

  body.found { padding: 5rem 1.25rem 5rem; }
  body.found .entry { grid-template-columns: 3rem 1fr; column-gap: 1rem; }
}

/* ---------- a small mercy for those who hate motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  body.flip .photo { transition: opacity 100ms !important; }
}
