@charset "utf-8";
.problem {
    --problem-art-w: 240px;
    --problem-inset: var(--space-8);
    --problem-num-gap: var(--space-12);
    --problem-span-1: 14;
    --problem-span-2: 16;
    --problem-span-3: 18;
    padding-block: var(--section-y);
    word-break: keep-all;
    overflow-wrap: break-word;
}
.problem__list {
    display: grid;
    grid-auto-rows: 1fr;
    gap: var(--grid-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}
.problem__card {
    --problem-span: 20;
    justify-self: center;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    width: calc((100% + var(--grid-gap)) * var(--problem-span) / 20 - var(--grid-gap));
    padding: var(--problem-inset) var(--problem-inset) var(--problem-inset) var(--space-12);
    border-radius: var(--radius-panel-lg);
    background: var(--surface-sub);
}
.problem__num {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin: 0;
}
.problem__num-label {
    color: var(--card-copy-color);
    font-size: var(--fs-small);
    line-height: var(--lh-small);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-small);
}
.problem__num-digits {
    color: var(--text-title);
    font-size: var(--fs-sechead-title-l);
    line-height: 1;
    font-weight: var(--fw-sechead);
    letter-spacing: var(--ls-sechead-title);
    font-variant-numeric: tabular-nums;
}
.problem__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
    margin-right: var(--space-10);
    padding-left: var(--problem-num-gap);
}
.problem__title { margin-block: 0; }
.problem__voice {
    max-width: 28em;
    margin: 0;
    color: var(--card-copy-color);
    text-wrap: pretty;
}
.problem__art {
    width: var(--problem-art-w);
    aspect-ratio: 4 / 3;
    border-radius: calc(var(--radius-panel-lg) - var(--problem-inset));
    background: var(--surface);
    box-shadow: var(--shadow-media-sm);
    overflow: hidden;
}
.problem__art svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.problem__art svg * { vector-effect: non-scaling-stroke; }
.problem__art .is-paper { fill: var(--surface); }
.problem__art .is-fill  { fill: var(--surface-sub); }
.problem__art .is-solid { fill: var(--ink); }
.problem__art .is-guide { stroke: var(--line-strong); }
.problem__art .is-dash  { stroke-dasharray: 3 3; }
.problem__win { color: var(--text-faint); }
.problem__win > :not(.is-guide) { stroke: currentColor; }
.problem__chip { opacity: 0; }
.problem__chip-mark { stroke: var(--surface); }
.problem__handoff { stroke: var(--text-faint); }
.problem__note-text {
    fill: var(--ink);
    stroke: none;
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: var(--fw-semibold);
    letter-spacing: -0.02em;
}
@media (min-width: 1025px) {
    .problem__card:nth-child(1) { --problem-span: var(--problem-span-1); }
    .problem__card:nth-child(2) { --problem-span: var(--problem-span-2); }
    .problem__card:nth-child(3) { --problem-span: var(--problem-span-3); }
}
@media (max-width: 1280px) {
    .problem {
        --problem-art-w: 208px;
        --problem-num-gap: var(--space-10);
        --problem-span-1: 16;
        --problem-span-2: 18;
        --problem-span-3: 20;
    }
    .problem__text { margin-right: var(--space-8); }
}
@media (max-width: 991px) {
    .problem {
        --problem-art-w: 176px;
        --problem-inset: var(--space-6);
        --problem-num-gap: var(--space-8);
    }
    .problem__card { padding-left: var(--space-8); }
    .problem__text { margin-right: var(--space-6); }
}
@media (max-width: 767px) {
    .problem {
        --problem-art-w: 144px;
        --problem-inset: var(--space-5);
    }
    .problem__card {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "num  art"
            "text text";
        align-items: start;
        row-gap: var(--space-6);
        padding: var(--problem-inset) var(--problem-inset) var(--space-8);
        border-radius: var(--radius-lg);
    }
    .problem__num  { grid-area: num; }
    .problem__art  { grid-area: art; border-radius: calc(var(--radius-lg) - var(--problem-inset)); }
    .problem__text {
        grid-area: text;
        margin-right: 0;
        padding-left: 0;
    }
}
@media screen and (prefers-reduced-motion: no-preference) {
    .problem__art svg g,
    .problem__art svg rect,
    .problem__art svg path {
        transform-box: fill-box;
        transform-origin: center;
    }
    .problem--armed .problem__art * {
        animation-duration: var(--problem-cycle);
        animation-delay: var(--problem-story);
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        animation-fill-mode: both;
        animation-play-state: paused;
    }
    .problem--armed .problem__card.is-played.is-onscreen .problem__art * {
        animation-play-state: running;
    }
    .problem--armed .problem__card {
        --problem-delay: 0s;
        --problem-lead: 0s;
        animation-name: problem-rise;
        animation-duration: 1.1s;
        animation-timing-function: var(--ease-out);
        animation-delay: var(--problem-delay);
        animation-fill-mode: both;
        animation-play-state: paused;
    }
    .problem--armed .problem__card.is-played { animation-play-state: running; }
    .problem--armed .problem__card:nth-child(2) { --problem-lead: 0.4s; }
    .problem--armed .problem__card:nth-child(3) { --problem-lead: 0.8s; }
    .problem--armed .problem__art {
        --problem-cycle: 8s;
        --problem-story: calc(var(--problem-delay) + 0.5s + var(--problem-lead));
    }
    .problem--armed .problem__story { animation-name: problem-seam; }
    .problem--armed .problem__row--plan   { transform-origin: left center; animation-name: problem-plan; }
    .problem--armed .problem__row--design { transform-origin: left center; animation-name: problem-design; }
    .problem--armed .problem__handoff--1  { animation-name: problem-handoff-1; }
    .problem--armed .problem__handoff--2  { animation-name: problem-handoff-2; }
    .problem--armed .problem__slip        { transform-origin: left center; animation-name: problem-slip; }
    .problem--armed .problem__deadline    { animation-name: problem-pulse-line; }
    .problem--armed .problem__flag        { animation-name: problem-pulse-flag; }
    .problem--armed .problem__trail       { transform-origin: left center; animation-name: problem-trail; }
    .problem--armed .problem__warn        { transform-origin: 50% 100%; animation-name: problem-warn; }
    .problem--armed .problem__drop--1 { --problem-dx: -6px; --problem-tilt: -8deg;  animation-name: problem-drop-1; }
    .problem--armed .problem__drop--2 { --problem-dx: 5px;  --problem-tilt: 7deg;   animation-name: problem-drop-2; }
    .problem--armed .problem__drop--3 { --problem-dx: -4px; --problem-tilt: -10deg; animation-name: problem-drop-3; }
    .problem--armed .problem__drop--4 { --problem-dx: 6px;  --problem-tilt: 9deg;   animation-name: problem-drop-4; }
    .problem--armed .problem__drop--5 { --problem-dx: -5px; --problem-tilt: -12deg; animation-name: problem-drop-5; }
    .problem--armed .problem__pile    { transform-origin: center bottom; animation-name: problem-wobble; }
    .problem--armed .problem__thud    { animation-name: problem-thud; }
    .problem--armed .problem__note    { animation-name: problem-note; }
    .problem--armed .problem__win--source { animation-name: problem-dim-source; }
    .problem--armed .problem__win--left   { --problem-from: 46px;  animation-name: problem-clone-l; }
    .problem--armed .problem__win--right  { --problem-from: -46px; animation-name: problem-clone-r; }
    .problem--armed .problem__spark       { animation-name: problem-spark; }
    .problem--armed .problem__chip        { animation-name: problem-chip; }
    .problem--armed .problem__hero        { animation-name: problem-tint; }
}
@media screen and (prefers-reduced-motion: no-preference) and (max-width: 767px) {
    .problem--armed .problem__card {
        animation-name: problem-rise-narrow;
        animation-duration: 0.6s;
    }
}
@keyframes problem-seam {
    0%, 86.25% { opacity: 1; animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    91.25%, 100% { opacity: 0; }
}
@keyframes problem-rise {
    from { opacity: 0; transform: translateY(56px) scale(0.97); }
    to   { opacity: 1; transform: none; }
}
@keyframes problem-rise-narrow {
    from { transform: translateY(24px); }
    to   { transform: none; }
}
@keyframes problem-plan {
    0%          { opacity: 1; transform: scaleX(0); animation-timing-function: cubic-bezier(0.3, 0, 0, 1); }
    8.75%, 93% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: scaleX(0); }
}
@keyframes problem-design {
    0%, 15% { opacity: 1; transform: scaleX(0); animation-timing-function: cubic-bezier(0.3, 0, 0, 1); }
    23.75%, 93% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: scaleX(0); }
}
@keyframes problem-handoff-1 {
    0%, 10% { opacity: 0; transform: translateY(-3px); animation-timing-function: cubic-bezier(0.3, 0, 0, 1); }
    16.25%, 93% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: translateY(-3px); }
}
@keyframes problem-handoff-2 {
    0%, 25%  { opacity: 0; transform: translateY(-3px); animation-timing-function: cubic-bezier(0.3, 0, 0, 1); }
    31.25%, 93% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: translateY(-3px); }
}
@keyframes problem-slip {
    0%, 30% { opacity: 1; transform: translateX(-26px) scaleX(0); animation-timing-function: cubic-bezier(0.3, 0, 0, 1); }
    36%   { transform: translateX(-26px); }
    45.25%   { transform: translateX(-26px); animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    58%   { transform: translateX(4px); animation-timing-function: cubic-bezier(0.3, 0, 0, 1); }
    64.375%, 93% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: translateX(-26px) scaleX(0); }
}
@keyframes problem-pulse-line {
    0%, 45% { stroke: var(--line-strong); animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    49.375%   { stroke: var(--ink); animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    57.5%, 100% { stroke: var(--line-strong); }
}
@keyframes problem-pulse-flag {
    0%, 45% { transform: none; animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    49.375%   { transform: scale(1.6); animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    57.5%, 100% { transform: none; }
}
@keyframes problem-trail {
    0%, 45% { opacity: 0; transform: scaleX(0); animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    49.5%   { opacity: 1; }
    60%, 93% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: scaleX(0); }
}
@keyframes problem-warn {
    0%, 65% { opacity: 0; transform: scale(0); animation-timing-function: cubic-bezier(0.22, 0.73, 0.3, 1.39); }
    72.5%, 93% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: scale(0); }
}
@keyframes problem-drop-1 {
    0%, 2.5% { opacity: 0; transform: translate(var(--problem-dx), -44px) rotate(var(--problem-tilt)); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    4.1875%      { opacity: 1; }
    7.75%      { transform: none; animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
    9.4375%      { transform: translateY(-3px); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    11.875%, 93% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: translate(var(--problem-dx), -44px) rotate(var(--problem-tilt)); }
}
@keyframes problem-drop-2 {
    0%, 6.875% { opacity: 0; transform: translate(var(--problem-dx), -44px) rotate(var(--problem-tilt)); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    8.5625%      { opacity: 1; }
    12.125%      { transform: none; animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
    13.8125%      { transform: translateY(-3px); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    16.25%, 93% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: translate(var(--problem-dx), -44px) rotate(var(--problem-tilt)); }
}
@keyframes problem-drop-3 {
    0%, 23.75% { opacity: 0; transform: translate(var(--problem-dx), -44px) rotate(var(--problem-tilt)); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    25.4375%      { opacity: 1; }
    29%      { transform: none; animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
    30.6875%      { transform: translateY(-3px); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    33.125%, 93% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: translate(var(--problem-dx), -44px) rotate(var(--problem-tilt)); }
}
@keyframes problem-drop-4 {
    0%, 28.125% { opacity: 0; transform: translate(var(--problem-dx), -44px) rotate(var(--problem-tilt)); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    29.8125%      { opacity: 1; }
    33.375%      { transform: none; animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
    35.0625%      { transform: translateY(-3px); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    37.5%, 93% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: translate(var(--problem-dx), -44px) rotate(var(--problem-tilt)); }
}
@keyframes problem-drop-5 {
    0%, 48.75% { opacity: 0; transform: translate(var(--problem-dx), -44px) rotate(var(--problem-tilt)); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    50.4375%      { opacity: 1; }
    54%      { transform: none; animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
    55.6875%      { transform: translateY(-3px); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    58.125%, 93% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: translate(var(--problem-dx), -44px) rotate(var(--problem-tilt)); }
}
@keyframes problem-wobble {
    0%, 36.875% { transform: none; animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
    39.35%  { transform: rotate(-1deg); }
    42.725%  { transform: rotate(0.6deg); }
    45.65%  { transform: rotate(-0.2deg); }
    48.125%, 56.25% { transform: none; animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
    58.45%  { transform: rotate(-2.4deg); }
    61.75%   { transform: rotate(1.6deg); }
    65.05%  { transform: rotate(-0.8deg); }
    67.8%  { transform: rotate(0.3deg); }
    70%, 100% { transform: none; }
}
@keyframes problem-thud {
    0%, 54.375% { opacity: 0; animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
    58.75%, 93% { opacity: 1; }
    93%, 100% { opacity: 0; }
}
@keyframes problem-note {
    0%, 62.5%  { opacity: 0; transform: translate(10px, -26px) rotate(14deg); animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
    65%    { opacity: 1; }
    68.5%   { transform: translate(0, 1px) rotate(-3deg); animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
    70.5%   { transform: translateY(-1.5px) rotate(1deg); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    72.5%, 93% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: translate(10px, -26px) rotate(14deg); }
}
@keyframes problem-dim-source {
    0%, 60% { color: var(--ink); animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    72.5%, 86.25% { color: var(--text-faint); animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    91.25%, 100% { color: var(--ink); }
}
@keyframes problem-clone-l {
    0%, 12.5%  { opacity: 0; transform: translateX(var(--problem-from)); color: var(--ink); animation-timing-function: cubic-bezier(0.3, 0, 0, 1); }
    16.25%    { opacity: 1; }
    25%      { transform: none; }
    60%    { color: var(--ink); animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    72.5%, 93% { opacity: 1; transform: none; color: var(--text-faint); }
    93%, 100% { opacity: 0; transform: translateX(var(--problem-from)); color: var(--ink); }
}
@keyframes problem-clone-r {
    0%, 15% { opacity: 0; transform: translateX(var(--problem-from)); color: var(--ink); animation-timing-function: cubic-bezier(0.3, 0, 0, 1); }
    18.75%    { opacity: 1; }
    27.5%    { transform: none; }
    60%    { color: var(--ink); animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    72.5%, 93% { opacity: 1; transform: none; color: var(--text-faint); }
    93%, 100% { opacity: 0; transform: translateX(var(--problem-from)); color: var(--ink); }
}
@keyframes problem-spark {
    0%, 2.5% { opacity: 0; transform: scale(0) rotate(-45deg); animation-timing-function: cubic-bezier(0.22, 0.73, 0.3, 1.39); }
    10%, 93% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: scale(0) rotate(-45deg); }
}
@keyframes problem-chip {
    0%, 35% { opacity: 0; transform: translate(34px, -10px) rotate(8deg); animation-timing-function: cubic-bezier(0.3, 0, 0, 1); }
    41%   { opacity: 1; transform: none; animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    45.5%   { opacity: 1; transform: translateY(22px); }
    50.125%   { opacity: 1; transform: translateY(22px); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    58.375%   { opacity: 0.8; transform: translate(26px, 58px) rotate(24deg); }
    62.5%, 100% { opacity: 0; transform: translate(30px, 66px) rotate(28deg); }
}
@keyframes problem-tint {
    0%, 45% { fill: var(--surface-sub); animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    50.625%   { fill: color-mix(in srgb, var(--ink) 30%, var(--surface)); animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
    56.25%, 100% { fill: var(--surface-sub); }
}
