/* AVION 공통 품질 개선. 기존 CSS 이후 로드하며 외관을 유지합니다. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.overlay {height: 100vh; height: 100dvh; width: 100%;}
.menu-panel {height: 100vh; height: 100dvh; overflow-y: auto;}
body.menu-open #backBtn, body.menu-open #postNav {opacity:0 !important; pointer-events:none !important;}
.project-popup-trigger {
  display:block; width:100%; padding:0; border:0; background:transparent;
  appearance:none; cursor:zoom-in; text-align:inherit;
}
.project-popup-trigger img {display:block; width:100%;}
:where(button, a):focus-visible {outline:2px solid #d01a6f; outline-offset:4px;}
@media (prefers-reduced-motion: reduce) {
  .scroll-indicator {animation:none !important;}
  .rotating-text {transition:none !important;}
  .project-card {transition:none !important;}
  .img-popup.show {animation:none !important;}
  html:focus-within {scroll-behavior:auto !important;}
}


/* 2026-10-19 추가 수정: Works 썸네일 비율 왜곡 방지 */
.project-card > a,
.project-card > button,
.project-popup-trigger {
  display: block;
  width: 100%;
  line-height: 0;
}

.project-card img,
.project-card > a img,
.project-card > button img,
.project-popup-trigger img {
  display: block;
  width: 100%;
  height: auto !important;
  max-width: 100%;
  vertical-align: top;
}

/* AVION:WORKS_OVERLAY_INFO_V1 — 70% black overlay, 2 centered data-only rows */
.project-card > a,
.project-card > .project-popup-trigger {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}
.project-card .works-hover-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  padding: 12px 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.project-card:hover .works-hover-layer,
.project-card:focus-within .works-hover-layer {
  opacity: 1;
}
.project-card .works-hover-client,
.project-card .works-hover-title {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.01em;
  line-height: 1.45;
}
.project-card .works-hover-client {
  font-size: clamp(12px, 1.3vw, 17px);
  font-weight: 600;
}
.project-card .works-hover-title {
  font-size: clamp(11px, 1.1vw, 15px);
  font-weight: 400;
}
@media (max-width: 680px) {
  .project-card .works-hover-client {font-size: 16px;}
  .project-card .works-hover-title {font-size: 13px;}
}
@media (prefers-reduced-motion: reduce) {
  .project-card .works-hover-layer {transition: none;}
}

/* AVION:WORKS_ASPECT_FIX */
.project-card img{width:100%;height:auto!important;display:block;max-width:100%;vertical-align:top}
