.sc-showcase,.sc-case {
  --sc-ink:#101b31; --sc-muted:#4b5b71; --sc-brand:#194df0; --sc-rule:#d5dce5;
  --sc-ease:cubic-bezier(.22,.8,.24,1); background:#fff; color:var(--sc-ink);
}
.sc-showcase { padding-block:clamp(72px,8vw,128px) clamp(80px,9vw,144px); }
.sc-showcase.sc-showcase--home { padding-block-start:clamp(35px,4.4vw,72px); }
.sc-case { padding-block:clamp(40px,5vw,80px) clamp(72px,8vw,128px); }
.sc-wrap { position:relative; }
.sc-showcase h1,.sc-showcase h2,.sc-showcase h3,.sc-case h1,.sc-case h2,
.sc-showcase p,.sc-case p,.sc-showcase figure,.sc-case figure { margin:0; }
.sc-showcase a,.sc-case a { color:inherit; }
.sc-showcase a:focus-visible,.sc-case a:focus-visible { outline:3px solid var(--sc-brand); outline-offset:6px; }
.sc-arrow { width:1.15em; height:1.15em; flex:none; }
.sc-heading-row {
  display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:12px 24px;
}
.sc-showcase .sc-heading {
  font-size:clamp(2.65rem,1.5rem + 3.5vw,5rem); font-weight:var(--weight-semibold);
  letter-spacing:var(--tracking-display); line-height:1.04; text-wrap:balance;
}
.sc-heading { overflow-wrap:anywhere; }
.sc-index-link,.sc-back,.sc-visit {
  display:inline-flex; align-items:center; gap:10px; width:fit-content;
  min-height:44px; text-decoration:none;
}
.sc-index-link,.sc-visit { font-size:1rem; line-height:1.4; font-weight:var(--weight-semibold); }
.sc-showcase .sc-index-link,.sc-case .sc-visit { color:var(--sc-brand); }
.sc-back { margin-bottom:clamp(28px,4vw,64px); font-size:.875rem; font-weight:var(--weight-semibold); }
.sc-case .sc-back { color:var(--sc-muted); }

.sc-collection {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:1fr;
  gap:clamp(16px,1.75vw,28px); margin-top:clamp(22px,2.5vw,38px);
}
.sc-entry {
  --poster-gutter:clamp(16px,4.2cqi,30px); --reveal-delay:0ms;
  display:grid; min-width:0; container-type:inline-size;
}
.sc-entry-link {
  display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto 1fr; min-width:0;
  border:1px solid #d6dfed; border-radius:12px; text-decoration:none;
  background:#fff;
}
.sc-poster-head {
  display:flex; align-items:baseline; justify-content:space-between; gap:6px 18px;
  padding:clamp(22px,4.8cqi,34px) var(--poster-gutter) clamp(18px,4cqi,28px);
  border-radius:11px 11px 0 0; background:#f3f6fc;
}
.sc-showcase .sc-entry-title {
  color:var(--sc-ink); font-size:clamp(2.65rem,10cqi,4.4rem); font-weight:var(--weight-medium);
  line-height:1; letter-spacing:var(--tracking-display);
}
.sc-poster-category {
  max-width:19ch; color:#465774; font-size:clamp(.8125rem,2.4cqi,.975rem);
  line-height:1.3; font-weight:var(--weight-medium); text-align:end; text-wrap:balance;
}
.sc-preview {
  position:relative; min-width:0; margin-inline:0;
  padding-inline:clamp(7px,1.55cqi,11px); padding-bottom:clamp(7px,1.55cqi,11px);
  background:#f3f6fc;
}
.sc-frame { position:relative; isolation:isolate; overflow:hidden; border-radius:12px; background:#eef0f3; }
.sc-photo { display:block; width:100%; height:100%; object-fit:cover; }
.sc-preview .sc-frame { aspect-ratio:1.58; border-radius:5px; background:#e0e8f6; }
.sc-preview .sc-photo { position:absolute; inset:0; object-position:50% 48%; }
.sc-preview .sc-frame--respmed .sc-photo { object-position:50% 28%; }
.sc-poster-copy {
  display:flex; align-items:flex-end; justify-content:space-between; gap:14px 24px;
  padding:clamp(18px,3.8cqi,27px) var(--poster-gutter); border-top:1px solid #e1e7f1;
}
.sc-poster-copy .sc-poster-description {
  align-self:flex-start; max-width:39ch; color:var(--sc-ink);
  font-size:clamp(1rem,2.95cqi,1.23rem); line-height:1.45; text-wrap:pretty;
}
.sc-action-slot { display:inline-flex; flex:none; }
.sc-poster-action {
  position:relative; z-index:2; display:inline-flex; align-items:center; gap:8px;
  min-height:38px; padding:6px 14px; border-radius:99px; background:var(--sc-brand); color:white;
  font-size:clamp(.875rem,2.4cqi,.975rem); font-weight:var(--weight-semibold);
  line-height:1.3; white-space:nowrap; pointer-events:none;
}
@container (max-width:500px) {
  .sc-poster-copy { flex-direction:column; align-items:flex-start; }
  .sc-action-slot { margin-top:auto; }
}
.sc-topics { display:flex; align-items:center; flex-wrap:wrap; gap:10px; color:var(--sc-muted); font-size:.875rem; line-height:1.45; font-weight:var(--weight-regular); }
.sc-topics > span { color:#8a95a4; }
@media (hover:hover) and (pointer:fine) {
  .sc-index-link:hover,.sc-back:hover,.sc-visit:hover,.sc-next:hover strong { color:var(--sc-brand); text-decoration:underline; text-underline-offset:.2em; }
  .sc-entry-link:hover { border-color:#a2b8e7; }
  .sc-entry-link:hover .sc-poster-action { background:#143fca; }
}
@media (prefers-reduced-motion:no-preference) and (forced-colors:none) {
  .sc-poster-action {
    transform:translate(0,0);
    transition:transform .36s cubic-bezier(.22,.75,.22,1),background-color .18s;
  }
  .sc-poster-action[data-follow="track"] { transition-duration:75ms,.18s; }
}
@media (hover:none) and (pointer:coarse) {
  .sc-poster-copy { position:relative; }
  .sc-action-slot {
    position:absolute; z-index:2; left:var(--poster-gutter); bottom:calc(100% + var(--poster-gutter));
    pointer-events:none;
  }
  .sc-entry-link:active { border-color:#a2b8e7; }
  .sc-entry-link:active .sc-poster-action { background:#143fca; }
  .sc-next:active strong { color:var(--sc-brand); }
  @media (prefers-reduced-motion:no-preference) and (forced-colors:none) {
    @keyframes sc-settle-action { from { transform:translate(32px,-32px); } to { transform:none; } }
    @supports ((animation-timeline:view()) and (animation-range:entry)) {
      .sc-entry-link { view-timeline-name:--project-cover; }
      .sc-action-slot {
        animation:sc-settle-action auto linear both;
        animation-timeline:--project-cover;
        animation-range:entry 20% entry 95%;
      }
    }
    @supports not ((animation-timeline:view()) and (animation-range:entry)) {
      .sc-entry-link:has(.sc-frame.arrived) .sc-action-slot {
        animation:sc-settle-action .55s var(--sc-ease) var(--reveal-delay) backwards;
      }
    }
  }
}
@media (forced-colors:active) {
  .sc-entry-link,.sc-poster-action { border:1px solid LinkText; }
}
@media (prefers-reduced-motion:no-preference) {
  .sc-entry-link { transition:border-color .25s; }
  .sc-preview [data-project-reveal].arrived { animation:none; }
  .sc-entry-link:not([data-case-active]) .sc-frame.arrived::before,
  .sc-entry-link:not([data-case-active]) .sc-frame.arrived::after {
    content:""; position:absolute; z-index:1; inset:-1px; pointer-events:none;
    clip-path:polygon(0 0,100% 0,100% 20%,0 82%); background:#dbe7ff;
    animation:sc-open-upper .62s cubic-bezier(.3,.06,.22,1) var(--reveal-delay) both;
  }
  .sc-entry-link:not([data-case-active]) .sc-frame.arrived::after {
    clip-path:polygon(0 81.5%,100% 19.5%,100% 100%,0 100%); background:var(--sc-brand);
    animation-name:sc-open-lower; animation-delay:calc(var(--reveal-delay) + 55ms);
  }
  @keyframes sc-open-upper { from {transform:none} to {transform:translate(-18%,-104%);visibility:hidden} }
  @keyframes sc-open-lower { from {transform:none} to {transform:translate(18%,104%);visibility:hidden} }
  @media (min-width:761px) { .sc-entry--respmed { --reveal-delay:85ms; } }
  @media (hover:hover) and (pointer:fine) {
  }
}
@media (max-width:760px) {
  .sc-showcase { padding-block:64px 80px; }
  .sc-collection { grid-template-columns:minmax(0,1fr); gap:22px; }
  .sc-case { padding-block:0 64px; }
}
@media (max-width:520px) {
  .sc-heading-row { flex-wrap:nowrap; align-items:center; gap:12px; }
  .sc-heading-row .sc-index-link { flex:none; gap:5px; font-size:.875rem; }
  .sc-showcase .sc-heading { font-size:clamp(2.125rem,1.65rem + 2.5vw,2.65rem); }
  .sc-preview .sc-frame { aspect-ratio:1.48; }
  .sc-topics { gap:7px; }
}

.sc-sr { position:absolute; inline-size:1px; block-size:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.sc-brand { display:inline-block; max-inline-size:100%; vertical-align:middle; }
.sc-brand > img,.sc-brand > svg { display:block; inline-size:100%; block-size:auto; }
.sc-entry-link { border-color:#cdd7e4; border-radius:14px; }
.sc-poster-head { align-items:center; gap:12px; padding:clamp(14px,3.5cqi,25px) var(--poster-gutter); min-block-size:clamp(76px,14cqi,102px); border-radius:13px 13px 0 0; background:#fff; }
.sc-showcase .sc-entry-title { line-height:1; display:flex; align-items:center; min-inline-size:0; }
.sc-entry-title .sc-brand { inline-size:clamp(116px,31cqi,195px); }
.sc-poster-category { font-weight:var(--weight-medium); color:#374767; }
.sc-poster-category > span { display:block; margin-block-start:3px; color:#586781; font-size:.91em; }
.sc-preview { padding:0; }
.sc-preview .sc-frame { border-radius:0; aspect-ratio:1.6; }
.sc-poster-copy { border-top:0; align-items:center; padding-block:clamp(19px,4cqi,30px); }
.sc-poster-copy .sc-poster-description { align-self:center; max-width:31ch; font-weight:var(--weight-medium); }
.sc-poster-action { min-block-size:40px; background:#173fae; }
.sc-entry--respmed .sc-poster-action { background:#075681; }
.sc-case { padding-block:12px clamp(64px,8vw,120px); }
.sc-case > .sc-wrap { max-inline-size:1240px; }
.sc-case-tools { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:0 16px; padding-block:2px 10px; border-block-end:1px solid var(--sc-rule); }
.sc-case-tools .sc-back { margin:0; }
.sc-case-heading { padding-block-end:clamp(22px,3vw,46px); }
.sc-masthead { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.7fr); align-items:start; gap:clamp(24px,4vw,76px); padding-block-start:clamp(24px,3.7vw,58px); }
.sc-signature { display:flex; align-items:flex-start; flex-direction:column; gap:clamp(8px,1vw,16px); }
.sc-signature .sc-brand { inline-size:min(100%,clamp(172px,18vw,265px)); }
.sc-signature .sc-visit { font-size:.875rem; min-height:36px; text-underline-offset:4px; }
.sc-case-intro h1 { font-size:clamp(2.15rem,1.13rem + 2.8vw,4.1rem); line-height:1.03; font-weight:var(--weight-semibold); letter-spacing:var(--tracking-display); text-wrap:balance; overflow-wrap:break-word; }
.sc-case-intro p { max-inline-size:62ch; margin-block-start:clamp(12px,1.3vw,21px); font-size:clamp(1rem,.88rem + .48vw,1.27rem); line-height:1.5; color:#3c4f67; text-wrap:pretty; }
.sc-case .sc-case-figure { inline-size:100%; aspect-ratio:1.93; border-radius:clamp(9px,1.2vw,17px); }
.sc-case--karkeo .sc-case-figure .sc-photo { object-position:50% 53%; }
.sc-case--respmed .sc-case-figure .sc-photo { object-position:50% 37%; }
.sc-next { display:grid; grid-template-columns:minmax(135px,.68fr) minmax(0,1.25fr) auto; align-items:center; gap:clamp(16px,4vw,60px); border-block:1px solid var(--sc-rule); text-decoration:none; margin-block-start:clamp(54px,8vw,115px); padding-block:clamp(20px,3.3vw,47px); }
.sc-next-brand { display:grid; justify-items:start; gap:11px; }
.sc-next-kicker { color:var(--sc-muted); font-size:.875rem; line-height:1.4; }
.sc-next .sc-brand { inline-size:min(100%,145px); }
.sc-next strong { max-inline-size:25ch; font-size:clamp(1.25rem,.94rem + 1.25vw,2.1rem); font-weight:var(--weight-medium); line-height:1.14; letter-spacing:var(--tracking-title); }
.sc-next > .sc-arrow { color:var(--sc-brand); inline-size:clamp(25px,3vw,40px); block-size:auto; }
@media (max-width:760px) {
  .sc-case { padding-block-start:4px; }
  .sc-masthead { grid-template-columns:minmax(0,1fr); gap:19px; }
  .sc-signature { flex-direction:row; justify-content:space-between; align-items:center; gap:10px; }
  .sc-signature .sc-brand { inline-size:clamp(150px,35vw,210px); }
  .sc-case .sc-case-figure { aspect-ratio:1.48; }
  .sc-case-tools .sc-topics { font-size:.8rem; }
  .sc-next { grid-template-columns:minmax(0,1fr) auto; gap:14px; }
  .sc-next strong { grid-row:2; grid-column:1; }
  .sc-next > .sc-arrow { grid-column:2; grid-row:1/3; }
}
@container (max-width:500px) { .sc-poster-copy .sc-poster-description { align-self:flex-start; } }
@media (forced-colors:active) { .sc-brand { background:#fff; forced-color-adjust:none; } }
