/* 영원한순간 — 브랜드 토큰은 로고·메뉴판·카드 세트 원본에서 추출 */
:root {
  --blush: #DDB6AA;
  --blush-soft: #F4E6E0;
  --paper: #FCF8F5;
  --brick: #9D4034;
  --brick-deep: #7E3227;
  --ink: #3A1712;
  --ink-soft: #6F4E47;
  --coral: #F86256;
  --line: #EAD7CF;
  --serif: "Noto Serif KR", "Apple SD Gothic Neo", serif;
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --radius: 14px;
  --gutter: clamp(20px, 4vw, 48px);
}
.c-olive { --c: #3E4422; --on: #fff; }
.c-brick { --c: #934638; --on: #fff; }
.c-mustard { --c: #EBAB3B; --on: #3A1712; }
.c-rose { --c: #C04B65; --on: #fff; }
.c-brown { --c: #996848; --on: #fff; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.75 var(--sans); word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { width: min(820px, 100%); }
.center { text-align: center; margin-top: 44px; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.muted { color: var(--ink-soft); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 15px; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn--solid { background: var(--brick); color: #fff; }
.btn--solid:hover { background: var(--brick-deep); }
.btn--line { border-color: var(--brick); color: var(--brick); }
.btn--line:hover { background: var(--brick); color: #fff; }
.btn--white { background: #fff; color: var(--brick); }
.btn--white:hover { background: var(--blush-soft); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.link-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* 머리글 */
/* backdrop-filter 를 쓰면 모바일 전체화면 메뉴(position: fixed)가 헤더 높이에 갇히므로 불투명 배경을 쓴다 */
.top { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.top__logo img { width: 172px; height: auto; }
.top__nav { display: flex; align-items: center; gap: 30px; }
.top__nav ul { display: flex; gap: 28px; }
.top__nav li a { font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.top__nav li a:hover, .top__nav li a[aria-current] { color: var(--brick); border-color: var(--brick); }
.top__nav .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
.top__toggle { display: none; width: 44px; height: 44px; position: relative; }
.top__toggle span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--brick); transition: transform .2s, top .2s; }
.top__toggle span:nth-child(1) { top: 17px; }
.top__toggle span:nth-child(2) { top: 26px; }
.top__toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.top__toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* 섹션 공통 */
.sec { padding-block: clamp(64px, 9vw, 112px); }
.sec--tight { padding-block: clamp(28px, 4vw, 44px); }
.sec--blush { background: var(--blush-soft); }
.sec--brick { background: var(--brick); color: #fff; }
.sec-head { margin-bottom: clamp(30px, 4vw, 48px); }
.sec-head .eyebrow { color: var(--brick); margin-bottom: 8px; }
.sec-head h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.35; color: var(--brick); }
.sec-head .lead { margin-top: 12px; color: var(--ink-soft); max-width: 40em; }
.sec--brick .sec-head h2, .sec--brick .sec-head .eyebrow { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split p + p { margin-top: 12px; }
.frame { border-radius: var(--radius); overflow: hidden; background: var(--blush-soft); }
.frame img { width: 100%; }
.frame--map { background: #fff; border: 1px solid var(--line); }
.frame--sticky { position: sticky; top: 100px; align-self: start; }
.note { margin-top: 26px; font-size: 14px; color: var(--ink-soft); }
.sub { font-size: 18px; font-weight: 700; color: var(--brick); margin: 22px 0 6px; }

/* 히어로 */
.hero { position: relative; background: var(--blush); overflow: hidden; }
.hero::before, .page-head--pattern::before { content: ""; position: absolute; inset: 0; background: url(/img/pattern.webp) 0 0 / 240px 200px; opacity: .13; pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 40px; min-height: min(720px, calc(100svh - 76px)); padding-block: 48px; }
.hero__text .eyebrow { color: var(--brick); margin-bottom: 18px; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.34; color: var(--brick-deep); }
.hero__sub { margin-top: 20px; max-width: 28em; font-size: 17px; color: var(--ink); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__art { position: relative; aspect-ratio: 1; width: min(100%, 580px); justify-self: center; }
.hero__art figure { position: absolute; border-radius: 50%; overflow: hidden; background: var(--blush-soft); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__main { inset: 7%; box-shadow: 0 28px 60px rgba(126,50,39,.25); }
.hero__sub1 { width: 30%; aspect-ratio: 1; left: -3%; bottom: 3%; border: 5px solid var(--blush); }
.hero__sub2 { width: 22%; aspect-ratio: 1; right: -1%; top: 8%; border: 5px solid var(--blush); }
.hero__sub2 img { object-position: 50% 20%; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring path, .mini-ring path { fill: none; stroke: var(--brick); stroke-width: 1; }
.ring circle, .mini-ring circle { fill: var(--brick); }
.ring path { stroke-dasharray: 100; animation: draw 1.5s ease-out both; }
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* 메뉴 카드 */
.group-title { font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); font-weight: 500; margin: 34px 0 16px; }
.group-title em { font-style: normal; font-weight: 700; color: var(--brick); }
.cats { display: grid; gap: 16px; }
.cats--cake { grid-template-columns: repeat(2, 1fr); }
.cats--cake .cat figure { aspect-ratio: 16 / 10; }
.cats--gift { grid-template-columns: repeat(2, 1fr); }
.cat { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--c); color: var(--on); }
.cat figure { aspect-ratio: 1; overflow: hidden; background: var(--blush-soft); }
.cats--gift .cat figure { aspect-ratio: 16 / 10; }
.cat figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat:hover figure img { transform: scale(1.04); }
.cat__panel { position: relative; padding: 22px 24px 24px; flex: 1; }
.cat__panel .eyebrow { font-size: 11px; opacity: .8; }
.cat__panel h3 { font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1.3; margin: 4px 0 6px; }
.cat__panel > p:not(.eyebrow) { font-size: 15px; opacity: .92; }
.cat__panel b { display: block; margin-top: 12px; font-weight: 700; }
.cat__eom { position: absolute; top: 20px; right: 20px; width: 26px; height: auto; opacity: .85; }
.c-mustard .cat__eom { filter: brightness(.3) sepia(1); }

/* 약속 */
.trust { padding-bottom: clamp(64px, 9vw, 112px); }
.trust__img { height: clamp(220px, 34vw, 440px); overflow: hidden; background: #eee; margin-bottom: clamp(48px, 7vw, 84px); }
.trust__img img { width: 100%; height: 100%; object-fit: cover; }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.promises h3 { font-size: 20px; font-weight: 700; margin: 14px 0 6px; }
.promises p { color: var(--ink-soft); }
.mini-ring { width: 44px; height: 44px; overflow: visible; }
.mini-ring path { stroke-width: 3.2; }
.mini-ring circle { r: 5; }

/* 단계 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--brick); font-weight: 700; font-size: 18px; }
.steps h3 { font-size: 20px; margin: 16px 0 6px; }
.steps p { font-size: 15px; opacity: .92; }

/* 클래스 티저 */
.class-teasers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.class-teasers a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.class-teasers figure { aspect-ratio: 4 / 3; background: var(--blush-soft); }
.class-teasers img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.class-teasers a:hover img { transform: scale(1.04); }
.class-teasers div { background: var(--blush); padding: 20px 24px; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 12px; }
.class-teasers h3 { font-family: var(--serif); font-size: 24px; color: var(--brick-deep); grid-column: 1; }
.class-teasers p { font-size: 15px; grid-column: 1; }
.class-teasers b { grid-column: 2; grid-row: 1 / span 2; color: var(--brick-deep); }

/* 하트 포스터 */
.hearts { background: var(--ink) center 56% / cover no-repeat; padding: clamp(60px, 10vw, 130px) var(--gutter); display: grid; place-items: center; }
.hearts__card { background: var(--blush-soft); border-radius: var(--radius); padding: clamp(32px, 5vw, 52px); text-align: center; width: min(560px, 100%); }
.hearts__card img { width: 46px; margin: 0 auto 20px; }
.hearts__card p { font-family: var(--serif); font-size: clamp(16px, 2vw, 19px); line-height: 1.9; color: var(--brick-deep); margin-bottom: 24px; }
.big-address { font-size: 18px; font-weight: 500; margin-bottom: 10px; }

/* CTA */
.cta { background: var(--brick-deep); color: #fff; padding-block: clamp(44px, 6vw, 68px); }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta .eyebrow { opacity: .8; margin-bottom: 8px; }
.cta h2 { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 30px); line-height: 1.45; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 바닥글 */
.foot { background: var(--ink); color: #EBD9D2; padding-block: 60px 34px; font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1.3fr .8fr; gap: 40px; }
.foot__brand img { width: 230px; margin-bottom: 16px; }
.foot h2 { font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--blush); margin-bottom: 12px; }
.foot p + p { margin-top: 10px; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: #BFA69E; }

/* 모바일 빠른 메뉴 */
.dock { display: none; }

/* 하위 페이지 머리 */
.page-head { position: relative; background: var(--blush); overflow: hidden; padding-block: clamp(52px, 8vw, 92px); }
.page-head .wrap { position: relative; }
.page-head .eyebrow { color: var(--brick); margin-bottom: 8px; }
.page-head h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); font-weight: 700; color: var(--brick-deep); line-height: 1.3; }
.page-head p:not(.eyebrow) { margin-top: 10px; max-width: 36em; font-size: 17px; }

/* 제품 상세 */
.p-hero { display: grid; grid-template-columns: 1fr 1fr; }
.p-hero figure { aspect-ratio: 1; max-height: 720px; width: 100%; background: #fff; overflow: hidden; }
.p-hero figure img { width: 100%; height: 100%; object-fit: cover; }
.p-hero__panel { position: relative; background: var(--c); color: var(--on); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(40px, 6vw, 88px); }
.p-hero__panel .cat__eom { top: 32px; right: 32px; width: 44px; }
.crumb { font-size: 14px; opacity: .85; margin-bottom: 26px; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; }
.p-hero__panel .eyebrow { opacity: .85; }
.p-hero h1 { font-family: var(--serif); font-size: clamp(36px, 5vw, 58px); line-height: 1.25; margin: 6px 0 16px; }
.p-hero__desc { max-width: 30em; font-size: 17px; }
.p-hero .chips { margin: 22px 0 30px; }
.p-hero .chips li { border-color: currentColor; background: none; color: inherit; }
.c-mustard .btn--white { background: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 4px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.thumbs { display: grid; gap: 12px; }
.thumbs--1 { grid-template-columns: minmax(0, 560px); justify-content: center; }
.thumbs--2 { grid-template-columns: repeat(2, 1fr); }
.thumbs--3 { grid-template-columns: repeat(3, 1fr); }
.thumbs--4 { grid-template-columns: repeat(4, 1fr); margin-top: 30px; }
.zoom { display: block; width: 100%; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: #fff; cursor: zoom-in; }
.thumbs--1 .zoom { aspect-ratio: 16 / 9; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.zoom:hover img { transform: scale(1.04); }
.flavors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.flavors li { background: var(--blush-soft); border-radius: var(--radius); padding: 18px 20px; }
.flavors h3 { font-size: 18px; color: var(--brick); }
.flavors p { font-size: 15px; margin-top: 2px; }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sizes--two { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; }
.size { background: #fff; border-radius: var(--radius); padding: 22px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.size strong { font-size: 16px; line-height: 1.4; margin-top: 6px; }
.size span { font-size: 14px; color: var(--ink-soft); }
.size__price { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--brick); line-height: 1.3; margin-top: auto; padding-top: 8px; }
.size__price small { font-size: 15px; margin-left: 2px; font-family: var(--sans); font-weight: 500; }
.ill { width: 120px; height: auto; fill: var(--brick); stroke: #fff; stroke-width: 1.2; }
.ill--dress { fill: #fff; stroke: var(--brick); stroke-width: 1.6; }
.ill--dress text { fill: var(--brick); stroke: none; font: 700 19px var(--sans); }
.ill--num text { fill: var(--brick); stroke: none; font: 700 84px var(--serif); }
.included { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.included h3 { font-size: 15px; font-weight: 700; color: var(--brick); }
.dolls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dolls figure { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); margin-bottom: 14px; }
.dolls img { width: 100%; height: 100%; object-fit: cover; }
.dolls h3 { font-size: 19px; color: var(--brick); }
.dolls p { font-size: 15px; color: var(--ink-soft); }
.caution { display: flex; align-items: center; gap: 20px; margin-top: 30px; background: var(--blush-soft); border-radius: var(--radius); padding: 18px; }
.caution figure { flex: 0 0 110px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.caution img { width: 100%; height: 100%; object-fit: cover; }
.caution strong { display: block; color: var(--brick); }
.set-card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.set-card h3 { font-size: 22px; font-family: var(--serif); color: var(--brick); }
.set-card .size__price { padding: 0; }
.table-scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; font-size: 16px; min-width: 460px; }
.tbl th, .tbl td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl thead th { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.tbl tbody th { color: var(--brick); font-weight: 700; }
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.packs li { background: #fff; border-radius: var(--radius); overflow: hidden; }
.packs figure { aspect-ratio: 4 / 3; }
.packs img { width: 100%; height: 100%; object-fit: cover; }
.packs div { padding: 18px 22px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.packs h3 { font-size: 22px; font-family: var(--serif); color: var(--brick); }
.packs .size__price { grid-column: 2; grid-row: 1 / span 2; padding: 0; }
.packs p { font-size: 14px; color: var(--ink-soft); }
.next { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; border-radius: var(--radius); background: var(--c); color: var(--on); }
.next span { font-size: 14px; opacity: .9; }
.next strong { font-family: var(--serif); font-size: 22px; margin-right: auto; }
.next i { font-style: normal; font-size: 22px; }

/* 떡케이크 단계별 선택 */
.builder .wrap > .step + .step { border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 64px); padding-top: clamp(40px, 6vw, 64px); }
.step__no { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--brick); }
.builder h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); line-height: 1.4; color: var(--brick); margin: 6px 0 8px; }
.builder .lead { color: var(--ink-soft); max-width: 46em; }
.builder fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pick > div { position: relative; height: 100%; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.pick:hover > div { border-color: var(--c, var(--brick)); }
.pick input:checked + div { border-color: var(--c, var(--brick)); box-shadow: 0 0 0 2px var(--c, var(--brick)); }
.pick input:focus-visible + div { outline: 3px solid var(--coral); outline-offset: 3px; }
.tick { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid currentColor; opacity: .55; }
.pick input:checked + div .tick { opacity: 1; background: var(--c, var(--brick)); border-color: var(--c, var(--brick)); }
.pick input:checked + div .tick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sheets { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.sheet > div { overflow: hidden; }
.sheet__head { position: relative; background: var(--c); color: var(--on); padding: 18px 54px 18px 22px; }
.sheet .tick { color: var(--on); }
.pick.sheet input:checked + div .tick { background: #fff; border-color: #fff; }
.pick.sheet input:checked + div .tick::after { border-color: var(--c); }
.sheet__when { font-size: 14px; opacity: .9; }
.sheet h3 { font-family: var(--serif); font-size: 26px; line-height: 1.3; margin-top: 2px; }
.sheet h3 small { font-family: var(--sans); font-size: 15px; font-weight: 500; opacity: .85; margin-left: 4px; }
.sheet figure { aspect-ratio: 16 / 8; overflow: hidden; background: var(--blush-soft); }
.sheet figure img { width: 100%; height: 100%; object-fit: cover; }
.sheet__feats { margin: 0; padding: 14px 22px 20px; display: grid; gap: 8px; }
.sheet__feats div { display: grid; grid-template-columns: 44px 1fr; gap: 10px; }
.sheet__feats dt { font-weight: 700; color: var(--c); }
.c-mustard .sheet__feats dt { color: var(--ink); }
.sheet__feats dd { margin: 0; font-size: 15px; }
.step__wait { display: none; margin-top: 18px; padding: 22px; border-radius: var(--radius); background: var(--blush-soft); color: var(--ink-soft); text-align: center; }
.js .step__wait { display: block; }
.js .builder[data-sheet] .step__wait { display: none; }
.opt-panel { margin-top: 22px; }
.js .opt-panel { display: none; }
.js .opt-panel.on { display: block; }
.opt-panel legend { padding: 0; margin-bottom: 14px; }
.opt-panel legend span { font-size: 19px; font-weight: 700; }
.opt-panel legend small { font-size: 14px; color: var(--ink-soft); margin-left: 6px; }
.opt-panel__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.flavor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flavor-opt > div { padding: 16px 44px 16px 18px; color: var(--brick); }
.flavor-opt h4 { font-size: 18px; margin: 0; color: var(--brick); }
.flavor-opt p { font-size: 15px; color: var(--ink); margin-top: 4px; }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.size-opt > div { padding: 22px 14px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--brick); }
.size-opt[hidden] { display: none; }
.size-opt strong { font-size: 16px; line-height: 1.4; margin-top: 6px; color: var(--ink); }
.size-opt span { font-size: 14px; color: var(--ink-soft); }
.summary { margin-top: clamp(40px, 6vw, 64px); background: var(--brick-deep); color: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.summary .step__no { color: #fff; opacity: .8; }
.summary h2 { color: #fff; margin-bottom: 14px; }
.summary dl { margin: 0; display: grid; grid-template-columns: repeat(4, auto); gap: 6px 28px; }
.summary dt { font-size: 13px; opacity: .75; }
.summary dd { margin: 0; font-size: 17px; font-weight: 700; }
.summary__note { font-size: 14px; opacity: .85; margin-top: 14px; }
.summary__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 카드 결제 안내 (주문 안내) */
.pay-note { background: #fff; border: 1.5px solid var(--brick); border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); }
.pay-note h2 { font-family: var(--serif); font-size: clamp(21px, 2.6vw, 26px); color: var(--brick); margin-bottom: 12px; }
.pay-note p + p { margin-top: 8px; }
.pay-note ul { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.pay-note li { position: relative; padding-left: 16px; font-weight: 500; }
.pay-note li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--brick); }
.vsteps strong { color: var(--brick); }
.inline-link { color: var(--brick); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.size__only { font-style: normal; font-size: 13px; font-weight: 500; color: var(--brick); background: var(--blush-soft); border-radius: 999px; padding: 1px 10px; margin-top: 6px; }

/* 예약 신청 창 */
.summary .btn.is-waiting { opacity: .75; }
.summary__note.is-alert { color: #FFD9A8; font-weight: 700; opacity: 1; }
.reserve { width: min(520px, 94vw); max-height: 92vh; border: 0; border-radius: var(--radius); padding: 0; overflow: auto; background: var(--paper); color: var(--ink); }
.reserve::backdrop { background: rgba(58,23,18,.6); }
.reserve__form, .reserve__done { padding: clamp(22px, 4vw, 32px); display: grid; gap: 12px; }
/* display:grid 가 hidden 속성을 덮어쓰지 않도록 한다 (완료 안내는 접수 후에만 보임) */
.reserve [hidden] { display: none !important; }
/* 접수 완료: 입력 창 대신 작은 확인 팝업 */
.reserve.is-done { width: min(380px, 90vw); text-align: center; }
.reserve.is-done .reserve__done { justify-items: center; padding-top: 34px; }
.reserve__check { width: 56px; height: 56px; border-radius: 50%; background: var(--brick); position: relative; }
.reserve__check::after { content: ""; position: absolute; left: 21px; top: 13px; width: 12px; height: 23px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.reserve.is-done .reserve__btns { justify-content: center; width: 100%; }
.reserve.is-done .reserve__btns .btn { width: 100%; }
.reserve h2 { font-family: var(--serif); font-size: 24px; color: var(--brick); }
.reserve__picked { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 14px 16px; border-radius: 10px; background: var(--blush-soft); font-size: 15px; }
.reserve__picked dt { color: var(--ink-soft); }
.reserve__picked dd { margin: 0; font-weight: 700; }
.reserve label { display: grid; gap: 4px; font-weight: 500; font-size: 15px; }
.reserve label small { font-weight: 400; color: var(--ink-soft); }
.reserve input:not([type="checkbox"]), .reserve textarea { font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.reserve textarea { resize: vertical; }
.reserve input:focus, .reserve textarea:focus { outline: 2px solid var(--brick); outline-offset: 0; }
.reserve__help { font-size: 14px; color: var(--ink-soft); margin-top: -4px; }
.reserve__help a { color: var(--brick); text-decoration: underline; }
.reserve__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reserve__privacy { font-size: 14px; color: var(--ink-soft); }
.reserve__privacy summary { cursor: pointer; }
.reserve__privacy p { margin-top: 6px; }
.reserve__agree { display: flex !important; align-items: center; gap: 8px; font-size: 15px; }
.reserve__agree input { width: 20px; height: 20px; accent-color: var(--brick); }
.reserve__error { color: #B3261E; background: #FBE9E7; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.reserve__btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.reserve__btns .btn { min-width: 110px; }
.reserve__number { font-size: 20px; font-weight: 700; color: var(--brick); }

/* 메뉴 목록 */
.m-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.m-card { grid-column: span 3; border-radius: var(--radius); overflow: hidden; background: var(--c); color: var(--on); display: flex; flex-direction: column; }
.m-card figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--blush-soft); }
.m-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.m-card:hover img { transform: scale(1.04); }
.m-card > div { padding: 20px 22px 22px; flex: 1; }
.m-card .eyebrow { font-size: 11px; opacity: .85; }
.m-card h3 { font-family: var(--serif); font-size: 25px; line-height: 1.35; }
.m-card > div > p:not(.eyebrow) { font-size: 15px; }
.m-card b { display: block; margin-top: 10px; font-size: 15px; }
.pl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pl__col { background: var(--blush); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.pl__col--wide { grid-column: 1 / -1; }
.pl h3 { font-size: 24px; font-weight: 700; color: var(--brick); }
.pl h3 small { font-size: 15px; font-weight: 500; }
.pl__cakes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 16px; text-align: center; align-items: end; }
.pl__cakes--two { grid-template-columns: repeat(2, minmax(0, 130px)); }
.pl__cakes li { display: flex; flex-direction: column; align-items: center; }
.pl__cakes .ill { stroke: var(--blush); width: 100%; max-width: 124px; }
.pl__cakes .ill--dress { stroke: var(--brick); }
.pl__cakes strong { color: var(--brick-deep); font-weight: 500; font-size: 15px; }
.pl__cakes b { color: var(--brick-deep); font-size: 18px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 12px; }
.pills li { width: 62px; height: 62px; border-radius: 50%; background: var(--brick); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.pl__extra p { font-size: 14px; }
.notice-box { margin-top: 20px; border: 1px solid var(--brick); color: var(--brick-deep); padding: 12px 16px; font-size: 14px; text-align: center; }

/* 갤러리 */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters a { display: inline-flex; align-items: center; gap: 5px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 15px; background: #fff; transition: border-color .2s; }
.filters a:hover { border-color: var(--brick); }
.filters a small { font-size: 12px; color: var(--ink-soft); }
.filters a[aria-current="true"] { background: var(--brick); color: #fff; border-color: var(--brick); }
.filters a[aria-current="true"] small { color: inherit; opacity: .8; }
.empty-note { text-align: center; padding: 60px 0; color: var(--ink-soft); }
.more-link { margin-top: 24px; }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gal li[hidden] { display: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(58,23,18,.86); }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 8px; }
.lightbox__close { position: absolute; top: -8px; right: 0; transform: translateY(-100%); color: #fff; padding: 6px 4px; }

/* 클래스 */
.courses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.course { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.course figure { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blush-soft); }
.course img { width: 100%; height: 100%; object-fit: cover; }
.course__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.tag { display: inline-block; width: fit-content; font-size: 13px; font-weight: 500; color: #fff; background: var(--brick); border-radius: 999px; padding: 1px 12px; }
.course h3 { font-family: var(--serif); font-size: 24px; color: var(--brick-deep); margin: 8px 0 12px; }
.course dl { margin: 0 0 12px; display: grid; gap: 2px; }
.course dl div { display: flex; gap: 12px; }
.course dt { color: var(--ink-soft); flex: 0 0 34px; }
.course dd { margin: 0; font-weight: 500; }
.course__sub { font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; }
.ticks li { position: relative; padding-left: 16px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--brick); }
.course .chips { margin-top: 14px; }
.course .chips li { background: var(--blush-soft); border: 0; font-size: 13px; }
.course__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.course__foot b { font-size: 18px; color: var(--brick); }

/* 주문 */
.vsteps li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.vsteps span { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--brick); color: #fff; display: grid; place-items: center; font-weight: 700; }
.vsteps h3 { font-size: 18px; }
.vsteps p { font-size: 15px; color: var(--ink-soft); margin: 0; }
.storage { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.storage a { display: block; height: 100%; background: var(--c); color: var(--on); border-radius: var(--radius); padding: 22px 20px; }
.storage h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 18px; }
.storage strong { display: block; line-height: 1.5; }
.storage p { font-size: 14px; margin-top: 6px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; font-size: 17px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; color: var(--brick); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); }

/* 오시는 길 */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ways li { background: #fff; border-radius: var(--radius); padding: 28px; }
.ways h2 { font-size: 20px; color: var(--brick); margin-bottom: 12px; }
.ways p + p { margin-top: 10px; }
.contacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.contacts li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contacts span { color: var(--ink-soft); }
.contacts a { font-weight: 500; color: var(--brick); }

/* 소개 */
.about-hero { position: relative; background: var(--blush); text-align: center; padding: clamp(60px, 9vw, 110px) var(--gutter); }
.about-hero__logo { width: min(280px, 60%); margin: 0 auto 40px; height: auto; }
.manifesto { font-family: var(--serif); font-size: clamp(16px, 2vw, 20px); line-height: 2; color: var(--brick-deep); }
.manifesto strong { font-weight: 700; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.values .mini-ring path { stroke: #fff; }
.values .mini-ring circle { fill: #fff; }
.values span { display: block; font-family: var(--serif); font-size: 20px; line-height: 1.45; margin-top: 14px; }

/* 404 */
.nf { text-align: center; padding: 100px var(--gutter); display: grid; justify-items: center; gap: 10px; }
.nf img { width: 70px; margin-bottom: 14px; }
.nf h1 { font-family: var(--serif); color: var(--brick); }

/* 반응형 */
@media (max-width: 1040px) {
  .top__toggle { display: block; }
  .top__nav { position: fixed; inset: 76px 0 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 18px; padding: 16px var(--gutter) 100px; overflow: auto; visibility: hidden; opacity: 0; transition: opacity .18s; }
  .top__nav.open { visibility: visible; opacity: 1; }
  .top__nav ul { flex-direction: column; gap: 0; }
  .top__nav li a { display: block; font-size: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .top__nav .btn { min-height: 52px; font-size: 16px; }
  .storage { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; min-height: 0; padding-block: 28px 44px; gap: 26px; }
  .hero__art { order: -1; width: min(82%, 420px); }
  .split, .p-hero { grid-template-columns: 1fr; }
  .split--media-right .frame { order: -1; }
  .frame--sticky { position: static; }
  .p-hero figure { aspect-ratio: 4 / 3; }
  .sizes { grid-template-columns: repeat(2, 1fr); }
  .sizes--two { grid-template-columns: repeat(2, 1fr); }
  .steps, .values { grid-template-columns: repeat(2, 1fr); }
  .promises, .ways { grid-template-columns: 1fr; }
  .courses, .dolls { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr; }
  .pl { grid-template-columns: 1fr; }
  .pl__cakes { grid-template-columns: repeat(3, 1fr); gap: 16px 8px; }
  .m-card { grid-column: 1 / -1; flex-direction: row; }
  .m-card figure { flex: 0 0 42%; aspect-ratio: auto; }
  .contacts { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { padding-bottom: 62px; }
  .top__in { height: 64px; }
  .top__logo img { width: 142px; }
  .top__nav { inset: 64px 0 0; }
  html { scroll-padding-top: 76px; }
  .hero__sub { font-size: 16px; }
  .cats--cake, .cats--gift, .class-teasers, .packs { grid-template-columns: 1fr; }
  .cat { flex-direction: row; }
  .cat figure, .cats--gift .cat figure { flex: 0 0 42%; aspect-ratio: auto; min-height: 168px; }
  .cat__panel { padding: 18px 16px; }
  .cat__panel h3 { font-size: 22px; padding-right: 22px; }
  .cat__panel > p:not(.eyebrow) { font-size: 14px; line-height: 1.55; }
  .cat__eom { top: 16px; right: 14px; width: 20px; }
  .flavors, .sheets, .flavor-grid, .opt-panel__in { grid-template-columns: 1fr; }
  .size-grid { grid-template-columns: repeat(2, 1fr); }
  .summary dl { grid-template-columns: repeat(2, 1fr); }
  .summary__btns, .summary__btns .btn { width: 100%; }
  .thumbs--3, .thumbs--4 { grid-template-columns: repeat(2, 1fr); }
  .ill { width: 100px; }
  .caution { align-items: flex-start; }
  .caution figure { flex-basis: 76px; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 1fr 1fr .7fr 1.3fr; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .dock a { display: grid; place-items: center; height: 58px; font-size: 14px; font-weight: 500; color: var(--brick-deep); }
  .dock__cta { background: var(--brick); color: #fff !important; }
  .cta__btns, .cta__btns .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
