/* One stylesheet for the whole site. Studio pages are neutral; body.cp takes Curated Pieces' palette. */
:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --text: #1c1a17;
  --muted: #5f5a52;
  --line: #ddd8cf;
  --accent: #1c1a17;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151412;
    --surface: #1d1c19;
    --text: #ece8e0;
    --muted: #a39c90;
    --line: #33302b;
    --accent: #ece8e0;
  }
}
/* Curated Pieces is always dark: the museum after hours */
body.cp {
  --bg: #14110d;
  --surface: #1e1813;
  --text: #efe4d1;
  --muted: #b3a48a;
  --line: #3a2e21;
  --accent: #c2a05a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--sans);
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; padding-bottom: 1.1rem; flex-wrap: wrap; }
.brand { font: 600 0.8rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; color: var(--text); }
nav a { margin-left: 1.25rem; font-size: 0.9rem; color: var(--muted); text-decoration: none; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current] { color: var(--text); }

main { padding: 3.5rem 0 4rem; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin: 0 0 1rem; }
h2 { font-size: 1.5rem; margin: 2.75rem 0 0.5rem; }
h3 { font: 600 1rem/1.4 var(--sans); margin: 1.75rem 0 0.25rem; }
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; }
a { color: var(--accent); text-underline-offset: 3px; }
.eyebrow { font: 600 0.75rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
body.cp .eyebrow { color: var(--accent); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.muted { color: var(--muted); }
.mark { width: 44px; height: 44px; display: block; margin-bottom: 1.5rem; }

.apps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1rem; }
.apps a { display: block; padding: 1.4rem 1.5rem; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.apps a:hover { border-color: var(--muted); }
.apps strong { display: block; font: 500 1.5rem/1.2 var(--serif); margin-bottom: 0.3rem; }
.apps span { color: var(--muted); font-size: 0.95rem; }

.note { padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); }

footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
footer.site .wrap { padding-top: 1.5rem; padding-bottom: 2.5rem; display: flex; gap: 1.25rem; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
