/* Solutions listing (sx-), solution and product details (sd-), product cards (pcard). */
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
.calm { scroll-behavior: auto; }

/* a solution's trace: drawn once, left to right */
.s-trace { display: block; width: 100%; height: 40px; overflow: visible; }
.s-trace path { fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; transition: opacity .3s; }
.js [data-reveal] .s-trace path { stroke-dashoffset: 1; }
.js [data-reveal].is-in .s-trace path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s var(--ease-in-out) calc(var(--i, 0) * 160ms + 500ms), opacity .3s; }
.calm .s-trace path { stroke-dashoffset: 0 !important; transition: none !important; }

/* ---------- Listing: the showcase ---------- */
.sx, .sd-hero { position: relative; isolation: isolate; overflow-x: clip; background: radial-gradient(80% 80% at 78% 40%, #0D427C 0%, #062B55 40%, #041E3D 76%, #03152C 100%); }
.sx::after, .sd-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; z-index: -1; background: linear-gradient(0deg, var(--deep) 0%, var(--deep) 12%, transparent); }
.sx .lozband, .sd-hero .lozband { opacity: .22; }
.sx { padding: clamp(124px, 16vh, 164px) 0 clamp(96px, 10vw, 150px); }
.sx__head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px clamp(32px, 5vw, 72px); align-items: end; }
.sx__head > div { display: grid; gap: 16px; justify-items: start; }
.sx__head .t-display { font-size: clamp(2.25rem, min(4vw, 7.6vh), 3.5rem); }
.sx__head .t-lead { color: var(--ink-on-dark-soft); padding-bottom: 6px; }

.sd-art__ic { position: absolute; display: grid; place-items: center; width: 80px; height: 66px; border-radius: 16px; background: var(--lime); color: var(--navy); transform: skewX(-24deg); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .7); }
.sd-art__ic .ic { transform: skewX(24deg); width: 34px; height: 34px; }

/* approach */
.sx-app header { display: grid; gap: 14px; justify-items: start; }
.sx-app .t-h3 { max-width: 30ch; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.sx-app__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.sx-app__grid .card { gap: 18px; height: 100%; }
.sx-app__grid .card__ic { margin-inline-start: 8px; }
.sx-app { padding-bottom: calc(var(--section-y) + clamp(48px, 7vw, 104px)); }
/* final brief §13: the note under the specialities; §14: Healthcare Sectors We Serve (titles only) */
.sx-note { margin-top: clamp(24px, 3vw, 36px); }
.sx-note span { display: flex; gap: 12px; max-width: 82ch; font-size: .9375rem; line-height: 1.6; color: var(--ink-on-dark-soft); }
.sx-note .ic { flex: none; margin-top: 3px; color: var(--lime); }
.sx-app:has(+ .sx-sec) { padding-bottom: var(--section-y); }
.sx-sec { padding-bottom: calc(var(--section-y) + clamp(48px, 7vw, 104px)); }
.sx-sec header { display: grid; gap: 14px; justify-items: start; }
.sx-sec__grid { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin: 40px 0 0; padding: 0; }
.sx-sec__grid .card { gap: 18px; height: 100%; }
.sx-sec__grid .card__ic { margin-inline-start: 8px; }
@media (max-width: 1180px) { .sx-sec__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .sx-sec__grid { grid-template-columns: minmax(0, 1fr); } .sx-sec__grid .card { grid-template-columns: auto minmax(0, 1fr); align-items: center; } }


/* ---------- Details (solution, product) ---------- */
.sd-hero { padding: clamp(120px, 15vh, 156px) 0 clamp(96px, 10vw, 150px); }
.sd-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sd-hero__copy { display: grid; gap: 16px; justify-items: start; }
.sd-hero__copy .t-display { font-size: clamp(2.25rem, min(4.2vw, 8vh), 3.75rem); }
.sd-hero__copy .t-lead { max-width: 54ch; color: var(--ink-on-dark-soft); }
.sd-hero__copy .s-trace { width: min(280px, 70%); height: 36px; }
.sd-n { display: flex; align-items: baseline; gap: 8px; font-size: 1.75rem; font-weight: 800; line-height: 1; color: var(--lime); }
.sd-n span { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-on-dark-mute); }
.sd-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.sd-art { position: relative; padding: 5% 15% 9% 15%; }
.sd-art::before { content: ""; position: absolute; inset: auto auto 0 4%; width: 48%; aspect-ratio: 2.2 / 1; border-radius: 18px; background: var(--lime); transform: skewX(-24deg); }
.sd-art__ph { position: relative; aspect-ratio: 4 / 3.7; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.sd-art__ic { inset-inline-end: 5%; top: 12%; }

.sd-over { padding-top: calc(var(--section-y) + clamp(32px, 5vw, 72px)); }
.sd-over__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: clamp(32px, 6vw, 88px); align-items: start; }
.sd-over__grid > div { display: grid; gap: 18px; justify-items: start; }
.sd-over__aside { gap: 12px; padding: 28px; justify-items: start; }
.sd-over__aside .card__ic { margin-inline-start: 8px; }
.sd-over__aside .t-body { color: var(--ink-soft); }
.sd-specs { margin: 0; width: 100%; display: grid; }
.sd-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.sd-specs dt { color: var(--ink-soft); }
.sd-specs dd { margin: 0; font-weight: 700; color: var(--navy); text-align: end; }

.sd-prod__head { display: grid; gap: 12px; justify-items: start; }
.sd-prod__count { display: inline-grid; place-items: center; min-width: 40px; height: 34px; padding: 0 10px; margin-inline-start: 8px; border-radius: 9px; background: var(--lime); color: var(--navy); font-size: 1rem; letter-spacing: 0; vertical-align: middle; transform: skewX(-24deg); }
.sd-prod__count .num { transform: skewX(24deg); }
.pcards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; }
.pcard { height: 100%; }
.pcard .loz { aspect-ratio: 5 / 4; width: 76%; margin: 4px auto 10px; transition: transform .5s var(--ease-out); }
.pcard:hover .loz { transform: skewX(-24deg) scale(1.05); }
.pcard .t-small { color: var(--ink-soft); }
.pcard__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-size: .875rem; font-weight: 700; color: var(--lime-strong); }
.sd-prod { padding-bottom: calc(var(--section-y) + clamp(48px, 7vw, 104px)); }

.sd-tile { position: relative; display: block; height: 300px; border-radius: 24px; overflow: hidden; color: #fff; border: 1px solid var(--glass-line); transition: transform .5s var(--ease-out), border-color .3s; }
.sd-tile:hover { transform: translateY(-6px); border-color: rgba(166, 217, 74, .7); }
.sd-tile .duo { position: absolute; inset: 0; }
.sd-tile .duo img { transition: scale 1s var(--ease-out); }
.sd-tile:hover .duo img { scale: 1.07; }
.sd-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 21, 44, .96) 0%, rgba(3, 21, 44, .5) 50%, rgba(3, 21, 44, .15) 100%); }
.sd-tile b, .sd-tile strong, .sd-tile i { position: absolute; z-index: 1; }
.sd-tile b { top: 18px; inset-inline-start: 20px; font-size: .9375rem; color: var(--lime); }
.sd-tile strong { inset: auto 70px 20px 20px; font-size: 1.125rem; line-height: 1.3; font-weight: 800; }
.sd-tile i { inset-inline-end: 18px; bottom: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--navy); }

@media (max-width: 1000px) {
  .sx-app__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .sx__head, .sd-hero__grid, .sd-over__grid { grid-template-columns: 1fr; }
  /* each row becomes a card with its own photograph, always open */
  .sd-art { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 760px) {
  .sx, .sd-hero { padding-top: 100px; }
  .sx__head .t-display, .sd-hero__copy .t-display { font-size: clamp(1.875rem, 8.4vw, 2.375rem); }
  .sx-app__grid { grid-template-columns: 1fr; }
  .sx-app__grid .card { grid-template-columns: auto 1fr; align-items: center; }
  .sd-btns { width: 100%; }
  .sd-btns .btn { flex: 1 1 100%; }
  .sd-art__ic { width: 60px; height: 52px; }
  .sd-art__ic .ic { width: 28px; height: 28px; }
}

/* ---------- Solution details, enhanced ---------- */
.sd-hero--full { padding-bottom: clamp(150px, 15vw, 230px); }
.sd-hero__bg { position: absolute; inset: 0; z-index: -1; background: none; }
.sd-hero__bg img { opacity: .2; }
.sd-hero__bg::after { background: linear-gradient(90deg, #041E3D 0%, rgba(4, 30, 61, .82) 45%, rgba(4, 30, 61, .5) 100%), linear-gradient(0deg, #041E3D 0%, transparent 40%); mix-blend-mode: normal; }
.sd-hero .crumb { margin-bottom: 4px; }
.sd-btns .btn .num { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: var(--lime); color: var(--navy); font-size: .8125rem; font-weight: 800; }
.sd-switch { position: absolute; inset: auto 0 clamp(60px, 7vw, 108px); z-index: 2; }
.sd-switch ol { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 6px; border-radius: 22px; border: 1px solid var(--glass-line); }
.sd-switch a { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; height: 100%; padding: 10px 14px; border-radius: 16px; font-size: .8125rem; font-weight: 700; line-height: 1.3; color: var(--ink-on-dark-soft); transition: background-color .25s, color .25s; }
.sd-switch a .ic { grid-row: span 2; width: 24px; height: 24px; color: var(--lime); }
.sd-switch a b { font-size: .6875rem; letter-spacing: .08em; color: var(--ink-on-dark-mute); }
.sd-switch a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.sd-switch a[aria-current] { background: var(--lime); color: var(--navy); }
.sd-switch a[aria-current] .ic, .sd-switch a[aria-current] b { color: var(--navy); }

.sd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sd-say { display: grid; gap: 16px; align-content: start; justify-items: start; padding: clamp(24px, 3vw, 40px); border-radius: 28px; }
.sd-say .card__ic { margin-inline-start: 8px; }
.sd-say p { font-size: clamp(1.1875rem, 1.7vw, 1.5rem); line-height: 1.4; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.sd-say--navy { background: radial-gradient(90% 80% at 90% 0%, #0D427C 0%, transparent 70%) var(--deep); box-shadow: var(--shadow-3); }
.sd-say--navy p { color: #fff; }
.sd-say--navy .eyebrow { color: var(--lime-glow); }
.sd-say--navy .card__ic { background: var(--lime); color: var(--navy); }
.sd-app { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; margin-top: clamp(28px, 4vw, 48px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.sd-app ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.sd-app li { display: flex; align-items: center; gap: 16px; font-size: .9375rem; font-weight: 700; line-height: 1.35; color: var(--navy); }
.sd-app .card__ic { flex: none; margin-inline-start: 6px; }
.sd-over--end, .sd-pn { padding-bottom: calc(var(--section-y) + clamp(48px, 7vw, 104px)); }
.sd-prod { padding-bottom: var(--section-y); }
.sd-pn { padding-top: 0; }
.on-paper.sd-pn { padding-top: var(--section-y); background: var(--paper-soft); }
.sd-pn__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sd-pn .sd-tile { height: 230px; border-color: transparent; box-shadow: var(--shadow-2); }
.sd-pn .sd-tile b { font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.sd-pn .sd-tile strong { font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -.02em; }
.sd-tile--next b, .sd-tile--next strong { text-align: end; }
.sd-tile--next b { inset-inline: auto 20px; }
.sd-tile--next strong { inset: auto 20px 20px 70px; }
.sd-tile--next i { inset-inline: 18px auto; }
@media (max-width: 1100px) {
  .sd-switch ol { display: flex; overflow-x: auto; scrollbar-width: none; }
  .sd-switch ol::-webkit-scrollbar { display: none; }
  .sd-switch li { flex: none; }
  .sd-app { grid-template-columns: 1fr; }
  .sd-app ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .sd-two, .sd-pn__grid { grid-template-columns: 1fr; }
  .sd-app ul { grid-template-columns: 1fr; }
  .sd-pn .sd-tile { height: 170px; }
  .sd-switch a span { display: none; }
  .sd-switch a[aria-current] span { display: block; }
  .sd-switch ol { justify-content: space-between; }
}

/* ---------- Listing: five large photo cards (two wide, three below) ---------- */
.sx-grid { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin: clamp(32px, 4.5vw, 56px) 0 0; padding: 0; }
.sx-grid li { grid-column: span 2; }
.sx-grid li:nth-child(-n+2) { grid-column: span 3; }
.sx-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; height: 400px; padding: 26px; border-radius: 30px; overflow: hidden; color: #fff; border: 1px solid var(--glass-line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); transition: transform .5s var(--ease-out), border-color .3s; }
.sx-grid li:nth-child(-n+2) .sx-card { height: 450px; padding: 32px; }
.sx-card:hover { transform: translateY(-8px); border-color: var(--lime); }
.sx-card:focus-visible { outline-offset: 4px; border-radius: 30px; }
.sx-card__ph { position: absolute; inset: 0; z-index: -2; }
.sx-card__ph img { transition: scale 1.2s var(--ease-out); }
.sx-card:hover .sx-card__ph img { scale: 1.07; }
.sx-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 21, 44, .97) 0%, rgba(3, 21, 44, .72) 42%, rgba(3, 21, 44, .12) 78%, rgba(3, 21, 44, .35) 100%); }
.sx-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.sx-card__top b { font-size: clamp(2.25rem, 3.4vw, 3.25rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.sx-card__top small { margin-inline-start: 8px; font-size: .875rem; letter-spacing: 0; color: var(--ink-on-dark-soft); }
.sx-card__ic { display: grid; place-items: center; width: 68px; height: 56px; border-radius: 14px; background: var(--lime); color: var(--navy); transform: skewX(-24deg); margin-inline-end: 12px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7); }
.sx-card__ic .ic { transform: skewX(24deg); width: 30px; height: 30px; }
.sx-card__body { display: grid; gap: 10px; }
.sx-card__body strong { font-size: clamp(1.375rem, 2vw, 1.875rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.sx-card__text { max-width: 50ch; font-size: .9375rem; line-height: 1.55; color: var(--ink-on-dark-soft); }
.sx-card__foot { display: flex; align-items: center; gap: 16px; margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); }
.sx-card__go { font-size: .9375rem; font-weight: 700; color: var(--lime-glow); white-space: nowrap; }
.sx-card__foot .s-trace { flex: 1; min-width: 0; max-width: 190px; height: 30px; margin-inline-start: auto; }
.sx-card__foot .s-trace path { opacity: .55; }
.sx-card:hover .s-trace path { opacity: 1; }
.sx-card__arrow { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); transition: background-color .3s, color .3s, border-color .3s; }
.sx-card:hover .sx-card__arrow { background: var(--lime); border-color: var(--lime); color: var(--navy); }
@media (max-width: 1000px) { .sx-grid li, .sx-grid li:nth-child(-n+2) { grid-column: span 3; } .sx-grid li:last-child { grid-column: span 6; } .sx-card, .sx-grid li:nth-child(-n+2) .sx-card { height: 400px; padding: 24px; } }
@media (max-width: 700px) { .sx-grid { gap: 16px; } .sx-grid li, .sx-grid li:nth-child(-n+2), .sx-grid li:last-child { grid-column: span 6; } .sx-card, .sx-grid li:nth-child(-n+2) .sx-card { height: 380px; padding: 20px; border-radius: 26px; } .sx-card__foot .s-trace { display: none; } .sx-card__arrow { margin-inline-start: auto; } .sx-card__ic { width: 56px; height: 48px; } }

/* previous / next: room above the tiles */
.sd-pn { padding-top: clamp(48px, 6vw, 88px); }
.on-paper.sd-pn { padding-top: 0; }