/* B — Cafe: full-bleed atmosphere, espresso + butter (ButterButter-like) */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --bg: #14110f;
  --fg: #f7f1e8;
  --muted: #b5a99a;
  --butter: #e8d5a8;
  --line: rgba(247, 241, 232, 0.14);
  --font: "Outfit", "Apple SD Gothic Neo", sans-serif;
  --display: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Full-bleed hero — brand first */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #000 center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,17,15,0.15) 0%, rgba(20,17,15,0.55) 45%, rgba(20,17,15,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, 90vw);
  margin: 0 auto;
  padding: 0 0 7.5rem;
}
.brand-mark {
  font-family: var(--display);
  font-size: clamp(3.4rem, 12vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  max-width: 10ch;
  animation: rise 1s ease both;
}
.hero-line {
  font-size: 1.05rem;
  color: var(--butter);
  margin: 0 0 1.75rem;
  max-width: 28ch;
  animation: rise 1s ease 0.15s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 1s ease 0.3s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.35rem;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn-butter {
  background: var(--butter);
  color: #1a1410;
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}
.btn-block { width: 100%; }

.nav-float {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(920px, 90vw);
  margin: 0 auto;
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.nav-float strong {
  color: var(--fg);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.section {
  width: min(920px, 90vw);
  margin: 0 auto;
  padding: 5rem 0 1rem;
}
.section h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40ch;
  margin: 0 0 2rem;
}

.menu-list {
  border-top: 1px solid var(--line);
}
.menu-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background 0.25s ease, padding 0.25s ease;
}
.menu-row:hover {
  background: rgba(232, 213, 168, 0.06);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.menu-row h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
}
.menu-row p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.menu-row .price {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--butter);
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 220px 220px;
  gap: 0.75rem;
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  background: #2a241f;
}
.gallery figure:first-child {
  grid-row: 1 / 3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s ease;
}
.gallery figure:hover img {
  transform: scale(1.06);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
.visit-meta {
  color: var(--muted);
  font-size: 0.95rem;
}
.visit-meta strong {
  display: block;
  color: var(--fg);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.map-box {
  display: grid;
  gap: 0.65rem;
  min-height: 260px;
}
.map-panel {
  min-height: 240px;
  height: 260px;
  background: #1f1a16;
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-panel .map-fallback {
  margin: 0;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.map-open {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--butter);
  letter-spacing: 0.02em;
}
.map-open:hover {
  text-decoration: underline;
}
.map-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
  text-align: center;
  transition: transform .15s ease, background .15s ease;
}
.map-btn:hover { transform: translateY(-1px); }
.map-btn-kakao {
  background: #FEE500;
  color: #191919;
  border-color: #FEE500;
}
.map-btn-naver {
  background: #03C75A;
  color: #fff;
  border-color: #03C75A;
}

.inquiry-form {
  display: grid;
  gap: 0.75rem;
  max-width: 480px;
}
.inquiry-form input,
.inquiry-form textarea {
  border: 1px solid var(--line);
  background: #1f1a16;
  color: var(--fg);
  padding: 0.85rem 0.95rem;
}
.inquiry-form button { justify-self: start; }

.dock {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(420px, calc(100vw - 1.5rem));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  padding: 0.45rem;
  background: rgba(20, 17, 15, 0.88);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  z-index: 40;
}
.dock a {
  text-align: center;
  padding: 0.85rem 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.dock a:nth-child(2) {
  background: var(--butter);
  color: #1a1410;
}

.banner {
  width: min(920px, 90vw);
  margin: 1rem auto 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(232, 213, 168, 0.35);
  color: var(--butter);
  background: rgba(232, 213, 168, 0.08);
}

@media (max-width: 720px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 140px;
  }
  .gallery figure:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .visit-grid { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 6.5rem; }
}
