:root {
  --ink: #111111;
  --muted: #555555;
  --line: #dcdcdc;
  --paper: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: min(58rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1rem 0 0.9rem;
  border-bottom: 1px solid var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.brand img { width: 78px; }

h1 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.mail {
  font-size: 0.95rem;
  text-decoration: none;
}

.mail:hover { text-decoration: underline; text-underline-offset: 0.18em; }

main {
  width: min(58rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 2.7rem 0 1rem;
}

.statement {
  max-width: 34rem;
  margin: 0 0 3rem;
  font-family: Newsreader, Georgia, serif;
  font-weight: 450;
  font-size: clamp(1.6rem, 3.2vw, 2.05rem);
  line-height: 1.25;
}

.kicker {
  margin: 0 0 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.catalog article {
  display: grid;
  grid-template-columns: 7.4rem 1fr;
  gap: 1.35rem;
  align-items: center;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.catalog article:last-child { border-bottom: 1px solid var(--line); }

h2 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: 1.65rem;
  line-height: 1.15;
}

.by {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.catalog p { margin: 0.4rem 0 0; max-width: 34rem; }

.buy {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.95rem;
  text-underline-offset: 0.18em;
}

.buy:hover { text-decoration: none; }

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.6rem;
}

.projects .card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  padding: 1.05rem 1rem 1.15rem;
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.card-logo {
  width: 100%;
  margin: 0;
  aspect-ratio: 500 / 191;
  line-height: 0;
}

.card-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.projects .card:hover { border-color: var(--ink); }

.projects strong {
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.15;
}

.projects span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.projects .card:hover strong { text-decoration: underline; text-underline-offset: 0.16em; }

.catalog { margin-top: 0.2rem; }

.colophon {
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  gap: 1.1rem;
  align-items: center;
  width: min(58rem, calc(100% - 3rem));
  margin: 2.4rem auto 0;
  padding: 1.4rem 0 2.2rem;
  border-top: 1px solid var(--ink);
}

.colophon p { margin: 0; max-width: 36rem; }

.links { margin-top: 0.45rem; }

.links a { text-underline-offset: 0.16em; }

@media (max-width: 700px) {
  .mast { align-items: flex-start; flex-wrap: wrap; }
  .catalog article,
  .projects,
  .colophon { grid-template-columns: 1fr; }
  .catalog img { width: min(11rem, 70%); }
  .colophon img { width: 4.6rem; }
}
