
/* ==========================================================
   OUT OF SIGHT, OUT OF MIND — PROJECT PAGE
   ========================================================== */

/*
   Shared introduction and technology logos:
   project-intro.css

   This stylesheet contains project-specific colours,
   film headings and gallery styling.

   Load AFTER project-intro.css.
*/


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

/* Dark mode */

.out-of-sight-page {
  background: var(--paper);
  color: var(--ink);

  --project-highlight: #294957;
  --project-highlight-text: #F1F7F9;
  --project-description: #D1CDD5;
}


/* Light mode */

html[data-theme="light"] .out-of-sight-page {
  --project-highlight: #F3E6CA;
  --project-highlight-text: #171822;
  --project-description: #494650;
}


/* ==========================================================
   02 — VIDEO SECTION HEADINGS
   ========================================================== */

/*
   Preserves both film headings:
   Out of Sight, Out of Mind
   Original coral model
*/

.out-of-sight-page .cinema h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 400;

  line-height: 1.08;
  letter-spacing: -0.055em;

  margin: 10px 0 30px;
}


/* ==========================================================
   03 — IMAGE GALLERY SECTION
   ========================================================== */

.out-of-sight-page .out-of-sight-gallery {
  padding: 100px var(--pad);
  background: var(--paper);
}


/* ==========================================================
   04 — TWO-COLUMN IMAGE GALLERY
   ========================================================== */

/* Clean two-column layout, no staggered images */

.out-of-sight-page .out-of-sight-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 35px;
  align-items: start;
}


/* ==========================================================
   05 — GALLERY FIGURES
   ========================================================== */

.out-of-sight-page .out-of-sight-gallery figure {
  margin: 0;
  min-width: 0;
}


/* ==========================================================
   06 — GALLERY IMAGE BUTTONS
   ========================================================== */

/* Preserve lightbox functionality */

.out-of-sight-page .out-of-sight-gallery .image-open {
  display: block;

  width: 100%;
  padding: 0;
  margin: 0;

  border: 0;
  background: transparent;

  cursor: zoom-in;
}


/* ==========================================================
   07 — GALLERY IMAGES
   ========================================================== */

.out-of-sight-page .out-of-sight-gallery img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;
  background: transparent;
}


/* ==========================================================
   08 — TABLET AND MOBILE
   ========================================================== */

@media (max-width: 768px) {

  .out-of-sight-page .out-of-sight-gallery {
    padding: 60px var(--pad);
  }

  .out-of-sight-page .out-of-sight-gallery-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

}


/* ==========================================================
   09 — MOBILE FILM HEADINGS
   ========================================================== */

@media (max-width: 650px) {

  .out-of-sight-page .cinema h2 {
    font-size: clamp(30px, 6vw, 42px);
  }

}
