
/* ==========================================================
   CORAL GRIEF — PROJECT PAGE
   ========================================================== */

/*
   Shared introduction, logo alignment,
   sizing and animations:
   project-intro.css

   This stylesheet controls:
   - Coral Grief-specific colours
   - Camera logo sizing

   Load AFTER project-intro.css.
*/


/* ==========================================================
   01 — PAGE COLOURS
   ========================================================== */

/* Dark mode */

.coral-grief-page {
  background: var(--paper);
  color: var(--ink);

  --project-highlight: #543C46;
  --project-highlight-text: #F9EDF1;
  --project-description: #D1CDD5;
}


/* Light mode */

html[data-theme="light"] .coral-grief-page {
  --project-highlight: #D4E4F7;
  --project-highlight-text: #171822;
  --project-description: #494650;
}


/* ==========================================================
   02 — CAMERA LOGO
   Matches Catastrophic Transfer
   ========================================================== */

/* Camera logo container */

.coral-grief-page .portfolio-intro
.green-tool:has(img[src*="canon"]) {
  justify-items: center;
  text-align: center;
}


/* Camera logo image */

.coral-grief-page .portfolio-intro
.green-tool img[src*="canon"] {
  width: 50px;
  height: 42px;
  max-width: none;

  object-fit: contain;
  justify-self: center;
}


/* Camera caption */

.coral-grief-page .portfolio-intro
.green-tool:has(img[src*="canon"]) span {
  justify-self: center;
  text-align: center;
  white-space: nowrap;
}
