/* Keep the browser window; remove the graph-paper layer around it. */
.work-section { padding-bottom: 72px !important; scroll-margin-top: 92px; }
.work-section .graph-board {
  max-width: 1100px !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  animation: none !important;
}
.work-section .graph-board::before,
.work-section .graph-board::after,
.work-section .axis { display: none !important; }
.work-section .work-heading { margin: 0 0 16px !important; text-align: left; }
.work-section .work-instruction { font-size: 16px !important; color: #686158 !important; }
.work-section .project-window {
  max-width: 1100px !important;
  grid-template: 46px 1fr / 1fr !important;
  border: 1px solid #d6cdc1 !important;
  border-radius: 22px !important;
  background: #faf7f1 !important;
  box-shadow: 0 14px 40px rgba(65, 54, 45, .08) !important;
}
.work-section .window-bar { padding: 0 20px; background: #f0ece5; border-color: #ded6ca; }
.work-section .window-bar span { font-size: 15px; font-weight: 600; color: #655e55; letter-spacing: .08em; }
.work-section .project-grid { gap: 24px !important; padding: 24px !important; align-items: stretch !important; }
.work-section .project-card {
  width: calc((100% - 24px) / 2) !important;
  border: 1px solid #e5dfd5 !important;
  border-radius: 17px !important;
  background: #fffefa !important;
  box-shadow: 0 3px 12px rgba(65, 54, 45, .035) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}
.work-section .project-card img {
  aspect-ratio: 16 / 9 !important;
  filter: none !important;
  border-bottom: 1px solid #eee8df;
}
.work-section .project-copy { padding: 22px 24px 24px !important; }
.work-section .project-copy h3 {
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -.02em;
  color: #29251f !important;
}
.work-section .project-copy p:not(.project-desc) {
  margin-top: 8px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  font-weight: 600 !important;
  color: #986342 !important;
  letter-spacing: .02em !important;
}
.work-section .project-copy .project-desc {
  margin-top: 10px !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: #686158 !important;
}
.work-section .project-copy b {
  margin-top: 20px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 22px !important;
  border-radius: 12px !important;
  background: #302c26 !important;
}
.work-section .project-copy b::after {
  content: '打开作品 ↗' !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  letter-spacing: .02em !important;
}
.work-section .project-card:focus-visible { outline: 3px solid #e76525; outline-offset: 4px; }
@media (hover: hover) {
  .work-section .project-card:hover {
    border-color: #c9b5a1 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(65, 54, 45, .1) !important;
  }
  .work-section .project-card:hover .project-copy b { background: #ba4e20 !important; }
}
@media (max-width: 600px) {
  .work-section { padding-bottom: 48px !important; }
  .work-section .work-instruction { font-size: 15px !important; }
  .work-section .project-window { border-radius: 18px !important; grid-template: 44px 1fr / 1fr !important; }
  .work-section .window-bar { padding: 0 16px; }
  .work-section .project-grid { padding: 14px !important; gap: 16px !important; }
  .work-section .project-card { width: 100% !important; border-radius: 14px !important; }
  .work-section .project-copy { padding: 18px 18px 20px !important; }
  .work-section .project-copy h3 { font-size: 22px !important; }
  .work-section .project-copy .project-desc { font-size: 15px !important; line-height: 1.75 !important; }
  .work-section .project-copy b { margin-top: 16px !important; }
  .work-section .project-card:hover { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .work-section .project-card { transition: none !important; }
}
