/* 기존 디자인에 사진만 얹기 — 가장자리가 베이지 바탕으로 번지듯 사라짐 (색·글꼴은 건드리지 않음) */
.ph-band,.ph-pair figure{margin:0;position:relative}
.ph-band img,.ph-pair img{display:block;width:100%;height:100%;object-fit:cover}
.ph-feather{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 84%,transparent 100%),linear-gradient(90deg,transparent 0,#000 9%,#000 91%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 84%,transparent 100%),linear-gradient(90deg,transparent 0,#000 9%,#000 91%,transparent 100%);mask-composite:intersect}

/* 넓은 띠 */
.ph-band{background:#ECEBE6;padding:0}
.ph-band.wide{width:100%}
.ph-band.wide .ph-feather{aspect-ratio:21/9;max-height:78vh}
.ph-band.mid{padding:0 4rem}
.ph-band.mid .ph-feather{max-width:1040px;margin:0 auto;aspect-ratio:3/2}
.ph-band img{filter:saturate(.92) contrast(.98)}

/* 두 장 나란히 */
.ph-pair{background:#ECEBE6;padding:2rem 4rem;display:grid;grid-template-columns:repeat(2,minmax(0,420px));justify-content:center;gap:clamp(1rem,3vw,3rem)}
.ph-pair figure:nth-child(2){margin-top:3.4rem}
.ph-pair .ph-feather{aspect-ratio:4/5}
.ph-pair img{filter:saturate(.92) contrast(.98)}

/* 유골 안내 띠 안의 사진 */
.kp-band .ph-pair{background:transparent;padding:0 0 3rem}
.kp-band .ph-pair figure:nth-child(2){margin-top:2.4rem}

@media(max-width:768px){
  .ph-band.mid{padding:0 1.2rem}
  .ph-band.wide .ph-feather{aspect-ratio:4/3}
  .ph-pair{padding:1rem 1.2rem;grid-template-columns:1fr 1fr;gap:.8rem}
  .ph-pair figure:nth-child(2){margin-top:2rem}
  .kp-band .ph-pair{padding:0 0 2rem}
}

/* 순서 섹션 안에서는 좁은 칸을 벗어나 넓게 */
.lf-in .ph-band.mid{position:relative;left:50%;width:min(1040px,92vw);margin:0 0 3.4rem -520px;margin-left:calc(min(1040px,92vw)/-2)}
.lf-in .ph-band.mid .ph-feather{aspect-ratio:3/2;max-height:620px}
.kp-ways .ph-pair,.ph-pair.in-ways{background:transparent!important;padding:0 0 3rem!important}
.ph-feather{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 18%,#000 82%,transparent 100%),linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 18%,#000 82%,transparent 100%),linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%)}

/* ═══ 「그날 이후…」 칸: 다른 칸과 달리 밤하늘 영상 위에 글 ═══ */
html body .kp-band{position:relative;isolation:isolate;overflow:hidden;min-height:min(82svh,760px);display:flex;align-items:center;justify-content:center;padding:9rem 4rem!important;text-align:center;border:0!important;
  background:#0E0D0B url(/images/ph/night-poster.jpg) center/cover no-repeat!important;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 15%,#000 85%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 15%,#000 85%,transparent 100%)}
html body .kp-band::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse 60% 50% at 50% 52%,rgba(14,13,11,.62),rgba(14,13,11,.1) 70%)}
.kp-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
html body .kp-band-in{position:relative;max-width:760px;margin:0 auto}
html body .kp-band .kp-band-t{color:#F3EFE6!important;font-size:clamp(20px,2.4vw,32px)!important;line-height:1.85!important;letter-spacing:-.01em;margin-bottom:2.4rem!important;text-shadow:0 2px 24px rgba(0,0,0,.45)}
html body .kp-band .kp-band-a{color:#E9D3A4!important;border-bottom:.5px solid rgba(233,211,164,.7)!important;font-size:13px!important;letter-spacing:.14em;padding-bottom:5px}
html body .kp-band .kp-band-a:hover{color:#fff!important;border-bottom-color:#fff!important}
@media(prefers-reduced-motion:reduce){.kp-video{display:none}}
@media(max-width:768px){html body .kp-band{padding:6rem 1.4rem!important;min-height:70svh}html body .kp-band .kp-band-t{font-size:18px!important}}

/* 폰에서 화면이 옆으로 밀리는 문제: 일부 칸의 번짐 장식이 화면 밖으로 8% 삐져나와 있었음 → 옆으로는 아예 못 움직이게 */
html,body{overflow-x:clip;overscroll-behavior-x:none;max-width:100%}
html body #ctaSection,html body #order,html body #process,html body footer,html body .kp-band,html body .lf-faq{overflow-x:clip}

/* 순서 바로 위에 붙은 사진 */
.lf-in .ph-order-top{margin-bottom:-.6rem!important}
.lf-in .ph-order-top .ph-feather{aspect-ratio:16/9;max-height:520px}
html body .lf-order{padding-top:3rem!important}

/* 「그날 이후…」 글: 두 줄을 서로 다른 크기로, 숨 쉴 간격과 또렷한 대비 */
html body .kp-band-in{max-width:820px}
html body .kp-band .kp-band-t{margin:0 0 3.4rem!important;text-shadow:none!important}
html body .kp-band .kp-l1{display:block;font-size:clamp(24px,3vw,40px);line-height:1.55;letter-spacing:-.015em;font-weight:400;color:#fff;margin:0 auto;max-width:15em;text-wrap:balance;text-shadow:0 2px 28px rgba(0,0,0,.55)}
html body .kp-band .kp-l1::after{content:'';display:block;width:34px;height:1px;background:rgba(233,211,164,.75);margin:2.2rem auto 2rem}
html body .kp-band .kp-l2{display:block;font-size:clamp(15px,1.25vw,18px);line-height:2.1;letter-spacing:.03em;color:rgba(243,239,230,.88);font-weight:300;text-shadow:0 1px 18px rgba(0,0,0,.6)}
html body .kp-band::before{background:radial-gradient(ellipse 62% 56% at 50% 50%,rgba(14,13,11,.78),rgba(14,13,11,.25) 72%,rgba(14,13,11,0) 100%)!important}
@media(max-width:768px){html body .kp-band .kp-l1{font-size:23px}html body .kp-band .kp-l1::after{margin:1.6rem auto 1.4rem}html body .kp-band .kp-l2{font-size:14.5px;line-height:2}html body .kp-band .kp-band-t{margin-bottom:2.6rem!important}}

/* ═══ 첫 화면: 아침 빛이 드는 방 영상 (글씨와 색은 기존 그대로) ═══ */
html body .hero{position:relative;isolation:isolate;background:#ECEBE6 url(/images/ph/hero-poster.jpg) center/cover no-repeat!important}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 50%;z-index:-2}
html body .hero::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(236,235,230,.72) 0%,rgba(236,235,230,.38) 42%,rgba(236,235,230,0) 70%),linear-gradient(180deg,rgba(236,235,230,.55) 0%,rgba(236,235,230,0) 22%,rgba(236,235,230,0) 80%,#ECEBE6 100%)}
html body .hero canvas,html body #heroLights{display:none!important}
html body .hero-sub{color:rgba(27,26,23,.78)!important}

@media(max-width:768px){.hero-video{object-position:68% 50%}html body .hero::after{background:linear-gradient(180deg,rgba(236,235,230,.78) 0%,rgba(236,235,230,.5) 55%,rgba(236,235,230,.2) 100%),linear-gradient(180deg,rgba(236,235,230,0) 80%,#ECEBE6 100%)}}
html body .nav:not(.scrolled) .nav-keep{color:rgba(27,26,23,.82)!important;border-bottom-color:rgba(27,26,23,.35)!important}

/* ═══ 11/2 손보기 ═══ */
/* 1) 첫 화면 영상과 식탁 사진이 한 번에 눈에 들어와 어지러움 → 사이에 베이지 쉼 칸 */
#home + .ph-band.wide{margin-top:clamp(5rem,11vw,10rem)}
#home + .ph-band.wide + section{margin-top:clamp(1rem,3vw,3rem)}
@media(max-width:768px){#home + .ph-band.wide{margin-top:5.5rem}}

/* 2) 폰에서 위 막대가 어설프게 따라오던 문제:
   body의 overflow-x:hidden 이 html의 clip 과 겹치면서 body가 따로 스크롤 상자가 되어 fixed가 흔들림 → 둘 다 clip 으로 통일 */
html body{overflow-x:clip!important}
.nav{top:0;left:0;right:0;transform:translateZ(0);-webkit-transform:translateZ(0);will-change:transform}
@media(max-width:768px){
  html body .nav,html body .nav.scrolled{padding-top:.8rem;padding-bottom:.8rem;padding-left:1.1rem;padding-right:1.1rem;background:rgba(236,235,230,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:.5px solid rgba(125,95,42,.14);transition:none}
}
/* 「나를 남기는 방식」: 글자 링크 → 눈에 띄는 알약 버튼 (색은 기존 금빛) */
html body .nav .nav-keep{display:inline-flex;align-items:center;font-size:12.5px;font-weight:500;letter-spacing:.02em;color:#5E4520!important;padding:9px 18px;border:.5px solid #7D5F2A!important;border-radius:100px;background:rgba(125,95,42,.12);margin-left:auto;margin-right:.7rem;transition:background .22s,color .22s}
html body .nav .nav-keep:hover{background:#7D5F2A;color:#ECEBE6!important}
html body .nav:not(.scrolled) .nav-keep{color:#5E4520!important;border-bottom-color:#7D5F2A!important}
@media(max-width:768px){html body .nav .nav-keep{font-size:11.5px;padding:8px 13px;margin-right:.45rem;letter-spacing:-.01em}html body .nav .nav-cta{padding:8px 14px}}

/* 3) 「그날의 순서」 라벨과 사진이 겹침 → 사진 아래 간격을 넉넉히 */
.lf-in .ph-order-top{margin-bottom:3.2rem!important}
.lf-in .ph-order-top .ph-feather{max-height:480px}
html body .lf-order{padding-top:2rem!important}
@media(max-width:768px){.lf-in .ph-order-top{margin-bottom:2.4rem!important}}

/* ═══ 11/2 (2) 위 막대: 투명하게, 위쪽만 아주 옅게 번지는 베이지(선·상자 없음) ═══ */
html body .nav,html body .nav.scrolled{position:fixed;top:0;left:0;right:0;margin:0;transform:translateZ(0);-webkit-transform:translateZ(0);
  padding:1.1rem 4rem 2.2rem;background:linear-gradient(180deg,rgba(236,235,230,.9) 0%,rgba(236,235,230,.55) 55%,rgba(236,235,230,0) 100%);backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:0;transition:none}
@media(max-width:768px){html body .nav,html body .nav.scrolled{padding:.8rem 1.1rem 1.8rem;background:linear-gradient(180deg,rgba(236,235,230,.92) 0%,rgba(236,235,230,.55) 58%,rgba(236,235,230,0) 100%)}}

.hero-video::-webkit-media-controls,.hero-video::-webkit-media-controls-start-playback-button,.hero-video::-webkit-media-controls-overlay-play-button,.hero-video::-webkit-media-controls-panel{display:none!important;-webkit-appearance:none}
.hero-video{pointer-events:none}
