:root {
  --pink: #f7c7e3;
  --grey: #ededed;
  --ink: #111;
  --periwinkle: #aebdf2;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }

.mono { font-family: "Courier New", Courier, monospace; }

/* ---- top nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.6rem;
}
.nav .logo {
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
}
.nav nav { display: flex; gap: 1.6rem; align-items: baseline; }
.nav nav a {
  text-decoration: none;
  font-size: 1rem;
}
.nav nav a:hover { text-decoration: underline; }
.nav .soon {
  font-size: 1rem;
  opacity: 0.35;
  cursor: default;
}
.nav .soon::after {
  content: " *soon";
  font-family: "Courier New", Courier, monospace;
  font-size: 0.65rem;
}

/* hand-drawn line under the nav — transparent, so it floats on the page */
.squiggle {
  position: sticky;
  top: 3.3rem;
  z-index: 40;
  height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 12' preserveAspectRatio='none'><path d='M0 6 C 18 3.5 36 3 54 5.5 C 74 8.2 92 9 112 7 C 134 4.8 150 3.2 172 4.5 C 196 6 214 8.5 238 7.5 C 262 6.4 278 3.6 302 4 C 326 4.5 344 7.8 368 7.2 C 380 6.9 390 6.2 400 6' fill='none' stroke='%23111' stroke-width='1.7' stroke-linecap='round'/></svg>") repeat-x;
  background-size: 400px 12px;
}

/* ---- shared detail-page layout ---- */
.product {
  background: var(--grey);
  min-height: 100vh;
  padding: 1.5rem 2rem 4rem;
}
.product .objnum {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
}
.product h1 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 3rem;
  max-width: 12ch;
}
.product .cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.product .what {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.product .what h2 {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.product .what p { font-size: 1.25rem; line-height: 1.4; margin-bottom: 1.4rem; }
.product figure img.main {
  /* natural proportions — never crop the photo to a fixed box */
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 78vh;
}
.product .thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  justify-content: flex-end;
}
.product .thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
}
.product .thumbs img.active { border-color: var(--ink); }
.product .backlink {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.95rem;
  display: inline-block;
  margin-bottom: 2.5rem;
}
.placeholder-box {
  border: 2px dashed #999;
  padding: 4rem 2rem;
  text-align: center;
  font-family: "Courier New", Courier, monospace;
  color: #777;
}

@media (max-width: 860px) {
  .product .cols { grid-template-columns: 1fr; }
  .product .what { grid-template-columns: 1fr; gap: 0.6rem; }
  .nav nav { gap: 1rem; }
  .nav nav a, .nav .soon { font-size: 0.9rem; }
}
