/* Board v2 additions (VRJ-167): people photography and real app screens, layered on the v1
   stylesheet. Same tokens, same beam; nothing in styles.css is changed. */

/* ---------- photo hero ---------- */
.photo-hero { position: relative; isolation: isolate; min-height: clamp(560px, 86vh, 860px); display: grid; align-items: end; }
.photo-hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 55%;
}
/* Darken toward the copy so white text holds contrast whatever the photo does underneath. */
.photo-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(1, 7, 12, 0.55) 0%, rgba(1, 7, 12, 0) 22%),
    linear-gradient(0deg, var(--ground) 0%, rgba(1, 7, 12, 0.88) 26%, rgba(1, 7, 12, 0.25) 60%, rgba(1, 7, 12, 0) 80%);
}
.photo-hero-copy { display: grid; gap: 1.5rem; justify-items: start; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.photo-hero-copy h1 { max-width: 17ch; }
.photo-hero-copy .lead { color: var(--text); opacity: 0.82; }

/* ---------- a day of it ---------- */
.day-title { max-width: 20ch; margin-bottom: 1.25rem; }
.day {
  list-style: none; margin: clamp(2rem, 5vw, 3.5rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
}
.day img {
  width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover;
  border-radius: 14px; box-shadow: 0 0 0 1px var(--line);
  margin-bottom: 1rem;
}
.day .label { margin-bottom: 0.4rem; color: var(--flare); letter-spacing: 0.24em; }
.day p { font-size: 0.975rem; color: var(--text-2); }

/* ---------- inside the app ---------- */
.shots-wrap { margin-top: clamp(2rem, 5vw, 3.5rem); }
.shots {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem);
}
.shots h3 { margin-top: 1.25rem; margin-bottom: 0.35rem; font-size: 1.05rem; }
.shots p { font-size: 0.95rem; color: var(--text-2); }

/* A plain rounded screen, no drawn device: the screenshot is the evidence, not a mock-up. */
.phone {
  margin: 0; border-radius: clamp(18px, 2.6vw, 30px); overflow: hidden;
  border: 1px solid var(--line-strong); background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.phone img { width: 100%; height: auto; }

/* App page: a feature's words beside its screens. */
.feature-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.5rem); margin-top: 2rem; max-width: 34rem; }
.feature-shots.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 44rem; }
.feature-shots figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--text-3); }
.feature-shots figure { margin: 0; }
.shots-note { margin-top: 1rem; font-size: 0.85rem; color: var(--text-3); }

/* ---------- small screens ---------- */
@media (max-width: 52rem) {
  .day { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Screens become a sideways row you swipe; the row scrolls, the page does not. */
  .shots-wrap { width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .shots-wrap::-webkit-scrollbar { display: none; }
  .shots { grid-template-columns: repeat(4, 15rem); padding-inline: var(--gutter); width: max-content; }
  .shots li { scroll-snap-align: center; }
}
@media (max-width: 34rem) {
  .v2.home .site-header { position: absolute; } /* the photo has no wordmark to collide with */
  .photo-hero { min-height: 640px; }
  .photo-hero-img { object-position: 50% 40%; }
  .day { gap: 1.5rem 0.75rem; }
  .day p { font-size: 0.9rem; }
  .shots { grid-template-columns: repeat(4, 13.5rem); }
  .feature-shots.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- v3: the vürj hero art over the photo ---------- */
/* The real splash band, not redrawn. Its ground is the page's own #01070C, and screen blending
   drops that dark ground onto the photo's dark sky, leaving the wordmark, beam and dots lit.
   The mask fades the band's rectangular edges so no box shows. */
.photo-hero-mark {
  position: absolute; z-index: 0; left: 50%; top: clamp(4.5rem, 9vw, 7.5rem);
  width: min(92%, 980px); height: auto; transform: translateX(-50%);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(70% 70% at 50% 50%, #000 55%, transparent 100%);
  pointer-events: none;
}
/* Room for the art: the copy sits under it, not across it. */
.photo-hero { min-height: clamp(680px, 96vh, 960px); overflow: hidden; }
@media (max-width: 34rem) {
  .photo-hero { min-height: 700px; }
  .photo-hero-mark { width: 118%; top: 5.5rem; }
}

/* ---------- v4: stack band ---------- */
@media (max-width: 34rem) {
  .stack-band .feature-shots { grid-template-columns: minmax(0, 1fr); max-width: 17rem; margin-inline: auto; }
}

/* ---------- v5: four Stack screens ---------- */
/* Four across measured 141 px wide at 1280 and 129 px at 320: unreadable. Two by two on wide
   screens, one per row on phones (the same fix as the v4 Home band). */
.feature-shots.four { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 34rem; }
@media (max-width: 34rem) {
  .feature-shots.four { grid-template-columns: minmax(0, 1fr); max-width: 17rem; margin-inline: auto; }
}

/* ---------- v7: art and photo stacked, not layered ---------- */
/* The owner: the art and the photo should not occupy the same space. Header in the flow, then the
   art on the page ground (mask fades its rectangle into the ground), then the photo hero as in v2. */
.v2.home .site-header { position: relative; }
.hero-mark-band { display: flex; justify-content: center; padding-inline: var(--gutter); }
.hero-mark {
  width: min(100%, 980px); height: auto;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(70% 70% at 50% 50%, #000 55%, transparent 100%);
}
.photo-hero { min-height: clamp(520px, 78vh, 820px); }
@media (max-width: 34rem) {
  .v2.home .site-header { position: relative; }
  .hero-mark-band { padding-inline: 0; overflow: hidden; }
  .hero-mark { width: 118%; max-width: none; }
  .photo-hero { min-height: 600px; }
}
