/* Project stories and the shared CMS foundation. */
.hero { background: radial-gradient(ellipse at 80% 32%, #1d2945 0%, transparent 53%), radial-gradient(ellipse at 10% 95%, #16203a 0%, transparent 45%); }
/* Dot grid under the motion canvas, faded towards the heading side. */
.hero--architecture::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(165 180 252 / .1) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse at 78% 28%, #000, transparent 62%); mask-image: radial-gradient(ellipse at 78% 28%, #000, transparent 62%); pointer-events: none; }
.hero-cms-note { margin-top: 22px; font-size: 12px; color: var(--muted); }
.hero-cms-note a { color: var(--accent); }
.solution-grid { counter-reset: solution; }
.solution-card { position: relative; counter-increment: solution; }
.solution-card::after { content: "0" counter(solution); position: absolute; top: 28px; right: 26px; color: var(--muted); font-size: 12px; letter-spacing: .08em; pointer-events: none; }
.solution-card:nth-child(2) { background: linear-gradient(180deg, #1c2847, #16203a); border-color: rgb(129 140 248 / .55); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 0 0 1px rgb(99 102 241 / .25), 0 16px 40px rgb(79 70 229 / .18); }
.solution-card > .text-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.solution-card:is(:hover, :has(> .text-link:focus-visible)) { border-color: rgb(165 180 252 / .45); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 20px 40px rgb(0 0 0 / .35); }
.solution-card:is(:hover, :has(> .text-link:focus-visible)) > .text-link { color: var(--accent-hover); }
.solution-card:has(> .text-link:focus-visible) { outline: 3px solid var(--accent); outline-offset: 5px; }
.solution-card > .text-link:focus-visible { outline: none; }
.solution-features a { position: relative; z-index: 2; }
.included-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 22px 26px; background: rgb(255 255 255 / .03); border: 1px solid rgb(255 255 255 / .1); border-radius: var(--radius-panel); box-shadow: inset 0 1px 0 rgb(255 255 255 / .05); }
.included-strip p { font-size: 14px; color: var(--muted); }
.included-strip strong { display: block; color: var(--text); font-size: 16px; font-weight: 500; }
.included-strip .text-link { white-space: nowrap; }
.cms-section { overflow: hidden; overflow: clip; }
.cms-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; margin-bottom: 36px; }
.cms-intro > p { color: var(--muted); font-size: 17px; }
.cms-pill { display: inline-flex; padding: 5px 12px; border: 1px solid #53628b; border-radius: 100px; color: var(--accent); font-size: 12px; margin-bottom: 20px; }
/* The screenshot reads as a running app window (the chat and ops cards' chrome),
   not a flat image: edge, inner highlight and glow separate dark-on-dark. */
.cms-frame { margin: 0; position: relative; }
.cms-frame::before { content: ""; position: absolute; inset: -36px -48px; background: radial-gradient(closest-side, rgb(99 102 241 / .26), transparent); filter: blur(46px); pointer-events: none; }
.cms-window { position: relative; background: linear-gradient(150deg, #1b2740, #121c31); border: 1px solid var(--line-2); border-radius: var(--radius-card); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 24px 48px rgb(0 0 0 / .35); overflow: hidden; }
.cms-window-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgb(255 255 255 / .08); font-size: 12px; color: var(--muted); }
.cms-window-bar span { width: 9px; height: 9px; border-radius: 50%; background: #394575; }
.cms-window-bar em { font-style: normal; margin-left: 8px; }
.cms-window .project-screenshot { border: 0; border-radius: 0; }
.cms-video { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 950; background: #0f172a; }
.cms-video[hidden], [data-cms-image][hidden] { display: none; }
.cms-video-toggle { position: absolute; top: 0; right: 8px; display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.cms-video-toggle:hover { color: var(--text); background: rgb(255 255 255 / .06); }
.cms-video-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.cms-video-toggle[hidden] { display: none; }
.cms-callout { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; font-size: 12px; color: var(--accent-hover); background: rgb(15 23 42 / .88); border: 1px solid rgb(165 180 252 / .4); border-radius: 100px; box-shadow: 0 8px 20px rgb(0 0 0 / .35); pointer-events: none; }
.cms-callout::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cms-callout--editor { left: 20%; top: 12%; }
.cms-callout--preview { right: 4%; top: 12%; }
.cms-callout--preview::before { background: #6ee7b7; }
.cms-frame figcaption { margin: 16px 2px 0; color: var(--muted); font-size: 12px; }
.cms-frame figcaption a { display: inline-flex; align-items: center; min-height: 44px; }
.cms-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.cms-features article { border-top: 1px solid var(--line); padding-top: 20px; }
.cms-features span { color: var(--accent); font-size: 12px; }
.cms-features h3 { margin-top: 10px; font-size: 18px; font-weight: 500; }
.cms-features p { margin-top: 8px; font-size: 14px; color: var(--muted); }
/* The MCP assistant demo: copy left, illustrative chat right. */
.mcp-demo { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.mcp-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.mcp-copy h3 { margin: 16px 0 0; font-family: var(--font-display); font-size: 34px; line-height: 1.2; font-weight: 700; letter-spacing: -.03em; }
.mcp-steps { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.mcp-steps li { display: flex; gap: 16px; align-items: flex-start; font-size: 15px; }
.mcp-steps p { margin: 0; }
.mcp-steps p span { color: var(--muted); }
.mcp-steps strong { font-weight: 600; }
.mcp-step-num { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border: 1px solid rgb(165 180 252 / .4); border-radius: var(--radius-control); color: var(--accent); font-size: 12px; font-variant-numeric: tabular-nums; }
.mcp-steps li:last-child .mcp-step-num { border-color: rgb(110 231 183 / .5); color: #6ee7b7; }
.mcp-footnote { margin: 26px 0 0; font-size: 13px; color: var(--muted); border-top: 1px solid rgb(255 255 255 / .08); padding-top: 16px; max-width: 460px; }
.mcp-copy > .text-link { margin-top: 4px; }
.mcp-beat { position: absolute; top: -9px; left: -9px; display: grid; place-items: center; width: 22px; height: 22px; background: var(--background); border: 1px solid rgb(165 180 252 / .5); border-radius: 50%; font-size: 10px; color: var(--accent); }
.mcp-chat-status .mcp-beat { top: -11px; border-color: rgb(110 231 183 / .5); color: #6ee7b7; }
.mcp-chat { margin: 0; position: relative; min-width: 0; }
.mcp-chat::before { content: ""; position: absolute; inset: 14% 8%; background: radial-gradient(closest-side, rgb(99 102 241 / .3), transparent); filter: blur(34px); pointer-events: none; }
/* Dot-matrix halo behind the chat card: the typing indicator, blown up into
   section art. The accent trio sits on the same 20px lattice as the grid. */
.mcp-dots { position: absolute; inset: -52px -24px 26% -52px; pointer-events: none; background-image: radial-gradient(rgb(165 180 252 / .22) 1.3px, transparent 1.4px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(ellipse 85% 95% at 24% 6%, #000 32%, transparent 74%); mask-image: radial-gradient(ellipse 85% 95% at 24% 6%, #000 32%, transparent 74%); }
.mcp-dots span { position: absolute; top: 26.5px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .85; }
.mcp-dots span:nth-child(1) { left: 66.5px; }
.mcp-dots span:nth-child(2) { left: 86.5px; }
.mcp-dots span:nth-child(3) { left: 106.5px; }
@keyframes mcp-halo { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.mcp-chat-card { position: relative; background: linear-gradient(150deg, #1b2740, #121c31); border: 1px solid var(--line-2); border-radius: var(--radius-card); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 24px 48px rgb(0 0 0 / .35); overflow: hidden; }
.mcp-chat-bar { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid rgb(255 255 255 / .08); font-size: 12px; color: var(--muted); }
.mcp-chat-bar em { font-style: normal; }
.mcp-chat-body { padding: 20px; display: grid; gap: 14px; }
.mcp-msg { position: relative; margin: 0; max-width: 88%; padding: 12px 16px; font-size: 14px; line-height: 1.6; }
.mcp-msg--user { justify-self: end; background: var(--brand); border-radius: 12px 12px 4px 12px; }
.mcp-msg--assistant { justify-self: start; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); border-radius: 12px 12px 12px 4px; }
.mcp-chat-status { position: relative; margin: 2px 0 0; justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--accent-hover); border: 1px solid rgb(165 180 252 / .35); border-radius: 100px; padding: 5px 12px; }
.mcp-chat-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6ee7b7; }
.mcp-chat figcaption { position: relative; margin: 14px 2px 0; font-size: 12px; color: var(--muted); }
/* Chat demo: mcp-demo.js arms the card and plays the conversation once it is
   in view. Without the script, or with reduced motion, the finished
   conversation simply shows. */
.mcp-reply-slot { position: relative; display: grid; justify-items: start; justify-self: start; max-width: 88%; }
.mcp-reply-slot .mcp-msg--assistant { max-width: none; }
.mcp-typing { position: absolute; top: 0; left: 0; margin: 0; display: none; padding: 13px 16px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); border-radius: 12px 12px 12px 4px; }
.mcp-typing span { display: inline-block; width: 6px; height: 6px; margin-inline: 2px; border-radius: 50%; background: #7c8ab4; }
.mcp-armed :is(.mcp-msg--user, .mcp-reply-slot .mcp-msg--assistant, .mcp-chat-status) { opacity: 0; }
.mcp-armed .mcp-typing { display: block; opacity: 0; }
.mcp-play .mcp-msg--user { animation: mcp-pop 420ms cubic-bezier(.2, .7, .2, 1) 200ms forwards; }
.mcp-play .mcp-typing { animation: mcp-typing 1500ms ease 850ms forwards; }
.mcp-play .mcp-typing span { animation: mcp-dot 900ms ease-in-out infinite; }
.mcp-play .mcp-typing span:nth-child(2) { animation-delay: 150ms; }
.mcp-play .mcp-typing span:nth-child(3) { animation-delay: 300ms; }
.mcp-play .mcp-reply-slot .mcp-msg--assistant { animation: mcp-pop 420ms cubic-bezier(.2, .7, .2, 1) 2350ms forwards; }
.mcp-play .mcp-chat-status { animation: mcp-pop 360ms cubic-bezier(.2, .7, .2, 1) 3150ms forwards; }
@keyframes mcp-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes mcp-typing { 0% { opacity: 0; } 12%, 82% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mcp-dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
/* Scroll-scrubbed focus scene (desktop + scroll timelines): the block pins, the
   card rises into focus while the copy gently recedes, and the conversation is
   driven by scroll. mcp-demo.js stands down when this branch is active. */
@keyframes mcp-copy-focus { 0% { opacity: 1; } 30%, 70% { opacity: .55; } 100% { opacity: 1; } }
@keyframes mcp-glow { from { opacity: .35; } }
@keyframes mcp-card-rise { from { transform: scale(.96); } }
/* The journey steps narrate the chat beats: you ask → it drafts → review → publish.
   Every step returns to full opacity at scene exit so nothing stays dimmed. */
@keyframes mcp-step-1 { 0%, 2% { opacity: .35; } 6%, 18% { opacity: 1; transform: translateX(6px); } 26%, 86% { opacity: .35; transform: none; } 94%, 100% { opacity: 1; } }
@keyframes mcp-step-2 { 0%, 16% { opacity: .35; } 22%, 56% { opacity: 1; transform: translateX(6px); } 64%, 86% { opacity: .35; transform: none; } 94%, 100% { opacity: 1; } }
@keyframes mcp-step-3 { 0%, 60% { opacity: .35; } 66%, 84% { opacity: 1; transform: translateX(6px); } 94%, 100% { opacity: 1; transform: none; } }
@keyframes mcp-step-4 { 0%, 78% { opacity: .35; } 86%, 94% { opacity: 1; transform: translateX(6px); } 100% { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 861px) {
    .mcp-demo { view-timeline-name: --mcp; block-size: 240vh; }
    .mcp-sticky { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; }
    .mcp-grid { width: 100%; }
    .mcp-copy .eyebrow, .mcp-copy h3, .mcp-lead { animation: mcp-copy-focus linear both; animation-timeline: --mcp; animation-range: contain 0% contain 100%; }
    .mcp-steps li { animation-timing-function: linear; animation-fill-mode: both; animation-timeline: --mcp; animation-range: contain 0% contain 100%; }
    .mcp-steps li:nth-child(1) { animation-name: mcp-step-1; }
    .mcp-steps li:nth-child(2) { animation-name: mcp-step-2; }
    .mcp-steps li:nth-child(3) { animation-name: mcp-step-3; }
    .mcp-steps li:nth-child(4) { animation-name: mcp-step-4; }
    .mcp-chat::before { animation: mcp-glow linear both; animation-timeline: --mcp; animation-range: contain 0% contain 30%; }
    .mcp-chat-card { animation: mcp-card-rise linear both; animation-timeline: --mcp; animation-range: contain 0% contain 25%; }
    .mcp-msg--user { animation: mcp-pop linear both; animation-timeline: --mcp; animation-range: contain 2% contain 16%; }
    .mcp-typing { display: block; animation: mcp-typing linear both; animation-timeline: --mcp; animation-range: contain 14% contain 44%; }
    .mcp-typing span { animation: mcp-dot 900ms ease-in-out infinite; }
    .mcp-typing span:nth-child(2) { animation-delay: 150ms; }
    .mcp-typing span:nth-child(3) { animation-delay: 300ms; }
    .mcp-reply-slot .mcp-msg--assistant { animation: mcp-pop linear both; animation-timeline: --mcp; animation-range: contain 44% contain 62%; }
    .mcp-chat-status { animation: mcp-pop linear both; animation-timeline: --mcp; animation-range: contain 66% contain 82%; }
  }
}
.work-section { overflow: hidden; overflow: clip; background: radial-gradient(ellipse at 78% 28%, #253153, transparent 50%), var(--surface); }
.case-carousel { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.case-intro .section-heading h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.12; }
.case-intro .section-heading p { max-width: 390px; font-size: 16px; }
.case-intro > .text-link { margin-top: 26px; }
.case-controls { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.case-controls[hidden] { display: none; }
.case-arrow { width: 48px; height: 48px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-3); border-radius: 50%; background: transparent; color: var(--text); font-size: 22px; cursor: pointer; }
.case-arrow:hover { background: var(--brand); border-color: var(--brand); }
.case-dots { display: flex; }
.case-dot { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
.case-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8d9cc9; }
.case-dot[aria-pressed="true"]::before { background: var(--accent-hover); outline: 2px solid rgb(199 210 254 / .45); outline-offset: 3px; }
.case-status { display: none; margin-top: 14px; font-size: 12px; color: var(--muted); min-height: 20px; }
.case-carousel.is-ready .case-status { display: block; }
.case-deck { display: grid; gap: 24px; min-width: 0; }
.case-card { display: flex; flex-direction: column; padding: 22px; background: #1b273f; border: 1px solid var(--line-3); border-radius: var(--radius-card); min-width: 0; box-shadow: inset 0 1px 0 rgb(255 255 255 / .06); }
.case-art { position: relative; border-radius: 8px; overflow: hidden; background: var(--background); aspect-ratio: 1.65; }
.case-art img { width: 100%; height: 100%; object-fit: cover; }
.case-art .case-cms-image { object-position: left center; }
.case-type { position: absolute; top: 12px; left: 12px; padding: 5px 12px; color: var(--text); background: #0f172a; border: 1px solid var(--line-3); border-radius: 100px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.case-card h3 { margin-top: 24px; font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.case-card > p { font-size: 15px; line-height: 1.65; color: var(--muted); margin-top: 12px; margin-bottom: 32px; }
.case-card .text-link { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); justify-content: space-between; }
.case-carousel.is-ready .case-deck { padding: 10px 44px 42px 0; isolation: isolate; touch-action: pan-y; }
.case-carousel.is-ready .case-card { grid-area: 1 / 1; min-height: 490px; box-shadow: 0 22px 45px #0003; transform-origin: center 80%; }
.case-card[data-position="0"] { z-index: 3; transform: rotate(-2deg); }
.case-card[data-position="1"] { z-index: 2; transform: translate(22px, 18px) rotate(3deg); filter: brightness(.75); pointer-events: none; }
.case-card[data-position="2"] { z-index: 1; transform: translate(40px, 34px) rotate(7deg); filter: brightness(.5); pointer-events: none; }
.case-carousel.is-ready .case-card[data-position="0"] { cursor: pointer; }
/* 04: the ops board — the invisible work of managed hosting, shown. */
.managed-duo { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.managed-duo .care-list { flex: 1 1 280px; min-width: 0; grid-template-columns: 1fr; gap: 20px; }
.ops-board { margin: 0; flex: 0 1 360px; min-width: 260px; }
.ops-card { background: linear-gradient(150deg, #1b2740, #121c31); border: 1px solid var(--line-2); border-radius: var(--radius-card); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 24px 48px rgb(0 0 0 / .3); overflow: hidden; }
.ops-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgb(255 255 255 / .08); font-size: 12px; color: var(--muted); }
.ops-bar span { width: 9px; height: 9px; border-radius: 50%; background: #394575; }
.ops-bar em { font-style: normal; margin-left: 8px; }
.ops-rows { list-style: none; margin: 0; padding: 6px 0; }
.ops-rows li { display: flex; align-items: center; gap: 12px; padding: 13px 18px; font-size: 14px; }
.ops-rows li + li { border-top: 1px solid rgb(255 255 255 / .05); }
.ops-rows strong { font-weight: 600; }
.ops-meta { margin-left: auto; color: var(--muted); font-size: 12px; }
.ops-check { flex: 0 0 auto; }
.ops-pulse { flex: 0 0 auto; width: 16px; height: 16px; display: grid; place-items: center; }
.ops-pulse::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6ee7b7; }
.ops-board figcaption { margin: 12px 2px 0; font-size: 12px; color: var(--muted); }
/* 05: the brand mark growing outward — website, application, new channels. */
.grow-duo { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.grow-duo .about-copy { flex: 1 1 380px; min-width: 0; }
.grow-mark { margin: 0; flex: 0 1 300px; min-width: 220px; }
.grow-mark svg { width: 100%; height: auto; display: block; }
.grow-mark text { font: 12px 'Segoe UI', Arial, sans-serif; fill: #a8b5ca; letter-spacing: .04em; }
.grow-links { opacity: .18; }
@keyframes ops-tick { from { stroke-dashoffset: 16; } to { stroke-dashoffset: 0; } }
@keyframes ops-pulse { 0% { box-shadow: 0 0 0 0 rgb(110 231 183 / .35); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
@keyframes grow-draw { from { stroke-dashoffset: var(--len); } }
@keyframes grow-dot-in { from { opacity: 0; transform: scale(0); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ops-rows li { animation: reveal-fade linear both; animation-timeline: view(); animation-range: entry 10% entry 30%; }
    .ops-rows li .ops-check path { stroke-dasharray: 16; animation: ops-tick linear both; animation-timeline: view(); animation-range: entry 14% entry 34%; }
    .ops-rows li:nth-child(2), .ops-rows li:nth-child(2) .ops-check path { animation-range: entry 22% entry 42%; }
    .ops-rows li:nth-child(3), .ops-rows li:nth-child(3) .ops-check path { animation-range: entry 34% entry 54%; }
    .ops-rows li:nth-child(4) { animation-range: entry 46% entry 66%; }
    /* One named timeline on the figure: tiny elements (dot, labels) have no
       useful view() window of their own. */
    .grow-mark { view-timeline-name: --grow; }
    .grow-ring { stroke-dasharray: var(--len); animation: grow-draw linear both; animation-timeline: --grow; }
    .grow-s1 .grow-ring { animation-range: entry 8% entry 26%; }
    .grow-s2 .grow-ring { animation-range: entry 24% entry 44%; }
    .grow-s3 .grow-ring { animation-range: entry 42% entry 62%; }
    .grow-s4 .grow-ring { animation-range: entry 60% entry 80%; }
    .grow-mark text { animation: reveal-fade linear both; animation-timeline: --grow; }
    .grow-s1 text { animation-range: entry 22% entry 32%; }
    .grow-s2 text { animation-range: entry 40% entry 50%; }
    .grow-s3 text { animation-range: entry 58% entry 68%; }
    .grow-s4 text { animation-range: entry 76% entry 86%; }
    .grow-dot { transform-box: fill-box; transform-origin: center; animation: grow-dot-in linear both; animation-timeline: --grow; animation-range: entry 26% entry 38%; }
    .grow-links { animation: reveal-fade linear both; animation-timeline: --grow; animation-range: entry 78% entry 90%; }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .case-card { transition: transform 500ms cubic-bezier(.2,.7,.2,1), filter 500ms ease; }
  .case-carousel.is-ready .case-card[data-position="0"]:hover { transform: rotate(-2deg) translateY(-6px); }
  /* Deal the front card out to the side before it tucks behind the stack
     (and the reverse when stepping back). The final pose is implicit: the
     card's new data-position style. z-index flips mid-flight, once the card
     is clear of the stack. */
  .case-card.is-dealing { animation: case-deal 680ms cubic-bezier(.45,.05,.25,1); pointer-events: none; }
  .case-card.is-returning { animation: case-return 680ms cubic-bezier(.45,.05,.25,1); pointer-events: none; }
  @keyframes case-deal {
    0% { transform: rotate(-2deg); filter: none; z-index: 4; }
    48% { transform: translate(-58%, 3%) rotate(-9deg) scale(.96); filter: none; z-index: 4; }
    52% { z-index: 0; }
    100% { z-index: 0; }
  }
  @keyframes case-return {
    0% { transform: translate(40px, 34px) rotate(7deg) scale(.94); filter: brightness(.5); z-index: 0; }
    48% { transform: translate(-58%, 3%) rotate(-9deg) scale(.96); filter: none; z-index: 0; }
    52% { z-index: 4; }
    100% { z-index: 4; }
  }
  .solution-card { transition: transform 250ms ease, border-color 250ms ease; }
  .solution-card:is(:hover, :has(> .text-link:focus-visible)) { transform: translateY(-5px); }
  .ops-pulse::before { animation: ops-pulse 2.4s ease-in-out infinite; }
  .mcp-dots span { animation: mcp-halo 2.8s ease-in-out infinite; }
  .mcp-dots span:nth-child(2) { animation-delay: 350ms; }
  .mcp-dots span:nth-child(3) { animation-delay: 700ms; }
}
@media (max-width: 960px) {
  .grow-mark { margin-inline: auto; }
  .case-carousel { gap: 36px; grid-template-columns: .9fr 1.1fr; }
  .case-carousel.is-ready .case-card { min-height: 470px; padding: 18px; }
  .case-card h3 { font-size: 24px; }
  .cms-intro { gap: 32px; }
  .mcp-grid { gap: 36px; }
  .mcp-copy h3 { font-size: 30px; }
}
@media (max-width: 720px) {
  .site-header:has(.site-nav:not(.is-enhanced)) { position: static; }
  .included-strip, .cms-intro { display: block; }
  .included-strip .text-link { margin-top: 12px; }
  .cms-intro > p { margin-top: 24px; font-size: 16px; }
  .cms-callout { display: none; }
  .cms-window { border-radius: 10px; }
  .cms-frame figcaption { font-size: 12px; margin: 12px 4px 4px; }
  .cms-features { grid-template-columns: 1fr; gap: 24px; }
  .mcp-demo { margin-top: 48px; padding-top: 40px; }
  .mcp-grid { grid-template-columns: 1fr; gap: 32px; }
  .mcp-dots { inset: -44px -12px 32% -20px; }
  .case-carousel { grid-template-columns: 1fr; gap: 28px; }
  .case-intro .section-heading h2 { font-size: 38px; max-width: 400px; }
  .case-carousel.is-ready .case-deck { width: min(100%, 480px); margin-inline: auto; padding: 8px 34px 35px 6px; }
  .case-carousel.is-ready .case-card { min-height: 460px; }
  .case-card[data-position="2"] { transform: translate(26px, 26px) rotate(5deg); }
  .case-card[data-position="1"] { transform: translate(15px, 14px) rotate(2deg); }
}
