/* Dialogue — dialoguenow.love
   Warm, dim, wooden. Copper, amber and blue. Triangle motif. */

:root {
  --bg: #17110d;
  --bg-2: #211812;
  --panel: #2a1e16;
  --line: #3d2c20;
  --text: #f3e8d8;
  --muted: #b9a68f;
  --copper: #c97a3f;
  --copper-2: #e0904f;
  --amber: #e9b949;
  --blue: #6f9bd1;
  --blue-deep: #2e4f7a;
  --ok: #8fbf7a;
  --bad: #d9705a;
  --radius: 14px;
  --maxw: 1120px;
  --display: "Fraunces", "Noto Serif KR", Georgia, serif;
  --body: "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201,122,63,.18), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(46,79,122,.20), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--body);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper-2); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Language switching ---------- */
html[data-lang="en"] [lang="ko"]:not(html),
html[data-lang="ko"] [lang="en"]:not(html) { display: none !important; }
html[data-lang="ko"] body { word-break: keep-all; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(23,17,13,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { color: var(--text); display: inline-flex; align-items: center; }
.brand svg, .brand img { height: 22px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: .95rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--panel); }
.lang-toggle {
  border: 1px solid var(--line); background: transparent; color: var(--text);
  border-radius: 999px; padding: 6px 12px; font: 600 .85rem var(--body); cursor: pointer; margin-left: 6px;
}
.lang-toggle:hover { border-color: var(--copper); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; padding: 10px 16px 16px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .lang-toggle { align-self: flex-start; margin: 6px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(64px, 12vw, 140px) 0 clamp(56px, 9vw, 110px); overflow: hidden; }
.hero .logo-big { width: min(520px, 86vw); color: var(--text); margin-bottom: 28px; }
.hero .tagline { font-family: var(--display); font-size: clamp(1.4rem, 3.4vw, 2.2rem); font-style: italic; color: var(--text); max-width: 22ch; }
.hero .sub { color: var(--muted); max-width: 52ch; margin-top: 14px; }
.hero .tri {
  position: absolute; right: -60px; bottom: -40px; width: min(520px, 60vw); opacity: .5; pointer-events: none;
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer;
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--copper);
  background: var(--copper); color: #1a120c; font: 600 .98rem var(--body);
}
.btn:hover { background: var(--copper-2); color: #1a120c; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--copper); color: var(--text); }
.btn:disabled { opacity: .5; cursor: default; }

/* ---------- Sections ---------- */
section { padding: clamp(48px, 8vw, 88px) 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.eyebrow { font: 600 .78rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin-bottom: 8px; }
.divider { height: 26px; background:
  linear-gradient(135deg, transparent 49%, var(--line) 50%, transparent 51%) 0 0/26px 26px repeat-x,
  linear-gradient(45deg, transparent 49%, var(--line) 50%, transparent 51%) 13px 0/26px 26px repeat-x; opacity: .7; }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}

/* 1 + 1 = 3 */
.equation { font-family: var(--display); font-size: clamp(3rem, 10vw, 6.5rem); line-height: 1; color: var(--amber); letter-spacing: .02em; }
.equation span { color: var(--copper); }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 10px; }
.event {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center;
  padding: 14px 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
}
.event .date { text-align: center; line-height: 1.1; }
.event .date .dow { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--copper); }
.event .date .day { font-family: var(--display); font-size: 1.9rem; }
.event .date .mon { font-size: .8rem; color: var(--muted); }
.event h3 { margin: 0 0 2px; font-size: 1.12rem; }
.event p { margin: 0; color: var(--muted); font-size: .93rem; }
.event .time { color: var(--amber); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .95rem; }
.tag { display: inline-block; font-size: .72rem; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); margin-left: 6px; vertical-align: middle; }
.event.closed { opacity: .7; border-style: dashed; }
@media (max-width: 560px) {
  .event { grid-template-columns: 64px 1fr; }
  .event .time { grid-column: 2; }
}
.week-label { margin: 26px 0 10px; color: var(--muted); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.empty { padding: 26px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* ---------- Menu ---------- */
.menu-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; position: sticky; top: 64px; padding: 12px 0; background: rgba(23,17,13,.92); z-index: 5; }
.menu-nav a { text-decoration: none; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
.menu-nav a:hover { color: var(--text); border-color: var(--copper); }
.menu-section { margin-bottom: 46px; scroll-margin-top: 130px; }
.menu-section h2 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.menu-section h2 small { font: 400 .95rem var(--body); color: var(--muted); }
.menu-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 4px 40px; }
.mi { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px dotted var(--line); }
.mi .n { flex: 1; }
.mi .u { color: var(--muted); font-size: .8rem; }
.mi .p { color: var(--amber); font-variant-numeric: tabular-nums; white-space: nowrap; }
.spirit-group { margin: 18px 0 6px; color: var(--copper); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.price-note { color: var(--muted); font-size: .9rem; }

/* ---------- Gallery ---------- */
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 44vw), 1fr)); gap: 14px; }
.work { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.work .img { aspect-ratio: 4/5; background: linear-gradient(135deg, var(--bg-2), var(--panel)); display: grid; place-items: center; color: var(--line); }
.work .img img { width: 100%; height: 100%; object-fit: cover; }
.work .meta { padding: 14px 16px; }
.work .meta h3 { font-size: 1.05rem; margin: 0 0 4px; }
.work .meta .d { color: var(--muted); font-size: .88rem; }
.work .price { margin-top: 8px; color: var(--amber); font-variant-numeric: tabular-nums; }
.sold { display: inline-block; background: var(--bad); color: #1a120c; font-weight: 700; font-size: .72rem; padding: 2px 8px; border-radius: 999px; letter-spacing: .06em; margin-left: 8px; }
.artist-head { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 26px; }
.placeholder-note { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--copper); padding-left: 12px; }

/* ---------- Visit / form ---------- */
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { color: var(--amber); font-weight: 600; }
.hours tr.off td:last-child { color: var(--muted); }
.maps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
form .row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 14px; }
label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 12px; font: 400 1rem var(--body);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--copper); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.form-msg { margin-top: 12px; min-height: 1.4em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--bad); }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: .92rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.site-foot svg { height: 18px; color: var(--muted); }
