/* 담아내다 사진관 — 리뉴얼 홈페이지 공통 스타일 (2026-11) */
html { scroll-behavior: smooth; }
body { margin: 0; background: #1D1F20; color: #E7E2D9; font-family: 'Nanum Myeongjo', serif; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: #E7E2D9; }
a:hover { color: #FFFFFF; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* 배경 질감 */
.bg-dark { background-color: #1D1F20; background-image: url(../img/bg-dark.jpg); background-size: 1346px auto; background-repeat: repeat; }
.fade-hd { background-image: url(../img/fade.webp); background-repeat: repeat-x; background-size: auto 100%; background-position: 50% 0; }
.hatch-ink { background: repeating-linear-gradient(135deg, #BDB7AC 0 1px, #D3CDC2 1px 7px); }
.hatch-paper { background: repeating-linear-gradient(135deg, #D9D3C8 0 1px, #E7E2D9 1px 7px); }
.grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; opacity: .1; mix-blend-mode: overlay; }
.dots { background-image: radial-gradient(#E7E2D9 1px, transparent 1.4px); background-size: 8px 8px; height: 2px; background-repeat: repeat-x; opacity: .5; }

/* 글꼴 */
.mono { font-family: 'Courier Prime', monospace; }
.sans { font-family: 'Noto Sans KR', sans-serif; }
.elite { font-family: 'Special Elite', 'Courier Prime', monospace; font-weight: 400; -webkit-text-stroke: .015em currentColor; paint-order: stroke fill; }
.label { font-family: 'Courier Prime', monospace; font-size: 12px; letter-spacing: 3px; color: #A7A39B; }

/* 상단 메뉴 */
.navbar { position: fixed; top: 14px; left: 10px; z-index: 50; display: flex; flex-wrap: wrap; align-items: stretch; gap: 4px 22px; padding: 0 0 0 20px; max-width: calc(100% - 100px); box-sizing: border-box; font-family: 'Courier Prime', monospace; font-size: 17px; letter-spacing: 1px; color: #E7E2D9; transition: background .25s ease; }
.navbar.is-on { background: rgba(214, 211, 205, .94); color: #151515; }
.navbar > a, .dd > a { display: flex; align-items: center; color: inherit; text-decoration: none; padding: 12px 0; }
.navbar > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.navbar .logo { font-family: 'Nanum Myeongjo', serif; font-weight: 800; font-size: 20px; padding: 8px 0; margin-right: 10px; letter-spacing: 0; }
.navbar .res { padding: 0 20px; font-family: 'Nanum Myeongjo', serif; font-weight: 700; font-size: 16px; letter-spacing: 1px; background: rgba(228, 226, 222, .7); color: #151515; }
.navbar.is-on .res { background: #4A4844; color: #E7E2D9; }
.dd { position: relative; display: flex; align-items: stretch; }
.dd-panel { position: absolute; top: 100%; left: -20px; display: none; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 28px; padding: 26px 28px 24px; background: #E7E2D9; color: #151515; box-shadow: 0 22px 44px rgba(0,0,0,.5); width: max-content; max-width: min(880px, 92vw); z-index: 60; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel { display: grid; }
.dd-panel a { color: #151515 !important; text-decoration: none; font-family: 'Noto Sans KR', sans-serif; font-size: 14px; letter-spacing: 0; padding: 5px 0; display: block; }
.dd-panel a:hover, .dd-panel a:focus { text-decoration: underline; text-underline-offset: 4px; }
.dd-head { display: block; font-family: 'Nanum Myeongjo', serif; font-weight: 800; font-size: 15px; letter-spacing: 0; border-bottom: 1px solid #151515; padding-bottom: 8px; margin-bottom: 6px; }
.dd-en { display: block; font-family: 'Courier Prime', monospace; font-size: 11px; letter-spacing: 1px; color: #5A5751; margin-bottom: 4px; }
.vert { position: fixed; top: 28px; right: 26px; z-index: 50; writing-mode: vertical-rl; color: #E7E2D9; font-weight: 700; font-size: 14px; letter-spacing: 4px; line-height: 1.9; }
.vert.diff { mix-blend-mode: difference; color: #FFFFFF; }

/* 버튼 · 링크 */
.tbtn { transition: background .15s ease, color .15s ease; }
.tbtn:hover { background: #E7E2D9 !important; color: #151515 !important; }
.tbtn-ink { transition: background .15s ease, color .15s ease; }
.tbtn-ink:hover { background: #151515 !important; color: #E7E2D9 !important; }
.ulink { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.ulink:hover { text-decoration-thickness: 2px; }
.btn-line { display: inline-flex; align-items: center; min-height: 56px; padding: 0 36px; border: 1px solid #E7E2D9; color: #E7E2D9; text-decoration: none; font-family: 'Courier Prime', monospace; font-size: 15px; letter-spacing: 1px; }
.cta-res { display: inline-flex; align-items: center; gap: 18px; min-height: 64px; padding: 0 34px; background: #E7E2D9; color: #151515 !important; text-decoration: none; font-family: 'Nanum Myeongjo', serif; font-weight: 800; font-size: 20px; letter-spacing: 1px; box-shadow: 6px 6px 0 #000; transition: transform .12s ease, box-shadow .12s ease; }
.cta-res:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 #000; }
.cta-res:active { transform: translate(6px, 6px); box-shadow: 0 0 0 #000; }

/* 홈 · 촬영 메뉴 */
.chip { font-family: 'Noto Sans KR', sans-serif; font-size: 14px; padding: 10px 16px; min-height: 44px; border: 1px solid #E7E2D9; cursor: pointer; background: transparent; color: #E7E2D9; }
.chip[aria-pressed="true"] { background: #E7E2D9; color: #151515; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 40px; align-items: start; padding-top: 24px; }
.pcard { display: flex; flex-direction: column; gap: 18px; word-break: keep-all; overflow-wrap: break-word; }
.ptitle { background-image: linear-gradient(#707071, #707071); background-repeat: no-repeat; background-position: 0 0; background-size: 0% 100%; transition: background-size .5s cubic-bezier(.65,0,.35,1), color .35s ease; padding: 2px 8px; margin-left: -8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pcard:hover .ptitle, .pcard:focus-within .ptitle { background-size: 100% 100%; color: #111111; }
@media (max-width: 860px) { .gallery > article { grid-column: 1 / -1 !important; margin-top: 0 !important; } .gallery figure { transform: none !important; } }

/* 상품 페이지 사진 */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 24px; }
.shot-full { grid-column: 1 / -1; }
.ph-shot { background: repeating-linear-gradient(135deg, #2B2D2E 0 1px, #232526 1px 9px); }
.rel { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: #E7E2D9; }
.rel:hover .rel-t { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 760px) { .shots { grid-template-columns: minmax(0, 1fr); gap: 36px; } .shot-half { grid-column: 1 / -1; } }

/* 공통 구조 */
.page { max-width: 1160px; margin: 0 auto; padding: 144px 32px 140px; display: flex; flex-direction: column; gap: 120px; box-sizing: border-box; }
.hero { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding-top: 40px; }
.hero h1 { margin: 0; font-size: clamp(56px, 7vw, 96px); }
.row-list { margin: 0; display: flex; flex-direction: column; border-bottom: 1px solid #5A5751; }
.row-list > div { display: grid; grid-template-columns: 56px 140px minmax(0, 1fr); gap: 12px; padding: 22px 0; border-top: 1px solid #5A5751; align-items: baseline; }
.row-list dt.n { font-family: 'Courier Prime', monospace; font-size: 13px; color: #A7A39B; }
.row-list dt.k { font-size: 15px; font-weight: 700; }
.row-list dd { margin: 0; font-size: 15px; color: #CFCAC1; }
.site-foot { max-width: 1160px; margin: 0 auto; padding: 28px 32px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: 'Courier Prime', monospace; font-size: 12px; color: #A7A39B; box-sizing: border-box; }
.site-foot a { color: #A7A39B; }
.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; }

@media (max-width: 760px) {
  .dd-panel { grid-template-columns: repeat(2, minmax(130px, 1fr)); left: -120px; }
  .navbar { max-width: 100%; width: 100%; left: 0; top: 0; flex-wrap: nowrap; overflow-x: auto; gap: 0 14px; font-size: 14px; padding-left: 14px; background: rgba(29,31,32,.94); scrollbar-width: none; }
  .navbar::-webkit-scrollbar { display: none; }
  .navbar > a, .dd > a { white-space: nowrap; flex: none; }
  .navbar .res { margin-left: auto; flex: none; white-space: nowrap; padding: 0 16px; font-size: 14px; }
  .navbar .logo { font-size: 17px; }
  .dd { position: static; }
  .dd-panel { position: fixed; top: 46px; left: 8px; right: 8px; width: auto; max-width: none; }
  .vert { display: none; }
  .page { padding: 110px 18px 100px; gap: 88px; }
  .row-list > div { grid-template-columns: 40px minmax(0, 1fr); }
  .row-list dd { grid-column: 2; }
}
@media (max-width: 430px) { .hide-xs { display: none !important; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
