@view-transition { navigation: auto; }

:root { --ink:#161824; --muted:#626474; --line:#dfe0e8; --paper:#fbfaf9; --pink:#f6a0d9; --violet:#a58cde; --blue:#8fc8ee; }
.redesign-home, .redesign-case { border:0; background:var(--paper); color:var(--ink); font-family:Inter,Arial,sans-serif; overflow-x:clip; }
.redesign-home *, .redesign-case * { box-sizing:border-box; }
.redesign-home h1,.redesign-home h2,.redesign-home h3,.redesign-case h1,.redesign-case h2,.redesign-case h3 { font-family:Spectral,Georgia,serif; font-weight:500; letter-spacing:-.045em; }
.redesign-home a,.redesign-case a { color:inherit; }
.redesign-home a:focus-visible,.redesign-case a:focus-visible,.redesign-home button:focus-visible,.redesign-case button:focus-visible { outline:3px solid #7258d8; outline-offset:4px; }
.skip-link { position:fixed; z-index:9999; top:-100px; left:20px; padding:12px 18px; background:white; }
.skip-link:focus { top:12px; }
.redesign-home .navbar,.redesign-case .navbar { background:rgba(251,250,249,.94)!important; border-bottom:1px solid var(--line)!important; backdrop-filter:blur(18px); padding-top:1rem; padding-bottom:1rem; }
.redesign-home .navbar-brand,.redesign-case .navbar-brand { font-size:1rem; letter-spacing:-.035em; color:var(--ink); }
.redesign-home .navbar-brand::after,.redesign-case .navbar-brand::after { content:"."; color:#ab6ac8; font-size:1.3em; }
.redesign-home .nav-link,.redesign-case .nav-link { font-size:.82rem; font-weight:600; color:#4a4b59; margin-left:1rem; }
.redesign-home .nav-link.active,.redesign-case .nav-link.active { color:#8058aa; }
.redesign-home .navbar-profile,.redesign-case .navbar-profile { width:34px; height:34px; }
.rd-kicker { color:#765f87; text-transform:uppercase; letter-spacing:.16em; font-size:.68rem; font-weight:700; margin:0 0 1.4rem; }
.rd-text-link { display:inline-flex; align-items:center; gap:2rem; font-size:.88rem; font-weight:700; border-bottom:1px solid currentColor; padding-bottom:.5rem; text-decoration:none; }
.rd-text-link:hover { color:#8252aa; }
.rd-hero { min-height:660px; height:min(780px,88svh); position:relative; display:flex; flex-direction:column; justify-content:center; overflow:hidden; isolation:isolate; background:radial-gradient(circle at 83% 35%,#e8deef 0,#f8f5f8 33%,#fbfaf9 72%); }
.rd-hero-content { width:100%; position:relative; z-index:1; padding-top:5rem; padding-bottom:3rem; }
.rd-hero h1 { font-size:clamp(4.2rem,7vw,7.4rem); line-height:.98; max-width:850px; margin:0 0 1.6rem; }
.rd-hero h1 em,.rd-approach h2 em { font-weight:400; background:linear-gradient(100deg,#c65aaf 5%,#8f6ac9 50%,#4a9bd5); -webkit-background-clip:text; background-clip:text; color:transparent; }
.rd-hero-content>p:not(.rd-kicker) { font-size:clamp(1rem,1.5vw,1.15rem); line-height:1.7; max-width:590px; color:#484a58; margin:0 0 1.9rem; }
.rd-hero-foot { position:absolute; bottom:2rem; left:50%; transform:translateX(-50%); width:100%; display:flex; justify-content:space-between; color:#767681; font-size:.65rem; text-transform:uppercase; letter-spacing:.13em; }
.rd-projects { padding:7rem 0 9rem; scroll-margin-top:70px; }
.rd-section-head { display:flex; justify-content:space-between; align-items:end; gap:4rem; margin-bottom:3rem; }
.rd-section-head h2,.rd-approach h2 { font-size:clamp(3rem,5vw,5rem); line-height:1.02; margin:0; }
.rd-section-head>p { color:#6d6e78; font-size:.9rem; line-height:1.6; max-width:260px; margin:0 0 .5rem; }
.rd-card-list { display:grid; gap:1.6rem; }
.rd-card { border-radius:26px; overflow:hidden; border:1px solid #e2e2e8; background:#f4f1f5; box-shadow:0 7px 22px rgba(48,35,65,.035); }
.rd-card:nth-child(3n+2) { background:#eff3f6; }
.rd-card:nth-child(3n+3) { background:#f4f1ed; }
.rd-card-link { display:grid; grid-template-columns:39% 61%; min-height:490px; text-decoration:none!important; }
.rd-card-copy { padding:clamp(2rem,4vw,4rem); display:flex; flex-direction:column; align-items:flex-start; justify-content:center; position:relative; z-index:1; }
.rd-card-number { color:#76727b; text-transform:uppercase; letter-spacing:.15em; font-size:.67rem; font-weight:700; margin-bottom:auto; }
.rd-card-copy h3 { font-size:clamp(2.4rem,3.7vw,4.3rem); line-height:1.02; margin:1.6rem 0 1.1rem; }
.rd-card-copy>p { font-size:.95rem; line-height:1.65; color:#565662; max-width:35ch; margin:0 0 1.5rem; }
.rd-tags { display:flex; flex-wrap:wrap; gap:.4rem; }
.rd-tags span { border:1px solid #d7d0dc; background:rgba(255,255,255,.45); color:#4b4a56; border-radius:100px; padding:.36rem .7rem; font-size:.67rem; font-weight:600; }
.rd-card-action { display:flex; gap:2rem; align-items:center; font-size:.78rem; font-weight:700; margin-top:auto; padding-top:2rem; border-bottom:1px solid currentColor; padding-bottom:.35rem; }
.rd-card-action span { transition:transform .25s ease; }
.rd-card-link:hover .rd-card-action span { transform:translateX(5px); }
.rd-card-media { padding:2.2rem 2.2rem 2.2rem 0; display:flex; align-items:center; justify-content:center; min-width:0; }
.rd-card-media img { display:block; width:100%; max-height:440px; object-fit:contain; border-radius:12px; box-shadow:0 16px 48px rgba(30,25,45,.13); background:white; }

.rd-approach { padding:8rem 0; background:#eeebf1; }
.rd-approach-grid { display:grid; grid-template-columns:1fr 1fr; gap:6rem; }
.rd-approach h2 { max-width:550px; }
.rd-steps article { display:grid; grid-template-columns:42px 1fr; gap:1.2rem; border-top:1px solid #cbc6d0; padding:1.7rem 0; }
.rd-steps article>span { color:#8d66a7; font-size:.72rem; font-weight:700; padding-top:.45rem; }
.rd-steps h3 { font-size:1.7rem; margin:0 0 .5rem; }
.rd-steps p { color:#575763; line-height:1.65; font-size:.88rem; max-width:48ch; margin:0; }
.redesign-home .contact-section { padding:7rem 0; background:transparent; }
.redesign-home .contact-section .container-lg { padding:0; }
.redesign-home .contact-section .section-title { font-family:Spectral,Georgia,serif; font-size:clamp(2.8rem,5vw,5rem); font-weight:500; letter-spacing:-.05em; }
.redesign-home .contact-section .section-label { color:#765f87; }

.redesign-case .page-frame { display:none; }
.rd-case-layout { display:grid; grid-template-columns:minmax(300px,34%) minmax(0,1fr); gap:clamp(2rem,5vw,6rem); max-width:1640px; margin:auto; padding:8.7rem clamp(1.5rem,4vw,5rem) 3rem; }
.rd-case-sidebar { min-width:0; }
.rd-case-sticky { position:sticky; top:7.4rem; max-height:calc(100vh - 8rem); overflow:auto; scrollbar-width:thin; padding-right:1rem; }
.rd-back { display:inline-flex; gap:.8rem; align-items:center; font-size:.8rem; font-weight:700; text-decoration:none; margin-bottom:3.8rem; border-bottom:1px solid var(--ink); padding-bottom:.35rem; }
.rd-case-sticky h1 { font-size:clamp(2.8rem,3.5vw,4.3rem); line-height:1.04; margin:0 0 1.2rem; }
.rd-case-deck { font-size:.92rem; line-height:1.65; color:#565763; max-width:39ch; margin:0 0 2rem; }
.rd-case-meta { border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:1rem 0; margin-bottom:1.2rem; }
.rd-case-meta div,.rd-facts div { display:grid; grid-template-columns:65px 1fr; gap:1rem; margin:.45rem 0; font-size:.73rem; }
.rd-case-meta span,.rd-facts span { color:#777783; }
.rd-case-meta strong,.rd-facts strong { font-weight:600; }
.rd-case-toc { display:grid; gap:.1rem; margin-top:2.5rem; }
.rd-case-toc>span { color:#87818d; text-transform:uppercase; letter-spacing:.15em; font-weight:700; font-size:.65rem; margin-bottom:.55rem; }
.rd-case-toc a { color:#696875; font-size:.78rem; text-decoration:none; padding:.5rem .8rem; border-left:2px solid #d9d5de; }
.rd-case-toc a:hover,.rd-case-toc a.active { color:#6b3e90; border-color:#9e70be; background:#f1ecf4; }
.rd-case-content { min-width:0; }
.rd-case-lead { padding:.5rem 0 2rem; }
.rd-case-lead h2 { font-size:clamp(3.5rem,5.3vw,6.5rem); line-height:.99; margin:0 0 1.4rem; }
.rd-case-lead>p:not(.rd-kicker) { color:#555562; font-size:1.05rem; line-height:1.7; max-width:60ch; }
.rd-case-figure { margin:2rem 0; }
.rd-case-figure img { display:block; width:100%; height:auto; border-radius:14px; background:#f1f0f3; }
.rd-case-hero-figure { margin-top:3rem; }
.rd-case-figure figcaption { color:#777681; font-size:.7rem; line-height:1.5; margin-top:.7rem; }
.rd-story-section { border-top:1px solid var(--line); padding:4.2rem 0 5rem; scroll-margin-top:6.8rem; }
.rd-story-section h2 { font-size:clamp(2.7rem,4vw,4.6rem); line-height:1.06; max-width:700px; margin:0 0 1.2rem; }
.rd-story-section>p:not(.rd-kicker) { font-size:.95rem; color:#50515e; line-height:1.8; max-width:66ch; }
.rd-facts { background:#f1eff2; padding:1.4rem; border-radius:14px; margin-top:2rem; }
.rd-facts div { grid-template-columns:75px 1fr; }
.rd-image-pair { display:grid; grid-template-columns:1fr 1fr; gap:1rem; align-items:start; }
.rd-image-pair .rd-case-figure { min-width:0; }
.rd-options img { min-height:180px; object-fit:contain; }
.rd-points { display:grid; gap:.5rem; color:#50515e; font-size:.9rem; line-height:1.6; padding-left:1.2rem; margin:1.6rem 0; }
.rd-result-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:#d7d3da; border:1px solid #d7d3da; border-radius:14px; overflow:hidden; margin:2rem 0; }
.rd-result-grid div { background:#f5f2f6; padding:1.6rem; display:grid; gap:.4rem; }
.rd-result-grid strong { font-family:Spectral,Georgia,serif; font-size:2.2rem; font-weight:500; letter-spacing:-.05em; }
.rd-result-grid span { color:#676471; font-size:.72rem; }
.rd-case-end { padding:3rem 0 6rem; }
.redesign-case .contact-section { background:#eeebf1; }
.redesign-case .contact-section .section-title { font-family:Spectral,Georgia,serif; }
@media(max-width:991px) { .rd-card-link { grid-template-columns:42% 58%; min-height:410px; } .rd-case-layout { grid-template-columns:280px minmax(0,1fr); gap:2rem; } .rd-case-sticky h1 { font-size:2.7rem; } }
@media(max-width:767px) { .redesign-home .navbar-toggler,.redesign-case .navbar-toggler { display:block; margin-left:auto; border:1px solid #d8d5dc; border-radius:8px; padding:.3rem .6rem; background:transparent; font-size:0; } .redesign-home .navbar-toggler-icon,.redesign-case .navbar-toggler-icon { display:inline-grid; place-items:center; width:25px; height:25px; background:none; } .redesign-home .navbar-toggler-icon::before,.redesign-case .navbar-toggler-icon::before { content:"☰"; font-size:18px; color:var(--ink); } .redesign-home .navbar-collapse:not(.rd-open),.redesign-case .navbar-collapse:not(.rd-open) { display:none!important; } .redesign-home .navbar-collapse.rd-open,.redesign-case .navbar-collapse.rd-open { display:block!important; flex-basis:100%; padding:1rem 0; } .redesign-home .nav-link,.redesign-case .nav-link { margin-left:0; padding:.6rem 0; } .rd-hero { min-height:610px; height:auto; } .rd-hero-content { padding-top:10rem; padding-bottom:8rem; } .rd-hero h1 { font-size:clamp(3.8rem,13vw,5.8rem); } .rd-hero-foot span:last-child { display:none; } .rd-projects { padding:5rem 0; } .rd-section-head { display:block; } .rd-section-head>p { margin-top:1rem; } .rd-card-link { display:flex; flex-direction:column; min-height:0; } .rd-card-copy { padding:2rem; } .rd-card-number { margin-bottom:.5rem; } .rd-card-copy h3 { margin:.8rem 0; font-size:2.8rem; } .rd-card-action { margin-top:0; } .rd-card-media { padding:0 1rem 1rem; } .rd-card-media img { max-height:none; } .rd-approach { padding:5rem 0; } .rd-approach-grid { display:block; } .rd-steps { margin-top:3rem; } .rd-case-layout { display:block; padding:7.5rem 1.35rem 1rem; } .rd-case-sticky { position:static; max-height:none; padding:0; } .rd-back { margin-bottom:2.5rem; } .rd-case-sticky h1 { font-size:3.5rem; } .rd-case-toc { display:flex; gap:.25rem; overflow-x:auto; white-space:nowrap; margin:1.7rem -1.35rem 2.7rem; padding:0 1.35rem .8rem; } .rd-case-toc>span { display:none; } .rd-case-toc a { border:1px solid #d9d5de; border-radius:999px; padding:.45rem .8rem; } .rd-case-lead h2 { font-size:3.6rem; } .rd-story-section { padding:3.5rem 0; } }
@media(max-width:520px) { .redesign-home .navbar,.redesign-case .navbar { padding:.7rem 0; } .rd-hero-content { padding-top:9rem; } .rd-hero h1 { font-size:3.6rem; } .rd-card-copy h3 { font-size:2.45rem; } .rd-image-pair { display:block; } .rd-result-grid strong { font-size:1.8rem; } }
@media(prefers-reduced-motion:reduce) { @view-transition { navigation:none; } .redesign-home *, .redesign-case * { animation-duration:.01ms!important; transition-duration:.01ms!important; scroll-behavior:auto!important; } }

/* Reeded glass hero: the canvas refracts a lit blue-violet sphere. */
.rd-hero { background:#fbfaf9; min-height:740px; height:min(900px,94svh); }
.rd-glass-scene { position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.rd-glass-canvas,.rd-glass-fallback { position:absolute; width:100%; height:100%; inset:0; }
.rd-glass-canvas { opacity:0; }
.rd-glass-scene.is-ready .rd-glass-canvas { opacity:1; }
.rd-glass-scene.is-ready .rd-glass-fallback { visibility:hidden; }
.rd-glass-orb { position:absolute; width:clamp(380px,46vw,740px); aspect-ratio:1; left:57%; top:17%; border-radius:50%; background:radial-gradient(ellipse at 30% 22%,#fff6fc 0, #cb55ec 9%,transparent 35%),radial-gradient(ellipse at 65% 70%,#7f5bd2,transparent 64%),linear-gradient(145deg,#673dff,#7f5bd2 55%,#cb55ec); box-shadow:inset -30px -35px 60px #9b82ba44,0 40px 70px #7971ba25; }
.rd-glass-ribs { position:absolute; inset:0 0 0 54%; background:repeating-linear-gradient(90deg,#ffffff50 0,#ffffff06 4px,#615a9a1a 22px,#ffffff70 25px,#ffffff12 27px); backdrop-filter:blur(3px); mask-image:linear-gradient(90deg,transparent,#000 14%); }
.rd-hero-content { padding-top:6rem; padding-bottom:6rem; pointer-events:none; }
.rd-hero-content a { pointer-events:auto; }
.rd-hero h1 { max-width:940px; font-size:clamp(4.2rem,6.9vw,7.2rem); line-height:1.02; }
.rd-hero h1 em { display:block; width:fit-content; background:linear-gradient(100deg,#c65aaf 5%,#8f6ac9 50%,#4a9bd5); background-clip:text; -webkit-background-clip:text; }
.rd-hero-content>p:not(.rd-kicker) { max-width:500px; }
.rd-text-link>span[aria-hidden] { display:inline-block; font-family:Arial,sans-serif; font-size:1.25em; transition:transform .25s ease; }
.rd-hero .rd-text-link:hover>span { transform:translateY(4px); }
.rd-hero-foot { z-index:1; }
@media(max-width:991px) and (min-width:768px) { .rd-hero h1 { font-size:5.2rem; } .rd-hero-content>p:not(.rd-kicker) { max-width:420px; } }
@media(max-width:767px) {
  .rd-hero { height:auto; min-height:900px; justify-content:flex-start; }
  .rd-hero-content { padding-top:8rem; padding-bottom:24rem; }
  .rd-hero h1 { font-size:clamp(3.1rem,10vw,4.8rem); max-width:650px; }
  .rd-hero-content>p:not(.rd-kicker) { max-width:36ch; font-size:1rem; }
  .rd-glass-orb { width:360px; left:25%; top:57%; }
  .rd-glass-ribs { inset:52% 0 0; }
  .rd-hero-foot { bottom:1.5rem; font-size:.55rem; }
}

@media(prefers-reduced-motion:reduce) { .rd-text-link>span[aria-hidden] { transition:none; } }

/* Local preview controls; inserted only on localhost. */
.rd-visual-editor { position:fixed; right:20px; bottom:20px; z-index:1100; width:310px; max-width:calc(100vw - 24px); border:1px solid #ded6e6; border-radius:18px; background:rgba(255,253,255,.96); color:var(--ink); box-shadow:0 12px 50px #3c2c5820; font:12px/1.5 Inter,Arial,sans-serif; backdrop-filter:blur(20px); }
.rd-visual-editor summary { cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; padding:14px 18px; font-weight:600; }
.rd-visual-editor summary::-webkit-details-marker { display:none; }
.rd-visual-editor summary span { font-size:18px; font-weight:400; }
.rd-visual-editor[open] summary { border-bottom:1px solid #e8e2ec; }
.rd-visual-editor[open] summary span { transform:rotate(45deg); }
.rd-editor-body { padding:16px 18px 12px; max-height:calc(100svh - 150px); overflow:auto; }
.rd-editor-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.rd-editor-heading strong { font-size:15px; }
.rd-editor-heading>span { font-size:9px; color:#805e9b; background:#f1ebf7; padding:3px 7px; border-radius:20px; }
.rd-editor-body p { font-size:11px; color:#777180; line-height:1.5; margin:8px 0 18px; }
.rd-editor-body fieldset { margin:0 0 14px; padding:0; border:0; }
.rd-editor-body legend { float:none; width:100%; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:#877591; border-bottom:1px solid #e9e3ed; padding-bottom:6px; margin-bottom:10px; }
.rd-editor-control { display:grid; grid-template-columns:1fr auto; width:100%; margin-bottom:10px; gap:3px 12px; }
.rd-editor-control output { color:#8b679f; font-variant-numeric:tabular-nums; }
.rd-editor-control input { grid-column:1 / -1; width:100%; height:16px; margin:0; accent-color:#a58cde; cursor:ew-resize; }
.rd-editor-colors { display:flex; gap:20px; }
.rd-editor-colors label { display:flex; align-items:center; gap:6px; cursor:pointer; }
.rd-editor-colors input { width:28px; height:28px; border:1px solid #e0d9e7; border-radius:8px; padding:2px; background:white; cursor:pointer; }
.rd-editor-actions { display:flex; gap:8px; }
.rd-editor-actions button { flex:1; border:1px solid #dcd2e5; border-radius:8px; padding:8px; color:#674d7c; background:#f6f1fa; font:inherit; cursor:pointer; }
.rd-editor-actions button:hover { background:#ece2f5; }
.rd-editor-body .rd-editor-status { min-height:16px; font-size:10px; margin:8px 0 0; }
.rd-visual-editor :focus-visible { outline:2px solid #8f6ac9; outline-offset:3px; }
@media(max-width:520px) { .rd-visual-editor { right:12px; bottom:12px; width:290px; } .rd-editor-body { max-height:calc(100svh - 170px); } }

/* Shared colors connect each card to its project surface. */
:root { --assessment-bg:#ece4f4; --onboarding-bg:#e3edf5; }
.rd-card[data-project="assessment"],.redesign-case[data-project="assessment"] { --project-bg:var(--assessment-bg); background:var(--project-bg); }
.rd-card[data-project="onboarding"],.redesign-case[data-project="onboarding"] { --project-bg:var(--onboarding-bg); background:var(--project-bg); }
.redesign-case { overscroll-behavior-y:none; }
.redesign-case .rd-case-layout { position:relative; grid-template-columns:minmax(260px,28%) minmax(0,1fr); max-width:1920px; gap:clamp(24px,3vw,56px); padding:24px; align-items:start; transform:translateY(var(--case-drag,0px)); transform-origin:50% 0; transition:transform .28s ease,opacity .28s ease; }
.redesign-case .rd-case-sticky { top:24px; max-height:calc(100svh - 48px); padding:0 10px 24px 0; scrollbar-width:thin; }
.redesign-case .rd-case-sidebar { padding:0 12px; align-self:stretch; }
.redesign-case .rd-case-sticky h1 { font-size:clamp(2.7rem,3.5vw,4.5rem); margin-top:36px; }
.redesign-case .rd-case-deck { font-size:.94rem; line-height:1.7; max-width:34ch; }
.redesign-case .rd-kicker { color:#6f5e80; }
.redesign-case .rd-case-meta { border-color:#16182420; margin-top:32px; }
.redesign-case .rd-case-meta div { grid-template-columns:50px 1fr; }
.redesign-case .rd-tags span { background:#ffffff40; border-color:#16182420; }
.redesign-case .rd-case-toc a { border-color:#16182425; }
.redesign-case .rd-case-toc a.active { background:#ffffff60; }
.redesign-case .rd-case-content { background:white; border-radius:28px; padding:clamp(24px,3vw,56px); overflow:clip; box-shadow:0 10px 36px #39304b05; }
.redesign-case .rd-case-lead { display:flex; flex-direction:column; padding-top:0; }
.redesign-case .rd-case-hero-figure { order:-1; margin:0 0 44px; }
.redesign-case .rd-case-hero-figure img { border-radius:16px; background:var(--project-bg); object-fit:contain; }
.redesign-case .rd-case-lead h2 { font-size:clamp(2.8rem,4.4vw,5.2rem); }
.redesign-case .rd-story-section h2 { font-size:clamp(2.4rem,3.4vw,4rem); }
.redesign-case .rd-story-section { padding:48px 0; scroll-margin-top:24px; }
.redesign-case .rd-back { display:inline-flex; width:52px; height:52px; padding:0 16px; margin:6px 0 34px; gap:0; border:1px solid #16182412; border-radius:999px; background:#ffffff60; color:var(--ink); text-decoration:none; overflow:hidden; transition:width .28s ease,background .2s ease; white-space:nowrap; }
.rd-back>span:first-child { font:24px/1 Arial,sans-serif; flex:0 0 20px; }
.rd-back-label { max-width:0; opacity:0; overflow:hidden; font:600 12px/1 Inter,Arial,sans-serif; text-transform:uppercase; letter-spacing:.05em; transition:max-width .28s ease,opacity .2s ease,margin-left .28s ease; }
.redesign-case .rd-back:hover,.redesign-case .rd-back:focus-visible { width:130px; background:#ffffffa0; }
.rd-back:hover .rd-back-label,.rd-back:focus-visible .rd-back-label { max-width:70px; opacity:1; margin-left:12px; }
.rd-case-handle { position:absolute; top:5px; left:65%; width:76px; height:19px; padding:8px 16px; border:0; background:transparent; cursor:grab; touch-action:none; z-index:2; }
.rd-case-handle span { display:block; height:3px; background:#5d526d50; border-radius:4px; }
.rd-case-handle:active { cursor:grabbing; }
.redesign-case.is-dragging { user-select:none; }
.redesign-case.is-dragging .rd-case-layout { transition:none; }
.redesign-case.is-leaving .rd-case-layout { transform:translateY(105svh); opacity:0; }
.rd-case-return { padding:64px 0 24px; text-align:center; border-top:1px solid var(--line); }
.rd-case-return>p { font:500 12px/1.5 Inter,Arial,sans-serif; color:var(--muted); margin:18px 0 12px; }
.rd-case-return small { display:block; color:#817a89; font-size:11px; margin-top:16px; }
.rd-return-track { display:block; position:relative; width:100px; height:3px; border-radius:5px; background:var(--project-bg); margin:0 auto; overflow:hidden; }
.rd-return-track::after { content:""; display:block; height:100%; background:#80679d; transform-origin:left; transform:scaleX(var(--close-progress,0)); }
.redesign-case .rd-case-content .contact-section { background:transparent; border-top:1px solid var(--line); padding:48px 0; }
.redesign-case .rd-case-content .contact-section .container-lg { padding:0; }
.redesign-case .rd-case-content .contact-section .section-title { font-size:2.5rem; }
.rd-onboarding-case .rd-case-content>.section-padding { padding:48px 0!important; }
.rd-onboarding-case .rd-case-content .container-lg { padding:0; }
.rd-onboarding-case .case-section-alt { background:transparent; }
.rd-onboarding-case .case-body { font:400 .95rem/1.8 Inter,Arial,sans-serif; color:#50515e; }
.rd-onboarding-case .section-label { font:700 .65rem/1.5 Inter,Arial,sans-serif; letter-spacing:.14em; text-transform:uppercase; color:#6f5e80; }
.rd-onboarding-case .case-figure img { display:block; width:100%; height:auto; border-radius:12px; }
.rd-onboarding-case .case-caption { font-size:.7rem; color:var(--muted); }
.rd-onboarding-case .mini-card,.rd-onboarding-case .snapshot-item,.rd-onboarding-case .impact-card { background:#f4f7fa; }
.rd-onboarding-case .mini-card {
  color:#262433;
  padding:24px;
  border:1px solid #e3e0e9;
  border-radius:16px;
}
.rd-onboarding-case .mini-title { font-weight:600; margin-bottom:12px; }
.rd-onboarding-case .mini-list { margin:0; padding-left:20px; line-height:1.8; }
.rd-onboarding-case {
  --onboarding-surface:#f4f7fa;
  --onboarding-panel:#ffffff;
  --onboarding-text:#262433;
  --onboarding-secondary:#5c596b;
  --onboarding-border:#dddce6;
}
.rd-onboarding-case :is(.case-snapshot, .case-next) {
  background:var(--onboarding-surface);
  color:var(--onboarding-text);
  box-shadow:none;
}
.rd-onboarding-case :is(.snapshot-item, .impact-card, .mini-card, .case-table, .case-figure, .case-caption) {
  background:var(--onboarding-panel);
  color:var(--onboarding-text);
  border-color:var(--onboarding-border);
  box-shadow:none;
}
.rd-onboarding-case :is(.snapshot-value, .impact-metric, .mini-title, .mini-list, .case-list, .case-table-row, .case-next-title) {
  color:var(--onboarding-text);
}
.rd-onboarding-case :is(.snapshot-label, .impact-title, .impact-note, .case-caption) {
  color:var(--onboarding-secondary);
}
.rd-onboarding-case .case-table-row { border-color:var(--onboarding-border); }
.rd-onboarding-case .case-table-head { background:var(--onboarding-surface); }
.redesign-case.rd-onboarding-case .rd-case-hero-figure img { background:transparent; }
.rd-onboarding-case :is(.case-figure, .rd-case-hero-figure) > a { display:block; cursor:zoom-in; }
@media(min-width:768px) { .rd-onboarding-case .rd-case-content .col-lg-6 { width:100%; } .rd-onboarding-case .rd-case-content .col-lg-6+.col-lg-6 { margin-top:24px; } }
@media(max-width:991px) and (min-width:768px) { .redesign-case .rd-case-layout { grid-template-columns:250px minmax(0,1fr); gap:20px; padding:20px; } .redesign-case .rd-case-sidebar { padding:0; } .redesign-case .rd-case-sticky h1 { font-size:2.6rem; } }
@media(max-width:767px) {
 .redesign-case .rd-case-layout { display:block; padding:16px 12px; }
 .redesign-case .rd-case-sidebar { padding:0 12px; }
 .redesign-case .rd-case-sticky { position:static; max-height:none; padding:0; }
 .redesign-case .rd-case-sticky h1 { margin-top:16px; font-size:3rem; max-width:13ch; }
 .redesign-case .rd-back { margin-bottom:30px; width:122px; }
 .rd-back-label { max-width:70px; opacity:1; margin-left:12px; }
 .redesign-case .rd-case-content { border-radius:22px; padding:22px; }
 .redesign-case .rd-case-toc { margin:24px -12px 28px; padding:0 12px 8px; }
 .redesign-case .rd-case-lead h2 { font-size:2.8rem; }
 .redesign-case .rd-story-section h2 { font-size:2.4rem; }
 .redesign-case .rd-case-hero-figure { margin-bottom:28px; }
 .rd-case-handle { position:fixed; top:4px; left:calc(50% - 38px); }
 .rd-onboarding-case .snapshot-grid,.rd-onboarding-case .impact-grid { grid-template-columns:1fr; }
 .rd-onboarding-case .case-table-row { grid-template-columns:1fr; gap:8px; }
}
@media(hover:none) { .redesign-case .rd-back { width:122px; } .rd-back-label { max-width:70px; opacity:1; margin-left:12px; } }
@media(prefers-reduced-motion:reduce) { .redesign-case .rd-case-layout,.redesign-case .rd-back,.rd-back-label { transition:none; } }
.redesign-case .rd-case-sticky h1:focus { outline:none; }

.rd-glass-fallback .rd-glass-orb { filter:blur(10px); }

/* Each case has its own identity; Onboarding never matches Assessment. */
.rd-card[data-project="assessment"] .rd-card-media,.redesign-case[data-project="assessment"] .rd-case-hero-figure { view-transition-name:assessment-visual; }
.rd-card[data-project="onboarding"] .rd-card-media,.redesign-case[data-project="onboarding"] .rd-case-hero-figure { view-transition-name:onboarding-visual; }
::view-transition-group(assessment-visual),::view-transition-group(onboarding-visual) { animation-duration:.5s; animation-timing-function:cubic-bezier(.22,.8,.18,1); }

/* Case-study actions use the same expanding pill as the case Home control. */
.rd-card-action.rd-case-action { display:inline-flex; align-self:flex-start; align-items:center; flex:none; box-sizing:border-box; width:52px; height:52px; margin-top:2rem; padding:0 16px; gap:0; border:1px solid #16182412; border-radius:999px; background:#ffffff60; color:#161824; overflow:hidden; white-space:nowrap; transition:width .28s ease,background .2s ease; }
.rd-case-action .rd-case-action-arrow { flex:0 0 20px; font:24px/1 Arial,sans-serif; transform:none!important; }
.rd-case-action .rd-case-action-label { max-width:0; opacity:0; overflow:hidden; font:600 12px/1 Inter,Arial,sans-serif; text-transform:uppercase; letter-spacing:.05em; transition:max-width .28s ease,opacity .2s ease,margin-left .28s ease; transform:none!important; }
.rd-case-action:hover,.rd-card-link:focus-visible .rd-case-action { width:208px; background:#ffffffa0; }
.rd-case-action:hover .rd-case-action-label,.rd-card-link:focus-visible .rd-case-action-label { max-width:150px; opacity:1; margin-left:12px; }
@media(hover:none) { .rd-card-action.rd-case-action { width:208px; } .rd-case-action .rd-case-action-label { max-width:150px; opacity:1; margin-left:12px; } }
@media(prefers-reduced-motion:reduce) { .rd-card-action.rd-case-action,.rd-case-action .rd-case-action-label { transition:none; } }
