/* SnapStory 랜딩 (2차 기획안 4.4) — 모바일 기준, 1024px 이상에서 넓힌다 */
.ld-wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.ld-narrow { max-width: 760px; }

/* 머리글: 첫 화면 사진 위에서는 투명 + 흰 글자(휴대폰), 지나면 종이색 */
.ld-header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; padding-top: env(safe-area-inset-top); color: #fff; transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.ld-header.solid { background: rgba(247,244,238,.96); color: var(--text); box-shadow: 0 1px 0 var(--line); }
.ld-header .inner { max-width: 1280px; margin: 0 auto; height: 56px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.ld-nav { display: none; }

/* 첫 화면 */
.ld-hero { position: relative; }
.ld-hero-photo { position: relative; height: 88vh; height: min(88svh, 720px); min-height: 520px; overflow: hidden; background: #B79C84; }
.ld-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.ld-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,16,12,.78) 0%, rgba(20,16,12,.55) 30%, rgba(20,16,12,.18) 58%, rgba(20,16,12,0) 75%), linear-gradient(to bottom, rgba(20,16,12,.32), rgba(20,16,12,0) 22%); }
.ld-hero-collage { display: none; }
.ld-hero-text { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; color: #fff; animation: fadeUp .5s var(--ease-out) both; }
.ld-eyebrow { margin: 0 0 10px; font-size: var(--t-label); font-weight: 700; letter-spacing: .08em; opacity: .9; }
.ld-hero h1 { margin: 0; font-size: var(--t-display); line-height: 1.18; letter-spacing: -0.035em; font-weight: 700; text-shadow: 0 1px 16px rgba(0,0,0,.2); }
.ld-lead { margin: 14px 0 24px; font-size: var(--t-body); line-height: 1.65; opacity: .92; }
.ld-cta { width: 100%; max-width: 360px; }
.lg-br { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 신뢰 띠 */
.ld-trust { background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 -1px 0 var(--line); }
.ld-trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ld-trust p { margin: 0; padding: 20px 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.ld-trust p + p { box-shadow: -1px 0 0 var(--line); }
.ld-trust strong { font-size: 24px; font-weight: 300; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.ld-trust span { font-size: var(--t-meta); color: var(--text-sub); }

/* 섹션 공통 */
.ld-section { padding: var(--s-section) 0; }
.ld-section-paper { background: var(--paper-2); }
.ld-kicker { margin: 0 0 8px; font-size: var(--t-label); font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.ld-section h2 { margin: 0 0 20px; font-size: var(--t-h1); line-height: 1.3; letter-spacing: -0.03em; }
.ld-body { margin: 0; color: var(--text-sub); }

/* 왜 무료인가 */
.ld-why { display: grid; gap: 24px; }
.ld-checks { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 3px solid var(--accent); display: grid; gap: 14px; }
.ld-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-body); }
.ld-check { flex: none; width: 28px; height: 28px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, #fff); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-top: -1px; }

/* 촬영 종류 */
.ld-types { display: grid; gap: 20px; }
.ld-type { background: var(--surface); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-print); }
.ld-type img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-2); }
.ld-type div { padding: 18px 20px 22px; }
.ld-type h3 { margin: 0 0 6px; font-size: var(--t-h2); letter-spacing: -0.02em; }
.ld-type p { margin: 0; color: var(--text-sub); font-size: 15px; }

/* 진행 방법: 큰 숫자 + 세로 타임라인 */
.ld-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ld-steps li { position: relative; display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 0 0 28px; }
.ld-steps li:not(:last-child)::after { content: ''; position: absolute; left: 22px; top: 48px; bottom: 6px; border-left: 2px dotted var(--line-strong); }
.ld-step-no { grid-row: 1 / 3; font-size: 40px; font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.ld-steps strong { font-size: var(--t-h2); letter-spacing: -0.02em; padding-top: 2px; }
.ld-steps small { font-size: 15px; color: var(--text-sub); }

/* 샘플: 원본 비율 그리드 (한 줄 높이를 맞추고 사진은 자르지 않음) */
.ld-justified { --row-h: 140px; display: flex; flex-wrap: wrap; gap: 4px; }
.ld-justified::after { content: ''; flex-grow: 9999; }
.ld-justified figure { margin: 0; flex: calc(var(--r) * 100) 1 calc(var(--r) * var(--row-h)); aspect-ratio: var(--r); background: var(--line); overflow: hidden; }
.ld-justified img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
.ld-faq details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.ld-faq summary { min-height: 28px; font-size: var(--t-body); font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ld-faq summary::-webkit-details-marker { display: none; }
.ld-faq summary::after { content: '+'; flex: none; font-size: 22px; font-weight: 300; line-height: 1; color: var(--accent); transition: transform .2s var(--ease); }
.ld-faq details[open] summary::after { transform: rotate(45deg); }
.ld-faq p { margin: 10px 0 0; color: var(--text-sub); }

/* 문의 */
.ld-contact { margin: var(--s-section) 0 0; padding: 32px 24px; border-radius: 20px; background: var(--accent); color: #fff; }
.ld-contact h2 { margin: 0 0 8px; font-size: var(--t-h1); letter-spacing: -0.03em; }
.ld-contact p { margin: 0; color: rgba(255,255,255,.82); }
.ld-contact-ways { margin: 12px 0 24px !important; font-weight: 600; color: #fff !important; }
.ld-footer { padding: 40px 16px 120px; font-size: var(--t-label); color: var(--text-sub); text-align: center; }

@media (min-width: 600px) {
  .ld-justified { --row-h: 200px; gap: 8px; }
  .ld-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .ld-header { position: sticky; color: var(--text); background: rgba(247,244,238,.96); box-shadow: 0 1px 0 var(--line); }
  .ld-header .inner { height: 72px; }
  .ld-nav { display: flex; gap: 28px; align-items: center; }
  .ld-nav a { color: var(--text); text-decoration: none; font-size: 15px; }
  .ld-nav .btn-sm-ld { min-height: 44px; padding: 0 20px; color: #fff; }

  /* 첫 화면: 왼쪽 문구, 오른쪽 사진 콜라주 */
  .ld-hero { max-width: 1280px; margin: 0 auto; padding: 72px var(--gutter) 88px; display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
  .ld-hero-text { position: static; color: var(--text); grid-column: 1; grid-row: 1; }
  .ld-eyebrow { color: var(--accent); }
  .ld-hero h1 { text-shadow: none; }
  .ld-lead { color: var(--text-sub); font-size: 18px; opacity: 1; }
  .lg-br { display: inline; }
  .ld-hero-photo { grid-column: 2; grid-row: 1; justify-self: start; width: 62%; height: auto; min-height: 0; aspect-ratio: 4 / 5; border: 6px solid #fff; border-radius: 2px; box-shadow: var(--shadow-print); transform: rotate(-1.5deg); overflow: hidden; }
  .ld-hero-photo::after { display: none; }
  .ld-hero-collage { display: block; grid-column: 2; grid-row: 1; position: relative; height: 100%; pointer-events: none; }
  .ld-hero-collage img { position: absolute; width: 36%; height: auto; aspect-ratio: 1; object-fit: cover; border: 6px solid #fff; border-radius: 2px; box-shadow: var(--shadow-print); }
  .ld-hero-collage .c1 { right: 2%; top: 4%; transform: rotate(2.5deg); }
  .ld-hero-collage .c2 { right: 16%; bottom: 2%; transform: rotate(-2deg); }

  .ld-trust strong { font-size: 32px; }
  .ld-trust p { padding: 28px 8px; }
  .ld-why { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .ld-types { gap: 32px; }
  .ld-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .ld-steps li { grid-template-columns: 1fr; padding: 0; row-gap: 10px; }
  .ld-steps li:not(:last-child)::after { left: 64px; right: -16px; top: 20px; bottom: auto; border-left: 0; border-top: 2px dotted var(--line-strong); }
  .ld-step-no { grid-row: auto; font-size: 48px; }
  .ld-justified { --row-h: 260px; gap: 12px; }
  .ld-narrow { margin: 0 auto; }
  .ld-contact { padding: 48px 56px; display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: center; }
  .ld-contact .ld-cta { grid-column: 2; grid-row: 1 / 4; width: 320px; }
  .ld-contact-ways { margin-bottom: 0 !important; }
  .ld-footer { padding-bottom: 48px; }
}
/* 메뉴로 이동할 때 고정 머리글에 제목이 가리지 않게 */
.ld-section, #contact { scroll-margin-top: 64px; }
@media (min-width: 1024px) { .ld-section, #contact { scroll-margin-top: 80px; } }
