/* ═══════════════════════════════════════════════════════════════
   MARMO · /why — the six-question check and the three data chapters.
   Without JavaScript: every question with its answer, no score. With it (.why.js): the check beside its score,
   and on a phone one question at a time.
   ═══════════════════════════════════════════════════════════════ */
.why { flex: none; }
.why [hidden] { display: none !important; }
.why strong { font-weight: inherit; }

/* ── Opening ── */
.why-head { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 76px; padding-bottom: 72px; }
.why-head .lead { margin-top: 32px; max-width: 760px; }
.why-lead-step { display: none; }

/* ── The check: the score panel is exactly as tall as the list ── */
.check { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 48px; align-items: stretch; }
.qs { display: flex; flex-direction: column; gap: 10px; }
.q { min-height: 116px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); transition: background-color .25s, border-color .25s; }
.q.yes { background: var(--ft); border-color: var(--fc); }
.q .num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--fc); }
.q-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.q h2 { font-size: 20px; line-height: 1.22; overflow-wrap: break-word; }
.q-a { font-size: 15px; line-height: 1.5; color: var(--text); }
.q-a a { color: var(--fc); font-weight: 700; text-decoration: underline; white-space: nowrap; display: inline-block; padding: .45em 0; margin: -.45em 0; }
.q-a a:hover { color: var(--ink); }
.why.js .q-a { display: none; }
.why.js .q.yes .q-a { display: block; animation: mvup .5s ease both; }
.yn { display: none; gap: 6px; }
.why.js .yn { display: flex; }
.yn button { min-width: 58px; height: 46px; padding: 0 8px; border-radius: 3px; cursor: pointer; font-size: 15px; font-weight: 600; background: var(--paper); color: var(--ink); border: 1px solid var(--line2); }
.yn button:hover { border-color: var(--ink); }
.yn button[data-v="1"][aria-pressed="true"] { background: var(--fd); border-color: var(--fd); color: #fdf9f2; }
.yn button[data-v="0"][aria-pressed="true"] { background: var(--inv-bg); border-color: var(--inv-bg); color: var(--inv-fg); }

.score { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; }
.score-in { padding: 34px 30px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.score-live { display: none; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.why.js .score-live { display: flex; }
.score-label { font-size: 14px; color: var(--muted); }
.score-n { font-family: var(--serif); font-weight: 300; font-size: 80px; line-height: 1; color: var(--red-text); }
.score-n b { font-weight: inherit; }
.score-n small { font-size: 30px; color: var(--muted); }
.segs { display: flex; gap: 5px; width: 100%; }
.segs span { flex: 1; height: 9px; background: var(--track); border-radius: 2px; transition: background-color .25s; }
.segs span.on { background: var(--fc); }
.score-msg { font-family: var(--serif); font-size: 21px; line-height: 1.4; min-height: 60px; text-wrap: balance; }
.score-art { width: 100%; flex: 1 1 0; height: 0; min-height: 220px; object-fit: cover; object-position: 28% 50%; margin-top: 8px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 45%); mask-image: linear-gradient(180deg, transparent 0, #000 45%); }

/* ── One question at a time (phone, with JavaScript) ── */
.why-step { display: none; }
.step { min-height: 500px; background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--fc, var(--red)); border-radius: 12px; padding: 26px 22px 18px; display: flex; flex-direction: column; gap: 18px; }
.dots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.dots span { height: 5px; border-radius: 3px; background: var(--track); }
.dots span.past { background: var(--muted); }
.dots span.now { background: var(--fc); }
.step-say { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.step-n { font-size: 14px; color: var(--muted); text-align: center; }
.step h2 { font-weight: 300; font-size: 24px; line-height: 1.25; text-align: center; margin: auto 0; text-wrap: balance; overflow-wrap: break-word; }
.step-yn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.step-yn button { height: 60px; border-radius: 6px; font-size: 18px; font-weight: 600; cursor: pointer; background: var(--paper); color: var(--ink); border: 1px solid var(--line2); }
.step-yn button.yes { background: var(--fd); border-color: var(--fd); color: #fdf9f2; }
.step-back { min-height: 44px; display: flex; justify-content: center; align-items: center; }
.step-back button { min-height: 44px; background: transparent; border: 0; color: var(--muted); font-size: 14px; cursor: pointer; padding: 0 12px; }
.step.result { align-items: center; text-align: center; gap: 14px; --fc: var(--red-text); }
.step.result:focus { outline: none; }
.step.result .score-n { font-size: 60px; }
.step.result .score-n small { font-size: 28px; }
.step.result .score-msg { font-size: 19px; min-height: 0; }
.picks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pick { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid var(--fc); color: var(--fc); font-size: 14px; font-weight: 600; }
.pick:hover { background: var(--ft); color: var(--fc); }
.step.result .btn { align-self: stretch; margin-top: auto; min-height: 52px; }

/* ── The figures: three chapters, the second one mirrored ── */
.why-data { margin-top: 96px; padding-bottom: 80px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.data-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 76px 0 28px; }
.data-head p { font-size: 18px; line-height: 1.6; color: var(--text); max-width: 620px; text-wrap: pretty; }
/* words and chart sit together in the middle (owner, 2026-11-28: the text was far from its picture) */
.chapter { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 640px); justify-content: center; gap: 44px; align-items: center; padding: 56px 0; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter.flip { grid-template-columns: minmax(0, 640px) minmax(0, 440px); }
.chapter.flip .say { order: 2; }
.say { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.say .q-label { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--bronze); }
.say h3 { font-weight: 300; font-size: clamp(25px, 2.2vw, 31px); line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; }
.say p { font-size: 17px; line-height: 1.75; color: var(--text); max-width: 440px; text-wrap: pretty; }
.say .src { font-size: 13px; line-height: 1.7; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); align-self: stretch; }
.src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; display: inline-block; padding: .45em 0; margin: -.45em 0; }
.src a:hover { color: var(--red-text); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 40px clamp(24px, 3.34vw, 48px); display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.panel-cap { font-size: 14px; color: var(--muted); line-height: 1.5; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; font-weight: 600; }
.legend span { display: flex; align-items: center; gap: 9px; }
.legend i { width: 14px; height: 14px; border-radius: 3px; background: var(--red); }
.legend .eu i { background: var(--line2); }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 3.34vw, 48px); border-bottom: 1px solid var(--rule); }
.pair { height: 290px; display: flex; align-items: flex-end; justify-content: center; gap: 12px; }
.vbar { width: 62px; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.vbar b { font-family: var(--serif); font-weight: 400; font-size: 20px; white-space: nowrap; }
.vbar i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--red); }
.vbar.eu b { color: var(--muted); }
.vbar.eu i { background: var(--line2); }
.years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 3.34vw, 48px); margin-top: 12px; text-align: center; font-size: 15px; font-weight: 600; }
.hbars { display: flex; flex-direction: column; gap: 30px; }
.hbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: end; }
.hbar span { font-size: 16px; }
.hbar b { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1; }
.hbar .track { grid-column: 1 / -1; display: block; height: 14px; border-radius: 7px; background: var(--track); overflow: hidden; }
.hbar .track i { display: block; height: 14px; border-radius: 7px; background: var(--red); }
.scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: -16px; }
.big { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 62px; line-height: 1; color: var(--red-text); text-align: center; white-space: nowrap; }
.hours { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.hours i { height: 96px; border-radius: 24px 24px 4px 4px; background: var(--track); }
.hours i.on { background: var(--red); }
.hours i.maybe { background: repeating-linear-gradient(45deg, var(--red) 0 4px, var(--track) 4px 9px); }
.keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: 14px; }
.keys li { display: flex; align-items: center; gap: 9px; }
.keys i { flex: none; width: 14px; height: 14px; border-radius: 3px; background: var(--red); }
.keys .k2 i { background: repeating-linear-gradient(45deg, var(--red) 0 3px, var(--track) 3px 6px); }
.keys .k3 i { background: var(--track); border: 1px solid var(--line2); }

/* ── Between desktop and phone ── */
@media (max-width: 1180px) {
    .check { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
    .q { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; padding: 14px 18px; }
    .q h2 { font-size: 21px; }
    .score-in { padding: 30px 22px 0; }
    .score-n { font-size: 72px; }
    .score-msg { font-size: 19px; }
}
@media (max-width: 1100px) {
    .pair { gap: 8px; }
    .vbar b { font-size: 17px; }
    .big { font-size: 56px; }
    .hours { gap: 6px; }
}
@media (max-width: 960px) {
    /* the score goes under the list, the chapters stack: words, then their chart */
    .check { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .score-art { flex: none; height: 240px; min-height: 0; object-position: 50% 45%; }
    .chapter, .chapter.flip { grid-template-columns: minmax(0, 640px); justify-content: center; gap: 28px; padding: 64px 0; }
    .chapter.flip .say { order: 0; }
    .say .src { max-width: none; }
}

/* ── Phone ── */
@media (max-width: 760px) {
    .why-head { padding: 56px 26px 44px; }
    .why-head .lead { margin-top: 20px; }
    .why.js .why-lead-all { display: none; }
    .why.js .why-lead-step { display: inline; }
    .why.js .check { display: none; }
    .why.js .why-step { display: block; padding: 0 16px; }
    .check.wrap { padding-left: 14px; padding-right: 14px; }
    .q { grid-template-columns: 30px minmax(0, 1fr); gap: 14px 10px; padding: 18px 16px; min-height: 0; align-items: start; }
    .q .num { font-size: 19px; line-height: 1.4; }
    .q h2 { font-size: 21px; }
    .yn { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 8px; }
    .why.js .yn { display: grid; }
    .yn button { width: 100%; height: 48px; }
    .score-in { padding: 26px 22px 0; gap: 14px; }
    .score-in .btn { align-self: stretch; }
    .score-art { height: 170px; object-position: 28% 50%; }
    .why-data { margin-top: 72px; padding-bottom: 24px; }
    .data-head { padding: 64px 0 16px; gap: 16px; }
    .data-head p { font-size: 16px; }
    .chapter, .chapter.flip { grid-template-columns: minmax(0, 1fr); padding: 56px 0; }
    .say { gap: 14px; }
    .say h3 { font-size: 27px; }
    .say p { font-size: 16px; max-width: none; }
    .say .src { font-size: 13px; padding-top: 12px; }
    .panel { padding: 24px 18px; gap: 24px; }
    .cols, .years { gap: 12px; }
    .years { margin-top: 10px; }
    .pair { height: 220px; gap: 6px; }
    .vbar { width: 44px; }
    .vbar b { font-size: 15px; }
    .hbars { gap: 24px; }
    .hbar span { font-size: 15px; }
    .hbar b { font-size: 24px; }
    .big { font-size: 48px; }
    .hours { gap: 4px; }
    .hours i { height: 64px; border-radius: 14px 14px 3px 3px; }
    .keys { justify-content: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 380px) {
    .why-step { font-size: 15px; }
    .why.js .why-step { padding: 0 12px; }
    .step { padding: 22px 16px 14px; }
    .step h2 { font-size: 26px; }
    .pair { gap: 3px; }
    .vbar { width: 40px; }
    .vbar b { font-size: 12.5px; }
    .cols, .years { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .q, .segs span { transition: none; }
    .why.js .q.yes .q-a { animation: none; }
}

.why-data.sec-alt { margin-top: 80px; padding-bottom: 56px; border-top: 0; }
@media (max-width: 760px) { .why-data.sec-alt { margin-top: 48px; padding-bottom: 32px; } }
@media (max-width: 360px) { .hbar span { font-size: 13.5px; } }
