:root {
  --paper: #f1eee8;
  --paper-2: #e7e2d9;
  --ink: #121110;
  --ink-2: #2b2926;
  --muted: #77716a;
  --line: #d6cfc4;
  --red: #a3312a;
  --sans: "Space Grotesk", "Noto Sans KR", sans-serif;
  --kr: "Noto Sans KR", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--kr); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.sample { background: var(--ink); color: #cfc8bd; text-align: center; font-size: 13px; padding: 8px 16px; position: relative; z-index: 60; }
.sample a { text-decoration: underline; }

/* header */
header.top { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid rgba(18,17,16,.08); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.mark { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: -.02em; }
.brand b { font-family: var(--sans); font-weight: 700; font-size: 17px; letter-spacing: .02em; display: block; line-height: 1.1; }
.brand small { font-family: var(--sans); font-size: 10px; letter-spacing: .3em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-family: var(--sans); font-size: 14px; letter-spacing: .04em; color: var(--ink-2); position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.tools { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; }
.lang button { background: transparent; border: 0; padding: 5px 12px; font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.burger { display: none; width: 40px; height: 40px; background: transparent; border: 0; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 19px; } .burger span:nth-child(3) { top: 25px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* hero */
.hero { position: relative; height: calc(100svh - 104px); min-height: 520px; overflow: hidden; display: grid; place-items: center; text-align: center; }
#ink { position: absolute; inset: 0; width: 100%; height: 100%; }
.no-webgl #ink { display: none; }
.no-webgl .hero { background: radial-gradient(ellipse at 40% 45%, #2a2826 0%, #6d6862 30%, transparent 62%), radial-gradient(ellipse at 70% 65%, #8a7f78 0%, transparent 45%), var(--paper); }
.hero-text { position: relative; z-index: 2; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.55), 0 0 2px rgba(0,0,0,.3); pointer-events: none; }
.hero h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(54px, 12vw, 168px); line-height: .88; letter-spacing: -.045em; text-transform: uppercase; }
.hero p { font-family: var(--sans); font-size: 13px; letter-spacing: .45em; margin-top: 22px; }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2; font-family: var(--sans); font-size: 11px; letter-spacing: .3em; color: #ece7df; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 36px; background: #ece7df; margin: 8px auto 0; animation: cue 1.8s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* marquee */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; white-space: nowrap; padding: 16px 0; }
.marquee .track { display: inline-flex; animation: slide 32s linear infinite; }
.marquee span { font-family: var(--sans); font-weight: 700; font-size: 22px; letter-spacing: .02em; padding: 0 22px; text-transform: uppercase; }
.marquee span.dot { color: var(--red); padding: 0; }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
section { padding: 120px 0; }
.label { font-family: var(--sans); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.big { font-family: var(--sans); font-weight: 700; font-size: clamp(40px, 7vw, 96px); line-height: .95; letter-spacing: -.04em; text-transform: uppercase; margin: 18px 0 0; }
.big em { font-style: normal; color: var(--red); }
.statement { font-size: clamp(22px, 3vw, 34px); line-height: 1.55; font-weight: 500; letter-spacing: -.01em; max-width: 920px; margin-top: 28px; }
.statement .soft { color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: end; margin-top: 64px; }
.about-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(.2) contrast(1.05); }
.about-grid p { color: var(--ink-2); margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); margin-top: 28px; }
.facts div { padding: 18px 0 0; }
.facts b { font-family: var(--sans); font-size: 40px; font-weight: 700; letter-spacing: -.03em; display: block; line-height: 1; }
.facts span { font-size: 13px; color: var(--muted); }

/* genre index */
.genres { border-top: 1px solid var(--ink); margin-top: 48px; }
.genre { display: grid; grid-template-columns: 80px 1fr 1fr 180px; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--ink); position: relative; transition: padding .3s; }
.genre:hover { padding-left: 16px; }
.genre .no { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.genre h3 { font-family: var(--sans); font-size: clamp(28px, 4vw, 52px); font-weight: 700; letter-spacing: -.03em; text-transform: uppercase; line-height: 1; }
.genre p { color: var(--muted); font-size: 15px; }
.genre img { width: 180px; height: 120px; object-fit: cover; filter: grayscale(1); transition: filter .3s; }
.genre:hover img { filter: none; }
.genre .arrow { position: absolute; right: 0; top: 50%; }

/* dark band */
.dark { background: var(--ink); color: var(--paper); }
.dark .label { color: #9d958b; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.steps { list-style: none; counter-reset: s; margin-top: 32px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; padding: 18px 0; border-top: 1px solid #3a3733; }
.steps li::before { content: "0" counter(s); font-family: var(--sans); font-weight: 700; color: var(--red); }
.steps b { display: block; font-weight: 500; }
.steps span { color: #a59d93; font-size: 14px; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--ink); transition: background .2s, color .2s; }
.btn.fill { background: var(--ink); color: var(--paper); }
.btn.fill:hover { background: var(--red); border-color: var(--red); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.dark .btn { border-color: var(--paper); }
.dark .btn.fill { background: var(--paper); color: var(--ink); }
.dark .btn.fill:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* page head */
.page-head { padding: 96px 0 48px; }
.page-head p.lead { color: var(--muted); max-width: 560px; margin-top: 20px; }

/* gallery */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filters button { background: transparent; border: 1px solid var(--ink); border-radius: 999px; padding: 8px 18px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { cursor: zoom-in; position: relative; overflow: hidden; background: var(--paper-2); }
.gallery figure[hidden] { display: none; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { display: flex; justify-content: space-between; font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 2px 0; color: var(--ink-2); background: var(--paper); }
.gallery figcaption span { color: var(--muted); }

.lightbox { position: fixed; inset: 0; background: rgba(12,11,10,.94); z-index: 100; display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 82vh; max-width: 92vw; object-fit: contain; }
.lightbox p { color: #d5cec3; font-family: var(--sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-align: center; margin-top: 14px; }
.lightbox button { position: absolute; top: 18px; right: 18px; background: transparent; border: 1px solid #d5cec3; color: #d5cec3; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; }

/* flash */
.flash-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.flash-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.flash-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); margin-top: 56px; }
.flash-item { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 24px; }
.flash-item .no { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.flash-item h3 { font-family: var(--sans); font-size: 22px; letter-spacing: -.01em; margin: 6px 0 4px; }
.flash-item p { font-size: 14px; color: var(--muted); }
.flash-item .meta { display: flex; justify-content: space-between; margin-top: 14px; font-size: 14px; }
.flash-item .meta b { font-family: var(--sans); }
.flash-item.sold { opacity: .45; }
.flash-item.sold .meta b { text-decoration: line-through; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.price-table th, .price-table td { text-align: left; padding: 16px 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
.price-table th { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; color: var(--muted); font-weight: 500; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }

/* reviews */
.score { display: flex; align-items: flex-end; gap: 20px; margin-top: 40px; }
.score b { font-family: var(--sans); font-size: 96px; line-height: .85; letter-spacing: -.05em; }
.score span { color: var(--muted); font-size: 14px; }
.notice { border: 1px dashed var(--muted); padding: 12px 16px; font-size: 14px; color: var(--muted); margin-top: 28px; }
.reviews { columns: 3; column-gap: 20px; margin-top: 48px; }
.review { break-inside: avoid; background: #fff; border: 1px solid var(--line); padding: 26px; margin-bottom: 20px; }
.review .stars { color: var(--red); letter-spacing: 2px; font-size: 14px; }
.review p { margin: 10px 0 16px; }
.review .who { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.review .tag { font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }

/* booking */
.booking { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field label small { text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 10px 0; font: inherit; font-size: 16px; color: var(--ink); border-radius: 0; }
.field select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 6px center / 7px 7px no-repeat, linear-gradient(-45deg, transparent 50%, var(--ink) 50%) right 0 center / 7px 7px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--red); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { text-transform: none; letter-spacing: 0; font-family: var(--kr); font-size: 14px; color: var(--ink); margin: 0; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; border: 1px solid var(--ink); border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.chips input:checked + span { background: var(--ink); color: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.agree { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin: 8px 0 24px; align-items: flex-start; }
.agree input { margin-top: 6px; }
.done { display: none; border: 1px solid var(--ink); padding: 18px; margin-top: 20px; background: #fff; }
.done.show { display: block; }
.done b { font-family: var(--sans); display: block; margin-bottom: 4px; }
.info-list { border-top: 1px solid var(--ink); }
.info-list div { display: grid; grid-template-columns: 110px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-list dt { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; padding-top: 3px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.links a { border: 1px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-family: var(--sans); font-size: 13px; font-weight: 700; }
.links a:hover { background: var(--ink); color: var(--paper); }
.map { margin-top: 24px; aspect-ratio: 4 / 3; background:
  linear-gradient(90deg, transparent 40%, #d9d2c6 40% 44%, transparent 44%),
  linear-gradient(0deg, transparent 55%, #d9d2c6 55% 59%, transparent 59%),
  linear-gradient(120deg, transparent 72%, #e1dbd0 72% 75%, transparent 75%), var(--paper-2);
  display: grid; place-items: center; }
.map span { background: var(--ink); color: var(--paper); padding: 8px 14px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; }

/* CTA + footer */
.cta { text-align: center; padding: 140px 0; }
.cta .big { margin-bottom: 20px; }
.cta p { color: var(--muted); margin-bottom: 32px; }
.cta .btn + .btn { margin-left: 8px; }
footer { background: var(--ink); color: #9d958b; padding: 64px 0 40px; font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer .name { font-family: var(--sans); font-weight: 700; font-size: 28px; letter-spacing: -.02em; color: var(--paper); line-height: 1; text-transform: uppercase; }
footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .3em; color: #6f6860; margin-bottom: 10px; font-weight: 500; }
footer a:hover { color: var(--paper); }
footer .copy { grid-column: 1 / -1; border-top: 1px solid #2f2c29; padding-top: 20px; font-size: 12px; }

/* chat */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 70; }
.chat > button { display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: 14px 22px; font-family: var(--sans); font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.chat > button i { width: 8px; height: 8px; border-radius: 50%; background: #3ecf6e; }
.chat-panel { position: absolute; right: 0; bottom: 64px; width: 280px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.18); padding: 20px; display: none; }
.chat.open .chat-panel { display: block; }
.chat-panel b { font-family: var(--sans); display: block; margin-bottom: 6px; }
.chat-panel p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.chat-panel a { display: block; text-align: center; border: 1px solid var(--ink); padding: 10px; font-size: 14px; margin-top: 6px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee .track { animation: none; }
  html { scroll-behavior: auto; }
}

/* mobile */
@media (max-width: 860px) {
  .wrap { padding: 0 18px; }
  .burger { display: block; }
  /* full-screen overlay; z-index -1 keeps logo and tools painted above it */
  .nav { position: fixed; inset: 0; z-index: -1; background: var(--paper); flex-direction: column; align-items: flex-start; gap: 0; padding: 132px 18px 24px; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .nav a { font-size: 34px; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; padding: 10px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav a::after { display: none; }
  .menu-open .nav { transform: none; visibility: visible; }
  .menu-open { overflow: hidden; }
  .menu-open .chat { display: none; }
  .brand small { display: none; }
  section { padding: 80px 0; }
  .about-grid, .split, .flash-hero, .booking { grid-template-columns: 1fr; gap: 36px; }
  .genre { grid-template-columns: 40px 1fr; gap: 6px 14px; padding: 22px 0; }
  .genre p { grid-column: 2; }
  .genre img { grid-column: 1 / -1; width: 100%; height: 160px; margin-top: 10px; filter: none; }
  .genre .arrow { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .flash-list { grid-template-columns: 1fr; }
  .reviews { columns: 1; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .cta { padding: 96px 0; }
  .cta .btn + .btn { margin: 8px 0 0; }
  .marquee span { font-size: 17px; }
  .chat { right: 14px; bottom: 14px; }
  .chat > button { padding: 12px 18px; }
  .score b { font-size: 72px; }
}
