/* Final verification pass, 2026-11-22 (lead). Loads after every other section file. */

/* Centered case-study hero note (B10-02, B10-06, B11-05, B12-01): the 720px box wrapped a
   one-line note into two short balanced lines and left the box half empty at 1440. The box
   is now wide enough for one line from 1024 (still a fixed, font-independent width), and
   below that the text fills its first line instead of balancing. */
@media (min-width: 768px) {
	.hero.hero--centered .hero__copy > .note { width: min(100%, 880px); max-width: 880px; }
	.hero.hero--centered .hero__copy > .note > span { text-wrap: wrap; text-wrap-style: auto; }
}

/* Overlay showcase (B3-05, B9-03, B11-09), 1024 to 1279: the white heading and copy ran
   over the pale render (contrast about 2.5:1). The dark side of the gradient is now
   solid behind the whole copy block. */
@media (min-width: 1024px) and (max-width: 1279px) {
	.showcase--overlay::after { background: linear-gradient(90deg, rgba(7, 10, 36, .96) 0%, rgba(7, 10, 36, .94) 54%, rgba(7, 10, 36, 0) 82%); }
}

/* Dark centered image hero (B4-08): 909px at 1024 x 900. A slightly wider card ratio below
   1280 keeps it inside one screen. */
@media (min-width: 1024px) and (max-width: 1279px) {
	.hero.hl.hero--darkc .imgcard--hero { aspect-ratio: 920 / 400; }
}

/* Five index tiles (B6-10) sat 4 + 1 with three empty slots: show 3 + 2. */
@media (min-width: 768px) {
	.hero .scene__tiles:has(> .scene__tile:nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.hero .hero__visual .scene__tiles:has(> .scene__tile:nth-child(5):last-child) > .scene__tile.scene__tile:nth-child(n) { grid-column: span 2; }
	.hero .hero__visual .scene__tiles:has(> .scene__tile:nth-child(5):last-child) > .scene__tile.scene__tile:nth-child(n + 4) { grid-column: span 3; }
}
