/* ==========================================================================
   MECANDRIA — Solutions (page-specific; loaded only on solutions.html)
   Classes are prefixed .so- so nothing leaks into other pages.

   Narrative: problem → possibility → solution → transformation.
   Interactive pieces are progressive:
     · Discovery + solution system = native radio inputs + CSS (work without
       JS, keyboard accessible); on small screens they fall into accordions.
     · Layer plates drop in when the shared [data-reveal] adds .is-in.
     · Journey timeline + finder are enhanced by solutions.js.
   ========================================================================== */
.so {
  --so-bg: #FBF8F3; --so-bg-2: #F4EEE5; --so-surface: #FFFFFF; --so-surface-2: #FFFDF9;
  --so-line: rgba(90, 80, 70, .16); --so-line-2: rgba(90, 80, 70, .28);
  --so-muted: #5A5568; --so-dim: #6E6878;
  --so-cyan: 0, 119, 95; --so-violet: 91, 46, 230; --so-magenta: 199, 0, 73;   /* warm ivory palette: the "cyan" slot holds the teal label colour */
}
.so section { position: relative; isolation: isolate; }
.so-sec { padding-block: clamp(20px, 2.5vw, 32px) clamp(48px, 5.5vw, 80px); background: var(--so-bg); scroll-margin-top: var(--nav-sticky-h); }
.so-sec--alt { background: var(--so-bg-2); }
.so-sec--alt::before, .so-sec--alt::after { content: ""; position: absolute; left: 0; right: 0; height: 120px; pointer-events: none; z-index: -1; }
.so-sec--alt::before { top: 0; background: linear-gradient(var(--so-bg), transparent); }
.so-sec--alt::after { bottom: 0; background: linear-gradient(transparent, var(--so-bg)); }

.so-chap { display: inline-flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgb(var(--so-cyan)); }
.so-chap b { color: var(--so-dim); font-variant-numeric: tabular-nums; }
.so-chap::after { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, rgba(var(--so-cyan), .7), transparent); }
.so-h1 { font-size: clamp(2.2rem, 1rem + 3.4vw, 4.6rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.so-h2 { font-size: clamp(1.6rem, .72rem + 2.45vw, 3.3rem); text-transform: uppercase; font-weight: 800; line-height: 1.03; letter-spacing: -.035em; }
.so-lead { font-size: clamp(1.03rem, .95rem + .35vw, 1.2rem); line-height: 1.65; color: var(--so-muted); max-width: 56ch; }
.so-cool { background: linear-gradient(92deg, #00775F, #00728A 45%, #5B2EE6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.so-dimtext { color: var(--so-dim); }
.so-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 84px); }
.so-head .so-h2 { margin-top: 22px; }
.so-head p { margin: 0; color: var(--so-muted); font-size: 1.06rem; line-height: 1.7; }
.so-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.so-head--center p { max-width: 60ch; }
.so .btn-light { background: #1D1B2F; color: #FBF8F3; }
.so .btn-light:hover { background: #3A3650; transform: translateY(-2px); }
.sr-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

@keyframes so-pop  { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   HERO — static editorial composition (no animation by design):
   statement on the left, side copy and actions on the right.
   ========================================================================== */
.so-hero {
  min-height: 76vh; min-height: 76svh; display: flex; overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 clamp(64px, 7vw, 96px); background: var(--so-bg);
}
.so-hero::before { /* static light: one cool field top-right, a faint violet low-left */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 60% at 85% 10%, rgba(255, 75, 51, .13), transparent 70%), radial-gradient(40% 45% at 5% 95%, rgba(var(--so-violet), .08), transparent 70%);
}
.so-hero::after { /* soft fade into the next section */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(transparent, rgba(255, 255, 255, .6));
}
/* statement sits centred in the hero */
.so-hero > .container { display: flex; flex-direction: column; }
.so-hero-top { margin: auto 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px clamp(40px, 6vw, 96px); align-items: end; }
.so-hero h1 { margin: 24px 0 0; max-width: 17ch; }
.so-hero-side .so-lead { margin: 0; }
.so-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.so-hero-actions .btn { --pad-y: 15px; font-size: 12.5px; }
/* ==========================================================================
   01 · DISCOVERY (problem → approach → outcome) and
   02 · SOLUTION SYSTEM (five areas). Shared radio-driven split component:
   tabs in column 1, the checked panel spans column 2. Mobile = accordion.
   ========================================================================== */
.so-split { display: grid; grid-template-columns: minmax(250px, 380px) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 80px); align-items: start; }
.so-tab {
  grid-column: 1; display: grid; grid-template-columns: minmax(0, 1fr) 16px; align-items: center; gap: 10px; cursor: pointer;
  padding: 20px 4px; border-bottom: 1px solid var(--so-line); color: var(--so-muted); position: relative;
  transition: color .3s, padding-left .4s var(--ease); scroll-margin-top: var(--nav-sticky-h);
}
.so-tab:first-of-type { border-top: 1px solid var(--so-line); }
.so-tab .t { font-size: clamp(1.02rem, .9rem + .4vw, 1.22rem); font-weight: 700; letter-spacing: -.01em; }
.so-tab .c { width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); opacity: .5; transition: transform .35s var(--ease), opacity .3s; }
.so-tab::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: linear-gradient(90deg, rgb(var(--so-cyan)), rgba(var(--so-violet), .9)); transition: width .5s var(--ease); }
.so-tab:hover { color: #1D1B2F; }
.so-panel { grid-column: 2; grid-row: 1 / span 7; display: none; }

/* checked state, per pair (input id → label[for] → panel) */
.so-split input:checked + .so-tab, .so-split .so-tab.is-on { color: #1D1B2F; padding-left: 12px; }
.so-split input:checked + .so-tab .c { opacity: 1; transform: rotate(45deg) translate(2px, -2px); color: rgb(var(--so-cyan)); }
.so-split input:checked + .so-tab::before { width: 100%; }
.so-split input:checked + .so-tab + .so-panel { display: block; animation: so-pop .55s var(--ease) both; }
.so-split input:focus-visible + .so-tab { outline: 2px solid rgb(var(--so-cyan)); outline-offset: 2px; border-radius: 4px; }

/* ---- discovery panel: three-step chain ---- */
.so-chain { position: relative; border: 1px solid var(--so-line); border-radius: 10px; background: linear-gradient(160deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .63)), var(--so-surface); padding: clamp(24px, 3.4vw, 48px); }
.so-chain::after { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--so-cyan), .5), rgba(var(--so-violet), .5), transparent); }
.so-step { position: relative; padding-left: 34px; }
.so-step + .so-step { margin-top: 34px; }
.so-step::before { content: ""; position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--so-line-2); background: var(--so-surface); }
.so-step:not(:nth-child(3))::after { /* connector to next step, draws when panel opens */
  content: ""; position: absolute; left: 5px; top: 19px; bottom: -30px; width: 1px; transform-origin: top;
  background: linear-gradient(180deg, rgba(var(--so-cyan), .7), rgba(var(--so-violet), .5)); animation: so-grow .7s var(--ease) both; animation-delay: calc(.2s + var(--k, 0) * .25s);
}
@keyframes so-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.so-step:nth-child(2) { --k: 1; } .so-step:nth-child(3) { --k: 2; }
.so-step:nth-child(2)::before { border-color: rgba(var(--so-cyan), .8); }
.so-step:nth-child(3)::before { border-color: rgba(var(--so-cyan), .9); background: rgb(var(--so-cyan)); box-shadow: 0 0 14px rgba(var(--so-cyan), .5); }
.so-step .k { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--so-dim); margin-bottom: 8px; }
.so-step .v { font-size: clamp(1.15rem, .95rem + .7vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.so-step:nth-child(1) .v { color: #6E6878; }
.so-step:nth-child(3) .v { color: #1D1B2F; }
.so-step p { margin: 8px 0 0; color: var(--so-muted); font-size: .95rem; line-height: 1.6; max-width: 52ch; }
.so-step { animation: so-pop .6s var(--ease) both; animation-delay: calc(var(--k, 0) * .22s); }
/* which of the five areas this touches */
.so-areas { display: flex; flex-wrap: wrap; gap: 6px; margin: 30px 0 26px; padding-top: 24px; border-top: 1px solid var(--so-line); }
.so-areas span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--so-line); color: #6E6878; }
.so-areas span.on { border-color: rgba(var(--so-cyan), .55); color: #00664F; background: rgba(var(--so-cyan), .07); }
.so-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--so-magenta)); }
.so-link .arrow { transition: transform .3s var(--ease); }
.so-link:hover .arrow { transform: translateX(4px); }

/* ---- solution system panel ---- */
.so-sol { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: start; padding-top: 6px; }
.so-sol h3 { margin: 0 0 16px; font-size: clamp(1.8rem, 1.1rem + 2.2vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.so-sol .desc { color: var(--so-muted); font-size: 1.05rem; line-height: 1.65; margin: 0 0 28px; max-width: 48ch; }
.so-sol .desc strong { color: #1D1B2F; font-weight: 600; }
.so-list-k { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--so-dim); margin: 0 0 10px; }
.so-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 0; }
.so-list li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--so-line); color: #4A4558; font-size: .96rem; }
.so-list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 8px; height: 1px; background: rgb(var(--so-cyan)); }
.so-list--change li { color: #6E6878; }
.so-list--change li::before { background: rgba(var(--so-magenta), .7); }
/* one line icon per solution area: ink strokes, a magenta accent, a soft teal fill */
.so-ico { margin: 0; justify-self: end; width: 176px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--so-line); border-radius: 22px; background: radial-gradient(70% 70% at 50% 40%, rgba(var(--so-cyan), .09), transparent 72%), var(--so-surface); box-shadow: 0 18px 40px -30px rgba(60, 40, 20, .45); }
.so-ico svg { width: 84px; height: 84px; fill: none; stroke: #1D1B2F; stroke-width: .95; stroke-linecap: round; stroke-linejoin: round; }
.so-ico .ac { stroke: rgb(var(--so-magenta)); }
.so-ico .acf { fill: rgb(var(--so-magenta)); stroke: none; }
.so-ico .tf { fill: rgba(var(--so-cyan), .14); stroke: rgb(var(--so-cyan)); }
.so-split input:checked + .so-tab + .so-panel .so-ico svg { animation: so-pop .6s var(--ease) both .15s; }

/* ==========================================================================
   03 · LAYERS — how solutions connect: an isometric stack (business at the base,
   transformation on top) beside one row of cards per layer. Plates drop in from
   the bottom up on reveal; hovering a plate or a row lights up its partner.
   ========================================================================== */
.so-layers { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; max-width: 1120px; margin: 0 auto; }
.js .so-layers[data-reveal] { opacity: 1; transform: none; }
.so-stack { margin: 0; width: 100%; max-width: 400px; justify-self: center; }
.so-stack svg { display: block; width: 100%; height: auto; overflow: visible; }
.so-stack .tp { fill: #FFFDF9; stroke: rgba(90, 80, 70, .28); transition: fill .35s ease, stroke .35s ease; }
.so-stack .sl { fill: #EDE6DA; stroke: rgba(90, 80, 70, .25); }
.so-stack .sr { fill: #E3DACB; stroke: rgba(90, 80, 70, .25); }
.so-stack .pip { fill: rgba(var(--so-cyan), .55); }
.so-stack .so-pl--key .tp { fill: rgb(var(--so-cyan)); stroke: none; }
.so-stack .so-pl--key .sl { fill: #005C4A; stroke: none; }
.so-stack .so-pl--key .sr { fill: #004A3C; stroke: none; }
.so-stack .so-pl--key .pip { fill: #FFFFFF; }
.so-stack .glow { fill: rgba(0, 211, 164, .25); filter: blur(18px); animation: so-glow 3s ease-in-out infinite; }
.so-pl { cursor: default; }
.so-pl .h { transition: transform .45s var(--ease); }
.so-pl .b { animation: so-bob 5s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -1.2s); }
.so-pl.is-hot .h { transform: translateY(-10px); }
.so-pl.is-hot .tp { fill: #EAF5F1; stroke: rgba(var(--so-cyan), .7); }
.so-pl--key.is-hot .tp { fill: #00896E; stroke: none; }
@keyframes so-bob { 50% { transform: translateY(-6px); } }
@keyframes so-glow { 50% { opacity: .4; } }
@keyframes so-drop { from { opacity: 0; transform: translateY(-46px); } to { opacity: 1; transform: none; } }
.js .so-layers:not(.is-in) .so-pl, .js .so-layers:not(.is-in) .so-tier, .js .so-layers:not(.is-in) .glow { opacity: 0; }
.js .so-layers.is-in .so-pl { animation: so-drop .8s var(--ease) both; animation-delay: calc(var(--k, 0) * .18s); }
.js .so-layers.is-in .so-tier { animation: so-pop .6s var(--ease) both; animation-delay: calc(.15s + var(--k, 0) * .18s); }

.so-tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.so-tier { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 14px; align-items: center; }
.so-tier-k { display: flex; align-items: center; gap: 10px; font-size: 9.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--so-dim); transition: color .3s ease; }
.so-tier-k::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 1.5px; transform: rotate(45deg); background: rgba(90, 80, 70, .3); transition: background .3s ease; }
.so-tier-cards { display: grid; grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); gap: 10px; }
.so-card { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px 12px; align-items: center; align-content: start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--so-line-2); background: var(--so-surface); transition: border-color .3s ease, transform .3s var(--ease), box-shadow .3s ease; }
.so-card-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(var(--so-cyan), .08); color: rgb(var(--so-cyan)); }
.so-card-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.so-card h3 { margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #1D1B2F; }
.so-card p { grid-column: 1 / -1; margin: 0; font-size: .84rem; line-height: 1.5; color: var(--so-muted); }
.so-tier--top .so-card { border-color: rgba(var(--so-violet), .45); }
.so-tier--top .so-card-ic { background: rgba(var(--so-violet), .08); color: rgb(var(--so-violet)); }
.so-tier--key .so-card { background: rgb(var(--so-cyan)); border-color: transparent; box-shadow: 0 16px 30px -18px rgba(var(--so-cyan), .8); }
.so-tier--key .so-card-ic { background: rgba(255, 255, 255, .16); color: #FFFFFF; }
.so-tier--key .so-card h3 { color: #FFFFFF; }
.so-tier--key .so-card p { color: rgba(255, 255, 255, .84); }
.so-tier--key .so-tier-k { color: rgb(var(--so-cyan)); }
.so-tier.is-hot .so-tier-k { color: rgb(var(--so-cyan)); }
.so-tier.is-hot .so-tier-k::before { background: rgb(var(--so-cyan)); }
.so-tier.is-hot .so-card { border-color: rgba(var(--so-cyan), .55); transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(60, 40, 20, .45); }
.so-tier--key.is-hot .so-card { border-color: transparent; }

/* ==========================================================================
   04 · JOURNEY — an ascending stack of layered panels: problem → transformation.
   Each panel rises higher than the last and its line untangles as it climbs.
   ========================================================================== */
.so-rise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; }
.so-rise-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 24px 28px; border-radius: 12px; border: 1px solid var(--so-line);
  background: linear-gradient(170deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .63)); overflow: hidden;
  min-height: calc(230px + var(--r, 0) * 64px); }
.so-rise-card:nth-child(1) { --r: 0; } .so-rise-card:nth-child(2) { --r: 1; } .so-rise-card:nth-child(3) { --r: 2; } .so-rise-card:nth-child(4) { --r: 3; }
.so-rise-card::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: calc(28% + var(--r) * 24%); background: linear-gradient(90deg, rgb(var(--so-cyan)), rgba(var(--so-violet), .9)); opacity: calc(.35 + var(--r) * .22); }
.so-rise-card:last-child { border-color: rgba(var(--so-cyan), .4); background: linear-gradient(170deg, rgba(var(--so-cyan), .1), rgba(var(--so-violet), .07)); box-shadow: 0 24px 60px -30px rgba(var(--so-cyan), .5); }
.so-rise-line { position: absolute; left: 24px; top: 24px; width: 96px; height: 32px; fill: none; stroke: rgba(var(--so-cyan), .75); stroke-width: 1.5; stroke-linecap: round; opacity: calc(.4 + var(--r) * .2); }
.so-rise-card .k { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--so-dim); margin-bottom: 12px; }
.so-rise-card:last-child .k { color: rgb(var(--so-cyan)); }
.so-rise-card h3 { font-size: clamp(1.15rem, .8rem + 1vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; }
.so-rise-card:last-child h3 { background: linear-gradient(92deg, #1D1B2F, #00775F); -webkit-background-clip: text; background-clip: text; color: transparent; }
.so-rise-card p { margin: 10px 0 0; color: var(--so-muted); font-size: .93rem; line-height: 1.6; }

/* ==========================================================================
   05 · FINDER — two questions → a possible starting point
   ========================================================================== */
.so-finder { position: relative; border: 1px solid var(--so-line); border-radius: 12px; background: linear-gradient(160deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .61)), var(--so-surface); padding: clamp(24px, 4vw, 56px); max-width: 1040px; margin: 0 auto; overflow: hidden; }
.so-finder::after { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--so-cyan), .55), rgba(var(--so-violet), .55), transparent); }
.so-prog { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.so-prog .count { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--so-dim); font-variant-numeric: tabular-nums; }
.so-prog .count b { color: #1D1B2F; }
.so-prog .bar { flex: 1; height: 1px; background: var(--so-line-2); position: relative; }
.so-prog .bar i { position: absolute; left: 0; top: 0; height: 1px; width: var(--fp, 50%); background: linear-gradient(90deg, rgb(var(--so-cyan)), rgba(var(--so-violet), .9)); transition: width .6s var(--ease); }
.so-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.so-q + .so-q { margin-top: 44px; }
.so-q legend { padding: 0; font-size: clamp(1.25rem, .95rem + 1.1vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 22px; }
.so-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.so-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.so-opt span {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 18px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--so-line-2); color: #4A4558; font-weight: 600; font-size: .98rem; background: rgba(255, 255, 255, .7);
  transition: border-color .25s, background .25s, color .25s;
}
.so-opt span::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--so-line-2); transition: all .25s; }
.so-opt span:hover { border-color: rgba(var(--so-cyan), .5); color: #1D1B2F; }
.so-opt input:checked + span { border-color: rgba(var(--so-cyan), .8); color: #1D1B2F; background: rgba(var(--so-cyan), .07); }
.so-opt input:checked + span::before { border-color: rgb(var(--so-cyan)); background: radial-gradient(circle, rgb(var(--so-cyan)) 0 3px, transparent 4px); }
.so-opt input:focus-visible + span { outline: 2px solid rgb(var(--so-cyan)); outline-offset: 2px; }
.so-fnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--so-line); }
.so-fnav .note { margin: 0; font-size: .85rem; color: var(--so-dim); }
.so-fnav .btn[disabled] { opacity: .35; pointer-events: none; }
.so-back { background: none; border: 0; padding: 8px 0; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--so-muted); }
.so-back:hover { color: #1D1B2F; }
/* JS mode: one question at a time */
.fd-on .so-q, .fd-on .so-result { display: none; }
.fd-on [data-step="1"] .so-q[data-q="1"], .fd-on [data-step="2"] .so-q[data-q="2"] { display: block; animation: so-pop .5s var(--ease) both; }
.fd-on [data-step="3"] .so-result { display: block; animation: so-pop .6s var(--ease) both; }
.fd-on [data-step="3"] .so-prog, .fd-on [data-step="3"] .so-fnav { display: none; }
.so-q + .so-q { margin-top: 44px; }
.fd-on .so-q + .so-q { margin-top: 0; }
.so-result:focus { outline: none; } padding: clamp(8px, 2vw, 24px) 0; }
.so-result .k { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgb(var(--so-cyan)); }
.so-result h3 { margin: 16px 0 10px; font-size: clamp(1.1rem, .9rem + .6vw, 1.4rem); font-weight: 700; letter-spacing: .01em; color: var(--so-muted); }
.so-result .pick { display: block; font-size: clamp(1.9rem, 1.1rem + 3vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.so-result .pick em { font-style: normal; color: var(--so-dim); padding: 0 .2em; }
.so-result p { margin: 18px auto 0; max-width: 52ch; color: var(--so-muted); }
.so-result .why { font-size: .92rem; color: #6E6878; }
.so-result .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; align-items: center; margin-top: 30px; }

/* ==========================================================================
   BUILT BRIDGE
   ========================================================================== */
.so-built > * { min-width: 0; } grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.so-built .so-h2 { margin: 22px 0 18px; }
.so-built p { color: var(--so-muted); margin: 0 0 28px; max-width: 46ch; }
.so-shots { position: relative; aspect-ratio: 16 / 10; }
.so-shot { position: absolute; width: 78%; border: 1px solid var(--so-line-2); border-radius: 10px; overflow: hidden; background: #FFFFFF; box-shadow: 0 40px 80px -40px rgba(29, 27, 47, .36); transition: transform .6s var(--ease); }
.so-shot img { display: block; width: 100%; height: auto; }
.so-shot .tag { position: absolute; left: 10px; top: 10px; font-size: 10px; font-weight: 700; letter-spacing: .2em; padding: 5px 9px; border-radius: 999px; background: rgba(251, 248, 243, .8); color: rgb(var(--so-cyan)); border: 1px solid rgba(var(--so-cyan), .35); }
.so-shot--a { left: 0; top: 0; }
.so-shot--b { right: 0; bottom: 0; }
.so-shots:hover .so-shot--a { transform: translate(-6px, -6px); }
.so-shots:hover .so-shot--b { transform: translate(6px, 6px); }

/* ---- final CTA (shared .final band) ---- */
.so-cta { padding-block: clamp(88px, 10vw, 140px); }
.so-cta .so-chap { margin-bottom: 26px; }
.so-cta h2 { font-size: clamp(1.6rem, .72rem + 2.45vw, 3.3rem); text-transform: uppercase; font-weight: 800; letter-spacing: -.04em; line-height: 1.02; max-width: 18ch; margin: 0 auto 40px; }
.so-cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .so-sol { grid-template-columns: 1fr; gap: 20px; }
  .so-ico { order: -1; justify-self: start; width: 84px; border-radius: 16px; }
  .so-ico svg { width: 44px; height: 44px; stroke-width: 1.2; }
}
@media (max-width: 1024px) {
  .so-hero-top { grid-template-columns: 1fr; }
  .so-built { grid-template-columns: minmax(0, 1fr); }
  .so-shots { margin-top: 16px; }
}
@media (max-width: 900px) {
  .so-head { grid-template-columns: 1fr; }
  /* split components become accordions: label, then its panel */
  .so-split { grid-template-columns: 1fr; }
  .so-panel { grid-column: 1; grid-row: auto; padding: 8px 0 30px; }
  .so-split input:checked + .so-tab .c { transform: rotate(135deg); }
  .so-split input:checked + .so-tab { padding-left: 4px; border-bottom-color: transparent; }
  .so-split input:checked + .so-tab::before { width: 0; }
  .so-rise { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .so-rise-card { min-height: 220px; }
  .so-layers { grid-template-columns: 1fr; gap: 28px; }
  .so-stack { max-width: 300px; }
}
@media (max-width: 700px) {
  .so-rise { grid-template-columns: 1fr; }
  .so-rise-card { min-height: 0; padding-top: 72px; }
  .so-hero-top { margin: 0; }
  .so-tier { grid-template-columns: 1fr; gap: 8px; }
  .so-tier-cards { grid-template-columns: 1fr; }
  .so-hero h1 { font-size: clamp(1.9rem, 8.4vw, 2.8rem); }
  .so-hero-actions { flex-direction: column; }
  .so-hero-actions .btn { width: 100%; }
  .so-shots { aspect-ratio: auto; display: grid; gap: 14px; }
  .so-shot { position: relative; width: 100%; }
  .so-shots:hover .so-shot--a, .so-shots:hover .so-shot--b { transform: none; }
  .so-fnav { flex-direction: column-reverse; align-items: stretch; }
  .so-fnav .btn { width: 100%; }
  .so-tab { grid-template-columns: minmax(0, 1fr) 14px; }
}
@media (max-width: 380px) {
  .so-hero-actions .btn, .so-result .acts .btn, .so-cta .btn, .so-built .btn { white-space: normal; font-size: 11.5px; padding-inline: 18px; }
  .so-chap { letter-spacing: .16em; }
}

@media (prefers-reduced-motion: reduce) {
  .so *, .so *::before, .so *::after { animation: none !important; }
  .js .so-layers .so-pl, .js .so-layers .so-tier, .js .so-layers .glow { opacity: 1 !important; }
}
