@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --color-bg: #FAF7F2;
  --color-bg-deep: #F0EBE3;
  --color-bg-dark: #1A1A17;
  --color-text: #2C2A25;
  --color-text-light: #6B6860;
  --color-text-muted: #9C9889;
  --color-gold: #B8963E;
  --color-gold-light: #D4B062;
  --color-gold-pale: #F0E6CC;
  --color-green-deep: #2D3A1F;
  --color-green: #3E4F2A;
  --color-green-light: #5A7038;
  --color-cream: #FFFDF8;
  --color-warm-white: #FBF9F5;
  --color-border: rgba(184, 150, 62, 0.2);
  --font-serif: 'Noto Serif KR', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Cormorant Garamond', 'Noto Serif KR', serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--color-gold-pale); color: var(--color-green-deep); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-gold); border-radius: 3px; }

a { text-decoration: none; color: inherit; }

.page-enter {
  position: fixed; inset: 0;
  background: var(--color-green-deep);
  z-index: 10000;
  animation: pageReveal 0.8s 0.15s var(--ease) forwards;
  transform-origin: top;
}
@keyframes pageReveal { to { transform: scaleY(0); } }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.06s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.18s; }
.reveal-d4 { transition-delay: 0.24s; }
.reveal-d5 { transition-delay: 0.3s; }
.reveal-d6 { transition-delay: 0.36s; }
.reveal-d7 { transition-delay: 0.42s; }

.section { padding: 8rem 2rem; position: relative; }
.section-container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--color-gold); margin-bottom: 1.5rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--color-green-deep);
  line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 1.5rem;
}
.section-desc {
  font-size: 1rem; color: var(--color-text-light);
  line-height: 1.9; max-width: 600px;
}
.gold-line { width: 40px; height: 2px; background: var(--color-gold); margin: 2rem 0; }

@media (max-width: 768px) {
  .section { padding: 5rem 1.5rem; }
}
