﻿/* ============================================================================
   SELF_STUDIO_MULTI_GIROK — 기록 / r01 전면 리디자인
   HOW  : photographystudio.kr 계보(증명·프로필 전문 셀프 스튜디오)
   채택 : 규격이 정보의 중심 · 배경색 견본 · 패키지 두 갈래 · 1:1 보정
   변형 : 흑백 2톤 + 크림슨을 **스튜디오 회색 + 시그널 레드 + 모노스페이스**로
          바꾼다. 필름 스트립(퍼포레이션)과 규격 표가 시그니처다.
   폐기 : 보정 전후 과장 비교 · 확인되지 않은 평점·리뷰 수치
          (원본의 네이버 평점 카운터는 서비스 사실 지표로 교체했다)
   ★ 순간(니어 블랙 · 룸 색 · 세리프 영문)과 정반대여야 한다.
   ★ 그리드 정렬에 % 여백을 쓰지 않는다.
   ==========================================================================*/

:root {
  --en: 'Space Mono',ui-monospace,SFMono-Regular,Menlo,"Pretendard Variable",monospace;
  --kr: "Pretendard Variable",-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;

  --grey: #EDEDEB;
  --grey-2: #E1E1DE;
  --white: #FFFFFF;
  --ink: #16171A;
  --ink-2: #23252A;
  --red: #E23B2E;
  --body: #55585F;
  --mute: #8E9198;
  --line: #D5D5D1;

  --wrap: 1200px;
  --pad: clamp(20px, 3vw, 52px);
  --ease: cubic-bezier(.25, .75, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--grey); color: var(--body);
  font-family: var(--kr); font-size: 16px; line-height: 1.9; letter-spacing: -.02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
h1, h2, h3, h4, p, dl, dd, figure, ul, ol, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.wrap { width: min(100% - (var(--pad) * 2), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff; padding: 12px 18px; z-index: 300; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- 조판 — 모노스페이스 계측 라벨 + 한국어 문장 ------------------- */
.kick, .enlab, .lat, .sp { font-family: var(--en); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.kick { display: block; line-height: 1.5; }
.h1 { font-family: var(--kr); font-weight: 800; font-size: clamp(28px, 3.3vw, 52px); line-height: 1.32; letter-spacing: -.055em; color: var(--ink); }
.lead { font-size: 15.5px; line-height: 1.95; max-width: 38em; }
.txt { font-size: 15.5px; line-height: 1.95; max-width: 38em; }
.tiny, .tcap { font-size: 13px; line-height: 1.8; color: var(--mute); }
main p { max-width: 38em; }
.mid { text-align: center; }
.mid p, .mid .lead { margin-inline: auto; }
.ctr { justify-content: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; }

/* ---------- 등장 ------------------------------------------------------- */
/* ★ 이 사이트의 js/main.js 는 등장에 `.on` 를 붙인다(`.go` 가 아니다).
   해제 규칙을 `.on` 로도 적어 두지 않으면 화면에서 글씨와 사진이 끝까지 나타나지 않는다.
   `.go` 도 함께 남긴다 — 캡처·수동 확인 경로가 그것을 쓴다. */
.rise, .rise-stag > * { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); animation: rq-reveal .5s var(--ease) 5s forwards; }
.rise.go, .rise-stag.go > *, .rise.on, .rise-stag.on > * { opacity: 1; transform: none; animation: none; }
.rise-stag.go > *:nth-child(2), .rise-stag.on > *:nth-child(2) { transition-delay: .06s; }
.rise-stag.go > *:nth-child(3), .rise-stag.on > *:nth-child(3) { transition-delay: .12s; }
.rise-stag.go > *:nth-child(4), .rise-stag.on > *:nth-child(4) { transition-delay: .18s; }
.rise-stag.go > *:nth-child(5), .rise-stag.on > *:nth-child(5) { transition-delay: .24s; }
html:not(.js) .rise, html:not(.js) .rise-stag > * { opacity: 1; transform: none; animation: none; }
@media (prefers-reduced-motion: reduce) { .rise, .rise-stag > * { opacity: 1; transform: none; transition: none; animation: none; } }

/* ---------- 헤더 ------------------------------------------------------- */
#site-header { position: sticky; top: 0; z-index: 120; }
.topline { background: var(--ink); color: rgba(255, 255, 255, .74); font-family: var(--en); font-size: 11.5px; letter-spacing: .06em; }
.topline .wrap { padding-block: 9px; }
.hmain { background: rgba(237, 237, 235, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hrow { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.lock { display: flex; flex-direction: row; align-items: baseline; gap: 12px; min-height: 46px; flex-wrap: nowrap; }
.brand { font-family: var(--en); font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.brand-sub { font-family: var(--en); font-size: 11px; letter-spacing: .16em; color: var(--mute); white-space: nowrap; }
.htel { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; background: var(--ink); color: #fff; font-family: var(--en); font-size: 14px; letter-spacing: .02em; transition: .25s var(--ease); }
.htel:hover { background: var(--red); }
.htel svg { width: 15px; height: 15px; fill: currentColor; }
.navbar { background: var(--white); border-bottom: 1px solid var(--line); }
.navrow { display: flex; gap: clamp(14px, 2vw, 34px); }
.navrow a { font-family: var(--kr); font-size: 14.5px; font-weight: 700; letter-spacing: -.04em; color: var(--body); padding: 13px 0; border-bottom: 2px solid transparent; }
.navrow a:hover, .navrow a.on { color: var(--ink); border-bottom-color: var(--red); }
.burger { display: none; width: 46px; height: 46px; background: none; border: 0; padding: 15px 10px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); }
.mobile-nav { display: none; }

@media (max-width: 940px) {
  .navbar { display: none; }
  .burger { display: flex; }
  .hrow { min-height: 60px; }
  /* ★ 360 에서 부제를 숨기면 락업이 워드마크 하나가 된다. 그래서 워드마크만으로
     96px 하한을 넘도록 키운다(부제까지 세우면 헤더가 가로로 넘친다). */
  .brand { font-size: 32px; }
  .brand-sub { display: none; }
  .htel span { display: none; }
  .htel { padding: 0 14px; }
  .mobile-nav {
    display: block; position: fixed; left: 0; right: 0; top: var(--mm-top, 92px); bottom: 0;
    background: var(--white); padding: 16px var(--pad) 44px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .28s var(--ease); z-index: 118;
  }
  .mobile-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-nav a { display: flex; align-items: center; min-height: 60px; border-bottom: 1px solid var(--line); font-family: var(--kr); font-size: 18px; font-weight: 800; color: var(--ink); }
  .mobile-nav .mn-tel { justify-content: center; gap: 9px; border-bottom: 0; margin-top: 18px; background: var(--ink); color: #fff; }
  .mobile-nav .mn-tel svg { width: 16px; height: 16px; fill: currentColor; }
  body.mm-open { overflow: hidden; }
}

/* ---------- 히어로 — 좌 글 / 우 세로 4컷 필름 스트립 ---------------------- */
.hero { background: var(--grey); padding-block: clamp(40px, 4.4vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 3.6vw, 62px); align-items: center; text-align: left; }
.hero.mid .wrap > .rise:first-child { text-align: left; }
.hero .kick { margin-bottom: 20px; }
.hero .lead { margin-top: 18px; margin-inline: 0; }
.hero .acts { margin-top: 30px; }
.hero-fig { margin: 0; position: relative; padding: 14px 20px; background: var(--ink); }
.hero-fig::before, .hero-fig::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 20px;
  background-image: radial-gradient(circle at 50% 8px, var(--grey) 4px, transparent 4.5px);
  background-size: 20px 22px;
}
.hero-fig::before { left: 0; } .hero-fig::after { right: 0; }
.hero-fig img { width: 100%; aspect-ratio: .82; object-fit: cover; }
.hero-cap { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: clamp(20px, 2.4vw, 34px); padding-top: 16px; border-top: 2px solid var(--ink); }
.hero-cap span { font-family: var(--en); font-size: 12.5px; letter-spacing: .1em; color: var(--ink); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- 사실 지표 띠 ------------------------------------------------- */
.sec--dark { background: var(--ink); color: rgba(255, 255, 255, .72); }
.sec--dark .h1, .sec--dark h3, .sec--dark dt { color: #fff; }
.sec--dark .kick { color: #FF8A7F; }
.sec--dark .lead, .sec--dark p { color: rgba(255, 255, 255, .76); }
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .16); width: min(100% - (var(--pad) * 2), var(--wrap)); margin-inline: auto; }
.figs > * { min-width: 0; background: var(--ink); padding: clamp(22px, 2.6vw, 38px) 0; }
.figs b { display: block; font-family: var(--en); font-weight: 700; font-size: clamp(24px, 2.4vw, 36px); color: #fff; line-height: 1.1; }
.figs span { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .66); margin-top: 8px; letter-spacing: -.03em; }
@media (max-width: 780px) { .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 서브페이지 머리 -------------------------------------------- */
.phead { background: var(--white); border-bottom: 1px solid var(--line); padding-block: clamp(42px, 4.4vw, 84px) clamp(28px, 3vw, 50px); }
.crumb { display: block; font-family: var(--en); font-size: 12px; letter-spacing: .1em; color: var(--mute); margin-bottom: 14px; }
.phead .kick { margin-bottom: 14px; }
.phead .lead { margin-top: 14px; }

/* ---------- 버튼 ------------------------------------------------------- */
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.bt {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 28px;
  font-family: var(--kr); font-size: 15.5px; font-weight: 800; letter-spacing: -.04em;
  background: var(--ink); color: #fff; border: 2px solid var(--ink); transition: .25s var(--ease);
}
.bt svg { width: 16px; height: 16px; fill: currentColor; }
.bt:hover { background: var(--red); border-color: var(--red); }
.bt-inv { background: none; color: var(--ink); border-color: var(--ink); }
.bt-inv:hover { background: var(--ink); color: #fff; }
.sec--dark .bt-inv { color: #fff; border-color: rgba(255, 255, 255, .4); }
.sec--dark .bt-inv:hover { background: #fff; color: var(--ink); border-color: #fff; }
.bt-line { background: none; color: var(--ink); border-color: var(--line); }
.bt-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.bt-dark { background: var(--red); border-color: var(--red); color: #fff; }
.bt-dark:hover { background: var(--ink); border-color: var(--ink); }

/* ---------- 구획 ------------------------------------------------------- */
.sec { padding-block: clamp(56px, 5.8vw, 106px); }
.sec--pale { background: var(--white); }
.shead { max-width: 800px; margin-bottom: clamp(28px, 3.2vw, 52px); }
.shead.mid { margin-inline: auto; }
.shead .kick { margin-bottom: 14px; }
.shead .lead { margin-top: 14px; }

/* ---------- 다섯 단계 흐름 ----------------------------------------------- */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.flow > li { min-width: 0; background: var(--grey); padding: clamp(18px, 2vw, 28px); }
.flow > li::before { content: attr(data-n); display: block; font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--red); }
.flow h3 { font-family: var(--kr); font-weight: 800; font-size: 17px; color: var(--ink); margin-top: 12px; letter-spacing: -.05em; }
.flow p { font-size: 14px; line-height: 1.85; margin-top: 9px; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* ---------- 배경색 견본 --------------------------------------------------- */
.swat { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 3vw, 50px); align-items: center; }
.swat > * { min-width: 0; }
.swat-pane { background: var(--grey-2); padding: 18px; transition: background .4s var(--ease); }
.swat-pane img { width: 100%; aspect-ratio: .78; object-fit: cover; }
.swat-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.swat-list button { width: 52px; height: 52px; border: 2px solid var(--line); cursor: pointer; padding: 0; }
.swat-list button.on, .swat-list button[aria-pressed="true"] { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; }
.swat-name { display: block; font-family: var(--kr); font-weight: 800; font-size: 20px; color: var(--ink); margin-top: 20px; letter-spacing: -.05em; }
.swat-note { display: block; font-size: 14.5px; line-height: 1.9; margin-top: 8px; max-width: 34em; }
@media (max-width: 860px) { .swat { grid-template-columns: 1fr; } }

/* ---------- 규격 카드 ---------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.7vw, 26px); }
.grid > * { min-width: 0; }
.card { background: var(--white); border: 1px solid var(--line); padding: 14px 14px 22px; }
.card .im { position: relative; }
.card .im img { width: 100%; aspect-ratio: .78; object-fit: cover; }
.pin { position: absolute; left: 0; top: 0; font-family: var(--en); font-weight: 700; font-size: 11.5px; letter-spacing: .12em; padding: 5px 9px; background: var(--ink); color: #fff; }
.pin--red { background: var(--red); }
.card .sp { display: block; margin-top: 16px; }
.card h3 { font-family: var(--kr); font-weight: 800; font-size: 19px; color: var(--ink); margin-top: 7px; letter-spacing: -.05em; }
.card p { font-size: 14px; line-height: 1.85; margin-top: 10px; }
.card .mm { display: block; font-family: var(--en); font-size: 12px; letter-spacing: .04em; color: var(--mute); margin-top: 14px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* ---------- 패키지 ------------------------------------------------------- */
.packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); }
.packs > * { min-width: 0; }
.pack { background: var(--grey); border: 2px solid var(--ink); padding: clamp(22px, 2.6vw, 38px); }
.pack--hot { background: var(--ink); color: rgba(255, 255, 255, .78); }
.pack--hot h3, .pack--hot .amt { color: #fff; }
.pack--hot .lat { color: #FF8A7F; }
.pack h3 { font-family: var(--kr); font-weight: 800; font-size: 23px; color: var(--ink); margin-top: 10px; letter-spacing: -.055em; }
.amt { font-family: var(--en); font-weight: 700; font-size: clamp(26px, 2.4vw, 36px); color: var(--ink); margin-top: 14px; font-variant-numeric: tabular-nums; }
.per { display: block; font-size: 13.5px; color: var(--mute); margin-top: 6px; }
.pack--hot .per { color: rgba(255, 255, 255, .6); }
.pack ul { margin-top: 20px; display: grid; gap: 9px; }
.pack li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.8; }
.pack li::before { content: ''; position: absolute; left: 0; top: 12px; width: 9px; height: 2px; background: var(--red); }
@media (max-width: 760px) { .packs { grid-template-columns: 1fr; } }

/* ---------- 태그 · 정의 목록 · 표 · 아코디언 · 지도 ------------------------ */
.tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tags span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border: 1px solid rgba(255, 255, 255, .26); font-family: var(--en); font-size: 12.5px; letter-spacing: .04em; color: rgba(255, 255, 255, .84); }

.dl { display: grid; border-top: 2px solid var(--ink); }
.dl > div { display: grid; grid-template-columns: minmax(0, 160px) minmax(0, 1fr); gap: 8px 26px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.dl dt { font-weight: 800; color: var(--ink); font-size: 15px; letter-spacing: -.05em; }
.dl dd { font-size: 14.5px; line-height: 1.9; }
.sec--dark .dl > div { border-bottom-color: rgba(255, 255, 255, .16); }
@media (max-width: 620px) { .dl > div { grid-template-columns: 1fr; gap: 4px; } }

.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tb { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; background: var(--white); }
.tb caption { text-align: left; padding-bottom: 14px; }
.tb th, .tb td { border-bottom: 1px solid var(--line); padding: 15px 13px; text-align: left; }
.tb thead th { font-family: var(--en); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); border-bottom: 2px solid var(--ink); }
.tb tbody th { font-weight: 800; color: var(--ink); letter-spacing: -.05em; }
.tb td.n { font-family: var(--en); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

.acc { border-top: 2px solid var(--ink); max-width: 920px; margin-inline: auto; }
.acc .r { border-bottom: 1px solid var(--line); }
.acc .h { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; background: none; border: 0; cursor: pointer; min-height: 62px; padding: 20px 0; font-family: var(--kr); font-weight: 800; font-size: 16.5px; color: var(--ink); letter-spacing: -.045em; }
.acc .q { font-family: var(--en); font-weight: 700; font-size: 13px; color: var(--red); flex: 0 0 auto; }
.acc .t { flex: 1 1 auto; }
.acc .x { position: relative; width: 14px; height: 14px; flex: 0 0 auto; }
.acc .x::before, .acc .x::after { content: ''; position: absolute; background: var(--red); transition: transform .25s var(--ease); }
.acc .x::before { left: 0; right: 0; top: 6px; height: 2px; }
.acc .x::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.acc .r.open .x::after { transform: scaleY(0); }
.acc .b { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc .r.open .b { max-height: 560px; }
.acc .b p { font-size: 15px; line-height: 1.95; padding-bottom: 22px; text-align: left; }

.mapbox { border: 2px dashed var(--line); background: var(--white); padding: clamp(22px, 2.6vw, 40px); }
.mapbox span { display: block; font-size: 14.5px; }

/* ---------- 푸터 ------------------------------------------------------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, .66); padding-block: clamp(46px, 5vw, 78px) 28px; text-align: center; }
.foot .brand { font-size: 34px; color: #fff; }
.foot-say { font-size: 14.5px; margin: 10px auto 0; max-width: 30em; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; margin-top: 26px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.foot-nav a:hover { color: #FF8A7F; }
.foot-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; margin-top: 12px; }
.foot-line a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .26); font-family: var(--en); font-size: 13px; color: #fff; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 13px; }
.foot-copy { margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .44); }

/* ---------- 모바일 하단 CTA -------------------------------------------- */
.mcta { display: none; }
@media (max-width: 940px) {
  .mcta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 130; }
  .mcta a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font-family: var(--kr); font-size: 15.5px; font-weight: 800; letter-spacing: -.04em; }
  .mcta svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
  .mcta .c-tel { background: var(--red); color: #fff; }
  .mcta .c-map { background: var(--ink); color: #fff; }
  body { padding-bottom: 58px; }
}

/* ★ 등장 안전망 — 관측기가 못 붙여도 5초 뒤에는 반드시 보인다. */
@keyframes rq-reveal { to { opacity: 1; transform: none; } }

/* ---------- 안 보이던 글자 정정 --------------------------------------------
   1) 강조 패키지 판은 잉크색인데 제목이 뒤 규칙에 져서 잉크색으로 찍혔다.
   2) 어두운 FAQ 구획의 질문 글자가 잉크색 그대로였다. */
.packs .pack--hot h3, .packs .pack--hot .amt { color: #fff; }
.sec--dark .acc .h, .sec--dark .acc .h .t { color: #fff; }
.sec--dark .acc .h .q { color: var(--red); }

/* ---------- 헤더 바 검정 (지시 7) ------------------------------------------- */
.topline { background: #000; }
.hmain { background: #000; backdrop-filter: none; border-bottom: 0; }
.hmain .brand { color: #fff; }
.hmain .brand-sub { color: rgba(255, 255, 255, .6); }
.hmain .htel { background: #fff; color: #000; }
.hmain .htel:hover { background: var(--red); color: #fff; }
.hmain .burger span { background: #fff; }
.navbar { background: #000; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.navrow a { color: rgba(255, 255, 255, .78); }
.navrow a:hover, .navrow a.on { color: #fff; border-bottom-color: var(--red); }
