
    :root {
      --bg: #050509;
      --bg-alt: #0d0d12;
      --accent: #f5f5f5;
      --muted: #aaaaaa;
      --font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
              "Bebas Neue", Arial, sans-serif;
    }

    /* make sure BOTH html and body get the dark background */
html,
body {
  background: var(--bg);
  color: var(--accent);
  font-family: var(--font);
  line-height: 1.6;
}
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background: var(--bg);
      color: var(--accent);
      font-family: var(--font);
      line-height: 1.6;
    }

    /* Sticky nav - CONFLICTS WITH CLEAR NAVBAR */
   /* header {
      position: sticky;
      top: 0;
      z-index: 10;
      backdrop-filter: blur(16px);
      background: rgba(5, 5, 9, 0.75);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
*/
    h1 {
      font-size: 4.0rem;
      letter-spacing: 0.2rem;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 1.5rem;
      text-align: center;
    }

    h3 {
      font-size: 2.0rem;
      letter-spacing: 0.2rem;
      color: var(--accent);
      margin-bottom: 1.5rem;
      text-align: center;
    }

/* mobile typography fix*/
@media (max-width: 600px) {
  h1{
    font-size: 3.0rem;
    letter-spacing: 0.12rem;
    margin-bottom: 1rem;
  }
}

     .coming-soon {
      margin: 4rem 0;
      padding: 4rem 0;
      text-align: center;
      color: var(--muted);
      font-size: 1.25rem;
      letter-spacing: 0.03em;
    }



    .brand {
      letter-spacing: 0.18em;
      font-size: 0.85rem;
      text-transform: uppercase;
      font-weight: 600;
    }

    nav a {
      color: var(--muted);
      text-decoration: none;
      margin-left: 1.6rem;
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
    }

    nav a:hover {
      color: var(--accent);
    }

    /* FULL-WIDTH HERO */
    .hero {
      width: 100%;
      margin: 0;
      padding: 0;
    }

    .hero-image-wrapper {
      width: 100%;
      height: 56.25vw;      /* 16:9 aspect ratio */
      max-height: 100vh;     /* don’t exceed viewport height */
      position: relative;
      overflow: hidden;
    }

    .hero-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    body.home main {
      padding: 0 0 1rem;
    }

    /* WORK GRID – FULL WIDTH, NO SIDE GUTTERS */
    .work-section {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .grid {
      display: flex;
      flex-wrap: wrap;
      gap: 0.25rem; /* razor thin margins */
      padding: 0 0 0;  /* no horizontal padding, so no gutters */
    }

    .grid-item {
      flex: 1 1 calc(33.333% - 0.25rem);
      min-width: 0px;
      background: var(--bg-alt);
      border-radius: 0;
      overflow: hidden;
      border: none;
    }

    .grid-item img {
      width: 100%;
      border-radius: 0;
      display: block;
      object-fit: contain;
      height: auto;
      cursor: pointer;
    }

    .grid-caption {
      padding: 0.75rem 0.9rem 1rem;
      font-size: 0.85rem;
      color: var(--muted);
    }

  /*.snapgrid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  } THIS ONE IS TRIED AND TRUE IF OTHERS FAIL*/

  .snapgrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 6px;
}

@media (max-width: 599px){
  .snapgrid{
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* 2 columns */
/*@media (min-width: 700px){
  .snapgrid{ grid-template-columns: repeat(2, 1fr); }
}
*/
/* 3 columns (desktop) */
/*@media (min-width: 1000px){
  .snapgrid{ grid-template-columns: repeat(3, 1fr); }
  .snapgrid{ gap: 4px; }
}
*/

/* Optional: 4 columns for big monitors */
/*@media (min-width: 1400px){
  .snapgrid{ grid-template-columns: repeat(4, 1fr); }
}
*/
.snapgrid-item{
  /* width: 100%; */
  aspect-ratio: 3 / 2;
  cursor: pointer;
  /* overflow is new*/
  overflow: hidden;
  background: transparent;
}

/* Horizontal = 3:2 */
.snapgrid-item.h{
  aspect-ratio: 3 / 2;
}

/* Vertical = 2:3 */
.snapgrid-item.v{
  aspect-ratio: 67 / 90; /* almost exactly 2x the height of the horiz*/
}

.snapgrid-item img{
  width: 100%;
  height: 100%; /* was 100% prior*/
  object-fit: cover;   /* SAFE now, container matches ratio */
  display: block;
}


.snapgrid-item { overflow: hidden; grid-row: span 24; }
.snapgrid-item.v { grid-row: span 48; }
.snapgrid-item img { width:100%; height:100%; object-fit:cover; display:block; }


/* FOCUS ENABLING FOR SNAPGRID */
.snapgrid-item{
  overflow: hidden;              /* required for zoom crop containment */
}

.snapgrid-item img{
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 180ms ease, filter 180ms ease;
  transform: scale(1);
  filter: brightness(1);
}

@media (hover:hover){
  .snapgrid-item:hover img{
    transform: scale(1.02);
    filter: brightness(1.04);
  }
}


    footer {
      padding: 1.5rem;
      text-align: center;
      font-size: 0.8rem;
      color: var(--muted);
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      margin-top: 2rem;
    }


      nav a {
        margin-left: 0;
        margin-right: 1rem;
      }

      @media (max-width: 900px) {
  .grid-item {
    flex: 1 1 calc(50% - 0.25rem);
  }
}


    @media (max-width: 480px) {
      .grid-item {
        flex: 1 1 100%;
      }
    }

/* ------ SUPERNOVAS STUFF ----------*/

    .page-supernovas {
  padding: 3rem 2.5rem;
}

.season-header h1 {
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.season-subtitle {
   max-width: 700px;
      font-size: 0.95rem;
      color: var(--muted);
      text-align: center;
      margin-left: 3rem}

.season-grid {
  margin-top: 2.5rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 1000px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-supernovas {
    padding: 2rem 1.5rem;
  }

  .game-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.game-card {
  text-decoration: none;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
  overflow: hidden;
}

.game-image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.game-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition:
    transform 180ms ease-out,
    filter 180ms ease-out;
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.25rem;
  transition: opacity 160ms ease-out;
}

.game-meta {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}

.game-date {
  display: block;
  color: rgba(255, 255, 255, 0.7);
}

.game-opponent {
  display: block;
  margin-top: 0.35rem;
  font-weight: 600;
  color: #ffffff;
}

/* Hover state */
.game-card:hover .game-image-wrap img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.game-card:hover .game-overlay {
  opacity: 1;
}

/* -------- Game header and delivery -------*/
.page-game {
  padding: 3rem 2.5rem;
}

.game-header h1 {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.game-date-line {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.game-actions {
  margin-top: 1.5rem;
}

.btn-zip-download {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: #ffffff;
  text-decoration: none;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);

  transition: border-color 120ms ease-out;
}

.btn-zip-download:hover {
  border-color: #ffffff;
}

.btn-return-gallery {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: #ffffff;
  text-decoration: none;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);

  transition: border-color 120ms ease-out;
}

.btn-return-gallery:hover {
  border-color: #ffffff;
}
.zip-instructions {
  margin-top: 1.25rem;
  max-width: 38rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.zip-instructions p {
  margin: 0.3rem 0;
}

.label-os {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  margin-right: 0.5rem;
}


/* ------ Portfolio Grid (3-COLUMN MASONRY)--------*/
.portfolio-grid {
  margin-top: 2.5rem;
  column-count: 3;
  column-gap: 0.25rem;
}

.portfolio-item {
  break-inside: avoid;
  margin-bottom: 0.25rem
}

/* ----- DELIVERY GRID (4-COLUMN MASONRY) ----- */

.delivery-grid {
  margin-top: 2.5rem;
  column-count: 4;
  column-gap: 0.25rem;
}

.delivery-item {
  break-inside: avoid;
  margin-bottom: 0.25rem;
}

@media (max-width: 1200px) {
  .delivery-grid {
    column-count: 3;
  }
}

@media (max-width: 900px) {
  .delivery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .page-game {
    padding: 2rem 1.5rem;
  }

  .delivery-grid {
    column-count: 1;
  }
}


.delivery-image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
  cursor: zoom-in; /* indicates it opens in lightbox */
}

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

/* Hover download tag on image itself */
.delivery-download-tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  text-decoration: none;
  opacity: 0;
  transition: opacity 140ms ease-out;
}

.delivery-image-wrap:hover .delivery-download-tag {
  opacity: 1;
}

/* Optional text link under image */
.delivery-meta {
  margin-top: 0.3rem;
  font-size: 0.75rem;
}

.delivery-download-link {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
}

.delivery-download-link:hover {
  color: #ffffff;
}

/* ----- LIGHTBOX DOWNLOAD BUTTON ----- */

.lightbox {
  /* assume you already have base styles for backdrop, centering, etc. */
  position: fixed;
  inset: 0;
  display: none; /* toggled by JS */
}

.lightbox-download {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.lightbox-download:hover {
  background: #ffffff;
  color: #000000;
}

.easter-egg-link {
  display: block;
  font-size: 0.7rem;
  text-align: center;

  color: #000000;                 /* basically invisible on your dark bg */
  text-decoration: none;
  pointer-events: auto;
}

/* only visible if you *know* to look for it */
.easter-egg-link:hover,
.easter-egg-link:focus {
  color: rgba(255, 255, 255, 0.6); /* shows up if someone actually hits it */
  text-decoration: underline;
}


.snapgrid-item {
  position: relative;
}

/* Full-width year divider inside the game grid */
.game-grid .season-divider {
  grid-column: 1 / -1;            /* span all columns */
  display: block;
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(255,255,255,0.14);
}

.game-grid .season-divider span {
  display: inline-block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 2.0rem;
  color: rgba(255,255,255,0.58);
}
