/* Saltworks studio home.
   Same hand as the product pages: Instrument Sans, two weights (400/600),
   the same ruled type and spacing scales, the same paper. The studio surface
   is near-monochrome; its accent (a sea blue) appears only under the pointer. */

:root {
  /* color: one ink, one paper, one accent */
  --paper: #faf8f4;
  --ink: #1c1915;
  --ink-2: #57524a;      /* secondary text, 7.3:1 on paper */
  --ink-3: #736d63;      /* micro text, 4.9:1 on paper */
  --line: #e7e2d9;
  --accent: #23577e;     /* pressure only: hover on the product rows */

  /* type scale (ruled) */
  --s0: 13px;
  --s1: 15px;
  --s2: 17px;
  --s3: 21px;
  --s4: 26px;
  --s5: 34px;
  --s6: 44px;

  /* spacing scale (ruled) */
  --sp1: 4px;
  --sp2: 8px;
  --sp3: 12px;
  --sp4: 16px;
  --sp5: 24px;
  --sp6: 32px;
  --sp7: 48px;
  --sp8: 64px;
  --sp9: 96px;
}

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

body {
  font-family: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;
  font-size: var(--s2);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--sp5);
}

/* ---------- masthead ---------- */

.masthead {
  padding-top: var(--sp9);
  padding-bottom: var(--sp8);
}

.wordmark {
  font-size: var(--s6);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: var(--sp4);
}

.lede {
  font-size: var(--s2);
  color: var(--ink-2);
  max-width: 46ch;
}

.lede em { font-style: italic; }

/* ---------- catalog ---------- */

.catalog {
  padding-bottom: var(--sp8);
}

.catalog-label {
  font-size: var(--s0);
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: var(--sp3);
}

.product {
  display: block;
  padding: var(--sp5) 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.product:last-child { border-bottom: 1px solid var(--line); }

.product-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp4);
  margin-bottom: var(--sp2);
}

.product-name {
  font-size: var(--s3);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product:hover .product-name { color: var(--accent); }

.product-price {
  font-size: var(--s1);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.product-line {
  display: block;
  font-size: var(--s1);
  color: var(--ink-2);
  max-width: 56ch;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--sp6) 0;
}

.site-footer p {
  font-size: var(--s0);
  color: var(--ink-3);
}

.site-footer p + p { margin-top: var(--sp1); }

.site-footer a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer a:hover { color: var(--ink); }

/* ---------- narrow ---------- */

@media (max-width: 600px) {
  .masthead { padding-top: var(--sp8); padding-bottom: var(--sp7); }

  .wordmark { font-size: var(--s5); }

  .catalog { padding-bottom: var(--sp8); }

  .product-head {
    flex-direction: column;
    gap: var(--sp1);
  }
}
