/* THE DIRT - GLOBAL RESET */
* { box-sizing: border-box; }

body {
  background-color: #050505; /* Pitch Black */
  color: #b0b0b0; /* Ash Grey */
  font-family: 'Courier New', Courier, monospace;
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

/* THE RED LINE - Top border seen in intel */
.master-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  border-top: 3px solid #cc0000; /* The heavy red line */
}

/* THE ESCAPE HATCH - Back link */
.back-link {
  display: inline-block;
  color: #555;
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.back-link:hover { color: #cc0000; }

/* VISUAL EVIDENCE - The Artwork */
.artwork {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

/* THE HEAVY TITLES - Blocky and bold */
h1 {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 2.8rem;
  color: #ffffff;
  text-transform: uppercase;
  margin: 20px 0 10px 0;
  letter-spacing: 1px;
  line-height: 1.1;
}

/* THE DAMAGE - Pricing */
.price {
  color: #ff0000; /* Piercing Red */
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 20px;
}

/* THE GUTS - Materials Box */
.materials-box {
  background-color: #111111;
  padding: 15px;
  margin-bottom: 30px;
  font-size: 0.85rem;
}
.materials-label {
  color: #ffffff;
  font-weight: bold;
}

/* THE DESCENT - Paragraphs */
p {
  margin-bottom: 20px;
}

/* ========================================= */
/* THE ARCHIVE INDEX (FRONT DOOR COMPATIBILITY) */
/* ========================================= */
.top-nav {
  background-color: #0a0a0a;
  padding: 15px 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
  border-bottom: 1px solid #222;
}
.nav-link {
  color: #666;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 2px;
}
.nav-link:hover { color: #cc0000; }

header {
  padding: 40px 20px;
  text-align: center;
}
.subtext { color: #555; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem;}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}
.work-block {
  background-color: #0b0b0b;
  border: 1px solid #1a1a1a;
  padding: 25px 20px;
  text-align: center;
}
.work-block:hover { border-color: #cc0000; }
.work-block h2 {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 1.8rem;
  color: #fff;
  margin-top: 0;
  text-transform: uppercase;
}
.action-link {
  display: inline-block;
  color: #888;
  text-decoration: none;
  border: 1px solid #333;
  padding: 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.action-link:hover { background-color: #cc0000; color: #000; }
