.project-case-crumbs { flex-wrap: wrap; padding-bottom: 0; }
.project-case-crumbs [aria-current] { min-width: 0; overflow-wrap: anywhere; }
.project-case { padding-block: clamp(20px, 3vw, 44px) clamp(48px, 5.4vw, 90px); }
.project-case-heading { margin-bottom: clamp(24px, 3vw, 44px); }
.project-case-heading h1 { max-width: 28ch; font-size: clamp(2.125rem, 4vw, 4.15rem); line-height: 1.1; overflow-wrap: anywhere; text-wrap: pretty; }
.project-case-layout { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(280px, 1fr); gap: clamp(24px, 4vw, 68px); align-items: start; }
.project-case-main { min-width: 0; }
.project-case-stage { position: relative; }
.project-case-preview { display: grid; place-items: center; position: relative; height: clamp(360px, 37vw, 610px); overflow: hidden; border: 1px solid #dce7ef; border-radius: 18px; background: var(--soft); cursor: zoom-in; }
.project-case-preview img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.project-case-zoom, .project-case-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #e2eaf0; border-radius: 9px; background: #fffc; color: var(--ink); box-shadow: 0 2px 10px #122c4014; }
.project-case-zoom { position: absolute; right: 16px; bottom: 16px; }
.project-case-zoom .icon { width: 20px; height: 20px; }
.project-case-arrow { position: absolute; top: 50%; translate: 0 -50%; }
.project-case-arrow[hidden] { display: none; }
.project-case-arrow.is-prev { left: 16px; }
.project-case-arrow.is-next { right: 16px; }
.project-case-arrow.is-prev .icon { rotate: 90deg; }
.project-case-arrow:hover, .project-case-preview:hover .project-case-zoom { background: #fff; color: var(--brand); }
.project-case-arrow .icon { width: 18px; height: 18px; rotate: -90deg; }
.project-case-gallery-bar { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.project-case-filmstrip { flex: 1; display: flex; min-width: 0; align-items: center; gap: 8px; padding: 4px 4px 8px; overflow-x: auto; }
.project-case-filmstrip a { flex: 0 0 clamp(65px, 7vw, 106px); overflow: hidden; border: 2px solid transparent; border-radius: 9px; background: var(--soft); }
.project-case-filmstrip img { width: 100%; height: auto; aspect-ratio: 130 / 89; object-fit: cover; }
.project-case-filmstrip a[aria-current], .project-case-filmstrip a:hover { border-color: var(--brand); }
.project-case-filmstrip a:focus-visible { outline-offset: 1px; }
.project-case-caption, .project-case-count { color: var(--muted); font-size: .875rem; }
.project-case-caption { margin-top: 8px; }
.project-case-count { align-self: start; white-space: nowrap; padding: 8px 0; font-variant-numeric: tabular-nums; }
.project-case-description { margin-top: clamp(32px, 4vw, 62px); }
.project-case-description:first-child { margin-top: 0; }
.project-case-description h2 { margin-bottom: 20px; font-size: clamp(1.65rem, 2.3vw, 2.3rem); }
.project-case-article { color: #2b4356; max-width: 66ch; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.7; overflow-wrap: anywhere; }
.project-case-article > * + * { margin-top: 14px; }
.project-case-story > section + section { margin-top: 20px; padding-top: 19px; border-top: 1px solid var(--line); }
.project-case-story h3 { margin-bottom: 7px; color: var(--ink); font-size: 1.0625rem; font-weight: 800; line-height: 1.45; letter-spacing: 0; }
.project-case-article a { color: var(--brand); font-weight: 700; }
.project-case-article img, .project-case-article iframe, .project-case-article video { max-width: 100%; }
.project-case-article table { display: block; max-width: 100%; overflow-x: auto; }
.project-case-aside { position: sticky; top: 109px; padding: clamp(20px, 2.7vw, 42px); border: 1px solid #dce7ef; border-radius: 18px; background: var(--soft); }
.project-case-facts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; margin: 0; }
.project-case-aside dt, .project-case-solution p { color: var(--muted); font-size: .875rem; }
.project-case-aside dd { margin: 3px 0 0; font-weight: 750; font-size: 1.125rem; line-height: 1.45; }
.project-case-solution { margin-top: 21px; }
.project-case-solution a { display: inline-flex; align-items: center; gap: 8px; margin-top: 3px; color: var(--brand); font-weight: 750; line-height: 1.45; }
.project-case-solution a:hover { color: var(--brand-hover); }
.project-case-solution .icon, .project-case-more .icon { width: 15px; height: 15px; rotate: -90deg; }
.project-case-action { margin-top: 25px; padding-top: 23px; border-top: 1px solid #d5e1eb; }
.project-case-action h2 { font-size: clamp(1.25rem, 1.7vw, 1.7rem); }
.project-case-action p { margin-top: 9px; color: var(--muted); line-height: 1.65; }
.project-case-action .btn { margin-top: 18px; }
.project-case-more { background: var(--soft); padding-block: clamp(40px, 5.2vw, 74px); }
.project-case-more-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; margin-bottom: 22px; }
.project-case-more-head .text-link { display: inline-flex; align-items: center; gap: 8px; }
.project-case-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 26px); }
.project-case-related > a { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dce7ef; border-radius: 14px; background: #fff; }
.project-case-related > a:hover { border-color: #9ac7e5; }
.project-case-related img { width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; }
.project-case-related div { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: clamp(15px, 2vw, 26px); }
.project-case-related h3 { font-size: clamp(1.0625rem, 1.45vw, 1.375rem); line-height: 1.35; overflow-wrap: anywhere; }
.project-case-related > a:hover h3 { color: var(--brand); }
.project-case-related span { display: flex; gap: 8px; align-items: center; margin-top: auto; font-size: .9rem; color: var(--brand); font-weight: 750; }
.project-case-lightbox { width: min(1280px, calc(100% - 32px)); max-width: 100%; max-height: 94dvh; margin: auto; padding: 12px 16px 16px; background: #0d2334; color: #fff; }
.project-case-lightbox::backdrop { background: #091e30dc; }
.project-case-lightbox-top { display: flex; justify-content: space-between; align-items: center; padding: 0 0 9px 7px; }
.project-case-lightbox-top button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #ffffff40; border-radius: 8px; background: transparent; color: #fff; }
.project-case-lightbox-top button:hover { background: #ffffff24; }
.project-case-lightbox-top .icon { width: 18px; height: 18px; }
.project-case-lightbox-frame { position: relative; }
.project-case-lightbox-frame img { width: 100%; height: min(72dvh, 950px); object-fit: contain; }
.project-case-lightbox .project-case-arrow.is-prev { left: 4px; }
.project-case-lightbox .project-case-arrow.is-next { right: 4px; }
.project-case-lightbox p { margin: 10px 7px 0; color: #dfedf5; }

@media (max-width: 890px) {
  .project-case-layout { grid-template-columns: minmax(0, 1fr); }
  .project-case-preview { height: clamp(240px, 60vw, 520px); }
  .project-case-aside { position: static; }
}
@media (max-width: 650px) {
  .project-case-crumbs [aria-current] { display: none; }
  .project-case-preview { border-radius: 12px; }
  .project-case-zoom { right: 9px; bottom: 9px; }
  .project-case-arrow.is-prev { left: 8px; }
  .project-case-arrow.is-next { right: 8px; }
  .project-case-related { grid-template-columns: minmax(0, 1fr); }
  .project-case-related > a { display: grid; grid-template-columns: minmax(0, 1fr); }
  .project-case-related > a:has(img) { grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); }
  .project-case-related img { height: 100%; min-height: 100px; aspect-ratio: auto; }
}
