:root {
  --ink: #1b2430;
  --muted: #5c6774;
  --paper: #f4f1ea;
  --card: #fffdf8;
  --line: #d9d2c5;
  --accent: #2a6f7f;
  --accent-soft: #d7e6ea;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1040px, calc(100% - 40px)); margin: 0 auto; }
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0 22px; border-bottom: 1px solid var(--line);
}
.mark { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.pebble {
  width: 28px; height: 22px; border-radius: 14px 10px 16px 9px;
  background: linear-gradient(135deg, #3d8ea0, #1e4d5a);
}
.word { font-weight: 650; letter-spacing: .02em; }
.word span { font-weight: 500; color: var(--muted); }
nav { display: flex; gap: 22px; font-size: 0.95rem; }
nav a { color: var(--ink); }
.hero { padding: 76px 0 56px; max-width: 740px; }
.hero p.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 0.74rem; color: var(--accent); margin: 0 0 16px; }
h1, h2, h3 { font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif; font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin: 0 0 18px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 72px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 22px 26px; min-height: 190px;
}
.card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }
.page { padding: 48px 0 80px; max-width: 760px; }
.page h1 { font-size: 2.4rem; }
.work { display: grid; gap: 16px; }
.work article { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.meta { font-size: 0.82rem; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; }
footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 0.92rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 800px) { .grid { grid-template-columns: 1fr; } header, footer { flex-direction: column; align-items: flex-start; } }
