/* 명암 사진관 — 블랙, 풀블리드 갤러리(P5) */
:root {
  --black: #0B0B0B;
  --char: #161616;
  --line: #2A2A2A;
  --white: #EDEBE6;
  --dim: #8D8A84;
  --brass: #C9A86A;
  --serif: 'Song Myung', 'Noto Serif KR', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font: 300 16px/1.8 'IBM Plex Sans KR', -apple-system, 'Malgun Gothic', sans-serif;
  word-break: keep-all; overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.3; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.dim { color: var(--dim); font-size: 15px; }
.sep { font-family: 'IBM Plex Sans KR', sans-serif; font-weight: 400; margin: 0 1px; }

/* 헤더 — 첫 화면 위에 얹힘 */
.nav {
  position: absolute; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 36px;
  padding: 26px 40px;
}
.nav__logo { font: 400 24px/1 var(--serif); text-decoration: none; }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: 15px; }
.nav__links a, .nav__tel { text-decoration: none; }
.nav__links a:hover { color: var(--brass); }
.nav__tel { font-weight: 500; font-variant-numeric: tabular-nums; border: 1px solid rgba(237, 235, 230, .5); padding: 8px 16px; }
.nav__tel:hover { background: var(--white); color: var(--black); }

/* 히어로 */
.hero { position: relative; }
.hero img { width: 100%; height: min(92vh, 820px); min-height: 520px; object-fit: cover; }
.hero__text { position: absolute; left: 40px; bottom: 64px; max-width: 560px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.15; }
.hero__text p { margin: 20px 0 28px; color: #CFCBC4; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  font: 500 15px/1 'IBM Plex Sans KR', sans-serif; text-decoration: none; cursor: pointer; border: 1px solid var(--white);
}
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--brass); border-color: var(--brass); }
.btn--ghost { background: transparent; color: var(--white); }
.btn--ghost:hover { background: rgba(237, 235, 230, .12); }

/* 정보 띠 */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip p { margin: 0; padding: 20px 40px; font-size: 15px; font-weight: 400; }
.strip p + p { border-left: 1px solid var(--line); }
.strip span { display: block; font-size: 12px; color: var(--dim); letter-spacing: .04em; }
.strip a { text-decoration: none; }
.strip a:hover { color: var(--brass); }

/* 풀블리드 갤러리 */
.work { display: grid; grid-template-columns: 0.8fr 1.5fr 0.8fr; gap: 3px; padding: 3px 0; }
.work figure { margin: 0; position: relative; }
.work figure::after { content: ''; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); pointer-events: none; }
.work figcaption { z-index: 1; }
.work img { width: 100%; height: 640px; object-fit: cover; }
.work figcaption {
  position: absolute; left: 20px; bottom: 18px; font-size: 13px; color: #D8D4CC;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
.work figcaption b { font: 400 18px/1 var(--serif); margin-right: 8px; color: #fff; }

/* 촬영과 가격 */
.price { padding: 120px 0 112px; }
.price__head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: end; margin-bottom: 44px; }
.price__head p { margin: 0; color: var(--dim); }
.rows { border-top: 1px solid var(--white); }
.row { display: grid; grid-template-columns: 1fr 2fr auto; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 24px; }
.row p { margin: 0; color: var(--dim); font-size: 15px; }
.row strong { font: 400 22px/1 var(--serif); font-variant-numeric: tabular-nums; min-width: 110px; text-align: right; }
.row strong::after { content: '원'; font: 300 14px/1 'IBM Plex Sans KR', sans-serif; margin-left: 3px; color: var(--dim); }
.price__extra { margin: 18px 0 0; font-size: 14px; color: var(--dim); }
.notice {
  margin-top: 56px; padding: 28px 32px; background: var(--char); border-left: 3px solid var(--brass);
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
}
.notice p { margin: 0; }
.notice__date { font-size: 13px; color: var(--brass); white-space: nowrap; }
.notice b { font-weight: 500; color: #fff; }

/* 진행 */
.how { background: var(--char); padding: 104px 0; }
.how__in { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.how ol { list-style: none; margin: 0; padding: 0; counter-reset: h; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.how li { counter-increment: h; padding: 20px 0 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 15px; }
.how li::before { content: '0' counter(h); display: block; font: 400 14px/1 var(--serif); color: var(--brass); margin-bottom: 10px; }
.how b { display: block; font-weight: 500; color: var(--white); font-size: 17px; margin-bottom: 4px; }

/* 오시는 길 */
.visit { padding: 112px 0 120px; }
.visit__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; }
.visit__addr { font: 400 24px/1.45 var(--serif); margin: 22px 0 12px; }
.visit .hero__btns { margin-top: 26px; }
.hours { margin: 0 0 16px; border-top: 1px solid var(--white); }
.hours div { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--dim); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 400; }
.hours div:last-child dd { color: var(--brass); }
.contact { list-style: none; margin: 28px 0 0; padding: 0; }
.contact li { padding: 4px 0; font-weight: 400; }
.contact a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact a:hover { border-color: var(--brass); }

/* 푸터 */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 13px; color: var(--dim); }
.foot p { margin: 0 0 4px; }
.foot span { white-space: nowrap; }

.dock { display: none; }

@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 18px 20px; gap: 12px; }
  .nav__logo { font-size: 20px; }
  .nav__links { display: none; }
  .nav__tel { margin-left: auto; padding: 7px 12px; font-size: 14px; }
  .hero img { height: 640px; min-height: 0; }
  .hero__text { left: 20px; right: 20px; bottom: 36px; }
  .hero h1 { font-size: 44px; }
  .hero__text p { font-size: 15px; margin: 14px 0 22px; }
  .hero__btns .btn { flex: 1 1 auto; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip p { padding: 14px 20px; }
  .strip p:nth-child(n+3) { grid-column: 1 / -1; border-left: 0; }
  .strip p:nth-child(n+3) { border-top: 1px solid var(--line); }
  .work { grid-template-columns: 1fr 1fr; }
  .work .w2 { grid-column: span 2; order: -1; }
  .work img { height: 260px; }
  .work .w2 img { height: auto; aspect-ratio: 3 / 2; }
  .work figcaption { left: 12px; bottom: 10px; font-size: 12px; }
  .work figcaption b { display: block; font-size: 16px; margin: 0 0 2px; }
  .price { padding: 72px 0; }
  .price__head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
  .row { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; }
  .row h3 { font-size: 21px; }
  .row p { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  .row strong { font-size: 20px; min-width: 0; }
  .notice { grid-template-columns: 1fr; gap: 10px; padding: 22px 20px; margin-top: 40px; }
  .notice .btn { margin-top: 6px; }
  .how { padding: 64px 0; }
  .how__in { grid-template-columns: 1fr; gap: 24px; }
  .how ol { grid-template-columns: 1fr; }
  .visit { padding: 64px 0 72px; }
  .visit__in { grid-template-columns: 1fr; gap: 40px; }
  .visit__addr { font-size: 21px; }
  .foot { padding-bottom: 96px; }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--black); border-top: 1px solid var(--line);
  }
  .dock a { display: flex; align-items: center; justify-content: center; height: 56px; text-decoration: none; font-weight: 500; font-size: 15px; }
  .dock a + a { border-left: 1px solid var(--line); }
  .dock .dock__main { background: var(--white); color: var(--black); }
}
