*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f0efed;
  --text: #1a1a1a;
  --text-light: #666666;
  --border: #d0ceca;
  --max-width: 1200px;
  --font: 'Inter', system-ui, sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--text-light);
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2rem 3rem;
  border-bottom: 1px solid var(--border);
}

.site-title {
  font-size: 14px;
  font-weight: 4
  00;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 2.5rem;
  font-size: 13px;
  letter-spacing: 0.03em;
}

/* MAIN */
main {
  flex: 1;
  padding: 3rem;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

/* FOOTER */
footer {
  padding: 2rem 3rem;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-light);
}
/* PROJECT GRID */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
}

.project-item {
  display: block;
}

.project-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--border);
  margin-bottom: 0.75rem;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
}

.project-year {
  color: var(--text-light);
}
/* PROJECT PAGE */
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.project-title-large {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.project-year-large {
  font-size: 13px;
  color: var(--text-light);
}

/* IMAGE GRID */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.image-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* MOBILE */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  nav {
    gap: 1.5rem;
  }

  main {
    padding: 1.5rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }
}
cat > src/_includes/project.njk << 'EOF'
---
layout: base.njk
---

<div class="project-header">
  <h1 class="project-title-large">{{ title }}</h1>
  <span class="project-year-large">{{ year }}</span>
</div>

<div class="image-grid">
  {% for image in images %}
  <figure class="image-item">
    <img src="{{ image.src }}" alt="{{ image.title }}">
    <figcaption>
      <span class="caption-title">{{ image.title }}</span>
      <span class="caption-details">{{ image.medium }}, {{ image.dimensions }}, {{ image.date }}</span>
      {% if image.collection %}
      <span class="caption-collection">{{ image.collection }}</span>
      {% endif %}
    </figcaption>
  </figure>
  {% endfor %}
</div>
EOF
/* CAPTIONS */
figure {
  margin: 0;
}

figcaption {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.caption-title {
  font-size: 12px;
  font-weight: 400;
  color: var(--text);
}

.caption-details {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-light);
}

.caption-collection {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-light);
  font-style: italic;
}
/* TEXT PAGES */
.text-page {
  max-width: 680px;
}

.text-content p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* PRESS */
.press-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.press-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.press-source {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
}

.press-title {
  font-size: 14px;
  font-weight: 400;
}

.press-date {
  font-size: 11px;
  color: var(--text-light);
}

.press-excerpt {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  margin-top: 0.5rem;
  color: var(--text);
}
/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 480px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
}

.form-field input,
.form-field textarea {
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.6rem 0.8rem;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 300;
  color: var(--text);
  width: 100%;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--text);
}

.contact-form button {
  align-self: flex-start;
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 0.6rem 1.5rem;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--text-light);
}
/* ACTIVE NAV */
nav a.active {
  color: var(--text);
  border-bottom: 1px solid var(--text);
}

/* PROJECTS INDEX - smaller thumbnails */
.project-grid.small .project-thumb {
  aspect-ratio: 4/3;
}

.project-grid.small {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

/* INDIVIDUAL PROJECT PAGE - full width single column */
.image-stack {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.image-stack .image-item img {
  width: 100%;
  height: auto;
  display: block;
}

.image-stack figcaption {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
/* PRESS COLUMNS */
.press-columns {
  column-count: 3;
  column-gap: 2.5rem;
  column-rule: 1px solid var(--border);
}

.press-entry {
  break-inside: avoid;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.press-entry-header {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}

.press-entry-type {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.press-entry-title {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

.press-entry-date {
  font-size: 11px;
  color: var(--text-light);
}

.press-entry-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.press-download {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--text);
  padding-bottom: 1px;
}

.press-photos {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.press-photos img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .press-columns {
    column-count: 1;
  }
}
/* BIO PAGE */
.bio-page {
  max-width: 680px;
}

.bio-essay p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.bio-byline {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-light);
  margin-bottom: 1.5rem !important;
}

.bio-exhibitions {
  margin-top: 3rem;
}

.bio-section-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  margin-top: 2.5rem;
}

.bio-year-group {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bio-year {
  font-size: 12px;
  color: var(--text-light);
  padding-top: 0.15rem;
}

.bio-show-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bio-show-list li {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
}
/* EPHEMERA IMAGES */
.press-entry img {
  width: 100%;
  height: auto;
  max-height: 225px;
  object-fit: contain;
  object-position: left;
  display: block;
  margin-bottom: 0.5rem;
  background-color: transparent;
  filter: saturate(0.85);
  transition: filter 0.3s ease;
}

.press-entry img:hover {
  filter: saturate(1);
}
/* PROJECT PAGE IMAGES */
.project-page img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  object-position: left;
  display: block;
  margin-bottom: 0.5rem;
}
/* HOMEPAGE PROJECT ENTRIES */
.project-entry img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  object-position: left;
  display: block;
  margin-bottom: 0.75rem;
  filter: none;
  transition: opacity 0.2s ease;
}

.project-entry img:hover {
  opacity: 0.85;
}

.project-entry-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.project-entry-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
}

.project-entry-title:hover {
  color: var(--text-light);
}

.project-entry-details {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.03em;
}
/* HOMEPAGE GRID (replaces column layout) */
.project-grid-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

.project-grid-index .project-entry {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

@media (max-width: 768px) {
  .project-grid-index {
    grid-template-columns: 1fr;
  }
}
/* HOMEPAGE INTRO TEXT */
.homepage-intro {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
/* BIO PAGE TWO-COLUMN HEADER */
.bio-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.bio-portrait {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .bio-header {
    grid-template-columns: 1fr;
  }
}
/* BIO JUMP LINK */
.bio-jump {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
}

.bio-jump:hover {
  color: var(--text);
}