/* about.css: styles used only by this part of the site, loaded after site.css (inc/layout.php). Split from site.css in v61.
   Tokens, base and shared parts stay in site.css. DESIGN.md describes them. */
/* ===== About, since v38: principles as six strings, pillars as four columns under one roof, activities as twelve sequencer steps.
   Nothing here is a control, so nothing presses. Nothing moves. Every part is real HTML text with drawn edges. ===== */
/* Six strings. The text sits on its string, the peg at the left carries the number. Thin on top, heavy at the bottom, as in a tab. */
.strings { margin-top: var(--space-5); display: grid; gap: var(--space-3); }
.string-peg { position: relative; z-index: 1; display: grid; place-items: center; width: var(--tap); height: var(--tap); margin-bottom: calc(var(--tap) / -2); background: var(--white); color: var(--ink); border: var(--line) solid var(--ink); border-radius: 50%; box-shadow: calc(var(--drop) / -2) calc(var(--drop) / 2) 0 var(--drop-color); }
.string-text { font-family: var(--font-display); font-weight: 700; font-stretch: 110%; font-size: var(--step-1); line-height: 1.2; text-wrap: balance; overflow-wrap: break-word; }
@media (max-width: 600px) { .string-text { font-stretch: 100%; } }
@media (min-width: 900px) { .string-text { font-size: var(--step-2); } }
/* Four pillars (since v41): four slim poles that hold up the Music Tech Europe logo on one beam. Replaces the columns under a roof of v38 to v40.
   Beam, poles and floor are drawn in currentColor, so they are white on night and ink on paper. Each pole has a round joint in its tone
   where it meets the beam. The text of a pillar stands beside its pole. One pole per row on phones, two from 600 px, four from 1100 px. */
.poles { margin-top: var(--space-5); }
.poles-logo { display: flex; justify-content: center; margin-bottom: var(--space-3); }
.poles-logo img { width: min(100%, 22rem); height: auto; }
.poles-beam, .poles-floor { display: block; height: var(--space-2); background: currentColor; border-radius: var(--radius-pill); }
.poles-floor { height: var(--line); }
.poles-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--space-5); padding-inline: var(--space-3); }
@media (min-width: 600px) { .poles-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .poles-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pole { position: relative; display: grid; align-content: start; gap: var(--space-3); padding: var(--space-6) 0 var(--space-5) var(--space-5); }
.pole::before { content: ""; position: absolute; left: calc(var(--space-3) / 2 - var(--line)); top: 0; bottom: 0; width: calc(var(--line) * 2); background: currentColor; border-radius: var(--radius-pill); }
.pole-joint { position: absolute; left: 0; top: calc(var(--space-2) * -1); width: var(--space-3); height: var(--space-3); border-radius: 50%; box-shadow: 0 0 0 var(--line) var(--ground); }
.pole h3 { font-stretch: 100%; overflow-wrap: break-word; }
/* Since v42 the row is closed on the right by a last pole with a plain joint, so the beam rests on both ends. */
.poles-row { position: relative; padding-right: calc(var(--space-3) + var(--space-4)); }
.poles-row::after { content: ""; position: absolute; right: calc(var(--space-3) / 2 - var(--line)); top: 0; bottom: 0; width: calc(var(--line) * 2); background: currentColor; border-radius: var(--radius-pill); }
.poles-row::before { content: ""; position: absolute; right: 0; top: calc(var(--space-2) * -1); width: var(--space-3); height: var(--space-3); border-radius: 50%; background: currentColor; box-shadow: 0 0 0 var(--line) var(--ground); z-index: 1; }
.pole p { font-size: var(--step--1); line-height: 1.55; text-wrap: pretty; }
@media (min-width: 600px) and (max-width: 1099px) { .pole:nth-child(n+3) { padding-top: var(--space-5); } }
.strings-after, .temple-after { margin-top: var(--space-5); }

/* Twelve steps of a sequencer: three bars of four. A white step with a lamp and its number. Since v41 every lamp is the same at rest.
   When the steps come into view (about.js adds .is-running), a playhead runs across them once: each step rises a little and its lamp lights
   in --tone-2, 160 ms after the one before. Nothing moves under reduced motion or with motion paused. */
.steps-head { margin-top: var(--space-7); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-lamp { display: block; width: var(--space-3); height: var(--space-3); border: var(--line) solid var(--ink); border-radius: 50%; background: var(--white); }
.steps.is-running .step-lamp { animation: step-lamp 640ms var(--ease-press) calc(var(--i) * 160ms) both; }
@keyframes step-lamp { 0%, 100% { background: var(--white); } 20%, 60% { background: var(--tone-2); } }

/* About, since v41. "Why": the text and the animation side by side from 900 px, the film under the text on phones.
   The film sits in a screen: ink outline and the drop of a card. Its own navy (the logo navy) reads as a screen on paper and on night. */
.about-why { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 900px) { .about-why { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--space-6); } }
.about-film { margin: 0; padding-left: var(--drop); padding-bottom: var(--drop); }
.about-film-screen { overflow: hidden; aspect-ratio: 16 / 9; border: var(--line) solid var(--ink); border-radius: var(--radius-m); background: #1E2243; box-shadow: calc(var(--drop) * -1) var(--drop) 0 var(--drop-color); }
.about-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-film-foot { display: flex; justify-content: flex-end; margin-top: var(--space-4); }
/* Mission and goals side by side from 900 px, the paragraph below them in a white block across the full width */
.about-pair { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .about-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about-pair-col { display: grid; align-content: start; gap: var(--space-4); }
.about-pair .quote p { text-wrap: pretty; }
.about-block { margin: var(--space-6) 0 var(--drop) var(--drop); padding: var(--space-4) var(--space-5); background: var(--white); color: var(--ink); border: var(--line) solid var(--ink); border-radius: var(--radius-m); box-shadow: calc(var(--drop) * -1) var(--drop) 0 var(--drop-color); font-size: var(--step-1); line-height: 1.4; text-wrap: pretty; }
@media (max-width: 600px) { .about-block { font-size: var(--step-0); padding: var(--space-3) var(--space-4); } }

/* About, Partners (since v44): the picture of all partner plates across the full width, drawn by _dev/make-partner-wall.mjs */
.partner-wall { margin: var(--space-5) 0 var(--space-4); }
.partner-wall img { width: 100%; height: auto; }
