:root {
  --text: rgb(0, 0, 0);
  --link: rgb(0, 0, 0);
  --link-hover: rgb(0, 0, 255);

}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Geist', system-ui, sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: 1.5rem;      /* body text size (18px) */
  line-height: 1.6;
  color: var(--text);
  background: #cacbd0;
  padding-bottom: 10rem;
  box-sizing: border-box;

  /* moving gradient */
  /* background: linear-gradient(-45deg, #cacbd0, #668b74, #e1e8cc, #23a6d5);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;*/
}

/* keeps text in a readable column */
body > * {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

h1 {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 1.75rem);   /* scales with screen size */
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 4rem;
  margin-bottom: 0.5rem;
}

/* the "Ph.D in Design" line 
h1 + p {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.85;
}*/

p { margin-bottom: 1.4rem; }

/* links: color changes smoothly on hover and keyboard focus */
a {
  color: var(--link);
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 0px;
  text-decoration-thickness: 0px;
  transition: color 0.25s ease;
}
a:hover,
a:focus-visible {
  color: var(--link-hover);
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  a { transition: none; }
}
