/* Pictures session: photo layouts that sit on top of style.css.
   Linked from index.html right after style.css, so the rules here come last. */

/* ---------- Pictures (Nov 29): the Loaded screenshot in Gun policy ---------- */
.role-shot { display: block; margin-top: 12px; border: 1px solid var(--line); overflow: hidden; }
.role-shot img { display: block; width: 100%; height: auto; transition: transform 0.45s ease; }
.role-shot:hover img { transform: scale(1.02); }

/* Music photos (Nov 29): video, a square photo slideshow, then the text, side by side on wide screens */
.music > .flow { aspect-ratio: 16 / 10; }
.love:not([data-img]) { cursor: default; text-decoration: none; }
@media (min-width: 961px) { .music { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.62fr) minmax(0, 1fr); } .music > .flow { aspect-ratio: 1; } }

/* Speech and Debate team (Nov 29): photos on the left of its card, the team's microphone logo before the name */
.teams li.has-photos { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); padding: 0; overflow: hidden; }
.teams li.has-photos .flow { aspect-ratio: 4 / 3; }
.teams li.has-photos .tm-text { align-self: center; padding: 14px 18px; }
.teams b .e-logo { height: 30px; width: auto; margin: -4px 10px 0 0; vertical-align: middle; }
@media (max-width: 640px) { .teams li.has-photos { grid-template-columns: 1fr; } }

/* About with a backdrop (Nov 29, her pick: the Washington Monument). The band runs full width on top (it holds the title),
   and script.js moves the rest onto the sheet below, where the bio and the headshot sit side by side as before. */
.about:has(> .band) { display: block; }
.about > .sheet { display: grid; grid-template-columns: minmax(0, 2fr) minmax(220px, 0.66fr); gap: clamp(20px, 3vw, 48px); align-items: stretch; }
.about > .sheet > .about-body { grid-column: 1; grid-row: 1; }
.about > .sheet > .headshot { grid-column: 2; grid-row: 1; }
@media (max-width: 860px) { .about > .sheet { grid-template-columns: 1fr; } .about > .sheet > .headshot { grid-column: 1; grid-row: auto; max-width: 260px; } }

/* Music, tighter (her note: it "looks like it's floating in midair"): the video and photos center against a shorter text column */
.music { align-items: center; }
.music .awards { margin: 10px 0 8px; gap: 0; }
.music .awards li + li { margin-top: 8px; }
.music .awards span { display: block; line-height: 1.4; }
.music .tile-text .meta + .awards { margin-top: 12px; }

/* Yale plaque placeholder (her note 62, Nov 30): a quiet tile until she reshoots the photo.
   Same 4:5 frame as the other plaques, the real Yale wordmark, no lines. */
.plaque-soon { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; background: var(--sheet); }
.plaque-soon img { width: 38%; height: auto; }
[data-theme="dark"] .plaque-soon img { filter: brightness(0) invert(0.9); }

/* Her Pantheon reel, its own small card under the Pantheon card (her pick A, Nov 30).
   On computers it hangs right under the landing video, the same width and only a small gap away,
   so it reads as part of the Pantheon story and not a stray card. The post frame inside is the video session's. */
.biz > .reel-row { display: flex; flex-direction: row; align-items: center; gap: clamp(18px, 2vw, 28px); padding: 16px clamp(16px, 1.8vw, 24px); }
.reel-row > .post { flex: none; width: clamp(190px, 14.6vw, 212px); margin: 0; padding: 0; }
.reel-row .reel-text { min-width: 0; }
.reel-row .reel-line { margin: 0 0 10px; font-size: var(--t-card); font-weight: 650; line-height: 1.25; color: var(--ink); }
@media (min-width: 1001px) {
  .biz > .reel-row { width: 40%; margin-top: calc(10px - var(--gap2)); }
}
@media (min-width: 641px) and (max-width: 1000px) {
  .biz > .reel-row { width: fit-content; max-width: 100%; margin-top: calc(10px - var(--gap2)); }
  .reel-row .reel-text { max-width: 260px; }
}
@media (max-width: 640px) {
  .biz > .reel-row { gap: 14px; padding: 14px; margin-top: calc(8px - var(--gap2)); }
  .reel-row > .post { width: 52%; }
  .reel-row .reel-line { font-size: 16px; }
}

/* ---------- Gun policy: her old range photo beside the intro line (Nov 30) ----------
   Her ask: "old shooting photo goes in shooting section it needs to briefly describe why i care". A small 4:5 photo
   on the left, the one line on the right, same rules as every photo (square corners, opens large with its caption). */
.guns-lead { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); margin: 0 0 clamp(18px, 2vw, 28px); }
.guns-lead > .flow { flex: 0 0 clamp(150px, 15vw, 210px); aspect-ratio: 4 / 5; height: auto; }
.guns-lead > .flow img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.guns-lead > .guns-intro { margin: 0; }
@media (max-width: 640px) {
  .guns-lead { align-items: flex-start; gap: 14px; }
  .guns-lead > .flow { flex-basis: 36%; }
}
