/* ==========================================================
   페이지투웹 kit · 디자인 "3단 리플렛" (fold). page.css 다음에 읽는다.
   짙은 돌색 책상 위에 A4 3단 리플렛 실물. 면 크기는 JS가 --fd-w로 정하고, 면 안의 모든 크기는 면 폭 비율(cqw · em)이다.
   다시 꾸밈 2026-11-16: 2도 인쇄 — 흰 종이에 검정 + 별색 하나(theme.accent). 제목 Black Han Sans(한국 인쇄물의 굵은 고딕), 본문 Pretendard.
   종이 결 · 접힌 자국 · 종이 그림자는 실물 재현이라 남긴다. 리넨 · 창 그림자 · 제목 위 작은 라벨 · 가는 줄 · 점선 리더는 뺐다.
   ========================================================== */

/* 사장님 손글씨 쪽지만: 나눔손글씨 펜(SIL OFL 1.1, Google Fonts). 못 불러오면 Pretendard */
@import url("https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap");
/* 글꼴: Black Han Sans (SIL OFL 1.1, engine/kit/fonts/fold-BlackHanSans-OFL.txt), 한글 KS X 1001 2,350자 서브셋 */
@font-face { font-family: "FD Black Han Sans"; src: url("../fonts/fold-BlackHanSans.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --fd-desk: #1E211F;                                        /* 짙은 돌색 책상(통짜 면) */
  --fd-desk-ink: #ECEDE8;
  --fd-paper: #F3F5F3;                                       /* 흰 종이(차가운 흰색, 크림 아님) */
  --fd-ink: #141614;
  --fd-mute: #4C504C;
  --fd-spot: var(--accent);                                  /* 별색 */
  --fd-tint: color-mix(in srgb, var(--accent) 10%, var(--fd-paper));
  --fd-deep: var(--accent);
  --fd-display: "FD Black Han Sans", "Pretendard Variable", Pretendard, sans-serif;
  --fd-sans: "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --fd-w: 300px;
  --fd-h: calc(var(--fd-w) * 210 / 99);
  --fd-ar: 99 / 210;     /* 한 면 비율: 3단 A4 3등분 */
  --fd-fs: 3.85cqw;      /* 면 안 본문 크기(면 폭 비율). 1440×900에서 13px쯤 */
  /* 종이 결 */
  --fd-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .3 0 0 0 0 .28 0 0 0 .4 -.16'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* 2단(반 접기, fold.panels: 2): A5 세로 두 면. 면이 넓어 글자를 면 폭 대비 조금 작게 잡아도 화면에서는 3단보다 크다 */
html.fd-2 { --fd-h: calc(var(--fd-w) * 210 / 148); --fd-ar: 148 / 210; --fd-fs: 3.05cqw; }
html.fd-2 .fd-items li { grid-template-columns: 30% 1fr; }

html { background: var(--fd-desk); }
body { background: var(--fd-desk); color: var(--fd-desk-ink); font-family: var(--fd-sans); overflow-x: clip; }
main { overflow-x: clip; }
figure { margin: 0; }
button { cursor: pointer; }
.fd-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 초점: 책상 위는 흰 테, 종이 위는 별색 테 */
.fd-desk :focus-visible, .fd-read :focus-visible, .fd-foot :focus-visible, .fd-zoom :focus-visible { outline: 3px solid var(--fd-paper); outline-offset: 3px; border-radius: 4px; }
.fd-pg :focus-visible { outline-color: var(--fd-spot); }
.fd-pg.is-deep :focus-visible { outline-color: var(--fd-paper); }
::selection { background: var(--fd-spot); color: var(--fd-paper); }

/* ---------- 책상 ---------- */
.fd-desk {
  position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto;
  height: 100svh; min-height: 600px; overflow: clip;
}
.fd-top { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 44px; padding: 20px var(--edge) 0; }
.fd-brand { margin: 0; display: flex; flex-direction: column; gap: 2px; font: inherit; }
.fd-brand b { font-family: var(--fd-display); font-weight: 400; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.fd-brand small { font-size: 14px; line-height: 1.3; color: color-mix(in srgb, var(--fd-desk-ink) 82%, transparent); }
.fd-acts { justify-self: end; display: flex; align-items: center; gap: 8px; }
.fd-acts a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 99px; font-size: 15px; font-weight: 700; line-height: 1; color: var(--fd-desk-ink); background: rgb(255 255 255 / .1); text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.fd-acts a:hover { background: rgb(255 255 255 / .18); }
.fd-acts a.is-main { background: var(--fd-paper); color: var(--fd-ink); }
.fd-acts a.is-main:hover { background: #fff; }
.fd-acts a:active { transform: scale(.97); }

/* 원근은 움직이는 동안에만(.is-3d, JS). 멈춰 있을 때는 평면으로 그려 글자가 또렷하다 */
.fd-stage { position: relative; z-index: 1; perspective-origin: 50% 40%; cursor: pointer; touch-action: pan-y; }
.fd-stage.is-3d { perspective: 3200px; }
.fd-pan {
  position: absolute; left: 50%; top: 50%; width: var(--fd-w); height: var(--fd-h);
  margin: calc(var(--fd-h) / -2) 0 0 calc(var(--fd-w) / -2); transform-style: preserve-3d;
}
.fd-shadow {
  position: absolute; left: 50%; top: 50%; height: var(--fd-h); margin-top: calc(var(--fd-h) / -2);
  box-shadow: 0 calc(var(--blur, 12px) * .9) calc(var(--blur, 12px) * 2.4) rgb(0 0 0 / .55), 0 2px 4px rgb(0 0 0 / .4);   /* 종이 그림자: 실물 재현 */ /* taste-skill-ignore: 종이 실물 재현(그림자 · 접힌 판 음영) */
}
.fd-sheet { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.fd-panel { position: absolute; top: 0; width: var(--fd-w); height: var(--fd-h); transform-style: preserve-3d; }
.fd-m { left: 0; }
.fd-l { left: calc(var(--fd-w) * -1); transform-origin: 100% 50%; }
.fd-r { left: var(--fd-w); transform-origin: 0 50%; }

.fd-face { position: absolute; inset: 0; overflow: hidden; container-type: inline-size; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fd-face.is-back { transform: rotateY(180deg); }
.fd-stage:not(.is-3d) .fd-face[inert] { visibility: hidden; }

/* 종이: 접힌 자국(면 가장자리 음영)과 아주 얇은 테 */
.fd-stage .fd-face::after, .fd-face.is-zoom::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(20 22 20 / .13), rgb(20 22 20 / .03) 1.2%, transparent 6%, transparent 94%, rgb(20 22 20 / .03) 98.8%, rgb(20 22 20 / .13));   /* 접힌 자국: 실물 재현 */ /* taste-skill-ignore: 종이 실물 재현(그림자 · 접힌 판 음영) */
}
/* 판이 돌 때 빛이 비껴서 어두워진다(--sh = |sin 각도|, JS) */
.fd-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: calc(var(--sh, 0) * .5); }
.fd-stage:not(.is-3d) .fd-shade { display: none; }
.fd-l .is-front .fd-shade, .fd-r .is-back .fd-shade { background: linear-gradient(90deg, rgb(10 12 10 / .25), rgb(10 12 10 / .7)); } /* taste-skill-ignore: 종이 실물 재현(그림자 · 접힌 판 음영) */
.fd-l .is-back .fd-shade, .fd-r .is-front .fd-shade { background: linear-gradient(270deg, rgb(10 12 10 / .25), rgb(10 12 10 / .7)); } /* taste-skill-ignore: 종이 실물 재현(그림자 · 접힌 판 음영) */

.fd-ctrl { position: relative; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px 6px; }
.fd-arrow, .fd-flip {
  display: inline-grid; place-items: center; height: 44px; min-width: 44px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgb(236 237 232 / .12); color: var(--fd-desk-ink);
  transition: background .2s, transform .2s var(--ease);
}
.fd-arrow svg, .fd-flip svg { width: 20px; height: 20px; }
.fd-arrow:hover, .fd-flip:hover { background: var(--fd-paper); color: var(--fd-ink); }
.fd-arrow:active, .fd-flip:active { transform: scale(.95); }
.fd-arrow:disabled { opacity: .35; cursor: default; }
.fd-flip { display: inline-flex; gap: 8px; padding: 0 18px 0 14px; border-radius: 22px; font-size: 14px; font-weight: 600; margin-left: 10px; }
.fd-state { margin: 0; min-width: 230px; text-align: center; }
.fd-state b { display: block; font-family: var(--fd-display); font-weight: 400; font-size: 20px; }
.fd-state small { font-size: 14px; color: color-mix(in srgb, var(--fd-desk-ink) 78%, transparent); }
.fd-down { position: relative; z-index: 4; justify-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 4px 18px; font-size: 14px; font-weight: 700; color: var(--fd-desk-ink); text-decoration: none; }
.fd-down svg { width: 15px; height: 15px; }
@media (min-width: 1000px) and (orientation: landscape) {
  .fd-desk { grid-template-rows: auto minmax(0, 1fr) auto; }
  .fd-down { position: absolute; right: var(--edge); bottom: 22px; padding: 10px 0; }
}

/* ---------- 면 안: 인쇄된 지면 ---------- */
.fd-pg {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 1.05em;
  padding: 2.5em 2.2em 2.2em; font-size: var(--fd-fs); line-height: 1.6; color: var(--fd-ink);
  background: var(--fd-paper) var(--fd-grain); word-break: keep-all; overflow-wrap: anywhere;
}
.fd-pg.is-deep { --fd-ink: #F3F5F3; --fd-mute: color-mix(in srgb, #F3F5F3 80%, var(--fd-deep)); --fd-tint: color-mix(in srgb, #000 16%, var(--fd-deep)); --fd-spot: #F3F5F3; background-color: var(--fd-deep); }
.fd-pg p { margin: 0 0 .55em; }
.fd-pg p:last-child { margin-bottom: 0; }
.fd-pg h3 { margin: 0 0 .35em; font-family: var(--fd-display); font-weight: 400; font-size: 1.12em; letter-spacing: 0; color: var(--fd-spot); }
.fd-b-push { flex: 1; }
.fd-b-photo:has(.is-bleed):first-child { margin-top: -2.5em; }
.fd-photo.is-bleed { margin: 0 -2.2em; }
.fd-photo img { width: 100%; object-fit: cover; }
.fd-photo figcaption { margin-top: .4em; font-size: .9em; color: var(--fd-mute); }
.fd-photo.is-bleed figcaption { padding: 0 2.2em; }
.fd-face.is-flat .fd-photo.is-bleed figcaption { padding: 0 28px; }
.fd-nw { white-space: nowrap; }

.fd-title { margin: 0; text-wrap: balance; font-family: var(--fd-display); font-weight: 400; letter-spacing: -.02em; color: var(--fd-spot); }
.fd-title.is-xl { font-size: min(2.7em, 48px); line-height: 1.05; }
.fd-title.is-l { font-size: 1.85em; line-height: 1.2; }
.fd-title.is-m { font-size: 1.45em; line-height: 1.25; }

.fd-items { margin: 0; padding: 0; list-style: none; }
.fd-items { display: grid; gap: .9em; }
.fd-items li { display: grid; grid-template-columns: 36% 1fr; gap: .95em; align-items: start; }
.fd-items img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.fd-items p { line-height: 1.5; }
.fd-items h3 { margin-bottom: .15em !important; }

.fd-facts { margin: 0; display: grid; gap: .25em; }
.fd-facts div { display: grid; grid-template-columns: 3.2em 1fr; gap: .6em; margin: 0 -.7em; padding: .55em .7em; background: var(--fd-tint); }
.fd-facts dt { font-size: .92em; color: var(--fd-mute); padding-top: .15em; }
.fd-facts dd { margin: 0; }
.fd-facts b { font-family: var(--fd-display); font-weight: 400; font-size: 1.12em; margin-right: .5em; }
.fd-facts small { font-size: .92em; color: var(--fd-mute); }

.fd-price, .fd-near { margin: 0; padding: 0; list-style: none; }
.fd-price li { display: flex; align-items: center; justify-content: space-between; gap: .6em; padding: .42em .7em; margin: 0 -.7em; }
.fd-price li:nth-child(odd) { background: var(--fd-tint); }
.fd-price li.is-today { background: var(--fd-spot); color: var(--fd-paper); --fd-mute: color-mix(in srgb, var(--fd-paper) 82%, var(--fd-spot)); }
.fd-pg.is-deep .fd-price li.is-today { color: var(--fd-deep); }
.fd-price em b { display: block; font-family: var(--fd-sans); font-size: .78em; font-weight: 700; text-align: right; }
.fd-price span { display: flex; flex-direction: column; font-weight: 600; }
.fd-price small { font-size: .92em; font-weight: 400; color: var(--fd-mute); }
.fd-price em, .fd-near em { font-style: normal; white-space: nowrap; }
.fd-price em { font-family: var(--fd-display); font-size: 1.12em; text-align: right; }
.fd-small { font-size: .9em; color: var(--fd-mute); line-height: 1.5; margin-top: .4em !important; }
.fd-small { font-weight: 500; }
/* 가까운 곳: 버스 노선표처럼 굵은 별색 줄 위의 정류장. 맨 위가 이 집 */
.fd-near { position: relative; display: grid; gap: .1em; margin-top: .7em !important; font-size: .94em; }
.fd-near::before { content: ""; position: absolute; left: .32em; top: .7em; bottom: .7em; width: .36em; background: var(--fd-spot); }
.fd-near li { position: relative; display: flex; justify-content: space-between; gap: .6em; padding: .28em 0 .28em 1.6em; }
.fd-near li::before { content: ""; position: absolute; left: .14em; top: .62em; width: .72em; height: .72em; box-sizing: border-box; border-radius: 50%; border: .2em solid var(--fd-spot); background: var(--fd-paper); }
.fd-near li.is-home { font-family: var(--fd-display); font-size: 1.1em; }
.fd-near li.is-home::before { background: var(--fd-spot); }
.fd-near em { font-weight: 700; }

.fd-coupon { position: relative; margin: 0 -.7em; padding: .75em .7em; background: var(--fd-ink); color: var(--fd-paper); }
.fd-coupon small { display: block; font-family: var(--fd-display); font-size: 1.1em; color: var(--fd-paper); }
.fd-coupon p { font-size: .96em; line-height: 1.45; }
.fd-coupon b { display: inline-block; margin-top: .4em; font-size: .9em; }

.fd-list { margin: 0; padding: 0; list-style: none; font-size: .92em; }
.fd-list li { position: relative; padding: .28em 0 .28em 1em; }
.fd-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: .4em; height: .4em; background: var(--fd-spot); }

.fd-hours { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2em .8em; margin: 0 -.7em !important; padding: .55em .7em; font-size: .94em; background: var(--fd-tint); }
.fd-hours b { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--fd-mute); }
.fd-hours b::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; }
.fd-hours.is-open b { color: var(--fd-spot); }

.fd-addr { font-size: .92em; }
.fd-link { display: inline-flex; align-items: center; gap: .35em; margin-top: .7em; font-weight: 700; color: var(--fd-ink); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: .12em; text-decoration-color: var(--fd-spot); }
.fd-link svg { width: 1.15em; height: 1.15em; }
.fd-contact { margin: 0; }
.fd-contact div { display: flex; justify-content: space-between; gap: .8em; padding: .38em .7em; margin: 0 -.7em; font-size: .94em; }
.fd-contact div:nth-child(odd) { background: var(--fd-tint); }
.fd-contact dt { color: var(--fd-mute); }
.fd-contact dd { margin: 0; font-weight: 600; }
.fd-contact a { color: inherit; }
.fd-btn { display: flex; align-items: baseline; justify-content: space-between; gap: .6em; margin: 0 -.7em; padding: .95em .7em; background: var(--fd-spot); color: var(--fd-paper); text-decoration: none; }
.fd-btn b { font-family: var(--fd-display); font-weight: 400; font-size: 1.2em; }
.fd-btn small { font-size: .92em; }
.fd-btn:hover { background: color-mix(in srgb, var(--fd-spot) 86%, #000); }
.fd-logo { height: 2.1em; width: auto; }
.fd-pg.is-deep .fd-logo { filter: invert(1) brightness(2); }

/* 2단 펼침: 한 장의 사진을 두 면에 걸쳐(왼쪽 면은 사진의 왼쪽 절반, 오른쪽 면은 오른쪽 절반) */
.fd-photo.is-half { position: relative; overflow: hidden; }
.fd-photo.is-half img { position: absolute; top: 0; height: 100%; width: 200%; max-width: none; object-fit: cover; }
.fd-photo.is-half.is-left img { left: 0; }
.fd-photo.is-half.is-right img { left: -100%; }
.fd-b-photo:has(.is-half):first-child { margin-top: -2.5em; }
.fd-face.is-flat .fd-b-photo:has(.is-half):first-child { margin-top: -32px; }

/* 예약 확인증 한 장: 몸통 + 오른쪽 떼는 쪽(별색 면). 종이 안의 종이라 별색 테두리 하나 */
.fd-ticket { position: relative; display: grid; grid-template-columns: 1fr 2.6em; margin: 0 -.7em; background: var(--fd-paper); border: .14em solid var(--fd-spot); }
.fd-ticket-h { grid-column: 1; margin: 0 !important; padding: .55em .7em 0; font-family: var(--fd-display); font-size: 1.05em; color: var(--fd-spot); }
.fd-ticket dl { grid-column: 1; margin: 0; padding: .3em .7em .6em; display: grid; gap: .1em; }
.fd-ticket dl div { display: grid; grid-template-columns: 3em 1fr; gap: .5em; align-items: baseline; }
.fd-ticket dt { color: var(--fd-mute); font-size: .92em; }
.fd-ticket dd { margin: 0; }
.fd-ticket b { font-family: var(--fd-display); font-weight: 400; font-size: 1.12em; margin-right: .45em; }
.fd-ticket small { font-size: .92em; color: var(--fd-mute); }
.fd-ticket-stub { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; margin: 0 !important; background: var(--fd-spot); color: var(--fd-paper); font-family: var(--fd-display); font-size: .95em; writing-mode: vertical-rl; letter-spacing: .08em; }

/* 사장님 손글씨 쪽지(흰 종이 위 한 장 더) */
.fd-hand { margin: 0; padding: .9em 1em .8em; background: color-mix(in srgb, var(--fd-spot) 7%, #FBFBF8); transform: rotate(-1.4deg); color: #1E2E4F; }
.fd-hand blockquote { margin: 0; }
.fd-hand p { margin: 0 !important; font-family: "Nanum Pen Script", var(--fd-sans); font-size: 1.62em; line-height: 1.12; }
.fd-hand figcaption { margin-top: .25em; text-align: right; font-family: "Nanum Pen Script", var(--fd-sans); font-size: 1.45em; line-height: 1; }
/* 손님 한마디: 별색 큰 글 */
.fd-quote { margin: 0; }
.fd-quote blockquote { margin: 0; }
.fd-quote p { margin: 0 !important; font-family: var(--fd-display); font-size: 1.32em; line-height: 1.35; color: var(--fd-spot); }
.fd-quote figcaption { margin-top: .35em; font-size: .92em; color: var(--fd-mute); }
/* 별색 도장 */

/* 약도: 검정 + 별색 두 잉크와 그 망점(옅은 색)으로만 */
.fd-map { position: relative; width: auto; margin: 0 -2.2em; overflow: hidden; }
.fd-b-map:first-child .fd-map { margin-top: -2.5em; }
.fd-face.is-flat .fd-map { margin: 0 -28px; }
.fd-face.is-flat .fd-b-map:first-child .fd-map { margin-top: -32px; }
.fd-map-in { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.fd-map-art, .fd-map-art svg, .fd-map-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.fd-map .m-land { fill: var(--fd-paper); }
.fd-map .m-field { fill: color-mix(in srgb, var(--fd-spot) 7%, var(--fd-paper)); }
.fd-map .m-house { fill: color-mix(in srgb, var(--fd-ink) 22%, var(--fd-paper)); }
.fd-map .m-sea { fill: color-mix(in srgb, var(--fd-spot) 30%, var(--fd-paper)); }
.fd-map .m-sand { fill: color-mix(in srgb, var(--fd-ink) 6%, var(--fd-paper)); }
.fd-map .m-rock { fill: color-mix(in srgb, var(--fd-ink) 40%, var(--fd-paper)); }
.fd-map .m-pine { fill: var(--fd-spot); }
.fd-map .m-road { fill: none; stroke: var(--fd-ink); stroke-width: 6; stroke-linecap: round; }
.fd-map .m-road2 { fill: none; stroke: color-mix(in srgb, var(--fd-ink) 45%, var(--fd-paper)); stroke-width: 3; stroke-linecap: round; }
.fd-map .m-pier { fill: none; stroke: color-mix(in srgb, var(--fd-ink) 40%, var(--fd-paper)); stroke-width: 5; stroke-linecap: round; }
.fd-map .m-walk { fill: none; stroke: var(--fd-ink); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 0 6; }
.fd-map .m-light { fill: var(--fd-paper); stroke: var(--fd-ink); stroke-width: 1.2; }
.fd-map .m-light2 { fill: var(--fd-ink); }
.fd-map-label { position: absolute; transform: translateY(-50%); padding: .05em .3em; background: color-mix(in srgb, var(--fd-paper) 84%, transparent); font-size: .82em; font-weight: 700; line-height: 1.2; color: var(--fd-ink); white-space: nowrap; }
.fd-map-home { position: absolute; transform: translate(-50%, calc(-100% - .5em)); padding: .2em .55em; background: var(--fd-spot); color: var(--fd-paper); font-family: var(--fd-display); font-size: .9em; white-space: nowrap; }
.fd-map-home::after { content: ""; position: absolute; left: 50%; bottom: -.55em; width: .7em; height: .7em; margin-left: -.35em; border-radius: 50%; background: var(--fd-ink); border: .16em solid var(--fd-paper); transform: translateY(50%); }
.fd-map-pin { position: absolute; display: grid; place-items: center; width: 1.45em; height: 1.45em; margin: -.72em 0 0 -.72em; border-radius: 50%; background: var(--fd-ink); color: var(--fd-paper); font-size: .9em; font-weight: 800; }

/* ---------- 아래: 펼쳐 놓고 읽기 ---------- */
.fd-read { position: relative; padding: 112px var(--edge) 24px; }
.fd-read-h { margin: 0 0 20px; font-family: var(--fd-display); font-weight: 400; font-size: 30px; color: var(--fd-desk-ink); }
.fd-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; margin-bottom: 56px; }
.fd-flat { display: flex; flex-direction: column; }
.fd-row.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; }
.fd-read-names { margin: -12px 0 18px; font-size: 16px; font-weight: 600; color: color-mix(in srgb, var(--fd-desk-ink) 84%, transparent); }   /* 왼쪽부터 면 이름 */
.fd-face.is-flat { position: relative; flex: 1; display: flex; flex-direction: column; }
.fd-face.is-flat .fd-pg { position: relative; flex: 1; font-size: 17.5px; padding: 32px 28px 28px; }   /* .92em 줄(목록 · 연락처 · 주소)도 16px 넘게 */
.fd-face.is-flat :is(.fd-small, .fd-price small, .fd-facts small, .fd-facts dt, .fd-photo figcaption, .fd-ticket small, .fd-ticket dt) { font-size: 15px; }
/* 넓은 화면: 면 사이를 띄우지 않고 한 장의 종이처럼(접힌 자국만) */
@media (min-width: 1101px) {
  .fd-row { gap: 0; }
  .fd-row .fd-flat + .fd-flat .fd-pg { box-shadow: inset 1px 0 0 rgb(20 22 20 / .14), inset 10px 0 14px -10px rgb(20 22 20 / .16); } /* taste-skill-ignore: 접힌 자국(실물 재현) */
}
.fd-face.is-flat .fd-b-photo:has(.is-bleed):first-child { margin-top: -32px; }
.fd-face.is-flat .fd-photo.is-bleed { margin: 0 -28px; }
.fd-face.is-flat .fd-title.is-xl { font-size: 44px; }

.fd-foot { padding: 8px var(--edge) 48px; font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--fd-desk-ink) 82%, transparent); }
.fd-foot a { color: var(--fd-desk-ink); }
.fd-foot img { height: 30px; width: auto; margin-bottom: 12px; filter: invert(1) brightness(1.4); }
.fd-foot ul { margin: 0; padding: 0; list-style: none; }
.fd-foot p { margin: 8px 0 0; }

/* ---------- 크게 보기 ---------- */
.fd-zoom { position: fixed; inset: 0; z-index: 70; display: block; padding: 28px 16px 40px; overflow-y: auto; overscroll-behavior: contain; background: rgb(14 16 14 / .72); }
.fd-zoom[hidden] { display: none; }
.fd-face.is-zoom { position: relative; width: min(600px, 100%); margin: 0 auto; aspect-ratio: var(--fd-ar); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6); cursor: default; } /* taste-skill-ignore: 종이 실물 재현(그림자 · 접힌 판 음영) */
.fd-zoom-x { position: fixed; top: 16px; right: 16px; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--fd-paper); color: var(--fd-ink); }
.fd-zoom-x svg { width: 20px; height: 20px; }
.fd-zoom { padding-bottom: 96px; }
.fd-zoom-nav { position: fixed; left: 50%; bottom: 18px; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 99px; background: rgb(14 16 14 / .86); color: var(--fd-desk-ink); transform: translateX(-50%); }
.fd-zoom-name { min-width: 9em; margin: 0; text-align: center; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* 펼친 뒤 종이 밖 위쪽의 큰 한 줄(오늘 밤 요금 · 입실 · 퇴실) */
.fd-keyline { display: flex; gap: clamp(20px, 2.4vw, 40px); margin: 0; color: var(--fd-desk-ink); }
.fd-keyline span { display: flex; flex-direction: column; }
.fd-keyline b { font-family: var(--fd-display); font-weight: 400; font-size: 20px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.fd-keyline small { margin-top: 2px; font-size: 13px; font-weight: 600; color: color-mix(in srgb, var(--fd-desk-ink) 82%, transparent); }

/* ---------- 휴대폰 ---------- */
@media (max-width: 760px) {
  .fd-desk { min-height: 560px; }
  .fd-top { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px 0; }
  .fd-brand { gap: 0; }
  .fd-brand b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .fd-brand small { font-size: 13px; }
  .fd-brand:has(+ .fd-keyline) small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* 좁은 화면: 지역 줄 대신 큰 한 줄 */
  .fd-keyline { gap: 16px; padding-left: 0; }
  .fd-keyline span:nth-child(n + 3) { display: none; }
  .fd-keyline b { font-size: 18px; }
  .fd-keyline small { margin-top: 1px; font-size: 13px; }
  .fd-acts { gap: 6px; }
  .fd-acts a { height: 40px; padding: 0 14px; }
  .fd-ctrl { gap: 8px; padding: 8px 12px 2px; }
  .fd-state { min-width: 0; flex: 1; max-width: 170px; }
  .fd-state b { font-size: 16px; }
  .fd-state small { font-size: 13px; }
  .fd-flip { margin-left: 4px; padding: 0 14px 0 12px; }
  .fd-down { padding-bottom: 12px; }
  .fd-read { padding: 96px 16px 16px; }
  .fd-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 44px; }
  .fd-row.is-2 { grid-template-columns: 1fr; }
  .fd-foot { padding: 8px 16px 40px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .fd-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-row.is-2 { grid-template-columns: minmax(0, 560px); }
}

/* 동작 줄이기: 3D 대신 페이드(JS). 여기서는 전환만 끈다 */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .fd-arrow, html:not(.force-motion) .fd-flip { transition: none; }
}
