:root {
  --paper: #fbfaf6;
  --ink: #171717;
  --muted: #63615c;
  --line: #dedad1;
  --panel: #ffffff;
  --sun: #f4b740;
  --coral: #f05a38;
  --teal: #0f8b8d;
  --leaf: #315c3f;
  --blue: #2c4f7c;
  --shadow: 0 18px 50px rgba(30, 28, 24, 0.12);
  --radius: 8px;
  --max: 1180px;
  --header-offset: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--sun);
  color: var(--ink);
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  white-space: nowrap;
}

.site-nav a {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 36px;
  width: min(var(--max), calc(100% - 48px));
  min-height: 640px;
  margin: 0 auto;
  padding: 4px 0 64px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-text {
  max-width: 680px;
  margin: 22px 0 0;
  color: #3f3d39;
  font-size: 1.08rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 10px 16px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 750;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: var(--panel);
}

.button.full {
  width: 100%;
  background: var(--sun);
}

.button:hover,
.copy-button:hover {
  transform: translateY(-1px);
}

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 108px;
  gap: 10px;
  min-height: 560px;
}

.mosaic-tile {
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: var(--radius);
  background: #e8e3d8;
  box-shadow: var(--shadow);
}

.mosaic-tile img {
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.mosaic-tile:hover img {
  transform: scale(1.04);
}

.tile-1 {
  grid-column: span 2;
  grid-row: span 3;
}

.tile-2 {
  grid-column: span 3;
  grid-row: span 2;
}

.tile-3,
.tile-4,
.tile-8 {
  grid-column: span 2;
  grid-row: span 2;
}

.tile-5,
.tile-6,
.tile-7,
.tile-9,
.tile-10 {
  grid-column: span 1;
  grid-row: span 2;
}

.section-shell,
.gallery-layout,
.text-page,
.case-page {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section-shell {
  padding: 82px 0 10px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2,
.gallery-toolbar h2,
.insight-panel h2,
.prompt-panel h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.14;
}

.faq-section {
  padding: 18px 0 96px;
}

.faq-grid {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.faq-item summary {
  min-height: 58px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.25;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.category-filter {
  position: sticky;
  top: calc(var(--header-offset) - 1px);
  z-index: 45;
  scroll-margin-top: calc(var(--header-offset) + 16px);
  margin-bottom: 20px;
  padding: 6px 0;
  border-block: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(16px);
}

.category-panel {
  appearance: none;
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.category-panel:hover,
.category-panel.active {
  border-color: var(--ink);
  background: #fff8df;
  box-shadow: 0 10px 30px rgba(30, 28, 24, 0.08);
  transform: translateY(-2px);
}

.category-panel h3 {
  margin: 0;
  font-size: 1.02rem;
}

.gallery-layout {
  scroll-margin-top: var(--header-offset);
  padding: 82px 0 54px;
}

.gallery-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.gallery-toolbar p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.case-card picture,
.case-card .card-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f2efe6;
}

.case-card img {
  height: 100%;
  object-fit: contain;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.card-meta span,
.tag-row span,
.review-note {
  border-radius: 999px;
  padding: 4px 8px;
  background: #eef6f4;
  color: #0a6e70;
  font-size: 0.78rem;
  font-weight: 800;
}

.card-body h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.card-body p {
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.88rem;
}

.card-footer strong {
  color: var(--ink);
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top span,
.back-to-top strong {
  display: block;
  line-height: 1;
}

.back-to-top span {
  font-size: 1.08rem;
}

.back-to-top strong {
  font-size: 0.72rem;
  letter-spacing: 0;
}

.back-to-top:hover {
  background: var(--teal);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 0 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.breadcrumb a {
  color: var(--teal);
  font-weight: 750;
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 34px;
  align-items: start;
  padding: 10px 0 56px;
}

.case-media {
  min-width: 0;
}

.case-media:not(.image-stack) {
  display: grid;
  gap: 12px;
}

.case-media figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f2efe6;
}

.case-media figure img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
}

.primary-shot {
  grid-column: 1 / -1;
}

.secondary-shot {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
}

.secondary-shot img {
  max-height: 100%;
}

.image-stack {
  display: grid;
  gap: 14px;
}

.image-stack-stage {
  position: relative;
  display: grid;
  padding: 0 26px 26px 0;
  isolation: isolate;
}

.stack-slide {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translate(0, 0) scale(1);
  transform-origin: center;
  transition:
    opacity 180ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.stack-slide img {
  max-height: min(74vh, 720px);
}

.stack-slide.is-active {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, 0) scale(1);
  box-shadow: 0 22px 52px rgba(30, 28, 24, 0.18);
}

.stack-slide.is-next {
  z-index: 3;
  opacity: 0.62;
  transform: translate(14px, 14px) scale(0.985);
}

.stack-slide.is-after {
  z-index: 2;
  opacity: 0.36;
  transform: translate(26px, 26px) scale(0.97);
}

.image-stack-controls {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 42px;
  gap: 10px;
  align-items: center;
}

.stack-nav {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.55rem;
  font-weight: 850;
  line-height: 1;
}

.stack-nav:hover {
  background: var(--sun);
  transform: translateY(-1px);
}

.stack-dots {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: center;
}

.stack-dots button {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(23, 23, 23, 0.38);
  border-radius: 999px;
  padding: 0;
  background: var(--panel);
  cursor: pointer;
}

.stack-dots button.active {
  width: 24px;
  border-color: var(--ink);
  background: var(--teal);
}

.stack-counter {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.case-summary {
  position: sticky;
  top: 92px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.case-summary h1 {
  margin: 0;
  font-size: 2.65rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.case-summary > p {
  color: var(--muted);
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.meta-list div,
.insight-panel dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.meta-list dt,
.insight-panel dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.meta-list dd,
.insight-panel dd {
  margin: 0;
  min-width: 0;
}

.meta-list a {
  color: var(--teal);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-note {
  display: block;
  margin-top: 16px;
  border-radius: var(--radius);
  background: #fff2c8;
  color: #6a4a00;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.prompt-panel,
.insight-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 0;
}

.copy-button {
  min-height: 38px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 7px 12px;
  background: var(--sun);
  cursor: pointer;
  font-weight: 800;
}

pre {
  max-height: 760px;
  margin: 0;
  overflow: auto;
  padding: 18px;
  white-space: pre-wrap;
  word-break: break-word;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
}

.insight-panel {
  position: sticky;
  top: 92px;
  padding: 20px;
}

.insight-panel dl {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.small-print {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.related-shell {
  padding-bottom: 92px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.related-card img {
  aspect-ratio: 16 / 10;
  background: #f2efe6;
  object-fit: contain;
}

.related-card span,
.related-card strong {
  display: block;
  padding: 0 14px;
}

.related-card span {
  margin-top: 14px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.related-card strong {
  padding-bottom: 16px;
  overflow-wrap: anywhere;
}

.text-page {
  padding: 68px 0 96px;
}

.text-page article {
  max-width: 820px;
}

.text-page h1 {
  margin: 0 0 22px;
  font-size: 3rem;
  line-height: 1.08;
}

.text-page h2 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
}

.text-page p {
  color: #3f3d39;
}

.text-page a {
  color: var(--teal);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.text-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
}

.text-stats div {
  padding: 18px;
  background: var(--panel);
}

.text-stats strong,
.text-stats span {
  display: block;
}

.text-stats strong {
  font-size: 1.8rem;
}

.text-stats span {
  color: var(--muted);
}

.contact-box {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

body.modal-open {
  overflow: hidden;
}

.case-modal[hidden] {
  display: none;
}

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 16, 0.68);
  backdrop-filter: blur(8px);
}

.case-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  outline: none;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 850;
  line-height: 1;
}

.case-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.84fr);
  gap: 0;
  max-height: inherit;
}

.preview-media {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: 22px;
  background: #f2efe6;
}

.preview-media figure {
  display: grid;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 96px);
  margin: 0;
  place-items: center;
}

.preview-media img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
}

.preview-nav {
  position: absolute;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 850;
  line-height: 1;
  transform: translateY(-50%);
}

.preview-nav.previous {
  left: 18px;
}

.preview-nav.next {
  right: 18px;
}

.preview-count {
  position: absolute;
  right: 18px;
  bottom: 16px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.preview-detail {
  min-width: 0;
  overflow: auto;
  padding: 28px;
}

.preview-detail h2 {
  margin: 0;
  padding-right: 42px;
  font-size: 2rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.preview-detail > p {
  color: var(--muted);
}

.preview-meta {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.preview-meta div {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.preview-meta dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.preview-meta dd {
  min-width: 0;
  margin: 0;
}

.preview-meta a {
  color: var(--teal);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.preview-prompt {
  max-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #f2efe6;
}

.site-footer p {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.site-footer a {
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 1020px) {
  :root {
    --header-offset: 118px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero,
  .case-hero,
  .content-grid,
  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 4px;
  }

  .hero-copy h1,
  .case-summary h1,
  .text-page h1 {
    font-size: 2.5rem;
  }

  .hero-mosaic {
    min-height: 420px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .category-filter {
    top: calc(var(--header-offset) - 1px);
  }

  .case-summary,
  .insight-panel {
    position: static;
  }

  .content-grid {
    gap: 18px;
  }

  .case-modal-body {
    grid-template-columns: 1fr;
  }

  .preview-media {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-offset: 116px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .hero,
  .section-shell,
  .gallery-layout,
  .text-page,
  .case-page {
    width: min(100% - 32px, var(--max));
  }

  .hero {
    padding-top: 4px;
  }

  .hero-copy h1,
  .case-summary h1,
  .text-page h1 {
    font-size: 2.05rem;
  }

  .hero-mosaic {
    grid-auto-rows: 82px;
    min-height: 330px;
  }

  .card-grid,
  .related-grid,
  .text-stats {
    grid-template-columns: 1fr;
  }

  .category-filter {
    margin-right: -16px;
    margin-left: -16px;
    padding: 8px 16px;
  }

  .category-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }

  .category-panel {
    flex: 0 0 150px;
    min-height: 52px;
    padding: 10px 14px;
    scroll-snap-align: start;
  }

  .category-panel h3 {
    margin: 0;
    font-size: 0.96rem;
  }

  .section-heading,
  .gallery-toolbar,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-media {
    grid-template-columns: 1fr;
  }

  .primary-shot,
  .secondary-shot {
    grid-column: auto;
  }

  .case-summary,
  .prompt-panel,
  .insight-panel {
    padding: 18px;
  }

  .panel-heading {
    padding: 0;
  }

  pre {
    padding: 14px 0 0;
  }

  .meta-list div,
  .insight-panel dl div,
  .preview-meta div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .case-modal {
    padding: 10px;
  }

  .case-modal-panel {
    max-height: calc(100vh - 20px);
  }

  .preview-media {
    min-height: 280px;
    padding: 12px;
  }

  .preview-media img {
    max-height: 58vh;
  }

  .preview-detail {
    padding: 18px;
  }

  .preview-detail h2 {
    font-size: 1.55rem;
  }

  .preview-nav {
    width: 38px;
    height: 38px;
  }
}
