/* GP Connect case: sections built from the client case study */
.gpx-five { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.gpx-five p { padding-top: 1.1rem; border-top: 1px solid rgba(29, 29, 31, .35); color: var(--soft); }
.gpx-five b { display: block; margin-bottom: .4rem; font: 500 clamp(2.4rem, 4.4vw, 4rem)/1 var(--display); letter-spacing: -.05em; color: var(--glow); }
.gpx-loss { width: 100%; margin-top: clamp(2.5rem, 5vw, 4rem); border-collapse: collapse; }
.gpx-loss th, .gpx-loss td { padding: 1.1rem 1.25rem 1.1rem 0; text-align: left; vertical-align: top; border-top: 1px solid rgba(29, 29, 31, .1); }
.gpx-loss thead th { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--soft); border-top: 0; }
.gpx-loss tbody th { width: 22%; font-weight: 600; }
.gpx-loss td:nth-child(2) { color: var(--soft); line-height: 1.5; }
.gpx-loss td:last-child { width: 20%; }
.gpx-loss small { display: block; margin-top: .2rem; font-size: var(--step-small); color: var(--glow); }
.gpx-loss tbody tr:first-child { background: color-mix(in srgb, var(--glow) 7%, transparent); }
.gpx-loss tbody tr:first-child th { padding-left: 1rem; }
/* quote */
.gpx-quote { margin: 0 0 clamp(2.5rem, 5vw, 4rem); padding: clamp(28px, 4vw, 56px); border-radius: 26px; background: linear-gradient(140deg, #2D2F8A 0%, #1E1F5E 100%); color: #fff; }
.gpx-quote blockquote p { max-width: 26ch; font: 500 clamp(1.7rem, 3.2vw, 2.9rem)/1.12 var(--display); letter-spacing: -.035em; }
.gpx-quote blockquote p::before { content: '“'; display: block; margin-bottom: .4rem; font-size: 1.6em; line-height: .6; color: #B98CFF; }
.gpx-quote figcaption { margin-top: 1.25rem; font-size: var(--step-small); color: rgba(255, 255, 255, .7); }
/* user groups */
.gpx-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.gpx-ask { display: flex; align-items: center; gap: 6px; font-size: var(--step-small); color: var(--soft); }
.gpx-ask i { width: 30px; height: 6px; border-radius: 3px; background: rgba(29, 29, 31, .12); }
.gpx-ask i.on { background: var(--glow); }
.gpx-ask span { margin-left: .5rem; }
.gpx-groups h3 { margin-top: 1rem; font: 500 clamp(1.5rem, 2.4vw, 2.1rem)/1.1 var(--display); letter-spacing: -.03em; }
.gpx-who { margin-top: .35rem; font-weight: 600; color: var(--glow); font-size: var(--step-small); }
.gpx-groups ul { margin-top: 1rem; padding: 0; list-style: none; display: grid; gap: .55rem; }
.gpx-groups ul li { padding-left: 1.1rem; position: relative; color: var(--soft); line-height: 1.45; }
.gpx-groups ul li::before { content: ''; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--glow); }
.gpx-line { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.25rem; border-top: 1px solid rgba(29, 29, 31, .35); font-weight: 600; }
/* product gallery */
.gpx-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.gpx-item { margin: 0; }
.gpx-item--wide { grid-column: span 1; }
.gpx-gallery .gpx-item:nth-child(1), .gpx-gallery .gpx-item:nth-child(2) { grid-column: span 1; }
.gpx-shot { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.gpx-shot img { display: block; width: 100%; height: auto; }
.gpx-item:hover .gpx-shot { transform: translateY(-6px); }
.gpx-item figcaption { margin-top: 1rem; max-width: 52ch; color: rgba(255, 255, 255, .62); line-height: 1.5; }
.gpx-item figcaption b { color: #fff; }
/* new operation */
.gpx-after { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.gpx-after p { padding-top: 1.1rem; border-top: 2px solid var(--glow); color: var(--soft); }
.gpx-after b { display: block; margin-bottom: .4rem; font: 500 clamp(2.2rem, 4vw, 3.6rem)/1 var(--display); letter-spacing: -.05em; color: var(--ink); }
.gpx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(2.5rem, 5vw, 4rem); }
.gpx-cap { margin-bottom: 1.5rem; font-size: var(--step-small); font-weight: 600; }
.gpx-loop ol { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.gpx-loop li { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border-radius: 14px; background: color-mix(in srgb, var(--glow) 7%, #fff); font-size: var(--step-small); font-weight: 500; }
.gpx-loop li b { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #2D2F8A; color: #fff; font-size: .8rem; }
.gpx-loop li.hot b { background: #AE63FF; }
.gpx-loop li.hot { box-shadow: inset 0 0 0 1.5px #AE63FF; }
.gpx-comp ul { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.gpx-comp li { padding-left: 1rem; border-left: 3px solid #2D2F8A; color: var(--soft); font-size: var(--step-small); line-height: 1.45; }
.gpx-comp li:nth-child(2) { border-left-color: var(--glow); }
.gpx-comp li:nth-child(3) { border-left-color: #AE63FF; }
.gpx-comp li b { display: block; color: var(--ink); font-size: 1rem; }
.gpx-comp__big { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(29, 29, 31, .1); color: var(--soft); font-size: var(--step-small); }
.gpx-comp__big b { display: block; font: 500 2.6rem/1 var(--display); letter-spacing: -.05em; color: #2D2F8A; margin-bottom: .4rem; }
/* architecture */
.gpx-arch { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 18px; align-items: stretch; }
.gpx-arch__l { align-self: center; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.gpx-arch__row { display: grid; gap: 8px; }
.gpx-arch__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gpx-arch__row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gpx-arch__row--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gpx-g { margin: 0; padding: 13px 14px; border-radius: 14px; background: linear-gradient(160deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); font-size: var(--step-small); color: rgba(255, 255, 255, .6); }
.gpx-g b { display: block; color: #fff; font-weight: 600; }
.gpx-g--fe { border-top: 2px solid color-mix(in srgb, var(--glow-2) 80%, transparent); }
.gpx-g--fe:nth-child(3) { border-top-color: #B98CFF; }
.gpx-g--app { background: linear-gradient(135deg, #3A3CA8, #24257A); border-color: rgba(185, 174, 255, .45); color: rgba(255, 255, 255, .75); }
.gpx-g--out { border-style: dashed; background: rgba(255, 255, 255, .02); }
.gpx-g--out.is-key { border-style: solid; border-color: #B98CFF; color: #D9C4FF; }
/* releases */
.gpx-rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.gpx-rel > li { padding-top: 1rem; border-top: 3px solid #2D2F8A; }
.gpx-rel > li:nth-child(2) { border-top-color: var(--glow); }
.gpx-rel > li:nth-child(3) { border-top-color: #AE63FF; }
.gpx-rel__n { font: 500 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--display); letter-spacing: -.03em; color: #2D2F8A; }
.gpx-rel > li:nth-child(2) .gpx-rel__n { color: var(--glow); }
.gpx-rel > li:nth-child(3) .gpx-rel__n { color: #AE63FF; }
.gpx-rel h3 { margin-top: .6rem; font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.gpx-rel__w { margin-top: .2rem; font-size: var(--step-small); color: var(--soft); }
.gpx-rel ul { margin-top: 1rem; padding: 0; list-style: none; display: grid; gap: .45rem; color: var(--soft); }
.gpx-rel ul li::before { content: '· '; color: var(--glow); font-weight: 700; }
.gpx-rel__o { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(29, 29, 31, .12); font-weight: 600; color: #2D2F8A; }
.gpx-gates { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: clamp(18px, 2vw, 26px); border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(29, 29, 31, .06); list-style: none; }
.gpx-gates li { padding-left: .9rem; border-left: 1px solid rgba(29, 29, 31, .15); font-size: var(--step-small); color: var(--soft); }
.gpx-gates b { display: block; color: #2D2F8A; }
.gpx-gates li:nth-child(3) b { color: var(--glow); }
/* value */
.gpx-val { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.gpx-wf__bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; height: clamp(280px, 30vw, 380px); }
.gpx-wf__bars p { position: relative; height: 100%; }
.gpx-wf__bars p::before { content: ''; position: absolute; left: 0; right: 0; bottom: calc(4.8rem + (100% - 7.4rem) * var(--b) / 100); height: calc((100% - 7.4rem) * var(--h) / 100); border-radius: 10px; }
.gpx-wf__bars .c1::before { background: #2D2F8A; } .gpx-wf__bars .c2::before { background: var(--glow); } .gpx-wf__bars .c3::before { background: #AE63FF; } .gpx-wf__bars .c4::before { background: #15121F; }
.gpx-wf__bars b { position: absolute; left: 0; right: 0; text-align: center; bottom: calc(4.8rem + (100% - 7.4rem) * (var(--b) + var(--h)) / 100 + .45rem); font: 600 1.2rem/1 var(--display); }
.gpx-wf__bars em { position: absolute; left: 0; right: 0; bottom: 0; height: 4.3rem; text-align: center; font-style: normal; font-weight: 600; font-size: var(--step-small); line-height: 1.25; }
.gpx-wf__bars small { display: block; margin-top: .2rem; font-weight: 400; color: var(--soft); }
.gpx-val__side { display: grid; align-content: start; gap: 0; padding: clamp(20px, 2.4vw, 32px); border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(29, 29, 31, .06); }
.gpx-val__side > p { padding: .9rem 0; border-bottom: 1px solid rgba(29, 29, 31, .08); color: var(--soft); }
.gpx-val__side > p b { display: block; font: 500 clamp(2rem, 3vw, 2.6rem)/1 var(--display); letter-spacing: -.04em; color: #2D2F8A; margin-bottom: .3rem; }
.gpx-sc { width: 100%; margin-top: 1.25rem; border-collapse: collapse; font-size: var(--step-small); }
.gpx-sc th, .gpx-sc td { padding: .55rem .4rem .55rem 0; text-align: left; border-bottom: 1px solid rgba(29, 29, 31, .07); }
.gpx-sc thead th { font-weight: 600; color: var(--soft); }
.gpx-sc .on { color: #2D2F8A; font-weight: 600; }
.gpx-cond { margin-top: clamp(1.75rem, 3vw, 2.5rem); padding: clamp(18px, 2.4vw, 28px); border-radius: 18px; background: #15121F; color: rgba(255, 255, 255, .75); line-height: 1.5; }
.gpx-cond b { color: #D9C4FF; }
/* deliverables */
.gpx-deliv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); list-style: none; }
.gpx-deliv li { display: grid; grid-template-columns: 2.4rem minmax(0, 13rem) 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(29, 29, 31, .1); color: var(--soft); }
.gpx-deliv span { color: var(--glow); font-weight: 600; }
.gpx-deliv b { color: var(--ink); font-weight: 600; }

@media (max-width: 1023px) {
  .gpx-five, .gpx-after { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gpx-split, .gpx-val { grid-template-columns: 1fr; }
  .gpx-arch__row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gpx-arch__row--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gpx-gates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .gpx-five, .gpx-after { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gpx-groups, .gpx-gallery, .gpx-rel, .gpx-deliv { grid-template-columns: 1fr; }
  .gpx-loss thead { display: none; }
  .gpx-loss tr { display: grid; padding: .9rem 0; border-top: 1px solid rgba(29, 29, 31, .1); }
  .gpx-loss th, .gpx-loss td { width: auto !important; padding: .15rem 0; border: 0; }
  .gpx-arch { grid-template-columns: 1fr; }
  .gpx-arch__row--3, .gpx-arch__row--4, .gpx-arch__row--6 { grid-template-columns: 1fr 1fr; }
  .gpx-loop ol { grid-template-columns: 1fr 1fr; }
  .gpx-gates { grid-template-columns: 1fr 1fr; }
  .gpx-deliv li { grid-template-columns: 2rem 1fr; }
  .gpx-deliv li > :last-child { grid-column: 2; }
}
