/* BAZODY's page: the house's mark, what it makes, and its works; LLULL's table, type and marks, as its microsite has. */
:root {
  --table: #131412; --ink: #ece6da; --muted: #979a92; --red: #b4502f; --edge: #3a3c37;
  --serif: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --blackletter: "UnifrakturMaguntia", var(--serif);
  --marks: "Century Gothic", CenturyGothic, "URW Gothic", "URW Gothic L", Futura, "Avenir Next", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--table); color: var(--ink); }
body { font: 19px/1.55 var(--serif); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

main { max-width: 960px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; border-bottom: 1px solid var(--edge); }
h2 { font: 400 15px/1 var(--serif); font-variant-caps: all-small-caps; letter-spacing: 0.18em; color: var(--muted); margin: 0 0 28px; }

/* the house: its mark large, the A in red; what it is in small capitals; what it makes */
.house { text-align: center; padding-top: 96px; }
.bazody { font: 700 22px/1 var(--marks); letter-spacing: 0.22em; margin: 0; }
.bazody.big { font-size: clamp(48px, 11vw, 96px); margin-right: -0.22em; }
.bazody .a { color: var(--red); }
a.bazody { color: inherit; text-decoration: none; }
.bazody.small { font-size: 0.88em; letter-spacing: 0.18em; }
.byline { font: 18px var(--serif); font-variant-caps: all-small-caps; letter-spacing: 0.14em; color: var(--muted); margin: 18px 0 34px; }
.rule { color: var(--red); margin: 0 0.5em; }
.about { max-width: 640px; margin: 0 auto; font-size: 21px; }

/* a work: its card beside its mark, what it is, and the way to it; the whole a link */
.work {
  display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 36px; align-items: center;
  text-decoration: none; color: inherit;
}
.work img { border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); transition: transform 0.2s; }
.work:hover img { transform: translateY(-3px) rotate(-1deg); }
.llull { font: 700 44px/1 var(--marks); letter-spacing: 0.1em; display: inline-flex; align-items: baseline; }
.llull .u { color: var(--red); }
.llull .back { display: inline-block; transform: scaleX(-1); }
.llull .back:nth-child(2) { margin-left: -0.08em; }
.work-byline { display: block; margin: 10px 0 16px; font: 15px var(--serif); font-variant-caps: all-small-caps; letter-spacing: 0.12em; color: var(--muted); }
.work p { margin: 0 0 18px; color: color-mix(in srgb, var(--ink) 88%, var(--table)); }
.go {
  display: inline-block; font: 500 20px var(--serif); color: var(--red); border: 1px solid var(--red); border-radius: 8px;
  padding: 6px 20px;
}
.work:hover .go { background: color-mix(in srgb, var(--red) 14%, transparent); }

.foot { max-width: 960px; margin: 0 auto; padding: 28px 20px 48px; font-size: 14px; color: var(--muted); }
.foot p { margin: 0; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .about { font-size: 18px; }
  .byline { letter-spacing: 0.08em; }
  .work { grid-template-columns: minmax(0, 1fr); }
  .work img { max-width: 260px; margin: 0 auto; }
}
