/* ==========================================================================
   Package page (app/pages/solution.php, page-system.md §3.6)
   1. Outcomes beside the photo   2. Is this for you   3. The plan as numbered stations
   4. What you receive and the handover line   5. Scope, extras, questions, other packages
   Steps, checklists, widgets, cards, scope lists, the FAQ and the stage tiles are shared (wisdigix.css).
   ========================================================================== */

/* 1. Outcomes: the text on six columns, a tall crop of the photo on five
   ----------------------------------------------------------------------- */
.sol-outcomes__grid {
    display: grid;
    gap: var(--s-7) var(--gap);
    align-items: center;
}
@media (min-width: 992px) {
    .sol-outcomes__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .sol-outcomes__text { grid-column: 1 / span 6; }
    .sol-outcomes__photo { grid-column: 8 / -1; }
}
.sol-outcomes__text { min-width: 0; }
.sol-outcomes .wg-section-head { margin-bottom: var(--s-6); }
.sol-outcomes .wg-section-head .wg-meta { max-width: 36rem; }
.sol-outcomes__list .wg-outcome { padding-block: var(--s-5); }
.sol-outcomes__list .wg-outcome:last-child { border-bottom: 1px solid var(--rule); }
.sol-outcomes__list .wg-outcome p { max-width: 36rem; }
.sol-outcomes__photo img { aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 992px) {
    .sol-outcomes__photo img { aspect-ratio: 1 / 1; }
}
/* Keep each photo's subject in the crop: the caller at the window sits right of centre */
.sol-outcomes__photo--contact img { object-position: 78% 50%; }
.sol-outcomes__photo--review img { object-position: 45% 50%; }

/* 2. Is this package for you
   ----------------------------------------------------------------------- */
.sol-fit .wg-section-head { margin-bottom: var(--s-5); }
.sol-fit__text > p { max-width: 38rem; }
.sol-fit__text > p:last-child { margin-bottom: 0; }
.sol-fit__scope { color: var(--fg); font-size: var(--fs-small); }
.sol-fit__scope strong { font-weight: 620; }
.sol-fit .wg-widget__title.sol-fit__goals { margin-top: var(--s-6); }

/* 3. The plan: phases as numbered stations (wg-steps); four or fewer run across from 992px
   ----------------------------------------------------------------------- */
.sol-plan .wg-section-head { margin-bottom: var(--s-7); }
.sol-phase { min-width: 0; }
.sol-steps .sol-phase h3 { font-size: var(--fs-h4); }
.sol-steps .sol-phase__text { max-width: 38rem; color: var(--fg); }
@media (min-width: 992px) {
    .sol-steps--row .sol-phase__text { font-size: var(--fs-small); line-height: 1.55; }
    /* The rail between stations: the shared row rule keeps the vertical rail's width of 0, which wins over
       left + right, so the line needs its width back here */
    .sol-steps--row > li::after { width: auto; }
}

/* "You can stop here and decide later": a plain sentence-case note under the first phase, in body type at
   the small size, led by the plan's one orange signal, a 6px dot level with the first line */
.sol-steps .sol-stop {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    max-width: 38rem;
    margin: var(--s-3) 0 0;
    color: var(--fg);
    font-size: var(--fs-small);
    font-weight: 450;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
}
.sol-stop::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    margin-top: calc((1.5em - 6px) / 2);
    border-radius: 50%;
    background: var(--fg-strong);
}
.sol-steps .sol-phase__scoped { margin-top: var(--s-3); color: var(--fg-muted); font-size: var(--fs-small); }

/* The services in a phase: rows over hairlines, a condition line above the entry it opens */
.sol-entries {
    margin: var(--s-4) 0 0;
    padding: 0;
    border-top: 1px solid var(--rule);
    list-style: none;
}
.sol-entries > li {
    padding: .625rem 0;
    border-bottom: 1px solid var(--rule);
}
.sol-steps .sol-entries p { margin: 0; }
.sol-entries a {
    color: var(--fg-strong);
    font-weight: 600;
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--rule-strong) 60%, transparent);
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
    transition: text-decoration-color var(--dur-fast) var(--ease-out);
}
.sol-entries a:hover,
.sol-entries a:focus-visible { color: var(--fg-strong); text-decoration-color: var(--accent-fg); }
.sol-entries__if,
.sol-entries__one {
    color: var(--fg-muted);
    font-size: var(--fs-small);
    line-height: 1.45;
}
.sol-entries__if + .sol-entries__one { margin-top: .125rem; }
.sol-entries__options {
    display: grid;
    gap: .25rem;
    margin: .375rem 0 0;
    padding: 0 0 0 var(--s-4);
    border-left: 1px solid var(--rule-strong);
    list-style: none;
}
/* Proposal rows inside a phase */
.sol-entries.wg-rows { border-top-color: var(--rule); }

/* The handover line: a raised graphite field with one hairline that closes what you receive (or the plan) */
.sol-handover {
    max-width: 48rem;
    margin: var(--s-7) 0 0;
    padding: var(--s-5) var(--s-5) var(--s-5) calc(var(--s-5) + 1.25rem);
    position: relative;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--c-graphite);
    color: var(--fg-strong);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.5;
}
/* A right-angle connector: the coordination view's line, ending in the text */
.sol-handover::before {
    content: "";
    position: absolute;
    top: calc(var(--s-5) + .3em);
    left: var(--s-5);
    width: .625rem;
    height: .5em;
    border-bottom: 1px solid var(--rule-strong);
    border-left: 1px solid var(--rule-strong);
}

/* 4. What you receive: the head beside two columns of deliverables
   ----------------------------------------------------------------------- */
.sol-receive__grid {
    display: grid;
    gap: 0 var(--gap);
    align-items: start;
}
@media (min-width: 992px) {
    .sol-receive__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .sol-receive__grid > .wg-section-head { grid-column: 1 / span 5; margin-bottom: 0; }
    .sol-receive__body { grid-column: 6 / -1; }
}
.sol-receive__body { min-width: 0; }
.sol-receive__list {
    display: grid;
    gap: .375rem var(--gap);
    padding-top: var(--s-4);
    border-top: 1px solid var(--rule-strong);
}
@media (min-width: 768px) {
    .sol-receive__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.sol-receive .sol-handover { margin-top: var(--s-6); }

/* 5. Scope, extras, questions
   ----------------------------------------------------------------------- */
.sol-scope__actions { margin-top: var(--s-7); }

.sol-extras__groups { display: grid; gap: var(--s-8) var(--gap); }
@media (min-width: 992px) {
    .sol-extras__groups--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 1rem + 3vw, 4rem); }
}
.sol-extras__group { min-width: 0; }
.sol-extras__title {
    margin: 0 0 var(--s-5);
    padding-bottom: var(--s-3);
    border-bottom: 1px solid var(--rule);
    font-size: var(--fs-h4);
    font-weight: 620;
    line-height: 1.3;
    letter-spacing: -.01em;
}
/* The extras are short (a name and one reason), so their cards are compact and close together */
.sol-extras__cards { gap: var(--s-3); --card-pad: 1.375rem; }
.sol-extras__cards .wg-card__title { font-size: var(--fs-h4); }
.sol-extras__cards .wg-card__foot { margin-top: var(--s-4); }
@media (min-width: 992px) {
    .sol-extras__groups--two .sol-extras__cards { grid-template-columns: minmax(0, 1fr); }
}

.sol-faq .wg-faq { max-width: 56rem; }

/* Same ground, one hairline: .wg-dark bands share the obsidian of the plain sections beside them on the dark
   site, so the seam on either side is a 1px rule (the coal and graphite grounds carry their own edge) */
.wg-section:not(.wg-section--stone):not(.wg-ice):not(.wg-dark) + .wg-dark,
.wg-dark + .wg-section:not(.wg-section--stone):not(.wg-ice):not(.wg-dark) { border-top: 1px solid var(--rule); }

/* Not included and what we need, as one ruled disclosure (UX pass, 2026-11-17) */
.sol-scope__details { border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); }
.sol-scope__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .375rem var(--s-5);
    align-items: center;
    padding: var(--s-6) 0;
    cursor: pointer;
    list-style: none;
}
.sol-scope__summary::-webkit-details-marker { display: none; }
.sol-scope__summary::marker { content: ""; }
.sol-scope__title { grid-column: 1; margin: 0; font-size: var(--fs-title); }
.sol-scope__hint { grid-column: 1; color: var(--fg-muted); font-size: var(--fs-small); }
.sol-scope__icon { grid-column: 2; grid-row: 1 / span 2; width: 24px; height: 24px; color: var(--fg-strong); transition: transform var(--dur) var(--ease-out); }
.sol-scope__details[open] .sol-scope__icon { transform: rotate(45deg); }
.sol-scope__summary:hover .sol-scope__title,
.sol-scope__summary:focus-visible .sol-scope__title { text-decoration: underline; text-decoration-color: var(--accent-fg); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.sol-scope__body { padding-bottom: var(--s-7); }
.sol-scope__ask { margin: var(--s-6) 0 0; }

/* What you get (UX pass, 2026-11-17): what changes on the left, the photo over what you receive on the right */
.sol-get__grid { display: grid; gap: var(--s-8) var(--gap); align-items: start; }
@media (min-width: 992px) {
    .sol-get__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2.5rem, 1rem + 4vw, 6rem); }
}
.sol-get__changes,
.sol-get__receive { min-width: 0; }
.sol-get__label { margin: 0 0 var(--s-3); color: var(--fg-muted); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.sol-get__photo { margin: 0 0 var(--s-6); }
.sol-get__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sol-get__receive .sol-receive__list { margin-bottom: var(--s-5); grid-template-columns: minmax(0, 1fr); }   /* one column in the narrow side */
