.cases-page { background: #fbfbfd; }
.cases-main { padding-bottom: 0; }
.cases-shell { width: min(1180px, calc(100% - 48px)); margin-right: auto; margin-left: auto; }
.cases-kicker { margin: 0 0 18px; color: #0b8065; font-size: 11px; font-weight: 800; }
.cases-hero { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(42px, 7vw, 96px); align-items: center; padding-top: clamp(72px, 8vw, 116px); padding-bottom: clamp(72px, 8vw, 112px); }
.cases-hero h1 { margin: 0; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: clamp(40px, 4.2vw, 58px); font-weight: 400; line-height: 1.12; }
.cases-hero-copy > p:not(.cases-kicker, .library-progress) { max-width: 480px; margin: 28px 0 0; color: #6e6e73; font-size: 15px; line-height: 1.78; }
.library-progress { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; color: #4f5451; font-size: 11px; font-weight: 700; }
.library-progress span + span::before { margin-right: 20px; color: #b6bab7; content: "·"; }
.cases-hero-media { margin: 0; overflow: hidden; border-radius: 6px; background: #eceeed; }
.cases-hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.featured-case, .case-library, .learning-paths { padding-top: clamp(82px, 9vw, 126px); padding-bottom: clamp(82px, 9vw, 126px); border-top: 1px solid rgba(29, 29, 31, .1); }
.cases-section-head { display: grid; grid-template-columns: minmax(130px, .35fr) minmax(0, 1fr); gap: 36px; align-items: end; margin-bottom: 40px; }
.cases-section-head > p { margin: 0 0 7px; color: #0b8065; font-size: 11px; font-weight: 800; }
.cases-section-head h2 { margin: 0; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: clamp(34px, 4vw, 50px); font-weight: 400; line-height: 1.15; }
.cases-section-head span { display: block; margin-top: 12px; color: #77777c; font-size: 12px; }
.featured-case-link { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: clamp(34px, 6vw, 78px); align-items: center; color: #1d1d1f; text-decoration: none; }
.featured-case-media { overflow: hidden; border-radius: 5px; background: #eaedeb; }
.featured-case-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.featured-case-link:hover img { transform: scale(1.015); }
.case-status { display: flex; gap: 9px; margin: 0; color: #0b8065; font-size: 11px; font-weight: 800; }
.case-status span + span::before { margin-right: 9px; color: #bababe; content: "·"; }
.featured-case-copy h3 { margin: 16px 0; font-size: clamp(25px, 2.8vw, 36px); font-weight: 620; line-height: 1.25; }
.featured-case-copy > p:not(.case-status) { margin: 0; color: #6e6e73; font-size: 14px; line-height: 1.75; }
.case-link-text { display: inline-block; margin-top: 24px; color: #36363a; font-size: 12px; font-weight: 760; }
.featured-case-link:hover h3, .featured-case-link:hover .case-link-text { color: #0071e3; }

.case-library { padding-bottom: clamp(96px, 10vw, 144px); }
.library-heading { margin-bottom: 32px; }
.library-tools { display: grid; grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 18px 0; border-top: 1px solid rgba(29, 29, 31, .14); border-bottom: 1px solid rgba(29, 29, 31, .14); }
.library-search { position: relative; display: block; }
.library-search::before { position: absolute; top: 50%; left: 14px; width: 12px; height: 12px; border: 1.5px solid #74777a; border-radius: 50%; content: ""; transform: translateY(-58%); }
.library-search::after { position: absolute; top: calc(50% + 5px); left: 25px; width: 5px; height: 1.5px; background: #74777a; content: ""; transform: rotate(45deg); }
.library-search input { width: 100%; height: 42px; padding: 0 14px 0 42px; border: 1px solid rgba(29, 29, 31, .14); border-radius: 6px; outline: none; background: #fff; color: #1d1d1f; font: inherit; font-size: 12px; }
.library-search input:focus { border-color: rgba(0, 113, 227, .58); box-shadow: 0 0 0 3px rgba(0, 113, 227, .08); }
.library-filters { display: flex; justify-content: flex-end; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.library-filters::-webkit-scrollbar { display: none; }
.library-filters button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 4px; background: transparent; color: #68686d; font: inherit; font-size: 11px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.library-filters button:hover { background: #f0f1f1; color: #1d1d1f; }
.library-filters button[aria-pressed="true"] { background: #1d1d1f; color: #fff; }
.library-result { margin: 18px 0 24px; color: #87878c; font-size: 11px; }
.library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.library-card { display: flex; min-width: 0; min-height: 360px; flex-direction: column; overflow: hidden; border: 1px solid rgba(29, 29, 31, .1); border-radius: 6px; background: #fff; color: #1d1d1f; text-decoration: none; }
.library-card-visual, .library-card-placeholder { aspect-ratio: 16 / 9; background: #e9edeb; }
.library-card-visual { overflow: hidden; }
.library-card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.library-card.is-published:hover img { transform: scale(1.018); }
.library-card-placeholder { display: flex; align-items: flex-end; justify-content: space-between; padding: 18px; background: #e8ebe7; color: #355148; }
.library-card-placeholder span { font-family: Georgia, serif; font-size: 42px; font-weight: 400; }
.library-card-placeholder strong { font-size: 9px; }
.library-card-placeholder.tone-green { background: #dfe9e2; color: #285442; }
.library-card-placeholder.tone-blue { background: #e2e8ed; color: #34506a; }
.library-card-placeholder.tone-moss { background: #e8eadf; color: #565f35; }
.library-card-placeholder.tone-rose { background: #eee5e4; color: #6b4542; }
.library-card-placeholder.tone-gold { background: #eee9dc; color: #6a5731; }
.library-card-placeholder.tone-cyan { background: #deebea; color: #2d5c5a; }
.library-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.library-card-body > p:first-child { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 18px; color: #0b8065; font-size: 10px; font-weight: 800; }
.library-card-body > p:first-child strong { color: #909095; font-weight: 750; }
.library-card.is-published .library-card-body > p:first-child strong { color: #0b8065; }
.library-card-body h3 { margin: 0 0 11px; font-size: 20px; font-weight: 650; line-height: 1.3; }
.library-card-body > p:not(:first-child) { margin: 0; color: #6e6e73; font-size: 12px; line-height: 1.7; }
.library-card-link { margin-top: auto; padding-top: 22px; color: #3f4144; font-size: 11px; font-weight: 750; }
.library-card.is-published:hover h3, .library-card.is-published:hover .library-card-link { color: #0071e3; }
.library-empty { margin: 54px 0 0; padding: 50px 20px; border-top: 1px solid rgba(29, 29, 31, .12); border-bottom: 1px solid rgba(29, 29, 31, .12); color: #77777c; font-size: 13px; text-align: center; }

.learning-paths { padding-bottom: clamp(96px, 10vw, 142px); }
.learning-path-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid rgba(29, 29, 31, .14); list-style: none; }
.learning-path-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 28px 28px 28px 0; border-bottom: 1px solid rgba(29, 29, 31, .14); }
.learning-path-list li + li { padding-left: 28px; border-left: 1px solid rgba(29, 29, 31, .14); }
.learning-path-list > li > span { color: #0b8065; font-size: 10px; font-weight: 800; }
.learning-path-list h3 { margin: 0 0 9px; font-size: 18px; font-weight: 650; }
.learning-path-list p { margin: 0; color: #6e6e73; font-size: 12px; line-height: 1.7; }
.cases-principle { padding: clamp(92px, 10vw, 148px) 0; background: #f0f3ef; }
.principle-grid { display: grid; grid-template-columns: 130px minmax(300px, .8fr) minmax(300px, .7fr); gap: clamp(32px, 6vw, 82px); align-items: start; }
.principle-grid .cases-kicker { margin-top: 8px; }
.principle-grid h2 { margin: 0; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: clamp(34px, 3.8vw, 50px); font-weight: 400; line-height: 1.15; }
.principle-grid > p:last-child { max-width: 470px; margin: 7px 0 0; color: #626763; font-size: 14px; line-height: 1.8; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 940px) {
  .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-tools { grid-template-columns: 1fr; }
  .library-filters { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .cases-hero, .featured-case-link, .principle-grid { grid-template-columns: 1fr; }
  .cases-hero { gap: 36px; }
  .cases-section-head { grid-template-columns: 1fr; gap: 12px; }
  .principle-grid { gap: 28px; }
  .learning-path-list { grid-template-columns: 1fr; }
  .learning-path-list li + li { padding-left: 0; border-left: 0; }
}
@media (max-width: 680px) {
  .cases-shell { width: min(100% - 40px, 1180px); }
  .cases-hero { padding-top: 58px; padding-bottom: 72px; }
  .cases-hero h1 { font-size: 38px; }
  .library-progress { gap: 6px 12px; }
  .library-progress span + span::before { margin-right: 12px; }
  .cases-hero-media { width: calc(100% + 40px); margin-left: -20px; border-radius: 0; }
  .featured-case, .case-library, .learning-paths { padding-top: 72px; padding-bottom: 82px; }
  .featured-case-link { gap: 28px; }
  .library-grid { grid-template-columns: 1fr; }
  .library-card { min-height: 0; }
  .library-tools { padding: 14px 0; }
  .library-filters { width: calc(100% + 20px); padding-right: 20px; }
  .cases-principle { padding: 82px 0; }
}
