/* =========================================
   Base Reset + Typography
========================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: #0f0f10;
  color: #e8e6e3;
  line-height: 1.5;
}

/* =========================================
   Header
========================================= */

.site-header {
  padding: 2.5rem 2rem 1.5rem;
  border-bottom: 1px solid #2a2a2d;
}

.site-header h1 {
  font-size: 2rem;
  letter-spacing: 0.05em;
}

.tagline {
  font-size: 0.95rem;
  color: #a8a6a2;
  margin-top: 0.25rem;
}

/* =========================================
   Gallery Grid
========================================= */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

/* =========================================
   Project Card
========================================= */

.project-card {
  text-decoration: none;
  color: inherit;
  display: block;
  background: #161618;
  border: 1px solid #2a2a2d;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  border-color: #555;
}

/* Thumbnail */

.thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #111,
    #1a1a1d
  );
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Metadata */

.meta {
  padding: 0.75rem 1rem 1rem;
}

.meta h2 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.meta p {
  font-size: 0.85rem;
  color: #a8a6a2;
}

/* =========================================
   Project Page
========================================= */

.project-header {
  padding: 2.5rem 2rem 1.5rem;
  border-bottom: 1px solid #2a2a2d;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: #a8a6a2;
  text-decoration: none;
  font-size: 0.9rem;
}

.back-link:hover {
  color: #e8e6e3;
}

.project-header h1 {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.project-medium {
  color: #a8a6a2;
  font-size: 1rem;
}

.project-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.project-hero img {
  width: 100%;
  display: block;
  border: 1px solid #2a2a2d;
  background: #111;
}

.project-intro {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  font-size: 1rem;
  color: #d7d4d0;
}

.project-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.detail-block {
  background: #161618;
  border: 1px solid #2a2a2d;
  padding: 1rem;
}

.detail-block h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.detail-block p {
  font-size: 0.95rem;
  color: #bdb9b4;
}

.project-gallery {
  margin-top: 3rem;
}

.project-gallery h2,
.project-notes h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-strip img {
  width: 100%;
  display: block;
  border: 1px solid #2a2a2d;
  background: #111;
}

.project-notes {
  margin-top: 3rem;
  padding-bottom: 3rem;
}

.project-notes p {
  color: #c8c4bf;
}
/* =========================================
   Primary Action (Video / Interactive)
========================================= */

.project-primary {
  margin-top: 1.5rem;
}

.primary-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 1px solid #555;
  text-decoration: none;
  color: #e8e6e3;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.primary-button:hover {
  background: #222;
  border-color: #888;
}