:root {
  --case-bg: #02060d;
  --case-surface: rgba(7, 19, 31, .88);
  --case-surface-2: rgba(10, 28, 44, .76);
  --case-line: rgba(124, 163, 191, .17);
  --case-cyan: #46dcf3;
  --case-teal: #55ebcf;
  --case-violet: #a78bfa;
  --case-amber: #ffba6a;
  --case-muted: #94a9b9;
  --case-shadow: 0 34px 100px rgba(0, 2, 8, .48);
}

html { scroll-padding-top: 132px; }
body.case-page { background: var(--case-bg); }
.case-page [hidden] { display: none !important; }
.case-page .section { padding-block: clamp(90px, 10vw, 148px); }
.case-page .section-kicker { color: var(--case-teal); }
.case-page .button-primary { background: linear-gradient(112deg, #ff9c53, #d95da9 52%, #7856ff); box-shadow: 0 14px 42px rgba(122, 82, 255, .22); }
.case-page .about-header { background: rgba(2, 8, 18, .8); }
.case-page .desktop-nav a.active::after { background: linear-gradient(90deg, var(--case-cyan), var(--case-violet), var(--case-amber)); }
.case-page .header-cta { white-space: nowrap; }
[dir="rtl"] .case-arrow { transform: rotate(180deg); }

/* Case hero */
.case-hero { position: relative; min-height: 870px; display: grid; align-items: center; padding-block: 135px 65px; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 50% 25%, rgba(46, 173, 207, .1), transparent 34%), #02060d; }
.case-hero::before { position: absolute; inset: 0; z-index: -2; background: linear-gradient(rgba(76, 132, 163, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(76, 132, 163, .025) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(180deg, #000, transparent 90%); content: ""; }
.case-hero-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(50px, 7vw, 95px); align-items: center; }
.case-hero-copy { position: relative; z-index: 2; }
.case-hero .breadcrumbs { margin-bottom: 28px; }
.case-signature { display: inline-flex; align-items: center; gap: 11px; color: #93a9b9; font: 800 .62rem/1 Inter, sans-serif; letter-spacing: .14em; }
.case-signature i { width: 7px; height: 7px; border-radius: 50%; background: var(--case-teal); box-shadow: 0 0 16px var(--case-teal); animation: case-pulse 2.2s ease-in-out infinite; }
.case-hero h1 { margin: 25px 0 20px; color: #f8fafc; font-size: clamp(3.4rem, 5.9vw, 6.25rem); line-height: 1.04; letter-spacing: -.052em; text-wrap: balance; }
.case-page-fa .case-hero h1 { font-size: clamp(3.05rem, 5.2vw, 5.55rem); line-height: 1.23; letter-spacing: -.038em; }
.case-hero h1 em { color: transparent; background: linear-gradient(100deg, #52e5f7, #8ebcfb 44%, #c79fec 71%, #ffc37a); background-clip: text; -webkit-background-clip: text; font-style: normal; }
.case-hero-lead { max-width: 620px; margin: 0; color: #a6b8c5; font-size: clamp(.94rem, 1.4vw, 1.08rem); line-height: 2; }
.case-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.case-hero-tags span { padding: 7px 11px; border: 1px solid var(--case-line); border-radius: 999px; color: #a4b7c5; background: rgba(255,255,255,.025); font-size: .62rem; font-weight: 700; }
.case-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.case-hero-visual { position: relative; min-width: 0; transition: transform .25s ease-out; }
.case-hero-frame { position: relative; border: 1px solid rgba(74, 190, 217, .22); border-radius: 28px; box-shadow: var(--case-shadow); overflow: hidden; }
.case-hero-frame img { width: 100%; min-height: 570px; object-fit: cover; }
.case-hero-frame::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(2, 8, 15, .68)); content: ""; }
.case-hero-frame figcaption { position: absolute; z-index: 2; inset-inline: 23px; inset-block-end: 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #a6bac8; font: 750 .56rem/1 Inter, sans-serif; letter-spacing: .11em; }
.case-hero-frame figcaption span { color: var(--case-teal); }
.case-hero-orbit { position: absolute; inset-inline-start: -38px; inset-block-start: 60px; width: 88px; height: 88px; display: grid; place-items: center; border: 1px solid rgba(85, 235, 207, .28); border-radius: 50%; color: var(--case-teal); background: rgba(3, 13, 22, .82); box-shadow: 0 0 0 12px rgba(70, 220, 243, .03), 0 0 42px rgba(70, 220, 243, .1); backdrop-filter: blur(12px); }
.case-hero-orbit .icon { width: 30px; height: 30px; }
.case-snapshot { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 8px; border: 1px solid var(--case-line); border-radius: 20px; background: rgba(5, 15, 25, .84); box-shadow: var(--case-shadow); overflow: hidden; }
.case-snapshot div { min-height: 104px; display: grid; align-content: center; gap: 7px; padding: 20px 23px; border-inline-end: 1px solid var(--case-line); }
.case-snapshot div:last-child { border-inline-end: 0; }
.case-snapshot small { color: #5e788b; font: 750 .55rem/1 Inter, sans-serif; letter-spacing: .11em; }
.case-snapshot strong { color: #e9f1f5; font-size: .78rem; line-height: 1.6; }
.case-snapshot span { color: var(--case-amber); font: 750 .57rem/1 Inter, sans-serif; letter-spacing: .08em; }

/* Case rail */
.case-rail { position: sticky; inset-block-start: 76px; z-index: 20; border-block: 1px solid var(--case-line); background: rgba(2, 8, 16, .88); backdrop-filter: blur(18px); }
.case-rail .container { display: flex; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.case-rail .container::-webkit-scrollbar { display: none; }
.case-rail a { position: relative; flex: 0 0 auto; padding: 17px 23px 15px; color: #6d8395; font-size: .66rem; font-weight: 750; white-space: nowrap; transition: color .2s ease; }
.case-rail a::after { position: absolute; inset-inline: 22%; inset-block-end: -1px; height: 1px; background: linear-gradient(90deg, var(--case-cyan), var(--case-amber)); transform: scaleX(0); transition: transform .2s ease; content: ""; }
.case-rail a:hover, .case-rail a.is-active { color: #eff6f9; }
.case-rail a.is-active::after { transform: scaleX(1); }

/* Shared headings */
.case-heading h2, .case-executive-copy h2, .case-challenge-copy h2, .case-architecture-head h2, .case-product-head h2, .case-delivery-head h2, .case-evidence-copy h2, .case-related-head h2 { margin: 14px 0 18px; color: #f4f8fa; font-size: clamp(2.25rem, 4.3vw, 4.35rem); line-height: 1.17; letter-spacing: -.038em; text-wrap: balance; }
.case-heading p, .case-executive-copy > p, .case-challenge-copy > p, .case-architecture-head > p, .case-product-head > p, .case-delivery-head > p, .case-evidence-copy > p, .case-related-head p { color: var(--case-muted); line-height: 1.95; }

/* Executive summary */
.case-executive { background: linear-gradient(180deg, #02060d, #06101b 55%, #030914); }
.case-executive-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(55px, 8vw, 105px); align-items: start; }
.case-executive-copy { position: sticky; inset-block-start: 175px; }
.case-integrity-note { display: flex; gap: 12px; margin-top: 27px; padding: 17px; border: 1px solid rgba(255, 186, 106, .2); border-radius: 15px; color: #b9c7d0; background: rgba(255, 186, 106, .05); font-size: .7rem; line-height: 1.8; }
.case-integrity-note .icon { width: 20px; height: 20px; flex: 0 0 auto; color: var(--case-amber); }
.case-executive-cards { display: grid; gap: 14px; }
.case-executive-card { position: relative; min-height: 210px; padding: 26px; border: 1px solid var(--case-line); border-radius: 20px; background: rgba(7, 21, 34, .8); overflow: hidden; }
.case-executive-card::before { position: absolute; inset-inline: 0; inset-block-start: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--case-cyan), transparent); transform: scaleX(0); transition: transform .3s ease; content: ""; }
.case-executive-card:hover::before { transform: scaleX(1); }
.case-executive-card > span { color: #587286; font: 750 .56rem/1 Inter, sans-serif; letter-spacing: .12em; }
.case-executive-card i { width: 46px; height: 46px; display: grid; place-items: center; margin: 27px 0 19px; border: 1px solid rgba(70, 220, 243, .23); border-radius: 14px; color: var(--case-cyan); background: rgba(70,220,243,.05); }
.case-executive-card .icon { width: 22px; height: 22px; }
.case-executive-card h3 { margin: 0 0 9px; font-size: 1.08rem; }
.case-executive-card p { margin: 0; color: var(--case-muted); font-size: .74rem; line-height: 1.82; }

/* Challenge and workflow */
.case-challenge { background: #030914; }
.case-challenge-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 7vw, 95px); align-items: center; }
.case-friction-list { display: grid; gap: 11px; margin-top: 28px; }
.case-friction-list span { display: flex; align-items: start; gap: 10px; color: #c2cfd7; font-size: .75rem; line-height: 1.75; }
.case-friction-list .icon { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 5px; color: var(--case-amber); }
.case-workflow { border: 1px solid var(--case-line); border-radius: 25px; background: rgba(6, 19, 31, .9); box-shadow: var(--case-shadow); overflow: hidden; }
.case-workflow-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 17px 20px; border-bottom: 1px solid var(--case-line); }
.case-workflow-top small { color: #60798b; font: 750 .55rem/1 Inter, sans-serif; letter-spacing: .11em; }
.case-workflow-switch { display: flex; gap: 5px; padding: 4px; border: 1px solid var(--case-line); border-radius: 11px; }
.case-workflow-switch button { padding: 7px 11px; border: 0; border-radius: 7px; color: #748b9c; background: transparent; cursor: pointer; font-size: .62rem; font-weight: 750; }
.case-workflow-switch button.is-active { color: #031018; background: var(--case-teal); }
.case-workflow-panel { min-height: 480px; padding: 34px; }
.workflow-path { position: relative; display: grid; gap: 15px; }
.workflow-path::before { position: absolute; inset-inline-start: 21px; inset-block: 35px; width: 1px; background: linear-gradient(var(--case-line), var(--case-amber), var(--case-line)); content: ""; }
.workflow-step { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; min-height: 76px; padding: 14px; border: 1px solid var(--case-line); border-radius: 15px; background: rgba(4, 14, 24, .9); }
.workflow-step > i { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(70,220,243,.22); border-radius: 12px; color: var(--case-cyan); background: #071724; }
.workflow-step .icon { width: 19px; height: 19px; }
.workflow-step small { color: #5d7789; font: 700 .51rem/1 Inter, sans-serif; letter-spacing: .09em; }
.workflow-step strong { display: block; margin-top: 6px; color: #e7eff3; font-size: .76rem; }
.workflow-step > span { color: var(--case-amber); font: 750 .54rem/1 Inter, sans-serif; letter-spacing: .08em; }
.workflow-path.is-after::before { background: linear-gradient(var(--case-teal), var(--case-cyan), var(--case-violet)); }
.workflow-path.is-after .workflow-step > span { color: var(--case-teal); }

/* Architecture */
.case-architecture { background: linear-gradient(180deg, #030914, #06101b, #030914); }
.case-architecture-head { display: grid; grid-template-columns: 1fr .75fr; gap: 70px; align-items: end; }
.case-architecture-visual { position: relative; margin-top: 48px; border: 1px solid var(--case-line); border-radius: 28px; background: #06111d; box-shadow: var(--case-shadow); overflow: hidden; }
.case-architecture-visual img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.case-architecture-visual::after { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 65%, rgba(3, 10, 17, .72)); content: ""; }
.case-architecture-stagebar { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin: -84px 18px 18px; border: 1px solid var(--case-line); border-radius: 17px; background: rgba(3, 12, 21, .87); backdrop-filter: blur(15px); overflow: hidden; }
.case-stage-button { min-height: 92px; display: grid; grid-template-columns: auto 1fr; gap: 11px; align-content: center; padding: 15px; border: 0; border-inline-end: 1px solid var(--case-line); color: #71889a; background: transparent; cursor: pointer; text-align: start; transition: color .2s ease, background .2s ease; }
.case-stage-button:last-child { border-inline-end: 0; }
.case-stage-button i { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--case-line); border-radius: 10px; }
.case-stage-button .icon { width: 17px; height: 17px; }
.case-stage-button small { display: block; font: 750 .5rem/1 Inter, sans-serif; letter-spacing: .09em; }
.case-stage-button strong { display: block; margin-top: 6px; color: #c6d3db; font-size: .68rem; }
.case-stage-button.is-active { color: var(--case-cyan); background: linear-gradient(135deg, rgba(70,220,243,.1), rgba(167,139,250,.06)); }
.case-stage-button.is-active strong { color: #fff; }
.case-architecture-detail { display: grid; grid-template-columns: .7fr 1.3fr auto; gap: 24px; align-items: center; margin-top: 18px; padding: 25px; border: 1px solid var(--case-line); border-radius: 18px; background: rgba(7, 21, 34, .78); }
.case-architecture-detail small { color: var(--case-teal); font: 750 .56rem/1 Inter, sans-serif; letter-spacing: .11em; }
.case-architecture-detail h3 { margin: 9px 0 0; font-size: 1.25rem; }
.case-architecture-detail p { margin: 0; color: var(--case-muted); font-size: .76rem; line-height: 1.85; }
.case-architecture-signal { padding: 10px 13px; border: 1px solid rgba(255,186,106,.22); border-radius: 10px; color: var(--case-amber); background: rgba(255,186,106,.05); font-size: .6rem; font-weight: 750; white-space: nowrap; }

/* Product surface */
.case-product { background: #030914; }
.case-product-head { max-width: 820px; }
.case-product-shell { display: grid; grid-template-columns: 230px 1fr; min-height: 660px; margin-top: 48px; border: 1px solid var(--case-line); border-radius: 27px; background: #071522; box-shadow: var(--case-shadow); overflow: hidden; }
.case-product-sidebar { padding: 24px 18px; border-inline-end: 1px solid var(--case-line); background: rgba(3, 12, 21, .65); }
.case-product-brand { display: flex; align-items: center; gap: 11px; padding: 0 5px 22px; border-bottom: 1px solid var(--case-line); }
.case-product-brand i { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(70,220,243,.24); border-radius: 11px; color: var(--case-cyan); }
.case-product-brand .icon { width: 18px; height: 18px; }
.case-product-brand small { color: #5f788b; font: 700 .48rem/1 Inter, sans-serif; letter-spacing: .08em; }
.case-product-brand strong { display: block; margin-top: 5px; color: #e8f1f5; font-size: .68rem; }
.case-product-nav { display: grid; gap: 7px; margin-top: 22px; }
.case-product-nav span { display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 10px; color: #708798; font-size: .63rem; font-weight: 700; }
.case-product-nav span.is-active { color: #dff9fa; background: rgba(70,220,243,.08); }
.case-product-nav .icon { width: 16px; height: 16px; }
.case-source-status { margin-top: 34px; padding: 14px; border: 1px solid rgba(85,235,207,.16); border-radius: 12px; color: #8ea3b2; background: rgba(85,235,207,.04); font-size: .59rem; line-height: 1.7; }
.case-source-status strong { display: block; margin-top: 5px; color: var(--case-teal); }
.case-product-main { padding: clamp(25px, 4vw, 48px); }
.case-product-toolbar { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--case-line); }
.case-product-toolbar small { color: #5e7789; font: 750 .53rem/1 Inter, sans-serif; letter-spacing: .1em; }
.case-product-toolbar span { display: inline-flex; align-items: center; gap: 7px; color: var(--case-teal); font-size: .58rem; font-weight: 750; }
.case-product-toolbar span::before { width: 6px; height: 6px; border-radius: 50%; background: var(--case-teal); box-shadow: 0 0 10px var(--case-teal); content: ""; }
.case-query { margin-top: 29px; }
.case-query > small { color: #647d8f; font-size: .56rem; font-weight: 750; }
.case-query-box { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 10px; padding: 18px; border: 1px solid rgba(70,220,243,.21); border-radius: 14px; color: #dfe9ee; background: rgba(4, 14, 23, .7); font-size: .78rem; }
.case-query-box i { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: #031018; background: var(--case-cyan); }
.case-query-box .icon { width: 17px; height: 17px; }
.case-answer-card { margin-top: 20px; padding: 22px; border: 1px solid var(--case-line); border-radius: 17px; background: rgba(4, 15, 25, .76); }
.case-answer-head { display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.case-answer-head span { display: flex; align-items: center; gap: 9px; color: var(--case-teal); font-size: .62rem; font-weight: 750; }
.case-answer-head .icon { width: 17px; height: 17px; }
.case-answer-head small { color: #607a8c; font: 700 .5rem/1 Inter, sans-serif; letter-spacing: .08em; }
.case-answer-card > p { margin: 20px 0 0; color: #c6d4dc; font-size: .77rem; line-height: 2; }
.case-citations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
.case-citation { display: flex; gap: 10px; padding: 12px; border: 1px solid var(--case-line); border-radius: 11px; background: rgba(255,255,255,.018); }
.case-citation .icon { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; color: var(--case-amber); }
.case-citation small { color: #60788a; font: 700 .48rem/1 Inter, sans-serif; }
.case-citation strong { display: block; margin-top: 5px; color: #adbdc7; font-size: .6rem; line-height: 1.6; }
.case-answer-feedback { display: flex; justify-content: space-between; gap: 18px; margin-top: 18px; color: #627b8d; font-size: .56rem; }
.case-answer-feedback span { color: var(--case-teal); }

/* Delivery and stack */
.case-delivery { background: linear-gradient(180deg, #030914, #06101b); }
.case-delivery-head { display: grid; grid-template-columns: 1fr .72fr; gap: 70px; align-items: end; }
.case-timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 55px; border: 1px solid var(--case-line); border-radius: 22px; background: rgba(6, 19, 31, .8); overflow: hidden; }
.case-phase { position: relative; min-height: 300px; padding: 25px; border-inline-end: 1px solid var(--case-line); }
.case-phase:last-child { border-inline-end: 0; }
.case-phase > span { color: #577185; font: 750 .54rem/1 Inter, sans-serif; letter-spacing: .11em; }
.case-phase i { width: 42px; height: 42px; display: grid; place-items: center; margin: 38px 0 21px; border: 1px solid rgba(70,220,243,.23); border-radius: 13px; color: var(--case-cyan); background: rgba(70,220,243,.05); }
.case-phase .icon { width: 20px; height: 20px; }
.case-phase h3 { margin: 0 0 9px; font-size: .93rem; }
.case-phase p { margin: 0; color: var(--case-muted); font-size: .68rem; line-height: 1.8; }
.case-phase small { position: absolute; inset-inline: 25px; inset-block-end: 23px; color: var(--case-amber); font: 700 .51rem/1 Inter, sans-serif; letter-spacing: .08em; }
.case-stack { padding-top: 0; background: #06101b; }
.case-stack-shell { display: grid; grid-template-columns: .7fr 1.3fr; gap: 55px; align-items: center; padding: 42px; border: 1px solid var(--case-line); border-radius: 24px; background: rgba(5, 16, 27, .78); }
.case-stack-copy h2 { margin: 12px 0; font-size: clamp(2rem, 3.5vw, 3.4rem); }
.case-stack-copy p { margin: 0; color: var(--case-muted); font-size: .76rem; line-height: 1.9; }
.case-stack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.case-stack-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; min-height: 84px; padding: 14px; border: 1px solid var(--case-line); border-radius: 14px; background: rgba(255,255,255,.016); }
.case-stack-item i { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(70,220,243,.2); border-radius: 11px; color: var(--case-cyan); }
.case-stack-item .icon { width: 18px; height: 18px; }
.case-stack-item small { color: #5e7789; font: 700 .49rem/1 Inter, sans-serif; letter-spacing: .08em; }
.case-stack-item strong { display: block; margin-top: 6px; color: #dce7ec; font-size: .68rem; }

/* Evidence */
.case-evidence { background: #030914; }
.case-evidence-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(50px, 7vw, 90px); align-items: center; }
.case-evidence-visual { position: relative; border: 1px solid var(--case-line); border-radius: 25px; box-shadow: var(--case-shadow); overflow: hidden; }
.case-evidence-visual img { width: 100%; min-height: 590px; object-fit: cover; }
.case-evidence-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(2,8,14,.75)); content: ""; }
.case-evidence-visual figcaption { position: absolute; z-index: 2; inset-inline: 21px; inset-block-end: 20px; color: var(--case-teal); font: 750 .56rem/1 Inter, sans-serif; letter-spacing: .11em; }
.case-metric-switch { display: grid; gap: 8px; margin-top: 29px; }
.case-metric-button { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 16px; border: 1px solid var(--case-line); border-radius: 12px; color: #7d93a3; background: rgba(5,17,28,.72); cursor: pointer; text-align: start; font-size: .7rem; font-weight: 750; transition: color .2s ease, border-color .2s ease; }
.case-metric-button span { color: #5a7487; font: 700 .51rem/1 Inter, sans-serif; letter-spacing: .08em; }
.case-metric-button.is-active { border-color: rgba(70,220,243,.3); color: #eef7fa; }
.case-metric-button.is-active span { color: var(--case-cyan); }
.case-evidence-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 21px; padding: 20px; border: 1px solid var(--case-line); border-radius: 17px; background: rgba(7,21,34,.8); }
.case-gauge { --case-gauge: 28%; position: relative; width: 94px; height: 94px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--case-cyan) var(--case-gauge), rgba(70,220,243,.08) 0); }
.case-gauge::before { position: absolute; inset: 8px; border: 1px solid var(--case-line); border-radius: 50%; background: #071522; content: ""; }
.case-gauge span { position: relative; z-index: 1; color: var(--case-amber); font: 800 .52rem/1.3 Inter, sans-serif; letter-spacing: .07em; text-align: center; }
.case-evidence-card small { color: var(--case-teal); font: 750 .53rem/1 Inter, sans-serif; letter-spacing: .1em; }
.case-evidence-card h3 { margin: 8px 0; font-size: 1.08rem; }
.case-evidence-card p { margin: 0; color: var(--case-muted); font-size: .7rem; line-height: 1.8; }
.case-evidence-status { display: inline-flex; margin-top: 10px; padding: 6px 9px; border: 1px solid rgba(255,186,106,.2); border-radius: 8px; color: var(--case-amber); font-size: .55rem; font-weight: 750; }
.case-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 45px; }
.case-kpi-card { padding: 21px; border: 1px solid var(--case-line); border-radius: 17px; background: rgba(6,19,31,.76); }
.case-kpi-card small { color: #597387; font: 750 .52rem/1 Inter, sans-serif; letter-spacing: .1em; }
.case-kpi-card strong { display: block; margin-top: 15px; color: #edf5f8; font-size: .88rem; line-height: 1.5; }
.case-kpi-card span { display: block; margin-top: 9px; color: var(--case-amber); font-size: .57rem; font-weight: 750; }

/* Disclosure and related */
.case-disclosure { background: linear-gradient(180deg, #030914, #06101b); }
.case-disclosure-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(32px, 5vw, 60px); border: 1px solid var(--case-line); border-radius: 26px; background: radial-gradient(circle at 15% 20%, rgba(70,220,243,.08), transparent 30%), rgba(6,19,31,.82); overflow: hidden; }
.case-disclosure-card > i { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(70,220,243,.23); border-radius: 22px; color: var(--case-cyan); }
.case-disclosure-card > i .icon { width: 31px; height: 31px; }
.case-disclosure-card small { color: var(--case-teal); font: 750 .56rem/1 Inter, sans-serif; letter-spacing: .11em; }
.case-disclosure-card h2 { margin: 13px 0 9px; font-size: clamp(2rem, 3.8vw, 3.7rem); line-height: 1.24; }
.case-disclosure-card p { max-width: 730px; margin: 0; color: var(--case-muted); line-height: 1.9; }
.case-copy-link { padding: 10px 13px; border: 1px solid var(--case-line); border-radius: 10px; color: #9cb0bd; background: transparent; cursor: pointer; font-size: .61rem; font-weight: 750; }
.case-related { background: #06101b; }
.case-related-head { display: grid; grid-template-columns: 1fr .7fr; gap: 70px; align-items: end; }
.case-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 45px; }
.case-related-card { min-height: 260px; display: grid; align-content: end; padding: 25px; border: 1px solid var(--case-line); border-radius: 19px; background: rgba(5,17,29,.8); transition: transform .25s ease, border-color .25s ease; }
.case-related-card:hover { border-color: rgba(70,220,243,.3); transform: translateY(-4px); }
.case-related-card i { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: auto; border: 1px solid rgba(70,220,243,.22); border-radius: 13px; color: var(--case-cyan); }
.case-related-card .icon { width: 21px; height: 21px; }
.case-related-card small { color: #5c7689; font: 750 .52rem/1 Inter, sans-serif; letter-spacing: .09em; }
.case-related-card h3 { margin: 10px 0 9px; font-size: 1.07rem; }
.case-related-card p { margin: 0; color: var(--case-muted); font-size: .69rem; line-height: 1.75; }
.case-related-card > span { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--case-teal); font-size: .62rem; font-weight: 750; }
.case-cta { background: linear-gradient(180deg, #06101b, #02060d); }

@keyframes case-pulse { 50% { opacity: .5; transform: scale(.8); } }

@media (max-width: 1100px) {
  .case-hero-layout { grid-template-columns: 1fr 1fr; }
  .case-timeline { grid-template-columns: repeat(3, 1fr); }
  .case-phase:nth-child(3) { border-inline-end: 0; }
  .case-phase:nth-child(-n+3) { border-bottom: 1px solid var(--case-line); }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 122px; }
  .case-hero { padding-top: 115px; }
  .case-hero-layout { grid-template-columns: 1fr; }
  .case-hero-copy { text-align: center; }
  .case-hero .breadcrumbs, .case-hero-tags, .case-hero-actions { justify-content: center; }
  .case-hero-lead { margin-inline: auto; }
  .case-hero-visual { width: min(100%, 700px); margin-inline: auto; }
  .case-snapshot { grid-template-columns: repeat(2, 1fr); }
  .case-snapshot div:nth-child(2) { border-inline-end: 0; }
  .case-snapshot div:nth-child(-n+2) { border-bottom: 1px solid var(--case-line); }
  .case-rail { inset-block-start: 64px; }
  .case-rail .container { justify-content: flex-start; }
  .case-executive-grid, .case-challenge-grid, .case-evidence-grid { grid-template-columns: 1fr; }
  .case-executive-copy { position: static; }
  .case-architecture-head, .case-delivery-head, .case-related-head { grid-template-columns: 1fr; gap: 25px; }
  .case-architecture-stagebar { grid-template-columns: repeat(2, 1fr); margin-top: -50px; }
  .case-stage-button:nth-child(2) { border-inline-end: 0; }
  .case-stage-button:nth-child(-n+2) { border-bottom: 1px solid var(--case-line); }
  .case-architecture-detail { grid-template-columns: 1fr; }
  .case-architecture-signal { justify-self: start; }
  .case-product-shell { grid-template-columns: 1fr; }
  .case-product-sidebar { display: none; }
  .case-stack-shell { grid-template-columns: 1fr; }
  .case-disclosure-card { grid-template-columns: auto 1fr; }
  .case-copy-link { grid-column: 2; justify-self: start; }
  .case-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .case-page .container { width: min(calc(100% - 30px), 1220px); }
  .case-page .section { padding-block: 82px; }
  .case-hero { min-height: auto; padding-block: 105px 35px; }
  .case-page-fa .case-hero h1, .case-hero h1 { font-size: clamp(2.65rem, 12vw, 3.85rem); }
  .case-hero-lead { font-size: .9rem; }
  .case-hero-actions { display: grid; }
  .case-hero-actions .button { width: 100%; }
  .case-hero-frame { border-radius: 21px; }
  .case-hero-frame img { min-height: 390px; }
  .case-hero-orbit { inset-inline-start: -5px; inset-block-start: 25px; width: 65px; height: 65px; }
  .case-hero-orbit .icon { width: 24px; height: 24px; }
  .case-snapshot { margin-top: 0; }
  .case-snapshot div { min-height: 89px; padding: 15px; }
  .case-heading h2, .case-executive-copy h2, .case-challenge-copy h2, .case-architecture-head h2, .case-product-head h2, .case-delivery-head h2, .case-evidence-copy h2, .case-related-head h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .case-workflow-top { display: grid; }
  .case-workflow-switch { width: 100%; }
  .case-workflow-switch button { flex: 1; }
  .case-workflow-panel { min-height: auto; padding: 20px 16px; }
  .workflow-step { grid-template-columns: auto 1fr; }
  .workflow-step > span { grid-column: 2; }
  .case-architecture-visual { border-radius: 20px; }
  .case-architecture-visual img { min-height: 310px; aspect-ratio: auto; }
  .case-architecture-stagebar { margin: 0; border-inline: 0; border-radius: 0; }
  .case-stage-button { min-height: 98px; grid-template-columns: 1fr; }
  .case-stage-button i { display: none; }
  .case-architecture-detail { padding: 20px; }
  .case-product-shell { min-height: 0; border-radius: 20px; }
  .case-product-main { padding: 20px 15px; }
  .case-query-box { align-items: start; font-size: .7rem; }
  .case-citations { grid-template-columns: 1fr; }
  .case-answer-feedback { display: grid; }
  .case-timeline { grid-template-columns: 1fr; }
  .case-phase { min-height: 245px; border-inline-end: 0; border-bottom: 1px solid var(--case-line); }
  .case-phase:last-child { border-bottom: 0; }
  .case-stack-shell { padding: 24px 18px; }
  .case-stack-grid { grid-template-columns: 1fr; }
  .case-evidence-visual img { min-height: 390px; }
  .case-evidence-card { grid-template-columns: 1fr; }
  .case-kpi-grid { grid-template-columns: 1fr; }
  .case-disclosure-card { grid-template-columns: 1fr; padding: 28px 20px; }
  .case-copy-link { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .case-signature i { animation: none; }
  .case-hero-visual { transition: none; }
}
