:root {
  font-family: 'Helvetica Neue', Helvetica, Arial, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  color: #111;
  background-color: #ece4d7;
  line-height: 1.6;
  --content-width: 1080px;
  --gutter: 2rem;
  --border: 1px solid rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 2.5rem var(--gutter) 3rem;
  max-width: var(--content-width);
  min-height: 100vh;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.25);
}

a:hover,
a:focus {
  text-decoration-color: rgba(0, 0, 0, 0.65);
}

.site-header {
  border-bottom: var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
  color: rgba(0, 0, 0, 0.65);
}

.lede {
  max-width: 42ch;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.social-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 1px;
  line-height: 1.2;
}

.icon {
  width: 0.875rem;
  height: 0.875rem;
  display: inline-flex;
  opacity: 0.8;
  line-height: 0;
  position: relative;
  top: 0.08rem;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: var(--border);
  padding-top: 1.5rem;
  margin-bottom: 1rem;
}

.projects {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.work-section {
  margin-bottom: 2.5rem;
}

.work-body {
  border: var(--border);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.65);
}

.work-entry h3 {
  margin: 0;
}

.work-meta {
  margin: 0.25rem 0 0.75rem;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.95rem;
}

.cp-section {
  margin-top: 3rem;
}

.cp-body {
  border: var(--border);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.65);
}

.cp-instructions {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: rgba(0, 0, 0, 0.65);
}

.cp-body ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
}

.cp-body li {
  margin-bottom: 0.5rem;
}

.project-card {
  border: var(--border);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.project-summary {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-summary h3 {
  margin: 0;
  font-size: 1.25rem;
}

.project-description {
  margin: 0;
  color: rgba(17, 17, 17, 0.85);
}

.project-tags {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.project-links a {
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  padding-bottom: 1px;
}

.project-media {
  margin: 0;
}

.project-media video {
  width: 100%;
  border: var(--border);
  background: #fff;
}

.project-media figcaption {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.65);
}

footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 640px) {
  body {
    padding: 1.5rem var(--gutter) 2rem;
  }

  .project-card {
    padding: 1.25rem;
  }
}
