/* 이용안내 전용 스타일. 토큰·헤더·버튼은 style.css를 그대로 쓴다. */
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none }
.g-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) }

/* 스크롤 등장(JS가 켜졌을 때만 숨김) */
.js .g-rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms) }
.js .g-rv.in { opacity: 1; transform: none }

/* 머리말 */
.g-top { padding: clamp(120px, 15vw, 168px) 0 clamp(32px, 4vw, 48px) }
.g-top .g-wrap { display: grid; gap: 16px; justify-items: start }
.g-top h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.1 }
.g-badge { font: 700 11px/1 var(--font-body); letter-spacing: .12em; padding: 6px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--glow-a), var(--glow-b)); color: #fff; flex: none }

/* 섹션 내 탐색 칩 */
.g-chips { position: sticky; top: var(--hh, 64px); z-index: 40; background: color-mix(in srgb, var(--day-bg) 94%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--day-line) }
.g-chips .g-wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none } .g-chips .g-wrap::-webkit-scrollbar { display: none }
.g-chips a { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--day-line); font-size: 14px; font-weight: 500; color: var(--day-sub); transition: background .25s, color .25s, border-color .25s }
.g-chips a:hover { color: var(--day-ink) } .g-chips a.on { background: var(--day-ink); color: var(--day-bg); border-color: var(--day-ink) }

/* 섹션 공통 */
.g-sec { --bg: var(--day-bg); --ink: var(--day-ink); --sub: var(--day-sub); --line: var(--day-line); background: var(--bg); color: var(--ink); padding: clamp(72px, 10vw, 140px) 0; scroll-margin-top: calc(var(--hh, 64px) + 64px) }
.g-sec.night { --bg: var(--night-bg); --ink: var(--night-ink); --sub: var(--night-sub); --line: var(--night-line) }
.g-sec.sage { --bg: var(--sage-bg); --ink: var(--sage-ink); --sub: #5d6b57; --line: var(--sage-line) }
.g-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 64px) }
.g-head .no { font: 500 13px/1 var(--font-body); letter-spacing: .14em; color: var(--sub) }
.g-head h2 { font-size: clamp(30px, 5vw, 60px); line-height: 1.15 }
.g-head .lead { color: var(--sub) }
.g-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) } @media (min-width: 760px) { .g-grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)) } .g-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)) } }

/* 카드 */
.g-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r-l); border: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 4%, var(--bg)); transition: transform .5s var(--ease), border-color .3s }
.g-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--ink) 30%, var(--line)) }
.g-card .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--ink); color: var(--bg) }
.night .g-card .ico { background: linear-gradient(135deg, var(--glow-a), var(--glow-b)); color: #fff }
.sage .g-card .ico { background: var(--sage-accent); color: #fff }
.g-card h3 { font-size: clamp(20px, 2vw, 26px) } .g-card p { margin: 0; color: var(--sub); font-size: 16px } .g-card p b { color: var(--ink) }
.g-card .big { font: 600 clamp(30px, 3.4vw, 44px)/1.1 var(--font-title); letter-spacing: -.02em }
.g-card ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--sub); font-size: 15px } .g-card ol b { color: var(--ink) }

/* 조명 다이얼 그림 */
.g-light { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; grid-template-columns: minmax(0, 1fr) } @media (min-width: 900px) { .g-light { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) } }
.g-photo { position: relative; margin: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5) } .g-photo img { width: 100%; height: auto; display: block }
.g-photo .pin { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--font-body); color: #14101c; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.4), 0 2px 10px rgba(0,0,0,.4); animation: g-pulse 2.2s ease-in-out infinite }
@keyframes g-pulse { 50% { box-shadow: 0 0 0 10px rgba(255,255,255,.14), 0 2px 10px rgba(0,0,0,.4) } }
.g-photo .legend { position: absolute; right: 4%; top: 6%; display: grid; gap: 8px; justify-items: stretch }
.g-photo .pill { display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; font: 600 13px/1 var(--font-body); color: #14101c; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; box-shadow: 0 6px 20px rgba(0,0,0,.25) }
.g-photo .pill i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #14101c; color: #fff; font-size: 12px }
.g-sw { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px }
.g-sw i { width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18) }
.step-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: st }
.step-list li { counter-increment: st; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line) }
.step-list li::before { content: counter(st); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); font: 600 18px/1 var(--font-title) }
.step-list li > div { display: grid; gap: 6px }
.step-list b { display: flex; align-items: center; min-height: 44px; font: 600 18px/1.35 var(--font-body) }
.step-list span { color: var(--sub); font-size: 15px; line-height: 1.7 }
.step-list .hl { font-style: normal; font-weight: 600; color: var(--ink) }
.g-head.sm h2 { font-size: clamp(28px, 3.6vw, 46px) }

/* 규칙 타일 */
.g-rules { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)) } @media (min-width: 900px) { .g-rules { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
.g-rule { display: grid; gap: 14px; align-content: space-between; min-height: 170px; padding: 22px; border-radius: var(--r-l); border: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 3%, var(--bg)) }
.g-rule .ic { font-size: 30px } .g-rule b { font: 600 clamp(16px, 1.6vw, 19px)/1.4 var(--font-body) } .g-rule span { display: block; color: var(--sub); font-size: 14px; font-weight: 400; margin-top: 4px }
.g-rule.warn .ic { color: #d6457a }

/* 브라이덜 */
.g-bridal { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; grid-template-columns: minmax(0, 1fr) } @media (min-width: 900px) { .g-bridal { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
.g-bridal > figure { margin: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 30px 70px rgba(35,48,31,.22) } .g-bridal > figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover }
.g-mini { display: flex; gap: 14px; margin-top: 26px } .g-mini figure { margin: 0; display: grid; gap: 8px; width: 132px } .g-mini img { width: 132px; height: 132px; object-fit: cover; border-radius: var(--r-m) } .g-mini figcaption { font-size: 13px; color: var(--sub) }

/* 체크리스트 */
.g-check { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: minmax(0, 1fr) } @media (min-width: 900px) { .g-check { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start } }
.ring { position: relative; width: min(280px, 70vw); aspect-ratio: 1; margin: 0 auto }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg) } .ring circle { fill: none; stroke-width: 8; stroke-linecap: round } .ring .bg { stroke: var(--line) } .ring .fg { stroke: url(#g-grad); stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset .7s var(--ease) }
.ring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center } .ring b { font: 600 clamp(48px, 7vw, 68px)/1 var(--font-title) } .ring span { color: var(--sub); font-size: 14px; margin-top: 6px }
.g-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.g-todo label { display: flex; min-width: 0; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-m); border: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 3%, var(--bg)); cursor: pointer; transition: background .3s, border-color .3s, transform .3s var(--ease); font-size: 16px }
.g-todo label:hover { transform: translateX(4px) }
.g-todo input { position: absolute; opacity: 0 }
.g-todo .box { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--sub); display: grid; place-items: center; flex: none; color: transparent; font-size: 15px; transition: all .3s var(--ease) }
.g-todo input:checked + .box { background: linear-gradient(135deg, var(--glow-a), var(--glow-b)); border-color: transparent; color: #fff; transform: scale(1.08) }
.g-todo input:checked ~ span { color: var(--sub); text-decoration: line-through }
.g-todo .box { position: relative }
.g-todo .box::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--glow-a); opacity: 0; pointer-events: none }
.g-todo li.pop .box { animation: g-tick .6s var(--ease) } .g-todo li.pop .box::after { animation: g-ripple .7s ease-out }
.g-todo li.pop label { animation: g-row .7s ease-out }
.g-todo li.pop .box svg { animation: g-draw .45s var(--ease) both }
@keyframes g-tick { 0% { transform: scale(.7) } 45% { transform: scale(1.35) rotate(-8deg) } 75% { transform: scale(.94) rotate(3deg) } 100% { transform: scale(1.08) } }
@keyframes g-ripple { 0% { opacity: .9; transform: scale(1) } 100% { opacity: 0; transform: scale(2.6) } }
@keyframes g-row { 0% { box-shadow: 0 0 0 0 rgba(255,95,180,.45) } 100% { box-shadow: 0 0 0 14px rgba(255,95,180,0) } }
@keyframes g-draw { from { transform: scale(0) rotate(-40deg) } to { transform: none } }
.g-todo input:focus-visible + .box { outline: 2px solid var(--glow-b); outline-offset: 3px }
.g-done { display: none; position: relative; overflow: hidden; margin-top: 22px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); color: var(--night-ink); background: linear-gradient(135deg, #1b1428, #14101c 60%); border: 1px solid transparent; background-clip: padding-box; box-shadow: 0 0 0 1px rgba(255,95,180,.35), 0 20px 50px rgba(139,92,255,.22); grid-template-columns: auto minmax(0, 1fr); gap: 16px 20px; align-items: center }
.g-done::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,95,180,.28), transparent 65%); pointer-events: none }
.g-done.on { display: grid; animation: g-pop .7s var(--ease) }
.g-done .done-ic, .g-done .done-body, .g-done .btn { position: relative; z-index: 1 }
@keyframes g-pop { from { opacity: 0; transform: translateY(14px) scale(.98) } }
.done-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: #fff; background: linear-gradient(135deg, var(--glow-a), var(--glow-b)); box-shadow: 0 8px 24px rgba(139,92,255,.5) }
.g-done.on .done-ic { animation: g-ring 1.4s var(--ease) .15s both } @keyframes g-ring { 0% { transform: scale(.4); box-shadow: 0 0 0 0 rgba(255,95,180,.7) } 60% { transform: scale(1.08) } 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(139,92,255,.5), 0 0 0 22px rgba(255,95,180,0) } }
.done-body h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin-bottom: 6px } .done-body p { margin: 0; color: var(--night-sub); font-size: 15px }
.g-done .btn { grid-column: 1 / -1; justify-self: start; background: #fff; color: #14101c; padding: 15px 26px; font-weight: 600 }
.g-done .btn .ic { transition: transform .3s var(--ease) } .g-done .btn:hover .ic { transform: translateX(4px) }
@media (min-width: 760px) { .g-done { grid-template-columns: auto minmax(0, 1fr) auto } .g-done .btn { grid-column: auto; justify-self: end } }
.confetti { position: absolute; left: 56px; top: 50%; width: 0; height: 0; pointer-events: none }
.confetti i { position: absolute; width: 8px; height: 8px; border-radius: 2px; opacity: 0 }
.g-done.on .confetti i { animation: g-burst 1.6s var(--ease) .1s both }
.confetti i:nth-child(1) { --x: -60px; --y: -70px; background: #ff5fb4 } .confetti i:nth-child(2) { --x: 20px; --y: -90px; background: #8b5cff } .confetti i:nth-child(3) { --x: 90px; --y: -60px; background: #ffb45f } .confetti i:nth-child(4) { --x: 150px; --y: -85px; background: #5fb4ff } .confetti i:nth-child(5) { --x: 220px; --y: -55px; background: #fff } .confetti i:nth-child(6) { --x: 290px; --y: -80px; background: #ff5fb4 } .confetti i:nth-child(7) { --x: -80px; --y: 10px; background: #ffb45f } .confetti i:nth-child(8) { --x: 60px; --y: 60px; background: #5fb4ff } .confetti i:nth-child(9) { --x: 130px; --y: 50px; background: #8b5cff } .confetti i:nth-child(10) { --x: 200px; --y: 70px; background: #ff5fb4 } .confetti i:nth-child(11) { --x: 270px; --y: 40px; background: #fff } .confetti i:nth-child(12) { --x: -30px; --y: 70px; background: #fff } .confetti i:nth-child(13) { --x: 340px; --y: -30px; background: #ffb45f } .confetti i:nth-child(14) { --x: 330px; --y: 60px; background: #8b5cff } .confetti i:nth-child(15) { --x: 110px; --y: -30px; background: #ff7a6b } .confetti i:nth-child(16) { --x: 240px; --y: 10px; background: #b7a4ff }
@keyframes g-burst { 0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.6) } 70% { opacity: 1 } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 70px)) rotate(420deg) scale(1) } }
.g-note { font-size: 13px; color: var(--sub); margin: 14px 0 0 }

/* 연락 */
.g-contact { text-align: center; display: grid; justify-items: center; gap: 26px }
.g-contact h2 { font-size: clamp(34px, 6vw, 76px) } .g-contact .lead { margin: 0 auto }
.g-contact .btns { justify-content: center } .g-contact .btn-ghost { border-color: var(--line); color: var(--ink) } .g-contact .btn-solid { background: #fff; color: #14101c }
.g-foot { padding: 34px 0 60px; font-size: 13px; color: var(--night-sub); background: var(--night-bg); border-top: 1px solid var(--night-line) } .g-foot .g-wrap { display: flex; gap: 8px 22px; flex-wrap: wrap }

@media (prefers-reduced-motion: reduce) { .js .g-rv { opacity: 1; transform: none; transition: none } .g-photo .pin, .g-done.on .confetti i, .g-done.on .done-ic { animation: none } .g-todo li.pop .box, .g-todo li.pop .box::after, .g-todo li.pop label, .g-todo li.pop .box svg { animation: none } }
