:root {
  --beige: #F8F4F0;
  --beige-deep: #EFE8E0;
  --paper: #FFFCF8;
  --ink: #2B2926;
  --ink-soft: #5C574F;
  --muted: #8A847B;
  --line: #E4DCD3;
  --accent: #3F3A36;
  --btn: #2B2926;
  --btn-text: #F8F4F0;
  --shadow: 0 10px 30px rgba(43, 41, 38, 0.08);
  --radius: 16px;
  --header-h: 80px;
  --max: 1080px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--beige);
  color: var(--ink);
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: 0;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--beige);
  padding: 8px 12px;
  z-index: 200;
}
.skip-link:focus {
  transform: translateY(12px);
}

/* Header */
.site-header {
  position: sticky;
  isolation: isolate;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  background: rgba(248, 244, 240, 0.92);
  border-bottom: 1px solid transparent;
  overflow: visible;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 244, 240, 0.92);
  backdrop-filter: blur(12px);
  z-index: -1;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.logo {
  display: flex;
  align-items: center;
  height: 64px;
  flex-shrink: 0;
  overflow: visible;
}
.logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 8px 16px 20px;
  flex-direction: column;
  gap: 4px;
}
.site-nav.is-open { display: flex; }

.site-nav a {
  text-decoration: none;
  padding: 12px 8px;
  font-size: 0.95rem;
  color: var(--ink);
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--ink-soft); }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .site-header { padding: 0 40px; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 8px 28px;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .site-nav a { padding: 8px 0; font-size: 0.9rem; }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248,244,240,0.18) 0%, rgba(248,244,240,0.55) 48%, rgba(248,244,240,0.94) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 64px;
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.hero h1 {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.lede {
  margin: 0 0 28px;
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  color: var(--ink-soft);
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 560;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.btn-primary {
  background: var(--btn);
  color: var(--btn-text);
}
.btn-primary:hover { background: #47433f; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #C9C0B6;
}
.btn-ghost:hover { background: rgba(255,255,255,0.5); border-color: var(--ink); }
.btn-disabled,
.btn[aria-disabled="true"] {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
  cursor: not-allowed;
  pointer-events: none;
}

/* Sections */
.section {
  padding: 72px 20px;
}
.section--alt { background: var(--paper); }
.section__inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.section__label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.section h2 {
  margin: 0 0 20px;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.section p { margin: 0 0 1em; color: var(--ink-soft); }
.section p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  gap: 28px;
  align-items: center;
}
.split__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--beige-deep);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.split__text p { max-width: 40rem; }
.note {
  font-size: 0.92rem;
  color: var(--muted);
}

@media (min-width: 800px) {
  .section { padding: 96px 40px; }
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .split--flip { grid-template-columns: 0.95fr 1.05fr; }
  .split--flip .split__media { order: 2; }
  .split__media img { aspect-ratio: 5 / 4; min-height: 360px; }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gallery figure { margin: 0; }
.gallery a,
.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--beige-deep);
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery a:hover img,
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
}
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 1100px) {
  .gallery { grid-template-columns: repeat(5, 1fr); }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery figure:nth-child(1) img { aspect-ratio: 1; height: 100%; }
}

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: rgba(26, 24, 22, 0.92);
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
}
.lightbox::backdrop { background: rgba(26, 24, 22, 0.92); }
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img {
  max-width: min(92vw, 900px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 0;
  color: #F8F4F0;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Cards */
.cards {
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.section--alt .card { background: var(--beige); }
.card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.card p { font-size: 0.95rem; }
.card .actions { margin-top: 20px; }

/* Visit */
.visit-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.visit-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
}
.visit-list li:last-child { border-bottom: 1px solid var(--line); }
.visit-list dt, .visit-list .label {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.visit-list a { color: var(--ink); }

.sns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

/* Footer */
.site-footer {
  padding: 36px 20px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.8;
}
.site-footer__inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.site-footer a { color: var(--ink-soft); }
.biz dt {
  float: left;
  clear: left;
  width: 9.2em;
  color: var(--muted);
}
.biz dd { margin: 0 0 0 9.2em; }
@media (min-width: 800px) {
  .site-footer { padding: 40px 40px 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img { transition: none; }
}
