/* Premium layout repairs and lightweight spatial storytelling. */
.sc-header {
    z-index: 100;
    background: #fffdf9;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    isolation: isolate;
}

.sc-service-content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    grid-template-areas: "title action" "description description";
    align-items: start;
    column-gap: 14px;
    row-gap: 8px;
    min-width: 0;
    min-height: 160px;
    padding: 42px 20px 22px;
}

.sc-service-content > .sc-icon-disc {
    position: absolute;
    top: -64px;
    left: 20px;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 4px solid #fffdf9;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(101, 18, 24, .14);
}

.sc-service-content h3 {
    grid-area: title;
    min-width: 0;
    margin: 0;
    font-size: clamp(18px, 1.42vw, 21px);
    line-height: 1.2;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

.sc-service-content .sc-round-arrow {
    grid-area: action;
    position: static;
    align-self: start;
    width: 42px;
    height: 42px;
    margin: 0;
}

.sc-service-content p {
    grid-area: description;
    min-width: 0;
    margin: 0;
    max-width: 40ch;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.sc-industry-layout {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    grid-template-areas: "copy categories" "visual categories";
    align-items: start;
    gap: 24px clamp(38px, 5.5vw, 82px);
}

.sc-industry-copy { grid-area: copy; width: 100%; max-width: 520px; }
.sc-industry-copy h2 {
    width: 100%;
    max-width: none;
    margin: 0 0 18px;
    font-size: clamp(42px, 4.35vw, 62px);
    line-height: .99;
    letter-spacing: -.048em;
    text-wrap: balance;
}
.sc-industry-copy > p:not(.sc-section-kicker) { max-width: 42ch; font-size: 16px; line-height: 1.7; }
.sc-industry-grid {
    grid-area: categories;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 14px;
}
.sc-industry-card {
    min-width: 0;
    min-height: 154px;
    justify-content: flex-start;
    gap: 15px;
    padding: 22px;
}
.sc-industry-card:first-child {
    grid-column: 1 / -1;
    min-height: 144px;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    padding-inline: 28px;
    border-color: transparent;
    background: linear-gradient(130deg, #79121b, #981c27 64%, #76151c);
    box-shadow: 0 16px 34px rgba(101, 18, 24, .16);
}
.sc-industry-card:first-child h3 { max-width: none; color: #fffdf9; font-size: clamp(19px, 2vw, 25px); }
.sc-industry-card:first-child .sc-industry-icon { width: 52px; height: 52px; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.14); }
.sc-people-card { grid-area: visual; width: 100%; min-height: clamp(245px, 26vw, 335px); margin: 0; }
.sc-people-card > picture img { object-position: 36% 45%; }
.sc-people-card > div { width: 48%; padding: clamp(20px, 3vw, 38px); }
.sc-people-card p { font-size: clamp(27px, 3vw, 40px); }

.sc-icon-disc::before,
.sc-cap-icon::before,
.sc-industry-icon::before,
.sc-journey-icon::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("/images/signacorp-premium/signacorp-icon-sprite.webp");
    background-repeat: no-repeat;
    background-size: 400% 400%;
    background-position: var(--sc-icon-x, 0%) var(--sc-icon-y, 0%);
    filter: drop-shadow(0 2px 2px rgba(48, 20, 21, .18));
}
.sc-icon-disc > svg, .sc-cap-icon > svg, .sc-industry-icon > svg { display: none !important; }
.icon-care { --sc-icon-x: 33.333%; --sc-icon-y: 0%; }
.icon-digital { --sc-icon-x: 66.667%; --sc-icon-y: 0%; }
.icon-operations { --sc-icon-x: 66.667%; --sc-icon-y: 66.667%; }
.icon-platforms { --sc-icon-x: 100%; --sc-icon-y: 66.667%; }
.icon-ai { --sc-icon-x: 66.667%; --sc-icon-y: 33.333%; }
.icon-data { --sc-icon-x: 33.333%; --sc-icon-y: 33.333%; }
.icon-servicenow { --sc-icon-x: 66.667%; --sc-icon-y: 66.667%; }
.icon-cloud { --sc-icon-x: 100%; --sc-icon-y: 33.333%; }
.icon-security { --sc-icon-x: 0%; --sc-icon-y: 66.667%; }
.icon-engineering { --sc-icon-x: 33.333%; --sc-icon-y: 66.667%; }
.icon-hospital { --sc-icon-x: 100%; --sc-icon-y: 0%; }
.icon-payer { --sc-icon-x: 0%; --sc-icon-y: 100%; }
.icon-lifesciences { --sc-icon-x: 33.333%; --sc-icon-y: 100%; }
.icon-government { --sc-icon-x: 66.667%; --sc-icon-y: 100%; }
.icon-enterprise { --sc-icon-x: 100%; --sc-icon-y: 100%; }

.sc-care-journey {
    position: relative;
    overflow: clip;
    padding: clamp(76px, 9vw, 132px) 0 clamp(54px, 7vw, 100px);
    background: #282124;
    color: #fffdf9;
    isolation: isolate;
}
.sc-care-journey::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(ellipse at 23% 38%, rgba(143,24,32,.22), transparent 44%), radial-gradient(ellipse at 82% 76%, rgba(79,182,176,.1), transparent 38%);
    content: "";
    pointer-events: none;
}
.sc-journey-heading { max-width: 850px; margin-bottom: clamp(36px, 6vw, 76px); }
.sc-journey-heading .sc-section-kicker { color: #d8c6c3; }
.sc-journey-heading h2 { margin: 0; color: #fffdf9; font-family: var(--sc-serif); font-size: clamp(42px, 6.2vw, 78px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.sc-journey-heading h2 em { color: #f0c4c3; font-weight: 400; }
.sc-journey-heading > p:last-child { max-width: 56ch; margin: 20px 0 0; color: #c8bfc0; font-size: 16px; line-height: 1.7; }
.sc-journey-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: start; gap: clamp(38px, 7vw, 96px); }
.sc-journey-visual {
    position: sticky;
    top: 96px;
    height: min(70vh, 680px);
    min-height: 440px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 28px;
    background: radial-gradient(ellipse at 50% 38%, #403236, #211c1e 72%);
    box-shadow: 0 28px 70px rgba(0,0,0,.26), inset 0 1px rgba(255,255,255,.08);
    perspective: 900px;
}
.sc-journey-visual::after { position: absolute; z-index: 2; inset: 0; border-radius: inherit; background: linear-gradient(180deg,rgba(24,20,22,.05),transparent 55%,rgba(24,20,22,.55)); content: ""; pointer-events: none; }
.sc-journey-canvas, .sc-journey-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-journey-canvas canvas { display: block; }
.sc-journey-fallback { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; transition: opacity .45s ease; }
.sc-journey-webgl-ready .sc-journey-fallback { opacity: 0; pointer-events: none; }
.sc-journey-room { position: relative; width: min(78%, 440px); aspect-ratio: 1.12; display: grid; place-items: center; transform: perspective(700px) rotateX(8deg) rotateY(-7deg); }
.sc-journey-room::before, .sc-journey-room::after { position: absolute; content: ""; border: 1px solid rgba(239,197,194,.55); border-radius: 45% 45% 18px 18px; transform: perspective(600px) rotateY(-12deg); }
.sc-journey-room::before { inset: 8% 15% 3%; box-shadow: 0 0 50px rgba(198,36,47,.18), inset 0 0 45px rgba(198,36,47,.1); }
.sc-journey-room::after { inset: 16% 24% 11%; border-color: rgba(79,182,176,.6); border-radius: 42% 42% 14px 14px; }
.sc-journey-room > i { position: absolute; z-index: 0; left: 50%; width: 80%; height: 1px; background: linear-gradient(90deg,transparent,rgba(79,182,176,.5),transparent); transform: translateX(-50%) rotate(-13deg); }
.sc-journey-room > i:nth-child(1) { top: 25%; }.sc-journey-room > i:nth-child(2) { top: 49%; }.sc-journey-room > i:nth-child(3) { top: 73%; }
.sc-journey-orbit { position: absolute; z-index: 1; border: 1px solid rgba(79,182,176,.48); border-radius: 50%; transform: rotateX(67deg) rotateZ(-22deg); }
.sc-journey-orbit-one { width: 80%; height: 42%; }.sc-journey-orbit-two { width: 58%; height: 31%; border-color: rgba(239,197,194,.6); transform: rotateX(67deg) rotateZ(33deg); }
.sc-journey-icon { position: relative; z-index: 2; width: 47%; height: 45%; border-radius: 50%; background: radial-gradient(circle at 34% 25%,rgba(255,255,255,.36),rgba(143,24,32,.12) 55%,rgba(143,24,32,.44)); box-shadow: 0 20px 55px rgba(0,0,0,.22), inset 0 0 30px rgba(255,255,255,.09); }
.sc-journey-icon::before { filter: drop-shadow(0 9px 13px rgba(0,0,0,.32)); }
.sc-journey-cross { position: absolute; z-index: 3; top: 24%; right: 14%; width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; background: #8f1820; color: #fff; font-size: 24px; font-weight: 300; box-shadow: 0 5px 20px rgba(0,0,0,.24); }
.sc-journey-caption { position: absolute; z-index: 4; left: 28px; bottom: 54px; display: flex; flex-direction: column; gap: 8px; }
.sc-journey-caption > span:first-child { color: #f0c4c3; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.sc-journey-caption strong { font-family: var(--sc-serif); font-size: clamp(24px, 2.5vw, 34px); font-weight: 400; }
.sc-journey-caption-line { width: 48px; border-top: 2px solid #c6242f; }
.sc-journey-scroll-hint { position: absolute; z-index: 4; right: 26px; bottom: 29px; display: flex; align-items: center; gap: 9px; color: #c8bfc0; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.sc-journey-scroll-hint span { color: #f0c4c3; font-size: 15px; }
.sc-journey-steps { min-width: 0; }
.sc-journey-step { min-height: clamp(350px, 55vh, 520px); display: flex; flex-direction: column; justify-content: center; padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,.15); opacity: 1; transition: opacity .4s ease; }
.sc-journey-step:first-child { border-top: 1px solid rgba(255,255,255,.15); }
.sc-journey-step.is-active { opacity: 1; }
.sc-journey-step-index { display: flex; align-items: center; gap: 11px; color: #f0c4c3; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.sc-journey-step-index i { width: 32px; border-top: 1px solid #b94a50; }
.sc-journey-step h3 { max-width: 13ch; margin: 24px 0 16px; color: #fffdf9; font-family: var(--sc-serif); font-size: clamp(34px, 4.1vw, 54px); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.sc-journey-step p { max-width: 45ch; margin: 0; color: #c8bfc0; font-size: 15px; line-height: 1.75; }

@media (max-width: 1023px) {
    .sc-industry-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "categories" "visual"; gap: 28px; }
    .sc-industry-copy { max-width: 720px; }
    .sc-industry-copy h2 { max-width: 13ch; font-size: clamp(40px, 6vw, 56px); }
    .sc-industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sc-industry-card:first-child { grid-column: auto; min-height: 154px; flex-direction: column; align-items: flex-start; gap: 15px; padding: 22px; }
    .sc-industry-card:first-child h3 { font-size: 16px; }
    .sc-people-card { min-height: clamp(250px, 36vw, 340px); }
    .sc-journey-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 30px; }
    .sc-journey-visual { min-height: 400px; }
    .sc-journey-step { min-height: 390px; }
}

@media (max-width: 767px) {
    .sc-header { background: #fffdf9; }
    .sc-service-content { grid-template-columns: minmax(0, 1fr) 38px; column-gap: 10px; row-gap: 8px; min-height: 144px; padding: 37px 17px 18px; }
    .sc-service-content > .sc-icon-disc { top: -59px; left: 17px; width: 44px; height: 44px; }
    .sc-service-content h3 { font-size: 19px; }
    .sc-service-content .sc-round-arrow { width: 38px; height: 38px; }
    .sc-service-content p { font-size: 14px; }
    .sc-industry-layout { gap: 24px; }
    .sc-industry-copy h2 { max-width: 13ch; font-size: clamp(37px, 9.5vw, 48px); }
    .sc-industry-copy > p:not(.sc-section-kicker) { font-size: 15px; }
    .sc-industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .sc-industry-card { min-height: 134px; gap: 12px; padding: 15px; }
    .sc-industry-card:first-child { grid-column: 1 / -1; min-height: 112px; flex-direction: row; align-items: center; gap: 16px; padding: 18px; }
    .sc-industry-card:first-child .sc-industry-icon { width: 44px; height: 44px; }
    .sc-industry-card:first-child h3 { font-size: 17px; }
    .sc-industry-card h3 { font-size: 13px; }
    .sc-people-card { min-height: 220px; }
    .sc-people-card > div { width: 54%; padding: 16px; }
    .sc-people-card p { font-size: clamp(21px, 6vw, 29px); }
    .sc-care-journey { padding-block: 70px 54px; }
    .sc-journey-heading { margin-bottom: 30px; }
    .sc-journey-heading h2 { font-size: clamp(38px, 10vw, 52px); }
    .sc-journey-heading > p:last-child { font-size: 15px; }
    .sc-journey-grid { grid-template-columns: 1fr; gap: 24px; }
    .sc-journey-visual { position: relative; top: auto; height: auto; min-height: 0; aspect-ratio: 1.16; border-radius: 22px; }
    .sc-journey-room { width: 78%; }
    .sc-journey-caption { left: 20px; bottom: 42px; }
    .sc-journey-caption strong { font-size: 24px; }
    .sc-journey-scroll-hint { right: 18px; bottom: 21px; font-size: 8px; }
    .sc-journey-step, .sc-journey-step:first-child { min-height: 0; padding: 27px 0 30px; border-top: 0; }
    .sc-journey-step h3 { max-width: 18ch; margin: 16px 0 10px; font-size: clamp(29px, 8vw, 37px); }
    .sc-journey-step p { font-size: 14px; }
}

@media (max-width: 390px) {
    .sc-service-content { grid-template-columns: minmax(0, 1fr) 36px; column-gap: 8px; padding-inline: 14px; }
    .sc-service-content > .sc-icon-disc { left: 14px; }
    .sc-service-content h3 { font-size: 18px; }
    .sc-industry-grid { gap: 8px; }
    .sc-industry-card { padding: 12px; }
    .sc-people-card > div { width: 58%; }
}

@media (prefers-reduced-motion: reduce) {
    .sc-journey-fallback, .sc-journey-step { transition: none; }
}
