/* 오브로즈 웨딩 랜딩페이지 - 모노크롬 (모바일 우선) */
:root {
  --bg: #ffffff;
  --paper: #f6f6f6;
  --ink: #1b1b1b;
  --ink-2: #4a4a4a;
  --muted: #8a8a8a;
  --line: #e9e9e9;
  --shadow: 0 1px 0 #ececec, 0 6px 16px rgba(0, 0, 0, .05);
  /* 마우스를 올렸을 때만 보이는 은은한 핑크 */
  --pink-bg: #fcebf0;
  --pink-line: #f1cdd8;
  --pink-ink: #97546b;
  --pink-shadow: 0 7px 0 #ecc6d2, 0 18px 30px rgba(184, 117, 141, .22);
  --nav-h: 52px;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ── 상단 주요 메뉴 ── */
.topnav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.topnav.is-scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 1px 0 var(--line); }
.topnav-inner {
  height: var(--nav-h); max-width: 1080px; margin: 0 auto; padding: 0 12px;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.topnav a {
  padding: 8px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: -.2px; color: var(--ink-2);
  white-space: nowrap; transition: background-color .2s ease, color .2s ease;
}
.topnav a.nav-cta { background: var(--ink); color: #fff; margin-left: 4px; padding: 7px 14px; }
@media (hover: hover) and (pointer: fine) {
  .topnav a:hover { background: var(--pink-bg); color: var(--pink-ink); }
  .topnav a.nav-cta:hover { background: #3a3a3a; color: #fff; }
}

/* ── 대표 사진 + 그라데이션 + 로고 ── */
.page { max-width: 1080px; margin: 0 auto; }
.hero { position: relative; height: 560px; overflow: hidden; background: var(--bg); }
.hero-photo { width: 100%; height: 500px; object-fit: cover; object-position: 50% 26%; filter: grayscale(.15) contrast(1.02); }
.hero-photo.img-empty { display: block; background: linear-gradient(160deg, #eee, #d9d9d9); }
.hero-fade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 14%, rgba(255,255,255,0) 38%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.72) 66%, #fff 84%);
}
.hero-top {
  position: absolute; top: calc(var(--nav-h) + env(safe-area-inset-top) + 10px); left: 20px; right: 20px;
  display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 1.8px; color: #6d6d6d;
}
.hero-top span { background: rgba(255,255,255,.6); padding: 4px 7px; border-radius: 3px; }
.hero-brand { position: absolute; left: 16px; right: 16px; bottom: 26px; margin: 0; display: flex; justify-content: center; }
.hero-logo { width: min(86vw, 360px); height: auto; }
.hero-logo-text { font-size: 44px; font-weight: 300; letter-spacing: 12px; }

/* ── 소개 ── */
.intro { text-align: center; padding: 6px 22px 26px; }
.intro h2 { margin: 0 0 20px; font-size: 14px; font-weight: 600; letter-spacing: -.3px; }
.intro p { margin: 0; font-size: 13px; line-height: 2.15; color: #555; letter-spacing: -.3px; }
.intro p span { display: block; }

/* ── SNS ── */
.socials { display: flex; justify-content: center; gap: 26px; padding: 4px 16px 28px; }
.socials a { display: flex; flex-direction: column; align-items: center; gap: 9px; width: 56px; color: #3d3d3d; transition: transform .22s ease, color .22s ease; }
.socials svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.socials span { font-size: 10px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .socials a:hover { transform: translateY(-4px); color: var(--pink-ink); } }

/* ── 공통 카드(입체감) ── */
.content { padding: 0 20px 36px; perspective: 1000px; }
.block { margin-top: 34px; }
.label { display: flex; justify-content: space-between; align-items: baseline; margin: 0 2px 14px; font-size: 11px; font-weight: 500; letter-spacing: 1.4px; color: #333; }
.label small { font-size: 10px; letter-spacing: .2px; color: #9a9a9a; font-weight: 400; }
.card3d {
  position: relative; display: block;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-top-color: #fff; border-radius: var(--radius);
  box-shadow: 0 4px 0 #e6e6e6, 0 10px 22px rgba(0, 0, 0, .06);
  transform-style: preserve-3d;
  transition: transform .26s ease, box-shadow .26s ease, background-color .26s ease, border-color .26s ease;
  cursor: pointer;
}
.card3d.is-pending { cursor: default; opacity: .75; }
.pending-badge { position: absolute; top: 12px; right: 12px; font-size: 10px; color: #777; background: #f1f1f1; border-radius: 999px; padding: 3px 9px; }
@media (hover: hover) and (pointer: fine) {
  a.card3d:hover {
    background: var(--pink-bg); border-color: var(--pink-line);
    transform: translateY(-6px) translateZ(8px);
    box-shadow: var(--pink-shadow);
  }
  a.card3d:hover b { color: var(--pink-ink); }
  a.card3d:hover .arrow, a.card3d:hover .svc-btn i { transform: translate(3px, -3px); }
}
a.card3d:focus-visible { outline: 2px solid #d99caf; outline-offset: 4px; background: var(--pink-bg); }
a.card3d:active { transform: translateY(-1px); box-shadow: 0 2px 0 #e6e6e6, 0 6px 12px rgba(0,0,0,.06); }
.arrow { font-size: 22px; font-weight: 300; color: #8d8d8d; transition: transform .2s ease; }

/* 카카오톡 상담 */
.consult { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; min-height: 96px; }
.consult small { display: block; margin-bottom: 4px; font-size: 10px; letter-spacing: 1.4px; color: #8f8f8f; }
.consult b { font-size: 16px; font-weight: 500; letter-spacing: -.3px; }

/* 서비스 카드 (본식 스냅 / 본식 영상 / 아이폰 스냅) */
.svc-grid { display: grid; gap: 18px; }
.svc { overflow: hidden; }
.svc-media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: var(--paper); }
.svc-media img, .svc-media .img-empty { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.04); transition: filter .4s ease, transform .5s ease; }
.svc-media .img-empty { display: block; background: linear-gradient(160deg, #eee, #dcdcdc); }
@media (hover: hover) and (pointer: fine) { a.svc:hover .svc-media img { filter: grayscale(.2); transform: scale(1.03); } }
.svc-body { display: block; padding: 18px 22px 22px; }
.svc-body small { display: block; font-size: 10px; letter-spacing: 1.6px; color: #949494; }
.svc-body b { display: block; margin: 4px 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.5px; transition: color .2s ease; }
.svc-body p { margin: 0 0 16px; font-size: 13px; line-height: 1.85; color: #5d5d5d; }
.svc-body p span { display: block; }
.svc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500; }
.svc-btn i { font-style: normal; transition: transform .2s ease; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.95); display: grid; place-items: center; box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.play svg { width: 16px; height: 16px; fill: var(--ink); margin-left: 2px; }

/* 영상 카드 */
.film { overflow: hidden; height: 230px; }
.film > img, .film > .img-empty { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; filter: grayscale(1) brightness(.9); }
.film-label { position: absolute; left: 0; right: 0; bottom: 0; min-height: 38px; padding: 0 18px; display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 10px; letter-spacing: 1.5px; color: #555; transition: background-color .25s ease; }
@media (hover: hover) and (pointer: fine) { a.film:hover .film-label { background: rgba(252,235,240,.95); } a.film:hover > img { filter: grayscale(.3); } }

/* 포트폴리오 링크 */
.link-grid { display: grid; gap: 14px; }
.link { display: flex; align-items: center; gap: 16px; padding: 18px 20px; min-height: 100px; }
.link img, .link .img-empty { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: 14px; filter: grayscale(1); background: var(--paper); }
.link .copy { flex: 1; min-width: 0; }
.link b { display: block; margin-bottom: 3px; font-size: 14.5px; font-weight: 500; letter-spacing: -.35px; transition: color .2s ease; }
.link small { display: block; font-size: 11.5px; color: #8e8e8e; }

/* 파트너 스튜디오 */
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.studio { padding: 22px 16px; min-height: 96px; }
.studio b { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 500; transition: color .2s ease; }
.studio small { font-size: 11px; color: #8e8e8e; }
.studio i { font-style: normal; }

/* 맨 아래 */
.footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 22px calc(22px + env(safe-area-inset-bottom)); background: #1d1d1d; color: #a9a9a9; font-size: 10px; letter-spacing: .8px; }
.footer-brand { color: #fff; font-weight: 500; letter-spacing: 2px; }
.footer a { color: #8a8a8a; }

/* ── 작은 휴대폰 ── */
@media (max-width: 360px) {
  .topnav a { padding: 8px 7px; font-size: 12.5px; }
  .topnav a.nav-cta { padding: 7px 11px; }
  .socials { gap: 16px; }
  .link { padding: 16px 14px; gap: 12px; }
}

/* ── 태블릿·PC ── */
@media (min-width: 720px) {
  .hero { height: 640px; }
  .hero-photo { height: 580px; }
  .hero-logo { width: 440px; }
  .intro h2 { font-size: 15px; }
  .intro p { font-size: 14px; }
  .content { padding: 0 32px 56px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-media { aspect-ratio: 4 / 5; }
  .link-grid { grid-template-columns: 1fr 1fr; }
  .studio-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .film { height: 360px; }
  .consult { max-width: 560px; margin: 0 auto; }
  .footer { max-width: none; padding-left: max(32px, calc((100% - 1016px) / 2)); padding-right: max(32px, calc((100% - 1016px) / 2)); }
  .topnav a { font-size: 14px; padding: 8px 14px; }
}
@media (min-width: 1100px) {
  .hero { height: 700px; }
  .hero-photo { height: 640px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
}
