:root {
  --bg: #FFFFFF;
  --bg-soft: #F6F4EE;
  --text: #141414;
  --text-dim: #6B6B63;
  --accent: #E8A93C;
  --accent-dim: #8F6518;
  --accent-text: #1A1400;
  --line: rgba(20,20,20,0.12);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 200;
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0));
  backdrop-filter: blur(4px);
}

.menu-btn {
  width: 40px; height: 40px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  background: none; border: none; cursor: pointer;
}
.menu-btn span {
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.topbar-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 15px;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-btn.active {
  background: var(--accent);
  color: var(--accent-text);
}

/* ---------- Drawer ---------- */
.drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 78%;
  max-width: 320px;
  background: var(--bg-soft);
  z-index: 400;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-right: 1px solid var(--line);
}
.drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.drawer-logo { font-weight: 800; font-size: 22px; letter-spacing: 0.02em; color: var(--accent-dim); }
.close-btn {
  background: none; border: none; color: var(--text);
  font-size: 26px; line-height: 1; cursor: pointer;
}

.drawer-list { display: flex; flex-direction: column; }
.drawer-link {
  display: block;
  padding: 16px 4px;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: color 0.15s ease;
}
.drawer-link:hover,
.drawer-link:active { color: var(--accent-dim); }
.drawer-cta {
  margin-top: 8px;
  color: var(--accent-dim);
  border-bottom: none;
}

.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.overlay.open { opacity: 1; pointer-events: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: rgba(232, 169, 60, 0.55);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--accent-text);
  box-shadow: 0 8px 20px rgba(20, 20, 20, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.btn-outline {
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}
.btn-bracket {
  background: none;
  border: none;
  color: var(--accent-dim);
  padding: 10px 4px;
  letter-spacing: 0.06em;
  font-size: 16px;
  border-radius: 0;
  position: relative;
}
.btn-bracket::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 4px;
  height: 1px;
  background: var(--accent-dim);
  transform: scaleX(0.4);
  transition: transform 0.25s ease;
}
.btn-bracket:hover::after,
.btn-bracket:active::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-color: #F0EEE6;
  padding: 56px 24px 36px;
}
.hero-dim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.88) 45%, rgba(255,255,255,0.55) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 520px; }

.eyebrow {
  color: var(--accent-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(38px, 10vw, 64px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text);
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(10px);
  animation: lineIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--d);
}
@keyframes lineIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.br-mobile { display: block; }
.br-desktop { display: none; }

.hero-desc {
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeIn 0.6s ease forwards;
  animation-delay: 0.5s;
}
.hero-desc p {
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 8px;
}
.hero-desc p:last-child { margin-bottom: 0; }

.hero-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  scroll-margin-top: 80px;
  opacity: 0;
  animation: heroFadeIn 0.6s ease forwards;
  animation-delay: 0.62s;
}
@keyframes heroFadeIn {
  to { opacity: 1; }
}
.link-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(232, 169, 60, 0.5);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--accent-text);
  padding: 10px 18px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(20, 20, 20, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.link-btn:active { transform: scale(0.97); }
.link-btn-date {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 2px;
}
.link-btn-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.link-btn-secondary {
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
}
.hero-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}
.hero-links-label:not(:first-child) {
  margin-top: 10px;
}

/* ---------- Content sections ---------- */
.section {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.section-media {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-color: #F0EEE6;
}
.section-body {
  padding: 40px 24px 56px;
}
.section-eyebrow {
  color: var(--accent-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.section-body h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 18px;
}
.section-text {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ---------- Gallery ---------- */
.gallery-section {
  padding: 64px 24px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}
.center { text-align: center; }
.gallery-section h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 36px;
}
.gallery-grid {
  column-count: 2;
  column-gap: 10px;
}
.gallery-item {
  width: 100%;
  margin-bottom: 10px;
  break-inside: avoid;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-color: #F0EEE6;
}

/* ---------- Apply ---------- */
/* ---------- Footer ---------- */
.footer {
  padding: 44px 24px 56px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.footer-brand {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer-dot { color: var(--accent-dim); margin: 0 2px; }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(38, 32, 25, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.social-icon svg { width: 100%; height: 100%; display: block; }
.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(38, 32, 25, 0.22);
}

/* ---------- Scroll reveal (3D tilt-in) ---------- */
.reveal {
  opacity: 0;
  transform: perspective(1000px) rotateX(28deg) translateY(50px) scale(0.94);
  transform-origin: bottom center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal.visible {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
}

.gallery-grid .reveal:nth-child(1) { transition-delay: 0s; }
.gallery-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.gallery-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.gallery-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.gallery-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.gallery-grid .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ---------- Desktop / tablet ---------- */
@media (min-width: 760px) {
  .section {
    flex-direction: row;
    align-items: center;
  }
  .section.reverse { flex-direction: row-reverse; }
  .section-media, .section-body {
    flex: 1 1 50%;
  }
  .section-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 64px;
  }
  .gallery-grid {
    column-count: 3;
    max-width: 900px;
    margin: 0 auto;
  }
  .hero-content { max-width: 820px; }
  .hero { padding: 120px 24px 90px; }
  .br-mobile { display: none; }
  .br-desktop { display: block; }
}
