/* 감광 스튜디오 — 촬영 스튜디오 대관 디자인 샘플 (디코랩)
   구성: 밀착 인화지(콘택트 시트). 페이지 = 인화지 한 장, 섹션 = 필름 한 컷.
   색은 암실 실물에서: 인화지 흰색, 필름 베이스, 은염 먹, 그리스펜 빨강, 필름 가장자리 주황 */
:root {
  --color-paper: #F3F2EE;   /* 인화지 흰색 — 바탕 */
  --color-print: #FCFCFA;   /* 인화면 — 프레임 안쪽 */
  --color-film: #1C1A19;    /* 필름 베이스 — 테두리·띠에만 */
  --color-silver: #23211F;  /* 은염 먹 — 본문 글자 */
  --color-grease: #D8341F;  /* 그리스펜 빨강 — 주 버튼, 지금 컷 표시 */
  --color-grease-deep: #B9291A;
  --color-edge: #F2A23A;    /* 필름 가장자리 주황 — 검은 띠 위 글자 */
  --color-fix: #66625B;     /* 정착 회색 — 보조 글자 */
  --color-tray: #E4E2DC;    /* 현상 트레이 회색 — 보조 면·선 */

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui,
          "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-hand: "Black And White Picture", var(--font);

  --fs-h1: clamp(2.2rem, 1.3rem + 3.2vw, 3.6rem);
  --fs-h2: clamp(1.95rem, 1.45rem + 1.7vw, 2.8rem);
  --fs-h3: 1.18rem;
  --fs-body: 1.0625rem;
  --fs-small: .875rem;

  --header-h: 64px;
  --gutter: 24px;
  --band: 30px;     /* 필름 위아래 띠 */
  --side: 14px;     /* 필름 좌우 테두리 */

  /* 퍼포레이션(필름 구멍) — 인화지 색으로 뚫린 구멍 */
  --holes-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='8'%3E%3Crect x='5' y='0' width='12' height='8' rx='2' fill='%23F3F2EE'/%3E%3C/svg%3E");
  --holes-y: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='22'%3E%3Crect x='0' y='5' width='8' height='12' rx='2' fill='%23F3F2EE'/%3E%3C/svg%3E");
  --holes-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='5'%3E%3Crect x='3' y='0' width='6' height='5' rx='1.2' fill='%23F3F2EE'/%3E%3C/svg%3E");
  /* 그리스펜 동그라미(날짜 고르기) */
  --grease-ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M16 20C34 6 74 6 88 18c10 18 10 50-4 64-24 12-58 12-72-2C2 64 2 36 20 16' fill='none' stroke='%23D8341F' stroke-width='5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --grease-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M5 15l7 8 14-18' fill='none' stroke='%23D8341F' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--color-silver);
  background: var(--color-paper);
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.25; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, select, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--color-film); color: #fff; border-radius: 4px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--color-grease); outline-offset: 3px; }

/* 실제 정보 자리 */
.ph { display: inline-block; padding: 0 .4em; border: 1.5px dashed currentColor; border-radius: 4px; opacity: .8; font-size: .92em; line-height: 1.5; }

/* 샘플 안내 띠 */
.sample-banner { background: var(--color-film); color: #E8E6E1; font-size: var(--fs-small); line-height: 1.6; }
.sample-banner__inner { display: flex; gap: 10px; align-items: baseline; width: min(1440px, 100% - var(--gutter) * 2); margin: 0 auto; padding: 9px 0; }
.sample-banner__tag { flex: none; padding: 1px 8px; border-radius: 3px; background: var(--color-edge); color: var(--color-film); font-weight: 700; font-size: .78rem; }
.sample-banner a { color: var(--color-edge); font-weight: 600; }

/* 헤더 — backdrop-filter·transform 을 쓰지 않는다(덮개 메뉴가 헤더 높이로 잘리는 문제) */
.site-header { position: sticky; top: 0; z-index: 70; background: var(--color-paper); border-bottom: 1.5px solid var(--color-film); }
.site-header__inner { display: flex; align-items: center; gap: 14px; height: var(--header-h); width: min(1440px, 100% - var(--gutter) * 2); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo svg { width: 44px; height: 32px; }
.logo b { font-family: var(--font-hand); font-weight: 400; font-size: 1.55rem; letter-spacing: -.01em; line-height: 1; }
.site-header__hours { font-size: var(--fs-small); color: var(--color-fix); font-variant-numeric: tabular-nums; }
.header-tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.header-tel svg { width: 18px; height: 18px; }
.menu-toggle { display: none; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--color-film); border-radius: 4px; background: var(--color-print); font-weight: 700; font-size: .92rem; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 4px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--color-film); cursor: pointer; transition: transform .18s ease, background-color .18s ease, color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn--grease { background: var(--color-grease); border-color: var(--color-grease); color: #fff; }
.btn--grease:hover { background: var(--color-grease-deep); border-color: var(--color-grease-deep); }
.btn--line { background: var(--color-print); color: var(--color-silver); }
.btn--line:hover { background: var(--color-tray); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.btn--block { width: 100%; }

/* ---------- 레이아웃: 본문 열(확대 인화) + 밀착 인화지 ---------- */
.layout { width: min(1440px, 100% - var(--gutter) * 2); margin: 0 auto; padding: 44px 0 72px; }
.roll { min-width: 0; }

/* ---------- 필름 한 컷 = 섹션 ---------- */
.frame {
  position: relative;
  display: grid;
  grid-template-columns: var(--side) minmax(0, 1fr) var(--side);
  grid-template-rows: var(--band) auto var(--band);
  background: var(--color-film);
  border-radius: 3px;
  margin-bottom: 64px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.frame__edge {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 22px;
  color: var(--color-edge);
  font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--holes-x) repeat-x;
  background-size: 22px 8px;
  user-select: none;
}
.frame__edge--a { grid-row: 1; background-position: 0 4px; padding-top: 12px; }
.frame__edge--b { grid-row: 3; background-position: 0 calc(100% - 4px); padding-bottom: 12px; }
.frame__body { grid-column: 2; grid-row: 2; min-width: 0; background: var(--color-print); border-radius: 3px; padding: clamp(32px, 4vw, 56px); }

/* 지금 보는 컷: 그리스펜 크롭 괄호 */
.frame__crop { position: absolute; inset: -14px; pointer-events: none; }
.frame__crop i { position: absolute; width: 34px; height: 34px; border: 0 solid var(--color-grease); opacity: 0; transform: scale(.6); transition: opacity .25s ease, transform .4s cubic-bezier(.3,1.4,.5,1); }
.frame__crop i:nth-child(1) { left: 0; top: 0; border-left-width: 4px; border-top-width: 4px; border-top-left-radius: 6px; transform-origin: 0 0; }
.frame__crop i:nth-child(2) { right: 0; top: 0; border-right-width: 4px; border-top-width: 4px; border-top-right-radius: 6px; transform-origin: 100% 0; }
.frame__crop i:nth-child(3) { left: 0; bottom: 0; border-left-width: 4px; border-bottom-width: 4px; border-bottom-left-radius: 6px; transform-origin: 0 100%; }
.frame__crop i:nth-child(4) { right: 0; bottom: 0; border-right-width: 4px; border-bottom-width: 4px; border-bottom-right-radius: 6px; transform-origin: 100% 100%; }
.frame.is-current .frame__crop i { opacity: 1; transform: none; }
.frame.is-current .frame__crop i:nth-child(2) { transition-delay: .06s; }
.frame.is-current .frame__crop i:nth-child(4) { transition-delay: .12s; }
.frame.is-current .frame__crop i:nth-child(3) { transition-delay: .18s; }

/* 섹션 머리 */
.frame-head { max-width: 38em; margin-bottom: 34px; }
.frame-head__kicker { font-weight: 700; font-size: var(--fs-small); color: var(--color-fix); margin-bottom: 8px; }
.frame-head h2 { font-family: var(--font-hand); font-weight: 400; font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -.01em; margin-bottom: 14px; }
.frame-head p:not(.frame-head__kicker) { color: var(--color-fix); }
.frame-note { margin-top: 26px; font-size: var(--fs-small); color: var(--color-fix); padding-top: 14px; border-top: 1.5px dashed var(--color-tray); }

/* ---------- 컷 1. 히어로 ---------- */
.hero__body { display: grid; gap: 30px; align-items: center; }
.hero__kicker { display: inline-block; font-weight: 700; font-size: .95rem; padding: 3px 10px; background: var(--color-film); color: var(--color-edge); border-radius: 3px; margin-bottom: 18px; }
.hero__title { font-family: var(--font-hand); font-weight: 400; font-size: var(--fs-h1); line-height: 1.16; letter-spacing: -.015em; margin-bottom: 18px; }
.hero__lead { max-width: 30em; color: var(--color-fix); margin-bottom: 26px; font-size: 1.08rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero__facts { display: grid; margin: 0; border-top: 1.5px solid var(--color-film); }
.hero__facts div { display: grid; grid-template-columns: 3.4em 1fr; gap: 10px; padding: 9px 0; border-bottom: 1.5px solid var(--color-tray); }
.hero__facts dt { font-weight: 800; }
.hero__facts dd { margin: 0; font-variant-numeric: tabular-nums; }
.hero__facts small { color: var(--color-fix); margin-left: 4px; }
.hero__art { width: 100%; max-width: 560px; justify-self: center; }
.hero-sheet { width: 100%; height: auto; overflow: visible; }
.hs-edge { fill: var(--color-edge); font: 700 11px var(--font); }
.hs-grease { fill: none; stroke: var(--color-grease); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.hs-grease--x { stroke-width: 4; opacity: .9; }
.hs-note { fill: var(--color-grease); font-family: var(--font-hand); font-size: 30px; }
.hs-loupe { transform-box: view-box; }

/* ---------- 컷 2. 공간 ---------- */
.rooms { display: grid; gap: 30px; }
.room__pic { background: var(--color-film); padding: 8px; border-radius: 3px; margin-bottom: 16px; background-image: var(--holes-s), var(--holes-s); background-repeat: repeat-x; background-size: 12px 5px; background-position: 0 1px, 0 calc(100% - 1px); }
.room__pic svg { width: 100%; height: auto; border-radius: 2px; }
.room h3 { font-size: 1.3rem; margin-bottom: 4px; }
.room__line { color: var(--color-fix); margin-bottom: 12px; }
.room__spec { margin: 0; border-top: 1.5px solid var(--color-film); }
.room__spec div { display: grid; grid-template-columns: 6.4em 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--color-tray); font-size: .97rem; }
.room__spec dt { font-weight: 700; }
.room__spec dd { margin: 0; font-variant-numeric: tabular-nums; }
.room__spec small { color: var(--color-fix); }

/* ---------- 컷 3. 이런 촬영에 ---------- */
.uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
.use svg { width: 100%; height: auto; border: 6px solid var(--color-film); border-width: 9px 5px; border-radius: 3px; margin-bottom: 10px; }
.use h3 { font-size: 1.05rem; }
.use p { font-size: .92rem; color: var(--color-fix); }

/* ---------- 컷 4. 대관 시간 고르기 ---------- */
.booking__live { display: block; margin-top: 8px; color: var(--color-silver); font-weight: 700; }
.pick { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.pick legend { padding: 0; margin-bottom: 10px; font-weight: 800; font-size: 1.05rem; }
.pick legend small { font-weight: 500; font-size: .86rem; color: var(--color-fix); margin-left: 6px; }

.film-strip { display: grid; row-gap: 12px; touch-action: manipulation; }
.film-strip--dates { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.film-strip--hours { grid-template-columns: repeat(7, minmax(0, 1fr)); user-select: none; -webkit-user-select: none; }
.day, .hour {
  position: relative;
  display: grid; align-content: stretch;
  min-width: 0; margin: 0; border: 0; cursor: pointer;
  padding: 11px 2px;
  background: var(--color-film) var(--holes-s) repeat-x;
  background-size: 12px 5px;
  background-position: 0 3px;
  text-align: center; line-height: 1.25;
  font-variant-numeric: tabular-nums;
  -webkit-tap-highlight-color: transparent;
}
.day::before, .hour::before { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 5px; background: var(--holes-s) repeat-x; background-size: 12px 5px; pointer-events: none; }
.day i, .day b, .day span, .hour b, .hour span { display: block; background: var(--color-tray); color: var(--color-fix); transition: background-color .18s ease, color .18s ease; }
.hour b { padding: 9px 2px 1px; border-radius: 2px 2px 0 0; font-weight: 800; }
.day i { padding: 6px 2px 0; border-radius: 2px 2px 0 0; font-style: normal; font-size: .68rem; font-weight: 600; }
.day b { padding: 0 2px; font-size: 1.15rem; font-weight: 800; }
.day span, .hour span { padding: 0 2px 8px; border-radius: 0 0 2px 2px; font-size: .74rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.hour b { font-size: 1.15rem; }
.day:hover i, .day:hover b, .day:hover span, .hour:hover b, .hour:hover span { background: #EEEDE8; }
.day.is-weekend span { color: var(--color-silver); }
.hour.is-night span { color: var(--color-silver); }
.day[aria-pressed="true"] i, .day[aria-pressed="true"] b, .day[aria-pressed="true"] span { background: var(--color-print); color: var(--color-silver); }
.day::after { content: ""; position: absolute; inset: -5px -3px; background: var(--grease-ring) center / 100% 100% no-repeat; opacity: 0; transform: scale(.7) rotate(-6deg); transition: opacity .2s ease, transform .35s cubic-bezier(.3,1.5,.5,1); pointer-events: none; z-index: 2; }
.day[aria-pressed="true"]::after { opacity: 1; transform: none; }
.day:focus-visible, .hour:focus-visible { outline-offset: -3px; z-index: 3; }

/* 시간 필름: 고른 범위에 그리스펜 괄호 */
.hour.is-sel b, .hour.is-sel span { background: var(--color-print); color: var(--color-silver); }
.hour::after { content: ""; position: absolute; top: 2px; bottom: 2px; left: -1px; right: -1px; border: 0 solid var(--color-grease); border-top-width: 4px; border-bottom-width: 4px; opacity: 0; transform: scaleX(.4); transition: opacity .15s ease, transform .25s ease; pointer-events: none; z-index: 2; }
.hour.is-sel::after { opacity: 1; transform: none; }
.hour.is-start::after { left: 2px; border-left-width: 4px; border-radius: 10px 0 0 10px; }
.hour.is-end::after { right: 2px; border-right-width: 4px; border-radius: 0 10px 10px 0; }
.hour.is-anchor b { background: #FFE7E2; color: var(--color-grease-deep); }
.hour-selects { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.hour-selects label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; }
.hour-selects select, .chip select { min-height: 44px; padding: 0 34px 0 12px; border: 1.5px solid var(--color-film); border-radius: 4px; background: var(--color-print); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hour-hint { flex: 1 1 14em; font-size: .92rem; color: var(--color-fix); }
.hour-hint.is-warn { color: var(--color-grease-deep); font-weight: 700; }

.planner__grid { display: grid; gap: 26px; align-items: start; }
.planner__grid > * { min-width: 0; }
.space-pick { display: grid; gap: 10px; }
.space-opt { position: relative; cursor: pointer; }
.space-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.space-opt > span { position: relative; display: grid; grid-template-columns: 84px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 10px; border: 2px solid var(--color-tray); border-radius: 4px; background: var(--color-print); transition: border-color .18s ease; }
.space-opt svg { grid-row: span 2; width: 84px; height: auto; border: 4px solid var(--color-film); border-radius: 2px; }
.space-opt b { align-self: end; font-size: 1.02rem; }
.space-opt small { align-self: start; color: var(--color-fix); font-size: .86rem; font-variant-numeric: tabular-nums; }
.space-opt input:checked + span { border-color: var(--color-film); }
.space-opt > span::after { content: ""; position: absolute; right: 10px; top: 50%; width: 30px; height: 30px; margin-top: -15px; background: var(--grease-check) center / contain no-repeat; opacity: 0; transform: scale(.5); transition: opacity .15s ease, transform .3s cubic-bezier(.3,1.6,.5,1); }
.space-opt input:checked + span::after { opacity: 1; transform: none; }
.space-opt input:focus-visible + span { outline: 3px solid var(--color-grease); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip > span { display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; padding: 10px 15px; border: 1.5px solid var(--color-film); border-radius: 4px; background: var(--color-print); font-weight: 700; font-size: .95rem; line-height: 1.4; transition: background-color .18s ease, color .18s ease; }
.chip small { font-weight: 500; font-size: .78rem; opacity: .8; }
.chip input:checked + span { background: var(--color-film); color: var(--color-print); }
.chip input:focus-visible + span { outline: 3px solid var(--color-grease); outline-offset: 2px; }
.chip--select select:disabled { opacity: .45; }

/* 예시 견적 — 인화 봉투처럼 */
.result { position: relative; background: var(--color-print); border: 2px solid var(--color-film); border-radius: 4px; padding: 0 20px 20px; }
.result__tag { margin: 0 -20px 16px; padding: 9px 20px; background: var(--color-film); color: var(--color-edge); font-weight: 700; font-size: .85rem; }
.result__when { margin: 0 0 12px; display: grid; gap: 2px; }
.result__when div { display: grid; grid-template-columns: 3em 1fr; gap: 8px; }
.result__when dt { font-weight: 800; }
.result__when dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.result__when small { font-weight: 500; color: var(--color-fix); margin-left: 4px; font-size: .85rem; }
.result__lines { list-style: none; margin: 0; padding: 10px 0; border-top: 1.5px dashed var(--color-tray); border-bottom: 1.5px dashed var(--color-tray); font-size: .93rem; }
.result__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.result__lines b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.result__lines .is-minus b { color: var(--color-fix); }
.result__total { position: relative; display: flex; justify-content: space-between; align-items: baseline; padding: 16px 22px 8px 0; }
.result__total span { font-weight: 800; }
.result__total b { position: relative; font-family: var(--font-hand); font-weight: 400; font-size: 2.3rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.result__total b::after { content: ""; position: absolute; inset: -14px -24px -12px -22px; background: var(--grease-ring) center / 100% 100% no-repeat; pointer-events: none; }
.result__vat { font-size: .82rem; color: var(--color-fix); margin-bottom: 16px; }
.power { padding: 12px 14px; background: var(--color-paper); border-radius: 4px; margin-bottom: 14px; }
.power__head { font-size: .9rem; line-height: 1.55; margin-bottom: 8px; }
.power__head b { margin-right: 4px; }
.power__bar { position: relative; height: 12px; border-radius: 2px; background: var(--color-tray); overflow: hidden; }
.power__bar i { position: absolute; inset: 0; background: var(--color-film); transform-origin: 0 50%; transform: scaleX(var(--used, .25)); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.power__note { margin-top: 8px; font-size: .82rem; color: var(--color-fix); }
.result__warn { margin-bottom: 12px; padding: 8px 12px; border-left: 4px solid var(--color-grease); background: #FFF1EE; font-size: .9rem; font-weight: 600; }
.result__actions { display: grid; gap: 8px; }
.result__copied { margin-top: 8px; font-size: .88rem; color: var(--color-fix); }

/* ---------- 컷 5. 요금·장비 ---------- */
.rates__grid { display: grid; gap: 32px; align-items: start; }
.table-wrap { min-width: 0; }
.price { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.price caption { text-align: left; font-weight: 800; padding-bottom: 8px; }
.price th, .price td { padding: 11px 8px; text-align: left; border-bottom: 1px solid var(--color-tray); }
.price thead th { border-bottom: 2px solid var(--color-film); font-size: .9rem; color: var(--color-fix); }
.price td { text-align: right; font-weight: 700; white-space: nowrap; }
.price thead th:not(:first-child) { text-align: right; }
.rules-mini { margin: 0; padding-left: 1.1em; color: var(--color-fix); font-size: .96rem; }
.rules-mini li { margin-bottom: 4px; }
.gear h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.gear__free { color: var(--color-fix); margin-bottom: 22px; }
.gear__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--color-film); }
.gear__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--color-tray); }
.gear__list b { display: block; }
.gear__list small { display: block; color: var(--color-fix); font-size: .88rem; }
.gear__list em { font-style: normal; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- 컷 6. 이용 순서 ---------- */
.steps { list-style: none; margin: 0 0 30px; padding: 0; counter-reset: step; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 58px; background: var(--color-paper); border-radius: 4px; }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 13px; width: 30px; height: 30px; display: grid; place-items: center; background: var(--color-film); color: var(--color-edge); font-weight: 800; font-size: .95rem; border-radius: 3px; }
.steps b { display: block; font-size: 1.06rem; margin-bottom: 2px; }
.steps p { color: var(--color-fix); font-size: .96rem; }
.steps small { color: var(--color-fix); }
.rules { border: 2px solid var(--color-film); border-radius: 4px; padding: 22px; }
.rules h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.rules ul { margin: 0 0 12px; padding-left: 1.1em; }
.rules li { margin-bottom: 4px; }
.rules__refund { font-size: .95rem; color: var(--color-fix); }

/* ---------- 컷 7. FAQ ---------- */
.faq__body { display: grid; gap: 10px; }
.qa { border-bottom: 1.5px solid var(--color-tray); }
.qa:first-child { border-top: 2px solid var(--color-film); }
.qa h3 { font-size: 1.06rem; }
.qa button { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 14px 2px; border: 0; background: none; text-align: left; font-weight: 700; cursor: pointer; line-height: 1.45; }
.qa button::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 2.5px no-repeat, linear-gradient(currentColor, currentColor) center / 2.5px 100% no-repeat; transition: transform .25s ease; }
.qa button[aria-expanded="true"]::after { transform: rotate(45deg); }
.qa__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.qa__panel > div { overflow: hidden; min-height: 0; }
.qa__panel p { padding: 0 2px 18px; color: var(--color-fix); }
.qa.is-open .qa__panel { grid-template-rows: 1fr; }
html:not(.js) .qa__panel { grid-template-rows: 1fr; }

/* ---------- 컷 8. 오시는 길 ---------- */
.location__body { display: grid; gap: 30px; align-items: start; }
.location__body .frame-head { margin-bottom: 0; }
.info { margin: 0 0 22px; border-top: 2px solid var(--color-film); }
.info div { display: grid; grid-template-columns: 5.6em 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--color-tray); }
.info dt { font-weight: 800; }
.info dd { margin: 0; color: var(--color-silver); }
.info small { color: var(--color-fix); }
.location__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map { background: var(--color-film); padding: 10px; border-radius: 3px; }
.map svg { width: 100%; height: auto; border-radius: 2px; }
.map__label { font: 800 20px var(--font); fill: var(--color-silver); }
.map__sub { font: 600 14px var(--font); fill: var(--color-fix); }
.map__station { font: 800 18px var(--font); fill: #fff; }

/* ---------- 밀착 인화지 (컷 목록) ---------- */
.sheet__paper { position: relative; background: var(--color-print); border: 1px solid #DAD8D2; border-radius: 3px; padding: 18px 16px 16px; }
.sheet__title { font-family: var(--font-hand); font-size: 1.4rem; line-height: 1.2; margin-bottom: 14px; }
.sheet__title small { display: block; font-family: var(--font); font-size: .78rem; color: var(--color-fix); margin-top: 4px; }
.sheet__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
.sheet__grid li { min-width: 0; }
.cell {
  position: relative; display: flex; flex-direction: column;
  padding: 11px 3px 18px;
  background: var(--color-film) var(--holes-s) repeat-x;
  background-size: 12px 5px; background-position: 0 3px;
  text-decoration: none; color: var(--color-silver);
}
.cell__img { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; aspect-ratio: 4 / 3; padding: 4px 3px; background: var(--color-tray); border-radius: 2px; transition: background-color .2s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.cell__img svg { width: 62%; height: auto; }
.cell__name { font-size: .76rem; font-weight: 700; line-height: 1.25; text-align: center; }
.cell__no { position: absolute; left: 6px; bottom: 3px; color: var(--color-edge); font-size: 11px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.cell__no::before { content: "▶ "; font-size: 8px; vertical-align: 1px; }
a.cell:hover .cell__img { background: var(--color-print); }
.cell__ring { position: absolute; left: -7px; right: -7px; top: -9px; bottom: -9px; width: calc(100% + 14px); height: calc(100% + 18px); overflow: visible; pointer-events: none; z-index: 2; }
.cell__ring path { fill: none; stroke: var(--color-grease); stroke-width: 4.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; }
.cell__check { position: absolute; right: -6px; top: -12px; width: 28px; height: 28px; overflow: visible; pointer-events: none; z-index: 2; }
.cell__check path { fill: none; stroke: var(--color-grease); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; }
.cell.is-seen .cell__check path { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .3s ease; }
.cell.is-active .cell__check path, .cell.is-here .cell__check path { opacity: 0; }
.cell.is-active .cell__img, .cell.is-here .cell__img { background: var(--color-print); transform: scale(1.06); }
.cell.is-active .cell__ring path, .cell.is-here .cell__ring path { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .55s cubic-bezier(.4,0,.2,1); }
.cell--blank .cell__img { background: var(--color-print); }
.cell__memo { font-family: var(--font-hand); color: var(--color-grease); font-size: .86rem; line-height: 1.2; text-align: center; padding: 0 4px; }
.sheet__call { margin-top: 18px; padding-top: 14px; border-top: 1.5px dashed var(--color-tray); display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; }
.sheet__call p { width: 100%; color: var(--color-fix); font-size: .84rem; }
.sheet__call a { font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--color-film); font-variant-numeric: tabular-nums; }

/* ---------- 푸터·고정 바 ---------- */
.site-footer { background: var(--color-film); color: #CFCCC6; font-size: var(--fs-small); line-height: 1.7; padding: 36px 0 40px; }
.site-footer__inner { width: min(1440px, 100% - var(--gutter) * 2); margin: 0 auto; display: grid; gap: 18px; }
.site-footer__logo { font-family: var(--font-hand); font-size: 1.5rem; color: var(--color-print); margin-bottom: 6px; }
.site-footer__links { margin-top: 8px; display: flex; gap: 14px; }
.site-footer__links a { color: #CFCCC6; }
.site-footer__links .strong { font-weight: 800; color: #fff; }
.site-footer__credit a { color: var(--color-edge); font-weight: 600; }
.site-footer .ph { border-color: rgba(255,255,255,.55); }

.quickbar { display: none; }

/* ---------- 등장 효과: 보이는 상태가 기본, has-motion 일 때만 숨겼다 보여 준다 ---------- */
.has-motion [data-hero-item] { opacity: 0; transform: translateY(16px); }
.has-motion .hero.is-ready [data-hero-item] { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.has-motion .hero.is-ready [data-hero-item]:nth-child(2) { transition-delay: .07s; }
.has-motion .hero.is-ready [data-hero-item]:nth-child(3) { transition-delay: .14s; }
.has-motion .hero.is-ready [data-hero-item]:nth-child(4) { transition-delay: .21s; }
.has-motion .hero.is-ready [data-hero-item]:nth-child(5) { transition-delay: .28s; }
/* 히어로 그림: 루페가 미끄러져 와 창가 컷 위에 멈추고, 그리스펜이 동그라미·체크·메모를 남긴다 */
.has-motion .hero .hs-loupe { opacity: 0; transform: translate(150px, 70px) rotate(8deg); }
.has-motion .hero .hs-grease--circle, .has-motion .hero .hs-grease--check { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.has-motion .hero .hs-grease--x, .has-motion .hero .hs-note { opacity: 0; }
.has-motion .hero.is-ready .hs-loupe { opacity: 1; transform: none; transition: opacity .3s ease .25s, transform 1s cubic-bezier(.25,.8,.25,1) .25s; }
.has-motion .hero.is-ready .hs-grease--x { opacity: .9; transition: opacity .3s ease .9s; }
.has-motion .hero.is-ready .hs-grease--circle { stroke-dashoffset: 0; transition: stroke-dashoffset .7s cubic-bezier(.4,0,.2,1) 1.2s; }
.has-motion .hero.is-ready .hs-grease--check { stroke-dashoffset: 0; transition: stroke-dashoffset .35s ease 1.85s; }
.has-motion .hero.is-ready .hs-note { opacity: 1; transition: opacity .4s ease 2.05s; }

.has-motion .reveal { opacity: 0; transform: translateY(20px); }
.has-motion .reveal.is-in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }

/* ---------- 반응형 ---------- */
@media (min-width: 640px) {
  .uses { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
  .space-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .space-opt > span { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 2px; padding: 10px 10px 12px; }
  .space-opt svg { grid-row: auto; width: 100%; margin-bottom: 8px; }
  .space-opt > span::after { top: 14px; right: 14px; margin-top: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .hero__body { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 36px; }
  .rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
  .film-strip--hours { grid-template-columns: repeat(13, minmax(0, 1fr)); }
  .film-strip--dates { grid-template-columns: repeat(14, minmax(0, 1fr)); }
  .day span { font-size: .72rem; }
  .planner__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); }
  .result { position: sticky; top: calc(var(--header-h) + 20px); }
  .rates__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps li { padding: 54px 14px 16px; }
  .steps li::before { top: 14px; }
  .faq__body { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
  .location__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: end; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .film-strip--dates { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
/* 데스크톱: 오른쪽에 밀착 인화지 고정 */
@media (min-width: 1240px) {
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
  .sheet { position: sticky; top: calc(var(--header-h) + 22px); }
  .sheet__paper { box-shadow: 0 1px 0 #DAD8D2, 0 12px 24px -16px rgba(28,26,25,.35); transform: rotate(.6deg); }
}
/* 1240 미만: 「컷 목록」 덮개 */
@media (max-width: 1239px) {
  .menu-toggle { display: inline-flex; }
  .site-header__hours { display: none; }
  .layout { width: min(1080px, 100% - var(--gutter) * 2); }
  .sheet { position: fixed; left: 0; right: 0; top: var(--menu-top, 64px); bottom: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain; background: var(--color-paper); padding: 18px var(--gutter) 28px; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .25s ease, visibility 0s linear .25s; }
  body.nav-open .sheet { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .25s ease; }
  .sheet__paper { max-width: 560px; margin: 0 auto; }
  .cell__name { font-size: .86rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 1023px) {
  .quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; display: grid; grid-template-columns: 1fr 1fr 1.5fr; background: var(--color-film); padding-bottom: env(safe-area-inset-bottom); border-top: 3px solid var(--color-film); }
  .quickbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 58px; color: var(--color-print); text-decoration: none; font-weight: 700; font-size: .95rem; border-right: 1px solid #3A3735; }
  .quickbar svg { width: 18px; height: 18px; color: var(--color-edge); }
  .quickbar__cta { background: var(--color-grease); border-right: 0 !important; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  body.nav-open .quickbar { visibility: hidden; }
  .header-cta { display: none; }
}
/* 모바일: 프레임 세로 띠 — 좌우 필름 테두리, 컷 사이 검은 선 */
@media (max-width: 767px) {
  :root { --header-h: 56px; --gutter: 16px; }
  .sample-banner { font-size: .8rem; }
  .sample-banner__inner { width: calc(100% - 28px); padding: 7px 0; }
  .site-header__inner { width: calc(100% - 28px); gap: 8px; }
  .logo svg { width: 38px; height: 28px; }
  .logo b { font-size: 1.3rem; }
  .header-tel span { display: none; }
  .header-tel { width: 44px; height: 44px; justify-content: center; border: 1.5px solid var(--color-film); border-radius: 4px; }
  .menu-toggle { padding: 0 10px; }
  .layout { width: 100%; padding: 0; }
  .roll { background: var(--color-film); padding: 6px 0; }
  .frame { grid-template-columns: 22px minmax(0, 1fr) 14px; grid-template-rows: auto; margin: 0; border-radius: 0; padding: 5px 0; }
  .frame__edge { grid-row: 1; padding: 14px 0; writing-mode: vertical-rl; justify-content: flex-start; gap: 40px; font-size: 9.5px; letter-spacing: .06em; background-image: var(--holes-y); background-repeat: repeat-y; background-size: 8px 22px; }
  .frame__edge--a { grid-column: 1; background-position: 3px 0; padding-left: 11px; padding-top: 14px; }
  .frame__edge--b { grid-column: 3; background-position: 3px 0; padding-bottom: 0; color: transparent; }
  .frame__body { grid-column: 2; grid-row: 1; border-radius: 2px; padding: 30px 16px 36px; }
  .frame__crop { inset: 5px 14px 5px 22px; }
  .frame__crop i { width: 22px; height: 22px; }
  .frame__crop i:nth-child(n) { border-width: 0; }
  .frame__crop i:nth-child(1) { border-left-width: 3.5px; border-top-width: 3.5px; }
  .frame__crop i:nth-child(2) { border-right-width: 3.5px; border-top-width: 3.5px; }
  .frame__crop i:nth-child(3) { border-left-width: 3.5px; border-bottom-width: 3.5px; }
  .frame__crop i:nth-child(4) { border-right-width: 3.5px; border-bottom-width: 3.5px; }
  .frame-head { margin-bottom: 26px; }
  .hero__body { padding-top: 26px; gap: 22px; }
  .hero__kicker { font-size: .86rem; margin-bottom: 14px; }
  .hero__title { margin-bottom: 14px; }
  .hero__lead { margin-bottom: 20px; font-size: 1.02rem; }
  .pc-only { display: none; }
  .hero__actions { margin-bottom: 22px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__art { margin: 0 -6px; width: calc(100% + 12px); max-width: none; }
  .film-strip--dates .day span { font-size: .66rem; }
  .day b { font-size: 1.05rem; }
  .hour b { font-size: 1.02rem; }
  .hour span { font-size: .66rem; }
  .result { padding: 0 16px 18px; }
  .result__tag { margin: 0 -16px 14px; padding: 9px 16px; }
  .rules { padding: 18px 16px; }
  .info div { grid-template-columns: 5em 1fr; }
  .site-footer { padding-bottom: 28px; }
}

/* ---------- 동작 줄이기: 1단계 끔, 2단계 짧은 페이드, 3단계 둠 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .btn, .chip > span, .qa__panel, .day b, .day span, .hour b, .hour span, a.cell .cell__img { transition-duration: .2s !important; }
  .btn:hover, .btn:active { transform: none; }
  .cell.is-active .cell__img { transform: none; }
}
.reduce-motion .reveal { transition: opacity .2s ease !important; transform: none !important; }
.reduce-motion .cell.is-active .cell__img { transform: none; }
