:root {
  color-scheme: light;
  --ink: #1d1b1e;
  --muted: #706a70;
  --line: #ded8df;
  --paper: #fbfafb;
  --card: #fff;
  --accent: #6a3b6e;
  --shell: 1200px;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.shell { width: min(calc(100% - 32px), var(--shell)); margin: 0 auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-row { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-weight: 750; text-decoration: none; letter-spacing: .01em; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a:focus-visible, .work a:hover, .work a:focus-visible { color: var(--accent); }
main { padding: 48px 0 64px; }
.intro { max-width: 760px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
h1 { margin: 0 0 12px; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; }
.intro > p:last-of-type { margin: 0; color: var(--muted); font-size: 1.1rem; }
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.card-link { min-height: 126px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-decoration: none; }
.card-link:hover, .card-link:focus-visible { border-color: var(--accent); }
.card-link span { color: var(--muted); }
.gallery-section + .gallery-section { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.gallery-section h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px 18px; }
.work { margin: 0; min-width: 0; }
.work img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #f0edf0; border: 1px solid var(--line); border-radius: 8px; }
figcaption { padding: 9px 2px 0; color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
figcaption a { color: var(--accent); }
.site-footer { padding: 24px 0; color: var(--muted); border-top: 1px solid var(--line); font-size: .88rem; }
@media (max-width: 600px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .header-row { min-height: 58px; }
  main { padding: 32px 0 48px; }
  .links { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  figcaption { font-size: .78rem; }
}

