/* Evolv-To: the Evins Construction multimedia showcase. Loads after multimedia.css and reuses its
   dark screening room and player. One film on the stage, a pitch beside it, the other videos in a
   strip beneath, then what every post goes out with, the formats, and what reports back. */

/* Stage: a 16:9 box for landscape items, a centered 9:16 column for vertical ones */
.film.portrait { background: #000; }
.film.portrait video { aspect-ratio: 9 / 16; max-height: min(78vh, 820px); width: auto; margin: 0 auto; }
.film video { object-fit: contain; }
.film .bar .fmt { font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); display: flex; gap: 0.25rem; }
.film .bar .fmt button { background: none; border: 1px solid transparent; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; padding: 0.25rem 0.5rem; border-radius: 4px; cursor: pointer; }
.film .bar .fmt button.on { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.film .bar .fmt[hidden] { display: none; }

/* The pitch, in the column the song used */
.pitch { padding: 1.4rem; display: flex; flex-direction: column; gap: 1.4rem; overflow-y: auto; scrollbar-width: thin; }
.pitch .now { border: 1px solid var(--line-dark); border-radius: 6px; padding: 1rem 1.1rem; }
.pitch .now .k { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); }
.pitch .now .t { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.25; margin-top: 0.35rem; }
.pitch .now .d { color: var(--muted-dark); font-size: 0.9rem; margin-top: 0.35rem; }
.pitch ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pitch li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.75rem; padding: 1rem 0; border-top: 1px solid var(--line-dark); }
.pitch li .n { font-family: 'Newsreader', Georgia, serif; font-style: italic; color: var(--accent); font-size: 1.15rem; }
.pitch li p { color: rgba(255, 255, 255, 0.78); font-size: 0.98rem; line-height: 1.5; }
.pitch li strong { color: #fff; display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 0.2rem; }

/* The other videos, a strip beneath the stage */
.plist-wrap { padding: 0 0 5rem; }
.plist-wrap .head-2 { padding: 0 var(--gutter); margin-bottom: 1.25rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.plist { display: flex; gap: 0.75rem; overflow-x: auto; padding: 0.25rem var(--gutter) 1rem; scrollbar-width: thin; }
.plist button { flex: 0 0 132px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: #fff; }
.plist button img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; border-radius: 6px; border: 1px solid var(--line-dark); background: #000; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s; }
.plist button:hover img, .plist button.on img { transform: translateY(-4px); border-color: var(--accent); }
.plist button .k { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-top: 0.55rem; }
.plist button .t { display: block; font-family: var(--font-head); font-size: 0.88rem; line-height: 1.3; margin-top: 0.15rem; color: rgba(255, 255, 255, 0.8); }
.plist button.on .t { color: #fff; }
.plist button .d { display: block; font-family: var(--font-head); font-size: 0.78rem; color: var(--muted-dark); margin-top: 0.2rem; font-variant-numeric: tabular-nums; }

/* What every post goes out with */
.goes { padding: 5rem var(--gutter); border-top: 1px solid var(--line-dark); }
.goes .head-2 { margin-bottom: 2.5rem; }
.goes .four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.goes .item { border-top: 1px solid var(--line-dark); padding-top: 1.1rem; }
.goes .item .n { font-family: 'Newsreader', Georgia, serif; font-style: italic; color: var(--accent); font-size: 1.2rem; }
.goes .item h3 { font-size: 1.15rem; margin-top: 0.5rem; }
.goes .item p { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; line-height: 1.55; margin-top: 0.5rem; }
.goes .item code { font-family: var(--font-head); font-size: 0.9em; color: #fff; background: rgba(255, 255, 255, 0.08); padding: 0.1rem 0.4rem; border-radius: 4px; }

/* The formats, grouped, every item at its true proportions */
.formats { padding: 5rem var(--gutter); border-top: 1px solid var(--line-dark); }
.formats .head-2 { margin-bottom: 2rem; }
.formats .group { display: grid; grid-template-columns: 11rem 1fr; gap: 2rem; align-items: start; padding: 1.5rem 0; border-top: 1px solid var(--line-dark); }
.formats .group h3 { font-size: 1.05rem; }
.formats .group h3 small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--muted-dark); margin-top: 0.3rem; line-height: 1.45; }
.formats .set { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: flex-start; }
.formats figure { --h: 220px; margin: 0; display: flex; flex-direction: column; gap: 0.45rem; color: #fff; }
.formats figure img { height: var(--h); width: auto; display: block; border-radius: 6px; border: 1px solid var(--line-dark); background: #000; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s; }
.formats figure:hover img { transform: translateY(-4px); border-color: var(--accent); }
.formats figure.wide { --h: 170px; }
.formats figure.flat { --h: 120px; }
.formats figcaption { font-family: var(--font-head); font-size: 0.78rem; line-height: 1.35; display: flex; justify-content: space-between; gap: 0.75rem; white-space: nowrap; }
.formats figcaption .px { color: var(--muted-dark); font-variant-numeric: tabular-nums; }

/* What reports back: the product rows, on the dark ground */
.reports { padding: 5rem var(--gutter); border-top: 1px solid var(--line-dark); }
.reports .head-2 { margin-bottom: 1rem; }
.mm .rows { border-color: var(--line-dark); }
.mm .row { border-color: var(--line-dark); }
.mm .row p { color: var(--muted-dark); }
.mm .row .arrow { border-color: var(--line-dark); }
.mm .row.static { cursor: default; }
.mm .row.static:hover { padding-left: 0; }

@media (max-width: 1000px) {
    .goes .four { grid-template-columns: 1fr 1fr; }
    .formats .group { grid-template-columns: 1fr; gap: 1rem; }
    .formats figure { --h: 170px; }
    .formats figure.wide { --h: 130px; }
    .formats figure.flat { --h: 90px; }
    .formats figcaption { white-space: normal; flex-direction: column; gap: 0.1rem; }
    .plist button { flex-basis: 110px; }
    .film.portrait video { max-height: 70vh; }
}
@media (max-width: 600px) {
    .goes .four { grid-template-columns: 1fr; }
}
