/*
 * Yongtongli case presentation.
 * The source DOCX remains the content authority; this file only controls the
 * homepage portfolio and case-detail reading experience copied by the case
 * integrator. Keep all rules scoped to case surfaces.
 */

/* Homepage case gallery --------------------------------------------------- */
.case-showcase {
  padding: clamp(78px, 8vw, 124px) 0;
  background:
    radial-gradient(circle at 12% 18%, #fff 0, transparent 42%),
    radial-gradient(circle at 88% 78%, #dceaf5 0, transparent 42%),
    #edf5fb;
  scroll-margin-top: 76px;
}
.case-showcase .page-shell { width: min(calc(100% - 48px), 1240px); margin-inline: auto; }
.case-showcase-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 36px; }
.case-showcase-heading span { color: #32668e; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.case-showcase-heading h2 { margin: 10px 0 0; color: #183247; font-size: clamp(36px, 4.5vw, 62px); line-height: 1.12; }
.case-showcase-heading p { max-width: 34ch; margin: 0 0 4px; color: #4e6678; font-size: 15px; line-height: 1.7; }
.case-showcase-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: repeat(2, 290px); gap: 18px; }
.case-showcase-card {
  position: relative;
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  min-height: 236px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .92);
  border-radius: 16px;
  background: rgb(255 255 255 / .68);
  box-shadow: 0 16px 44px rgb(68 112 147 / .09), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  backdrop-filter: blur(22px) saturate(1.12);
  color: #213747;
  transition: transform .22s ease, box-shadow .22s ease;
}
.case-showcase-card--featured { grid-row: span 2; grid-template-columns: 1fr; grid-template-rows: minmax(300px, 1fr) auto; }
.case-showcase-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgb(68 112 147 / .17), inset 0 1px 0 #fff; }
.case-showcase-card:focus-visible,
.case-hero-link:focus-visible,
.case-hero-back:focus-visible,
.case-switcher-card:focus-visible,
.case-switcher-heading > a:focus-visible { outline: 3px solid #176b9b; outline-offset: 3px; }
.case-showcase-visual { position: relative; display: flex; min-height: 100%; overflow: hidden; background: #dceaf3; }
.case-showcase-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.case-showcase-visual.case-has-photo > span {
  position: absolute;
  bottom: 12px;
  left: 14px;
  padding: 5px 8px;
  border: 1px solid rgb(255 255 255 / .78);
  border-radius: 4px;
  background: rgb(255 255 255 / .8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #284a61;
  font-size: 11px;
}
.case-showcase-visual.case-no-photo {
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 16px;
  border-right: 1px solid rgb(255 255 255 / .88);
  color: #2a516c;
  background:
    radial-gradient(circle at 100% 0, rgb(255 255 255 / .9), transparent 56%),
    repeating-linear-gradient(90deg, transparent 0 27px, rgb(100 150 188 / .07) 28px),
    rgb(230 242 251 / .66);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  backdrop-filter: blur(22px) saturate(1.12);
}
.case-showcase-visual.case-no-photo small { font-size: 10px; letter-spacing: .16em; }
.case-showcase-visual.case-no-photo strong { font-size: clamp(15px, 1.5vw, 21px); line-height: 1.3; }
.case-showcase-visual.case-no-photo span { font-size: 11px; opacity: .8; }
.case-showcase-info { display: flex; flex-direction: column; align-items: start; padding: clamp(20px, 2.3vw, 32px); }
.case-showcase-info > span { color: #4f7591; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.case-showcase-info h3 { margin: 14px 0 9px; color: #183247; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.3; }
.case-showcase-info p { display: -webkit-box; overflow: hidden; margin: 0; color: #607687; font-size: 13px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.case-showcase-info b { margin-top: auto; padding-top: 22px; color: #176b9b; font-size: 13px; }

/* Case detail foundation ------------------------------------------------- */
.case-page {
  --case-ink: #17364a;
  --case-muted: #5c7485;
  --case-accent: #126c9d;
  --case-line: #cfdee8;
  background:
    radial-gradient(circle at 0 5%, rgb(218 237 249 / .55), transparent 30rem),
    #f7fafc;
}
.case-page .guide-header { background: rgb(255 255 255 / .9); box-shadow: 0 8px 32px rgb(55 99 129 / .05); }

/* Integrated project-file masthead. */
.case-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3.4vw, 48px) 0 clamp(78px, 7vw, 106px);
  color: var(--case-ink);
  background:
    radial-gradient(circle at 8% 14%, #fff 0, transparent 42%),
    radial-gradient(circle at 92% 74%, #d4e8f5 0, transparent 43%),
    #eaf4fa;
}
.case-hero::before {
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image:
    linear-gradient(rgb(105 153 184 / .07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(105 153 184 / .07) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.case-hero .guide-shell { position: relative; z-index: 1; }
.case-hero .guide-breadcrumb { margin-bottom: 26px; color: #4c6b7e; }
.case-hero .guide-breadcrumb a { transition: color .18s ease; }
.case-hero .guide-breadcrumb a:hover { color: var(--case-accent); }
.case-hero-grid {
  display: grid;
  min-height: clamp(540px, 55vw, 640px);
  overflow: hidden;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  border: 1px solid rgb(255 255 255 / .92);
  border-radius: 28px;
  background: rgb(255 255 255 / .58);
  box-shadow: 0 34px 90px rgb(59 105 138 / .16), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(26px) saturate(1.12);
  backdrop-filter: blur(26px) saturate(1.12);
}
.case-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding: clamp(42px, 5.8vw, 76px);
}
.case-hero-copy::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 3px;
  background: linear-gradient(90deg, var(--case-accent), transparent);
  content: "";
}
.case-hero-meta { display: flex; width: 100%; justify-content: space-between; gap: 20px; margin-bottom: auto; color: #56758a; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.case-hero-meta span:last-child { color: var(--case-accent); font-variant-numeric: tabular-nums; }
.case-kicker { margin: clamp(38px, 6vw, 72px) 0 18px; color: #397596; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.case-hero h1 { max-width: 11.5em; margin: 0; color: var(--case-ink); font-size: clamp(42px, 4.55vw, 66px); line-height: 1.12; letter-spacing: -.05em; text-wrap: balance; }
.case-hero-full { max-width: 39em; margin: 24px 0 0; color: #4b6678; font-family: "SimSun", "Songti SC", serif; font-size: 16px; line-height: 1.85; text-wrap: pretty; }
.case-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: auto; padding-top: clamp(34px, 5vw, 58px); }
.case-hero-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  padding: 0 18px;
  border: 1px solid #77abc9;
  border-radius: 4px;
  background: #fafdff;
  box-shadow: 0 10px 24px rgb(42 103 140 / .09);
  color: var(--case-accent);
  font-size: 14px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.case-hero-link:hover { color: #fff; background: var(--case-accent); box-shadow: 0 14px 30px rgb(18 108 157 / .22); transform: translateY(-2px); }
.case-hero-back { color: #526f82; font-size: 13px; font-weight: 700; text-decoration: underline; text-decoration-color: #b9cfdd; text-underline-offset: 5px; transition: color .18s ease; }
.case-hero-back:hover { color: var(--case-accent); }
.case-hero-visual { position: relative; min-width: 0; min-height: 100%; margin: 0; overflow: hidden; border-left: 1px solid rgb(255 255 255 / .88); background: #d9e8f1; }
.case-hero-visual.case-has-photo { display: flex; align-items: stretch; justify-content: center; }
.case-hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; transition: transform .7s cubic-bezier(.2, .75, .25, 1); }
.case-hero-grid:hover .case-hero-visual img { transform: scale(1.018); }
.case-hero-visual figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 8px 11px;
  border: 1px solid rgb(255 255 255 / .8);
  border-radius: 4px;
  background: rgb(255 255 255 / .82);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  color: #24485f;
  font-size: 11px;
}
.case-hero-visual.case-no-photo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 4.5vw, 58px);
  isolation: isolate;
  color: #28536f;
  background:
    radial-gradient(circle at 82% 17%, rgb(255 255 255 / .96), transparent 0 16%, transparent 17%),
    radial-gradient(circle at 82% 17%, transparent 0 28%, rgb(72 125 158 / .13) 28.2% 28.5%, transparent 28.7%),
    repeating-linear-gradient(90deg, transparent 0 47px, rgb(79 134 169 / .075) 48px),
    linear-gradient(145deg, rgb(244 250 253 / .92), rgb(207 228 241 / .74));
}
.case-hero-visual.case-no-photo::before {
  position: absolute;
  top: 18%;
  right: -14%;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgb(54 112 149 / .18);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgb(255 255 255 / .18), 0 0 0 31px rgb(54 112 149 / .1);
  content: "";
  z-index: -1;
}
.case-hero-visual.case-no-photo::after { position: absolute; right: 9%; bottom: 14%; color: rgb(32 91 126 / .12); font-size: clamp(120px, 15vw, 220px); font-weight: 900; line-height: .7; content: "01"; z-index: -1; }
.case-hero-visual .case-visual-index { font-size: 11px; font-weight: 800; letter-spacing: .22em; }
.case-hero-visual.case-no-photo strong { max-width: 8ch; margin-block: auto; color: #183f58; font-size: clamp(46px, 5vw, 72px); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.case-hero-visual.case-no-photo > span:last-child { width: max-content; max-width: 100%; padding-top: 14px; border-top: 1px solid rgb(54 112 149 / .23); color: #567487; font-size: 12px; }

/* Project facts overlap the hero to connect masthead and story. */
.case-facts { position: relative; z-index: 3; background: transparent; }
.case-facts-grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: -42px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / .94);
  border-radius: 16px;
  background: rgb(255 255 255 / .88);
  box-shadow: 0 20px 52px rgb(47 94 126 / .13), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.case-facts-grid > div { display: grid; min-width: 0; gap: 7px; padding: 24px 28px; border-left: 1px solid var(--case-line); }
.case-facts-grid > div:first-child { border-left: 0; }
.case-facts-grid span { color: #728898; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.case-facts-grid strong { overflow: hidden; color: var(--case-ink); font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }

/* Executive summary ------------------------------------------------------ */
.case-overview { padding: clamp(62px, 7vw, 96px) 0; background: transparent; }
.case-overview-grid { display: grid; grid-template-columns: minmax(190px, .58fr) minmax(0, 1.42fr); gap: clamp(48px, 8vw, 112px); padding: 0; }
.case-overview-heading { position: relative; padding-top: 10px; }
.case-overview-heading::before { display: block; width: 44px; height: 3px; margin-bottom: 24px; background: var(--case-accent); content: ""; }
.case-overview-heading span { color: #397498; font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.case-overview-heading h2 { margin: 12px 0 14px; color: var(--case-ink); font-size: clamp(30px, 3vw, 42px); letter-spacing: -.03em; }
.case-overview-heading p { max-width: 18em; margin: 0; color: var(--case-muted); font-size: 13px; line-height: 1.75; }
.case-overview-copy { position: relative; max-width: 72ch; padding: clamp(28px, 3.5vw, 42px); border: 1px solid rgb(209 225 235 / .9); border-radius: 18px; background: rgb(255 255 255 / .7); box-shadow: 0 18px 48px rgb(52 98 129 / .07), inset 0 1px 0 #fff; }
.case-overview-copy::before { position: absolute; top: 20px; right: 24px; color: rgb(25 102 145 / .1); font-family: Georgia, serif; font-size: 64px; line-height: 1; content: "“"; }
.case-overview-copy > p { position: relative; margin: 0 0 22px; color: #213f53; font-family: "SimSun", "Songti SC", serif; font-size: 19px; line-height: 1.95; }
.case-overview-copy details { border-top: 1px solid #ccdde9; }
.case-overview-copy summary { display: flex; justify-content: space-between; padding: 15px 0 4px; color: var(--case-accent); font-size: 14px; font-weight: 800; cursor: pointer; list-style: none; }
.case-overview-copy summary::-webkit-details-marker { display: none; }
.case-overview-copy details p { margin: 0; padding: 18px 0 4px; color: #415d72; font-family: "SimSun", "Songti SC", serif; font-size: 16px; line-height: 1.95; }

/* Long-form case story --------------------------------------------------- */
.case-page .guide-content { grid-template-columns: minmax(0, 1fr) 270px; gap: clamp(38px, 5vw, 70px); padding-top: 34px; padding-bottom: clamp(82px, 8vw, 118px); }
.case-page .guide-article { counter-reset: case-section; }
.case-page .guide-article > section[id^="section-"] {
  position: relative;
  counter-increment: case-section;
  margin-bottom: 22px;
  padding: clamp(34px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid #d7e4ec;
  border-radius: 20px;
  background: rgb(255 255 255 / .86);
  box-shadow: 0 18px 46px rgb(53 93 119 / .065);
  scroll-margin-top: 96px;
}
.case-page .guide-article > section[id^="section-"]::before {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgb(25 91 130 / .09);
  font-size: clamp(58px, 7vw, 92px);
  font-weight: 900;
  line-height: 1;
  content: "0" counter(case-section);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.case-page .guide-article section + section { border-top: 1px solid #d7e4ec; }
.case-page .guide-article h2 { position: relative; max-width: 23em; margin: 0 0 26px; padding: 0 70px 0 0; color: var(--case-ink); font-size: clamp(25px, 2.35vw, 34px); line-height: 1.42; letter-spacing: -.025em; text-wrap: balance; }
.case-page .guide-article h2::before { display: block; width: 38px; height: 3px; margin-bottom: 18px; background: var(--case-accent); content: ""; }
.case-page .guide-article p,
.case-page .guide-article li { max-width: 66ch; color: #314d60; }
.case-page .guide-article p { margin-bottom: 20px; }
.case-page .guide-article ul,
.case-page .guide-article ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; max-width: none; margin: 24px 0 28px; padding: 0; }
.case-page .guide-article li { position: relative; margin: 0; padding: 16px 16px 16px 34px; border: 1px solid #d8e6ee; border-radius: 10px; background: #f1f7fa; font-size: 15px; line-height: 1.75; list-style: none; }
.case-page .guide-article li::before { position: absolute; top: 24px; left: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--case-accent); box-shadow: 0 0 0 4px rgb(18 108 157 / .1); content: ""; }
.case-page .guide-article h3 { margin: 24px 0 0; padding: 18px 52px 18px 20px; border: 1px solid #d6e4ec; border-radius: 10px 10px 0 0; background: #f5f9fb; color: #24475e; font-size: 18px; line-height: 1.55; }
.case-page .guide-article h3 + p { margin: 0 0 12px; padding: 19px 20px 22px; border: 1px solid #d6e4ec; border-top: 0; border-radius: 0 0 10px 10px; background: #fff; }
.case-page .guide-sources { margin-top: 28px; padding: clamp(28px, 3.5vw, 40px); border: 1px solid #d7e4ec; border-radius: 18px; background: #edf5f9; }
.case-page .guide-sources h2 { padding-right: 0; font-size: 26px; }
.case-page .guide-sources ol { grid-template-columns: 1fr; margin-bottom: 20px; }
.case-page .guide-sources li { background: rgb(255 255 255 / .68); }
.case-page .guide-sources p:last-child { margin: 20px 0 0; border-color: #cadce7; background: rgb(255 255 255 / .76); }

/* Sticky chapter rail. */
.case-page .guide-aside {
  top: 96px;
  padding: 24px;
  border: 1px solid #d8e5ed;
  border-radius: 16px;
  background: rgb(255 255 255 / .78);
  box-shadow: 0 16px 40px rgb(52 91 116 / .07), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.case-page .guide-aside h2 { margin-bottom: 14px; color: var(--case-ink); font-size: 14px; letter-spacing: .08em; }
.case-page .guide-aside nav { border-top-color: #d8e5ed; }
.case-page .guide-aside nav a { position: relative; padding: 11px 0 11px 15px; border-bottom-color: #d8e5ed; color: #617889; font-size: 12px; line-height: 1.55; transition: color .18s ease, transform .18s ease; }
.case-page .guide-aside nav a::before { position: absolute; top: 18px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #aec6d5; content: ""; }
.case-page .guide-aside nav a:hover { color: var(--case-accent); transform: translateX(3px); }
.case-page .guide-aside nav a:hover::before { background: var(--case-accent); }
.case-page .guide-aside .guide-call { gap: 7px; margin-top: 22px; padding: 18px; border: 0; border-radius: 10px; background: var(--case-ink); }
.case-page .guide-aside .guide-call span { color: #bcd0dc; font-size: 11px; }
.case-page .guide-aside .guide-call strong { color: #fff; font-size: 23px; font-variant-numeric: tabular-nums; }

/* Three-case project switcher ------------------------------------------- */
.case-switcher { padding: clamp(72px, 8vw, 110px) 0; border-top: 1px solid #d7e5ed; background: #eaf3f8; }
.case-switcher-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.case-switcher-heading span { color: #397498; font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.case-switcher-heading h2 { margin: 10px 0 0; color: var(--case-ink); font-size: clamp(32px, 4vw, 48px); letter-spacing: -.035em; }
.case-switcher-heading > a { color: var(--case-accent); font-size: 13px; font-weight: 800; }
.case-switcher-heading > a span { margin-left: 8px; font-size: 16px; letter-spacing: 0; }
.case-switcher-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.case-switcher-card { position: relative; display: flex; min-height: 228px; flex-direction: column; padding: 26px; overflow: hidden; border: 1px solid rgb(255 255 255 / .95); border-radius: 14px; background: rgb(255 255 255 / .72); box-shadow: 0 14px 36px rgb(45 89 117 / .07), inset 0 1px 0 #fff; transition: color .2s ease, transform .2s ease, box-shadow .2s ease; }
.case-switcher-card::after { position: absolute; right: -36px; bottom: -68px; width: 150px; height: 150px; border: 1px solid rgb(31 104 146 / .12); border-radius: 50%; content: ""; }
.case-switcher-card > span { color: #668397; font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.case-switcher-card strong { max-width: 13em; margin: 24px 0; color: var(--case-ink); font-size: 21px; line-height: 1.5; }
.case-switcher-card small { display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: var(--case-accent); font-size: 12px; font-weight: 800; }
.case-switcher-card small b { font-size: 16px; }
.case-switcher-card:hover { color: var(--case-accent); box-shadow: 0 22px 44px rgb(45 89 117 / .14), inset 0 1px 0 #fff; transform: translateY(-4px); }
.case-switcher-card.is-current { border-color: #8dbbd4; background: var(--case-ink); box-shadow: 0 20px 44px rgb(21 62 87 / .18); }
.case-switcher-card.is-current > span,
.case-switcher-card.is-current small { color: #9fcde6; }
.case-switcher-card.is-current strong { color: #fff; }
.case-switcher-card.is-current::after { border-color: rgb(255 255 255 / .12); }

.case-page .guide-related { background: #f7fafc; }
.case-page .guide-related-list a { border-radius: 10px; background: rgb(255 255 255 / .86); }

/* Responsive behavior ---------------------------------------------------- */
@media (max-width: 1020px) {
  .case-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); }
  .case-hero-copy { padding: 42px; }
  .case-hero h1 { font-size: clamp(40px, 5vw, 56px); }
  .case-page .guide-content { grid-template-columns: minmax(0, 1fr) 238px; gap: 30px; }
}

@media (max-width: 900px) {
  .case-showcase-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .case-showcase-card--featured { grid-row: auto; grid-template-columns: 40% minmax(0, 1fr); grid-template-rows: auto; }
  .case-hero-grid { grid-template-columns: 1fr; }
  .case-hero-copy { min-height: 500px; }
  .case-hero-visual { min-height: 460px; border-top: 1px solid rgb(255 255 255 / .88); border-left: 0; }
  .case-page .guide-content { grid-template-columns: 1fr; }
  .case-page .guide-aside { position: static; }
  .case-switcher-grid { grid-template-columns: 1fr; }
  .case-switcher-card { min-height: 180px; }
}

@media (max-width: 640px) {
  .case-showcase { padding: 64px 0; }
  .case-showcase .page-shell { width: min(calc(100% - 28px), 1240px); }
  .case-showcase-heading { display: block; }
  .case-showcase-heading p { margin-top: 14px; }
  .case-showcase-card,
  .case-showcase-card--featured { grid-template-columns: 1fr; grid-template-rows: 220px auto; }
  .case-showcase-visual { min-height: 220px; }
  .case-showcase-info { min-height: 200px; }

  .case-hero { padding: 22px 0 72px; }
  .case-hero::before { background-size: 38px 38px; }
  .case-hero .guide-breadcrumb { margin-bottom: 18px; }
  .case-hero-grid { min-height: 0; border-radius: 18px; }
  .case-hero-copy { min-height: 470px; padding: 26px 22px 30px; }
  .case-hero-meta { margin-bottom: 26px; }
  .case-kicker { margin: 26px 0 13px; font-size: 10px; }
  .case-hero h1 { max-width: none; font-size: clamp(34px, 10vw, 44px); line-height: 1.16; }
  .case-hero-full { margin-top: 17px; font-size: 14px; line-height: 1.75; }
  .case-hero-actions { gap: 16px; padding-top: 28px; }
  .case-hero-link { min-height: 44px; gap: 24px; }
  .case-hero-visual { min-height: 370px; }
  .case-hero-visual.case-no-photo { padding: 30px 24px; }
  .case-hero-visual.case-no-photo strong { font-size: 48px; }
  .case-hero-visual.case-no-photo::after { font-size: 150px; }

  .case-facts-grid { grid-template-columns: 1fr 1fr; margin-top: -35px; }
  .case-facts-grid > div { padding: 18px; }
  .case-facts-grid > div:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--case-line); border-left: 0; }
  .case-facts-grid strong { font-size: 14px; }

  .case-overview { padding: 54px 0 66px; }
  .case-overview-grid { grid-template-columns: 1fr; gap: 28px; }
  .case-overview-heading p { max-width: none; }
  .case-overview-copy { padding: 24px 20px; }
  .case-overview-copy > p { font-size: 17px; line-height: 1.85; }

  .case-page .guide-content { padding-top: 12px; }
  .case-page .guide-article > section[id^="section-"] { margin-bottom: 16px; padding: 30px 20px; border-radius: 15px; }
  .case-page .guide-article > section[id^="section-"]::before { top: 20px; right: 16px; font-size: 56px; }
  .case-page .guide-article h2 { padding-right: 44px; font-size: 25px; }
  .case-page .guide-article p,
  .case-page .guide-article li { font-size: 16px; }
  .case-page .guide-article ul,
  .case-page .guide-article ol { grid-template-columns: 1fr; }
  .case-page .guide-article h3 { padding: 16px; font-size: 17px; }
  .case-page .guide-sources { padding: 24px 20px; }
  .case-page .guide-aside { padding: 20px; }

  .case-switcher { padding: 64px 0; }
  .case-switcher-heading { display: block; }
  .case-switcher-heading > a { display: inline-block; margin-top: 18px; }
  .case-switcher-card { min-height: 168px; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .case-showcase-card,
  .case-hero-link,
  .case-hero-visual img,
  .case-page .guide-aside nav a,
  .case-switcher-card { transition: none; }
  .case-showcase-card:hover,
  .case-hero-link:hover,
  .case-switcher-card:hover { transform: none; }
}
