.case-sharepoint { --case-accent: #abdcd6; --wash: #74ada5; }

.sp-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background: #d7e2e3;
  border-radius: 8px;
}
.sp-cover__scene { position: absolute; inset: 0; overflow: hidden; }
.sp-cover__original {
  position: absolute;
  top: 0;
  left: -75.2604167%;
  width: 200.1041667%;
  height: 100.5555556%;
  max-width: none;
}
.sp-cover__repair, .sp-cover__pearl {
  position: absolute;
  left: 31.4583333%;
  top: 51.1111111%;
  width: 6.6666667%;
  height: 12.037037%;
  opacity: 0;
  pointer-events: none;
}
.sp-cover__pearl { animation: sp-pearl-float 8s ease-in-out infinite; }
html[data-motion="on"] .sp-cover[data-cover-ready] .sp-cover__repair,
html[data-motion="on"] .sp-cover[data-cover-ready] .sp-cover__pearl { opacity: 1; }
@keyframes sp-pearl-float {
  0%, 100% { transform: translate(0, 0); }
  45% { transform: translate(2.35%, -10.77%); }
  75% { transform: translate(-1.6%, -4.6%); }
}
.home-page .sp-cover__scene { inset: auto; top: 50%; left: 50%; width: 100%; aspect-ratio: 16 / 9; transform: translate(-50%, -50%) scale(1.24); transform-origin: 76% 57%; }
.case-sharepoint .sharepoint-hero { margin: 48px 0 0; }
.sharepoint-hero > a { display: block; border-radius: 8px; }
.case-sharepoint .sharepoint-results .metric-strip p { max-width: 325px; }
.case-sharepoint .sharepoint-journey { margin: 40px 0 0; }
.case-sharepoint .sharepoint-journey-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 24px; }
.case-sharepoint .sharepoint-journey-steps > article { min-width: 0; margin: 0; padding: 24px; border: 1px solid color-mix(in srgb, var(--case-tone) 30%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--case-tone) 6%, var(--paper-light)); }
.case-sharepoint .sharepoint-journey-steps > article:nth-child(2) { --case-tone: var(--case-sky); }
.case-sharepoint .sharepoint-journey-steps > article:nth-child(3) { --case-tone: var(--case-peach); }
.case-sharepoint .sharepoint-journey-steps .number { color: var(--case-tone); }
.case-sharepoint .sharepoint-journey-steps h3 { font-size: 21px; line-height: 1.4; margin-block: 16px 12px; }
.case-sharepoint .sharepoint-journey-steps p { font-size: 16px; }
.sp-team-principles { margin-top: 40px; }
.sp-team-principles > .case-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--case-gutter); margin-top: 32px; }
.sp-team-principles > .case-stack > article { margin: 0; padding-top: 20px; border-top: 1px solid var(--case-outline); }
.sp-voice-example { margin: 0; }
.sp-voice-example > a { overflow: hidden; border-radius: 8px; }
.sp-voice-example img { display: block; width: 100%; height: auto; }
.sp-craft-heading { margin-top: 40px; }
.sp-craft-heading:first-child { margin-top: 0; }
.sp-craft-heading h3 { margin-top: 12px; }
.sp-atmosphere-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--case-gutter); align-items: center; }
.sp-atmosphere-copy, .sp-atmosphere-media { min-width: 0; }
.sp-atmosphere-copy h3 { margin: 0; font-size: 28px; line-height: 1.3; }
.sp-atmosphere-copy p { margin-top: 24px; }
.sp-atmosphere-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.sp-atmosphere-controls .sequence-bar { padding: 0; }
.sp-atmosphere-controls .sequence-step-nav { margin: 0; }
.sp-blob-frame { position: relative; width: 100%; aspect-ratio: 862 / 467; margin: 0; border-radius: 8px; overflow: hidden; }
.sp-blob-frame > a { display: block; width: 100%; height: 100%; }
.sp-blob-frame img, .sp-blob-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-sharepoint .sp-blob-evolution .sequence-visual { height: auto; min-height: 0; padding: 0; background: #1b2424; }
.sharepoint-figure { min-width: 0; margin: 36px 0 0; }
.sharepoint-figure > a { display: block; }
.sharepoint-figure img { width: 100%; height: auto; }
.sharepoint-browser {
  position: relative;
  overflow: hidden;
  border: 1px solid #ffffff24;
  border-radius: 6px;
  background: #f7f8fa;
}
.sharepoint-browser img { display: block; width: 100%; height: auto; }
.case-sharepoint .sharepoint-evolution .sequence-visual {
  padding: clamp(14px, 3vw, 36px);
  background: #1b2929;
}
.sharepoint-evolution .sharepoint-browser {
  --screen-image-height: calc(var(--evolution-stage-height) - 76px);
  width: min(100%, 1060px, calc(var(--screen-image-height) * var(--screen-aspect)));
  margin: 0;
}
.sharepoint-evolution .sharepoint-browser a { display: block; }
.sharepoint-evolution .sharepoint-browser img {
  width: 100%;
  height: auto;
}
.case-sharepoint .sp-final-stage { padding: 18px; }
.sp-live-frame { position: relative; width: min(100%, calc((var(--evolution-stage-height) - 48px) * 1.63057)); margin: 0; overflow: hidden; border-radius: 8px; background: #f5f8fa; }
.sp-live-reference { display: block; width: 100%; height: auto; }
.sp-live-layer { visibility: hidden; position: absolute; inset: 0 auto auto 0; width: 1024px; height: 628px; transform: scale(var(--live-scale, 1)); transform-origin: top left; font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif; }
.sp-live-frame.is-ready .sp-live-layer { visibility: visible; }
.sp-live-background { position: absolute; left: 38px; top: 68px; width: 978px; height: 382px; object-fit: cover; pointer-events: none; }
.sp-live-heading { position: absolute; left: 280px; top: 130px; width: 464px; text-align: center; color: #19595e; pointer-events: none; }
.sp-live-gradient { display: block; font-size: 34px; font-weight: 600; line-height: 44px; letter-spacing: .7px; color: #167987; background: linear-gradient(90deg, #26b6c3 0%, #284076 15%, #1b8797 30%, #167987 45%, #26b6c3 50%, #284076 65%, #1b8797 80%, #167987 95%, #26b6c3 100%); background-size: 200% 100%; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: sp-title-sweep 12s linear infinite; }
.sp-live-subtitle { display: block; font-size: 14px; line-height: 20px; margin-top: 6px; }
@keyframes sp-title-sweep { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
.sp-live-categories { display: flex; position: absolute; left: 232px; top: 248px; gap: 14px; align-items: center; color: #007f85; pointer-events: none; }
.sp-live-categories span { border: 1px solid #85dde5; border-radius: 24px; padding: 7px 15px; font-size: 11px; line-height: 13px; white-space: nowrap; }
.sp-live-categories span:first-child { color: white; background: #0c8288; border-color: #0c8288; }
.sp-live-card { position: absolute; top: 293px; width: 284px; height: 254px; padding: 0; border: 1px solid #d5e0e1; border-radius: 4px; background: white; box-shadow: 0 2px 3px #183a401a; }
.sp-live-card-name, .sp-live-card-description { position: absolute; left: 9px; right: 9px; color: #242424; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-live-card-name { top: 220px; font-size: 10px; line-height: 14px; font-weight: 500; }
.sp-live-card-description { top: 235px; font-size: 8px; line-height: 11px; }
.sp-live-card--status { left: 90px; }
.sp-live-card--newsletter { left: 384px; }
.sp-live-card--announcement { left: 680px; }
.sp-live-preview { display: block; overflow: hidden; background: #dde8eb; }
.sp-live-card .sp-live-preview { position: absolute; left: 9px; top: 9px; width: 266px; height: 202px; padding: 26px 26px 18px; border-radius: 2px; }
.sp-live-card--newsletter .sp-live-preview { background: #fceff5; }
.sp-live-card--announcement .sp-live-preview { background: #fff6db; }
.sp-live-page { display: block; width: 100%; height: auto; transform: translateY(0); }
.is-previewed .sp-live-page { transform: translateY(calc(-1 * var(--preview-travel, 0px))); }
html[data-motion="on"] [data-sp-scroll-preview] .sp-live-page { transition: transform 2s ease-in-out; }
.sp-live-card:focus-visible { outline: 3px solid #ff4d00; outline-offset: 3px; }
.sp-live-controls { position: absolute; bottom: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sp-live-controls > p { padding: 8px 12px; border-radius: 6px; background: #111512f2; color: #eeeee7; font-size: 11px; line-height: 1.6; }
.sp-live-controls .sp-replay { margin: 0; background: #111512; color: #eeeee7; }
.sp-template-evolution { --fit-step-display: grid; }
.sp-template-evolution .sequence-step { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; }
.sp-template-evolution .sequence-bar h4 { margin: 0; }
.sp-template-evolution .sequence-visual { height: auto; min-height: 360px; align-self: stretch; padding: 12px; background: #1d2321; }
.sp-thumbnail-study { position: absolute; inset: 12px; display: grid; place-items: center; }
.sp-thumbnail-study img { width: 100%; height: 100%; max-height: 336px; object-fit: contain; }
.sp-template-evolution .sequence-copy h4 { margin: 0; font-size: 28px; line-height: 1.3; }
.sp-template-evolution .sequence-copy p { margin-top: 20px; }
.sp-page-studies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
.sp-page-studies figure { margin: 0; min-width: 0; }
.sp-page-preview { display: block; width: 100%; padding: 0; border: 1px solid #ffffff20; border-radius: 10px; background: #e1eaeb; overflow: hidden; }
.sp-page-preview .sp-live-preview { height: auto; aspect-ratio: 1.15; padding: 8px; }
.sp-page-studies figcaption { color: var(--body); font-size: 12px; line-height: 1.5; margin-top: 16px; }
.sp-page-preview:disabled .sp-live-preview { aspect-ratio: auto; }

.sp-state-rail { container-type: inline-size; display: flex; flex-direction: column; gap: 16px; }
.sp-state-viewport { --state-unit: min(1px, calc((100cqw - 32px) / 480)); position: relative; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overflow-anchor: none; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #64746d transparent; border-radius: 8px; }
.sp-state-rail.is-enhanced .sp-state-viewport { scroll-snap-type: none; scrollbar-width: none; }
.sp-state-rail.is-enhanced .sp-state-viewport::-webkit-scrollbar { display: none; }
.sp-state-track { display: grid; grid-auto-flow: column; grid-auto-columns: max-content; grid-template-rows: repeat(2, minmax(0, 1fr)); align-items: start; gap: 0 calc(36 * var(--state-unit)); height: calc(577 * var(--state-unit)); list-style: none; margin: 0; padding: 0; }
.sp-state-track::after { content: ""; grid-row: span 2; align-self: stretch; width: max(0px, calc(100cqw - (var(--last-card-width, 480) + 36) * var(--state-unit))); }
.sp-state-card { width: calc(var(--source-width) * var(--state-unit)); height: calc(var(--source-height) * var(--state-unit)); min-width: 0; min-height: 0; scroll-snap-align: start; }
.sp-state-card:nth-child(even) { align-self: end; }
.sp-state-surface { position: relative; height: 100%; border-radius: calc(8 * var(--state-unit)); background: #fff; color: #323130; font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif; }
.sp-state-surface.sp-state-empty { border-radius: calc(6 * var(--state-unit)); }
.sp-state-surface .sp-voice-example { margin: 0; }
.sp-state-surface .sp-voice-example a { display: block; }
.sp-state-surface > .sp-state-title { position: absolute; left: calc(var(--title-x) * var(--state-unit)); top: calc(var(--title-y) * var(--state-unit)); width: calc(var(--title-width) * var(--state-unit)); margin: 0; font-family: inherit; font-size: calc(18 * var(--state-unit)); line-height: calc(16 * var(--state-unit)); font-weight: 600; font-style: normal; letter-spacing: normal; text-align: center; white-space: nowrap; color: #575757; }
.sp-state-body > a, .sp-state-body > figure, .sp-state-progress > a { position: absolute; left: calc(var(--art-x) * var(--state-unit)); top: calc(var(--art-y) * var(--state-unit)); width: calc(var(--art-size) * var(--state-unit)); height: calc(var(--art-size) * var(--state-unit)); }
.sp-state-body img { width: 100%; height: 100%; object-fit: contain; }
.sp-state-surface .sp-state-message { position: absolute; left: calc(var(--message-x) * var(--state-unit)); top: calc(var(--message-y) * var(--state-unit)); width: calc(var(--message-width) * var(--state-unit)); margin: 0; font-size: calc(14 * var(--state-unit)); line-height: calc(20 * var(--state-unit)); color: #424242; text-wrap: wrap; }
.sp-state-empty .sp-state-message { text-align: center; color: #7e7e7e; }
.sp-state-empty .sp-state-message span { color: #03787c; }
.sp-state-percentage { position: absolute; left: calc(104 * var(--state-unit)); top: calc(108 * var(--state-unit)); margin: 0; font-size: calc(12 * var(--state-unit)); line-height: calc(16 * var(--state-unit)); color: #616161; }
.sp-state-progress-line { position: absolute; left: calc(104 * var(--state-unit)); top: calc(132 * var(--state-unit)); width: calc(346 * var(--state-unit)); height: calc(2 * var(--state-unit)); background: #e0e0e0; border-radius: calc(100 * var(--state-unit)); }
.sp-state-progress-line::before { content: ""; display: block; width: var(--state-unit); height: 100%; background: #49aeb1; }
.sp-state-controls { display: flex; flex-shrink: 0; justify-content: space-between; align-items: center; gap: 16px; }
.sp-state-toggle { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.sp-state-toggle:hover { color: var(--ink); }
.sp-state-toggle:disabled { text-decoration: none; }
.sp-state-viewport:focus-visible { outline: 2px solid var(--case-accent); outline-offset: 5px; }

.sp-replay {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 17px;
  margin-top: 23px;
  border: 1px solid #abdcd64d;
  border-radius: 25px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}
.sp-replay::before { content: "\21bb"; font-size: 20px; line-height: 1; }
.sp-replay:hover:not(:disabled) { background: #abdcd610; border-color: var(--case-accent); }
.sp-replay:disabled { opacity: .6; }
@media (max-width: 1050px) {
  .case-sharepoint .case-index nav { gap: 16px; }
  .sp-template-evolution .sequence-step { grid-template-columns: 1fr; gap: 24px; }
  .sp-template-evolution .sequence-visual { min-height: 320px; }
  .case-sharepoint .sp-template-evolution .sequence-copy > p { max-width: none; }
}
@media (max-width: 760px) {
  .case-sharepoint .sharepoint-journey-steps, .sp-team-principles > .case-stack { grid-template-columns: 1fr; gap: 24px; }
  .sp-cover { border-radius: 14px; }
  .case-sharepoint .sharepoint-hero { margin: 25px 0 38px; }
  .case-sharepoint .sharepoint-evolution .sequence-visual { height: min(var(--evolution-stage-height), calc(100vw - 24px)); padding: 12px; }
  .sharepoint-evolution .sharepoint-browser { --screen-image-height: min(calc(var(--evolution-stage-height) - 76px), calc(100vw - 96px)); }
  .sharepoint-browser { border-radius: 6px; }
  .sp-template-evolution .sequence-step { grid-template-columns: 1fr; gap: 20px; }
  .sp-template-evolution .sequence-visual { min-height: 280px; padding: 12px; }
  .sp-thumbnail-study img { max-height: 256px; }
  .sp-template-evolution .sequence-copy h4 { font-size: 22px; }
  .sp-template-evolution .sequence-copy p { margin-top: 12px; }
  .sp-atmosphere-layout { grid-template-columns: 1fr; gap: 24px; }
  .sp-atmosphere-copy h3 { font-size: 26px; }
  .sp-blob-evolution .sp-atmosphere-copy p { margin-top: 16px; }
  .sp-atmosphere-controls .sequence-counter { position: absolute; width: 1px; height: 1px; min-width: 0; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .sp-template-evolution .sp-template-final { padding: 8px; }
  .sp-page-studies { gap: 8px; }
  .sp-page-studies figcaption { margin-top: 10px; font-size: 11px; }
  .sp-live-frame { width: 100%; border-radius: 4px; }
  .sp-blob-frame { border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-cover__repair, .sp-cover__pearl { opacity: 0 !important; }
  .sp-cover .motion { animation: none !important; }
  .sp-live-gradient { animation: none !important; }
  [data-sp-scroll-preview] .sp-live-page { transition: none !important; }
}
@media (forced-colors: active) {
  .case-sharepoint .sharepoint-journey-steps > article { background: Canvas; border-color: CanvasText; }
  .sp-replay { border-color: ButtonText; }
  .sp-live-frame { forced-color-adjust: none; }
  .sp-state-surface { forced-color-adjust: none; }
  .sp-state-viewport:focus-visible { outline-color: Highlight; }
}
@media print {
  .case-sharepoint .sharepoint-journey-steps, .sp-team-principles > .case-stack { display: block; }
  .case-sharepoint .sharepoint-journey-steps > article { background: none; margin-block: 16px; break-inside: avoid; }
  .sp-team-principles > .case-stack > article + article { margin-top: 24px; }
  .sp-cover__repair, .sp-cover__pearl, .sp-replay { display: none !important; }
  .sharepoint-hero, .sharepoint-figure { break-inside: avoid; }
  .sp-live-layer { display: none; }
  .sp-template-evolution .sequence-step { display: block; break-inside: avoid; }
  .sp-template-evolution .sequence-visual { min-height: 360px; }
  .sp-template-evolution .sp-template-final { min-height: 0; }
  .sp-atmosphere-layout { display: block; }
  .sp-atmosphere-media { margin-top: 24px; }
  .sp-blob-evolution .sequence-step { break-inside: avoid; }
  .sp-page-preview .sp-live-preview { height: auto; aspect-ratio: auto; }
  .sp-live-page { transform: none !important; }
  .sp-state-rail { display: block; }
  .sp-state-viewport { --state-unit: 1px; overflow: visible; }
  .sp-state-track { display: block; height: auto; }
  .sp-state-track::after { display: none; }
  .sp-state-card { margin: 0 auto 24px; break-inside: avoid; }
  .sp-state-controls { display: none; }
  .sp-team-principles { break-inside: avoid; }
  .sp-blob-frame { max-width: 100%; }
  .sharepoint-evolution .sharepoint-browser { width: min(100%, 800px); }
  .sharepoint-evolution .sharepoint-browser a { max-height: none; }
  .sharepoint-evolution .sharepoint-browser img { height: auto; }
  .case-sharepoint .sharepoint-evolution .sequence-visual { height: auto; }
}
