@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600&display=swap');

:root { --paper:#fff; --ink:#373737; --muted:#777; --line:#e7e7e7; --green:#496348; --sidebar:26%; --gutter:clamp(10px,1.4vw,30px); }
* { box-sizing:border-box; }
html { scroll-behavior:auto; scroll-padding-top:var(--gutter); }
body { margin:0; background:var(--paper); color:var(--ink); font-family:'DM Sans',Arial,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
a:hover { color:var(--green); }
a:focus-visible { outline:2px solid var(--green); outline-offset:4px; }
.sr-only,.project-grid .project-info { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.skip-link { position:fixed; top:-100px; left:20px; z-index:10; padding:12px; background:var(--ink); color:white; }
.skip-link:focus { top:10px; }
.sidebar { position:fixed; top:0; left:0; width:var(--sidebar); height:100dvh; padding:calc(var(--gutter) + 3px) clamp(16px,3.5vw,76px) var(--gutter) var(--gutter); overflow:auto; }
.identity { font-size:clamp(11px,1.15vw,24px); font-weight:400; text-decoration:underline; text-underline-offset:3px; }
.introduction { margin-top:clamp(22px,2.5vw,53px); }
h1,.introduction p { font-size:clamp(11px,1.15vw,24px); line-height:1.65; font-weight:400; letter-spacing:0; margin:0 0 clamp(20px,2.1vw,45px); }
.navigation { display:flex; flex-direction:column; align-items:flex-start; gap:4px; margin-top:clamp(20px,2.3vw,50px); }
.navigation a { display:flex; gap:7px; font-size:clamp(11px,1.15vw,24px); }
.navigation a span:first-child { text-decoration:underline; text-underline-offset:3px; }
main { margin-left:var(--sidebar); padding:var(--gutter) var(--gutter) 0 0; }
.project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); gap:clamp(8px,1vw,22px); height:calc(100svh - var(--gutter) * 2); }
.project-card { min-width:0; min-height:0; position:relative; }
.project-preview { display:block; height:100%; border-radius:clamp(9px,1.2vw,25px); }
.project-art { position:relative; width:100%; height:100%; border-radius:clamp(9px,1.2vw,25px); overflow:hidden; isolation:isolate; }
.art-index { position:absolute; left:8%; top:6%; z-index:4; font-size:clamp(7px,.6vw,12px); letter-spacing:1px; }
.art-caption { position:absolute; left:8%; bottom:7%; z-index:4; font-size:clamp(5px,.45vw,9px); letter-spacing:1px; }
.preview-label { position:absolute; left:8%; bottom:13%; z-index:4; font-size:clamp(5px,.45vw,9px); letter-spacing:.6px; opacity:.75; }
.art-word { position:absolute; left:9%; top:30%; z-index:3; font-family:'Manrope',Arial,sans-serif; font-size:clamp(17px,2.4vw,48px); font-weight:400; line-height:1.15; letter-spacing:-1px; }
.art-word i { font-family:Georgia,serif; font-weight:400; }
.art-one{background:#e3e8d8;color:#344a32}.green-form{position:absolute;width:70%;height:68%;border-radius:90px 90px 0 90px;transform:rotate(-27deg);transition:transform .8s cubic-bezier(.2,.7,.3,1)}.form-a{background:#a7b88e;right:-20%;top:-9%;box-shadow:inset 12px -18px 40px #677c4625}.form-b{background:#728962;right:-3%;bottom:-39%;border-radius:100px 100px 0 100px;box-shadow:inset -20px 20px 30px #344b3730}.art-one .art-word{top:30%}.art-two{background:#dfe7ed;color:#2d4561}.ribbon{position:absolute;background:linear-gradient(115deg,#95afc4 3%,#c1d2df 43%,#6585a3 100%);width:28%;height:83%;border-radius:100px;box-shadow:12px 18px 24px #354f6b20;transform:rotate(36deg);transition:transform .8s}.ribbon-one{left:11%;top:21%}.ribbon-two{left:42%;top:-2%;transform:rotate(-36deg);z-index:2;background:linear-gradient(105deg,#e5edf2,#9ab3c9 60%,#6c8ba8)}.ribbon-three{left:70%;top:-25%}.art-three{background:#efd6b7;color:#713d27}.orbit{position:absolute;width:96%;aspect-ratio:1;border:1px solid #a9664055;border-radius:50%;left:24%;top:16%;background:#d18b5688;box-shadow:inset 3px 4px 15px #fbe3bf77}.orbit-two{width:74%;left:35%;top:29%;background:#bd6c3cbb}.orbit-three{width:50%;left:47%;top:44%;background:#a74f2ccc}.orbit-four{width:25%;left:60%;top:59%;background:#743a26}.art-four{background:#e5e0ec;color:#554168}.petals{position:absolute;width:90%;height:90%;right:-41%;top:1%;transform:rotate(23deg);transition:transform .8s}.petals i{position:absolute;display:block;width:28%;height:100%;background:linear-gradient(90deg,#a896ba,#c5b7d5);border-radius:90px;left:36%;top:0;box-shadow:4px 5px 8px #57456811}.petals i:nth-child(2){transform:rotate(45deg)}.petals i:nth-child(3){transform:rotate(90deg)}.petals i:nth-child(4){transform:rotate(135deg)}.art-four .art-word{top:33%;font-size:clamp(25px,3.2vw,49px)}.art-five{background:#dddfd7;color:#41483c}.tile-grid{position:absolute;display:grid;grid-template-columns:repeat(3,1fr);width:76%;aspect-ratio:1.5;top:22%;left:12%;transform:rotate(-10deg);gap:5px;transition:transform .8s}.tile-grid i{background:#5e6b54;border-radius:0 100% 0 0}.tile-grid i:nth-child(2){border-radius:50%;background:#bac4a8}.tile-grid i:nth-child(3){border-radius:0 0 100% 0;background:#8d9c7b}.tile-grid i:nth-child(4){border-radius:0 0 0 100%;background:#8d9c7b}.tile-grid i:nth-child(5){border-radius:0 100% 0 0;background:#454f3e}.tile-grid i:nth-child(6){border-radius:50%;background:#bdc6ad}.art-six{background:#eededc;color:#693d45}.arch{position:absolute;border:38px solid #bc8588;width:61%;height:113%;border-radius:200px 200px 0 0;transform:rotate(28deg)}.arch-one{top:-26%;right:-10%}.arch-two{top:47%;left:9%;border-color:#d6b4b4;transform:rotate(-46deg)}.art-six .art-word{top:31%;font-size:clamp(25px,3.1vw,48px)}.project-card:hover .ribbon{transform:rotate(40deg) translateY(-6px)}.project-card:hover .ribbon-two{transform:rotate(-32deg) translateY(-6px)}.project-card:hover .petals{transform:rotate(35deg)}.project-card:hover .tile-grid{transform:rotate(-5deg)}.project-card:hover .green-form{transform:rotate(-21deg)}
.art-four .art-word,.art-six .art-word { font-size:clamp(17px,2.4vw,48px); }
.project-details { padding-top:clamp(55px,6vw,130px); }
.project-detail { display:grid; grid-template-columns:1fr 2fr; gap:clamp(18px,3vw,65px); margin-bottom:clamp(65px,7vw,150px); scroll-margin-top:var(--gutter); }
.project-name,.project-category { font-size:clamp(11px,1.1vw,22px); line-height:1.5; margin:0 0 25px; font-weight:400; }
.project-name { text-decoration:underline; text-underline-offset:3px; }
.project-description h2 { font-size:clamp(20px,1.8vw,36px); font-weight:500; line-height:1.3; margin:0 0 25px; letter-spacing:-.5px; }
.project-description>p:not(.project-name) { font-size:clamp(11px,1.1vw,22px); line-height:1.65; margin:0 0 30px; }
.detail-status { font-size:clamp(10px,1vw,20px); color:var(--muted); }
.project-media { min-width:0; }
.project-media .project-art { height:auto; aspect-ratio:1.6; }
.project-media .art-word,.project-media .art-four .art-word,.project-media .art-six .art-word { font-size:clamp(25px,4vw,72px); }
.about-section { display:grid; grid-template-columns:1fr 2fr; gap:clamp(18px,3vw,65px); border-top:1px solid var(--line); padding:45px 0 65px; }
.eyebrow { font-size:10px; line-height:1.6; letter-spacing:1px; margin:0; }
.section-label { display:flex; justify-content:space-between; gap:10px; }
.about-content h2 { font-size:clamp(24px,2.6vw,42px); font-weight:400; line-height:1.25; margin:0 0 24px; letter-spacing:-.7px; }
.about-content p { font-size:clamp(12px,1.1vw,19px); line-height:1.8; }
.text-link { display:inline-block; font-size:12px; border-bottom:1px solid var(--ink); margin-top:12px; padding-bottom:5px; }
.expertise { display:flex; flex-wrap:wrap; gap:8px; margin-top:25px; }
.expertise span { border:1px solid var(--line); border-radius:20px; padding:7px 10px; font-size:10px; }
footer { border-top:1px solid var(--line); padding:40px 0 22px; }
.contact-title { display:block; width:fit-content; font-size:clamp(28px,4vw,60px); line-height:1.2; letter-spacing:-1px; margin:24px 0 45px; }
.footer-bottom { border-top:1px solid var(--line); padding-top:20px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px; color:var(--muted); font-size:10px; }
@media(max-width:760px) and (min-width:541px) {
  .art-caption,.preview-label { letter-spacing:0; font-size:5px; }
  .project-detail { grid-template-columns:1fr 1.8fr; gap:15px; }
  .project-name,.project-category { margin-bottom:16px; }
  .project-description h2 { font-size:18px; margin-bottom:15px; }
  .project-description>p:not(.project-name) { font-size:11px; }
  .about-section { grid-template-columns:1fr; gap:25px; }
}
@media(max-width:540px) {
  :root { --sidebar:0%; --gutter:16px; }
  .sidebar { position:relative; width:100%; height:auto; padding:20px 16px; overflow:visible; }
  .identity { font-size:17px; }
  .introduction { margin-top:16px; }
  h1 { font-size:14px; line-height:1.5; margin-bottom:12px; max-width:360px; }
  .introduction p { display:none; }
  .navigation { flex-direction:row; gap:20px; margin-top:15px; }
  .navigation a { font-size:12px; }
  main { margin:0; padding:0 16px; }
  .project-grid { height:calc(100svh - 215px); min-height:260px; gap:8px; }
  .art-word,.art-four .art-word,.art-six .art-word { font-size:clamp(13px,3.5vw,19px); letter-spacing:-.5px; }
  .art-index { font-size:6px; }
  .art-caption { display:none; }
  .preview-label { font-size:5px; line-height:1.5; letter-spacing:0; right:8%; }
  .arch { border-width:20px; }
  .project-detail { grid-template-columns:1fr; gap:24px; margin-bottom:60px; }
  .project-description h2 { font-size:25px; margin-bottom:15px; }
  .project-description>p:not(.project-name) { font-size:14px; margin-bottom:16px; }
  .project-name,.project-category { font-size:13px; margin-bottom:15px; }
  .about-section { grid-template-columns:1fr; gap:24px; }
  .about-content p { font-size:14px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none!important; } }

/* Supplied project screenshots fill the existing gallery frames. */
.project-image { background:#f4f3f0; }
.project-image img { display:block; width:100%; height:100%; object-fit:cover; }
a.project-image { display:block; }
a.project-image:focus-visible { outline:2px solid var(--green); outline-offset:4px; }
.project-grid .image-four img { object-position:58% center; }
.project-grid .image-five img { object-position:65% center; }
.project-grid .image-six img { object-position:49% center; }
.project-media .project-image { aspect-ratio:16 / 9; }
.project-media .project-image img { position:absolute; inset:0; object-fit:contain; }

.project-grid .image-one img { object-position:35% center; }
.project-grid .image-two img { object-position:61% center; }
.project-grid .image-three img { object-position:64% center; }

.project-grid { position:relative; }
.gallery-slide { position:absolute; inset:0; opacity:0; transition:opacity 1.6s ease-in-out; }
.gallery-slide.is-active { opacity:1; }
@media (prefers-reduced-motion:reduce) { .gallery-slide { transition:none; } }
.project-image img[hidden] { display:none; }

.project-description .project-name,
.project-media .project-category {
  font-size:clamp(10px,1vw,20px);
  color:var(--muted);
  text-decoration:none;
}

@media(max-width:540px) {
  .project-details .project-detail { grid-template-columns:auto minmax(0,1fr); }
  .project-details .project-detail:not(:last-child) { border-bottom:1px solid var(--line); padding-bottom:30px; margin-bottom:30px; }
  .project-detail .project-description,
  .project-detail .project-media { display:contents; }
  .project-detail .project-name { grid-column:1; grid-row:1; margin:0; }
  .project-detail .project-category { grid-column:2; grid-row:1; text-align:right; margin:0; }
  .project-detail .project-description h2 { grid-column:1 / -1; grid-row:2; margin:0; }
  .project-detail .project-description > p:not(.project-name) { grid-column:1 / -1; grid-row:3; margin:0; }
  .project-detail .project-view { grid-column:1 / -1; grid-row:4; }
  .project-detail .project-media > .project-art { grid-column:1 / -1; grid-row:5; }
}

.sidebar .identity { font-size:18px; font-weight:700; }
.sidebar .introduction,
.sidebar .introduction h1,
.sidebar .introduction p { font-size:16px; }
.sidebar .navigation a { font-size:16px; }
.sidebar .navigation { flex-wrap:wrap; }

@media(max-width:760px) {
  .project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .project-grid > .project-card:nth-of-type(n+5) { display:none; }
}

.project-view { display:inline-flex; align-items:center; gap:7px; font-size:clamp(13px,1.15vw,24px); line-height:1.5; }
.project-view span:first-child { text-decoration:underline; text-underline-offset:3px; }
.project-view span:last-child { font-size:1.2em; }
.case-back { display:inline-block; margin:10px 0 50px; font-size:13px; text-decoration:underline; text-underline-offset:3px; }
.case-meta { display:flex; justify-content:space-between; gap:20px; color:var(--muted); font-size:12px; }
.case-header h1 { font-size:clamp(30px,4.2vw,68px); font-weight:500; line-height:1.15; letter-spacing:-1.5px; margin:24px 0; }
.case-intro { font-size:clamp(14px,1.25vw,22px); line-height:1.8; max-width:800px; margin:0 0 40px; }
.case-image { margin:0 0 50px; }
.case-image img { width:100%; height:auto; display:block; border-radius:clamp(9px,1.2vw,25px); }
.case-navigation { display:flex; justify-content:space-between; gap:24px; border-top:1px solid var(--line); padding:30px 0 45px; }
.case-navigation a { display:flex; flex-direction:column; gap:12px; max-width:48%; }
.case-navigation a:last-child { text-align:right; }
.case-navigation span { font-size:11px; color:var(--muted); }
.case-navigation strong { font-size:clamp(14px,1.4vw,24px); font-weight:500; }
@media(max-width:540px) { .case-back { margin-bottom:30px; } .case-meta { font-size:10px; } .case-header h1 { letter-spacing:-.7px; } }

footer .contact-title { margin-bottom:18px; }
.contact-email { display:block; width:fit-content; font-size:13px; font-weight:700; margin-bottom:42px; }

.project-media .detail-slideshow img { object-fit:cover; opacity:0; transition:opacity .45s ease; }
.project-media .detail-slideshow img.is-current,.project-media .detail-slideshow img:first-child:not([aria-hidden]) { opacity:1; }
.slideshow-toggle { position:absolute; bottom:10px; right:10px; z-index:2; padding:6px 12px; border:1px solid #ddd; border-radius:20px; background:#fffffff0; color:var(--ink); font:inherit; font-size:10px; cursor:pointer; }
.slideshow-toggle:focus-visible { outline:2px solid var(--green); outline-offset:3px; }

.case-slideshow .detail-slideshow { position:relative; width:100%; height:auto; aspect-ratio:16 / 9; overflow:hidden; }
.case-slideshow .detail-slideshow img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .45s ease; }
.case-slideshow .detail-slideshow img.is-current,.case-slideshow .detail-slideshow img:first-child:not([aria-hidden]) { opacity:1; }

.case-overview { margin:0 0 55px; }
.case-overview h2 { font-size:18px; font-weight:700; margin:0 0 14px; }
.case-overview p { font-size:clamp(14px,1.25vw,22px); line-height:1.8; margin:0; }
.case-overview p + p { margin-top:18px; }
.flow-moment + .flow-moment { margin-top:24px; }
.flow-moment h3 { font-size:16px; font-weight:700; line-height:1.8; margin:0; }
.flow-moment ul { font-size:clamp(14px,1.25vw,22px); line-height:1.8; padding-left:22px; margin:8px 0 0; }

.slideshow-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:2; width:36px; height:36px; border:1px solid #ddd9; border-radius:50%; padding:0 0 3px; background:#ffffffe6; color:#373737; font:32px/1 Arial,sans-serif; cursor:pointer; box-shadow:0 2px 10px #0001; }
.slideshow-previous { left:14px; }
.slideshow-next { right:14px; }
.slideshow-arrow:hover { background:white; }
.slideshow-arrow:focus-visible { outline:2px solid var(--green); outline-offset:3px; }
[data-detail-slideshow] .slideshow-arrow { opacity:0; pointer-events:none; transition:opacity .25s ease; }
[data-detail-slideshow]:hover .slideshow-arrow,
[data-detail-slideshow]:focus-within .slideshow-arrow { opacity:1; pointer-events:auto; }
.slideshow-arrow[hidden] { display:none; }
.case-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(14px,2vw,36px); margin:0 0 65px; }
.case-gallery figure { margin:0; min-width:0; overflow:hidden; border-radius:clamp(12px,1.5vw,28px); background:#e5edef; }
.case-gallery-wide { grid-column:span 2; }
.case-gallery-narrow { grid-column:span 1; }
.case-gallery img { display:block; width:100%; height:100%; object-fit:cover; }
.case-gallery-wide img { aspect-ratio:1.6; }
.gallery-care img { object-position:center; }
.gallery-vitals img { object-position:64% center; }
.reveal-image.will-reveal { opacity:0; transform:translateY(35px); transition:opacity .75s ease,transform .75s cubic-bezier(.2,.7,.3,1); }
.reveal-image.is-revealed { opacity:1; transform:none; }
.project-facts { display:grid; grid-template-columns:.65fr .9fr 1fr 3.1fr; gap:clamp(14px,2vw,32px); margin:28px 0 42px; }
.project-facts dt { color:var(--muted); font-size:10px; font-weight:600; letter-spacing:1.3px; text-transform:uppercase; margin-bottom:10px; }
.project-facts dd { margin:0; font-size:clamp(12px,1.2vw,18px); line-height:1.5; }
.case-gallery .gallery-ux-model { background:#073340; }
.case-gallery .gallery-ux-model img { object-fit:contain; }
.case-gallery .gallery-scenario-review { background:#faf8f7; }
.case-gallery .gallery-scenario-review img { object-fit:contain; }
.case-gallery-full { grid-column:1 / -1; aspect-ratio:1.6; }
.case-gallery-full img { width:100%; height:100%; object-fit:cover; }
.case-gallery-additional .image-slot { display:grid; place-items:center; background:#f3f3f0; min-height:180px; }
.case-gallery-additional .case-gallery-wide { aspect-ratio:1.6; }
.case-gallery:has(+ .case-gallery-additional) { margin-bottom:clamp(14px,2vw,36px); }
.image-slot figcaption { color:var(--muted); font-size:12px; padding:24px; text-align:center; }
.case-gallery .gallery-persona { background:#f5f4f1; }
.case-gallery figure[data-detail-slideshow] { position:relative; aspect-ratio:1.6; }
.case-gallery figure[data-detail-slideshow] img { position:absolute; inset:0; aspect-ratio:auto; }
.case-gallery .gallery-persona img { object-fit:contain; }
.case-gallery .gallery-chart-review img { object-position:center; }
.case-gallery .gallery-jira { background:white; }
.case-gallery .gallery-jira img { object-fit:contain; }
.case-gallery .gallery-full-workspace { aspect-ratio:16 / 9; }
.case-gallery .gallery-full-workspace img { object-fit:contain; }
@media(max-width:760px) { .project-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; } }
@media(max-width:540px) { .case-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); } .case-gallery-wide { grid-column:span 2; } .case-gallery-narrow { min-height:240px; } .case-gallery-additional .gallery-chart-review { display:none; } }

/* Additional work follows the selected project stories. */
.more-projects { border-top:1px solid var(--line); padding:45px 0 65px; }
.more-projects h2 { font-size:clamp(20px,1.8vw,36px); font-weight:500; line-height:1.3; letter-spacing:-.5px; margin:0 0 30px; }
.more-projects-list { list-style:none; padding:0; margin:0; }
.more-projects-list li { display:grid; grid-template-columns:70px minmax(0,1fr) 110px; gap:24px; align-items:baseline; padding:12px 0; border-bottom:1px solid var(--line); }
.more-projects-list li:last-child { border-bottom:0; }
.more-project-year,.more-project-company { color:var(--muted); font-size:clamp(11px,.95vw,15px); line-height:1.5; }
.more-project-title { font-size:clamp(13px,1.1vw,18px); line-height:1.5; font-weight:500; }
.more-project-company { text-align:right; }
@media(max-width:760px) { .more-projects-list li { grid-template-columns:48px minmax(0,1fr) 80px; gap:14px; padding:12px 0; } }
@media(max-width:540px) {
  .more-projects { padding:32px 0 40px; }
  .more-projects-list li { grid-template-columns:44px minmax(0,1fr); gap:4px 14px; }
  .more-project-company { grid-column:2; text-align:left; }
}

/* Editable image slots on project detail templates. */
.case-gallery-template .image-slot { display:grid; place-items:center; aspect-ratio:1.6; min-height:180px; background:#f3f3f0; color:var(--muted); font-size:12px; text-align:center; padding:20px; }
.case-gallery-template .case-gallery-narrow { aspect-ratio:.77; }
.case-gallery-template .case-gallery-full { aspect-ratio:16 / 9; }

.case-overview > ul { margin:18px 0 0; padding-left:22px; font-size:clamp(14px,1.2vw,22px); line-height:1.8; }

.case-gallery figure.gallery-growth-screens[data-detail-slideshow] { aspect-ratio:16 / 9; }

.case-gallery figure.gallery-tumor-screens[data-detail-slideshow] { aspect-ratio:16 / 9; }

.case-gallery figure.gallery-inbox-screens[data-detail-slideshow] { aspect-ratio:16 / 9; }

/* Preserve the full 4:3 Skills Manager screens at the gallery width. */
.case-gallery figure.gallery-skills-screens[data-detail-slideshow] { aspect-ratio:4 / 3; }

.gallery-skills-user-goal { background:#000 !important; }
.case-gallery .gallery-skills-user-goal img { object-fit:contain; }

.case-gallery figure.gallery-skills-research { background:#fff; }

/* Let the current slide's intrinsic proportions determine the full row height. */
.case-gallery figure.gallery-skills-process[data-detail-slideshow] { aspect-ratio:auto; background:#fff; }
.case-gallery figure.gallery-skills-process[data-detail-slideshow] img { position:relative; display:block; width:100%; height:auto; }
.case-gallery figure.gallery-skills-process[data-detail-slideshow] img[aria-hidden="true"] { position:absolute; }

.tumor-board-galleries { display:contents; }
.skills-manager-galleries { display:contents; }
@media(max-width:540px) {
  .skills-manager-galleries { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(14px,2vw,36px); margin-bottom:65px; }
  .skills-manager-galleries > .case-gallery { display:contents; }
  .skills-manager-galleries .gallery-skills-research { order:0; }
  .skills-manager-galleries .gallery-skills-user-goal { order:1; }
  .skills-manager-galleries .gallery-skills-process { order:2; }
  .skills-manager-galleries .gallery-persona { order:3; }
  .skills-manager-galleries .gallery-skills-screens { order:4; }
  .case-gallery .gallery-growth-bmi { display:none; }
  .tumor-board-galleries { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(14px,2vw,36px); margin-bottom:65px; }
  .tumor-board-galleries > .case-gallery { display:contents; }
}

.kudos-dialog { border:0; padding:0; width:min(1400px, calc(100vw - 64px)); max-width:none; max-height:calc(100dvh - 96px); margin:auto; background:#fff; border-radius:14px; box-shadow:0 24px 100px #0003; overflow:auto; overscroll-behavior:contain; }
.kudos-dialog::backdrop { background:rgb(235 235 235 / 55%); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
.kudos-dialog img { display:block; width:100%; height:auto; }
.kudos-close { position:fixed; right:20px; top:18px; width:44px; height:44px; border:1px solid #ddd; border-radius:50%; background:#fff; color:#222; display:grid; place-items:center; cursor:pointer; z-index:1; box-shadow:0 2px 12px #0001; }
.kudos-close:focus-visible { outline:2px solid #222; outline-offset:3px; }
html:has(.kudos-dialog[open]) { overflow:hidden; }
@media (max-width:600px) { .kudos-dialog { width:calc(100vw - 24px); max-height:calc(100dvh - 88px); } }
