@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Pinyon+Script&display=swap');

:root {
  --bg-color: #ffffff;
  --text-primary: #333333;
  --text-secondary: #757575;
  --text-accent: #959595;
  --line-color: #eeeeee;
  --max-width: 700px;
  --serif-main: 'Noto Serif KR', serif;
  --serif-title: 'Playfair Display', 'Noto Serif KR', serif;
  --script-font: 'Pinyon Script', cursive; /* 캘리그라피 폰트 추가 */
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--serif-main);
  line-height: 1.8; /* 정제된 여백 */
  letter-spacing: -0.01em; /* 숨구멍 확보 */
  word-break: keep-all;
  overflow-x: hidden;
}

/* 감성적 이미지 필터 */
.calm-img {
  width: 100%;
  height: auto;
  filter: grayscale(20%) brightness(95%);
  margin: 60px 0;
  border-radius: 2px;
  transition: filter 0.5s ease;
}

.calm-img:hover {
  filter: grayscale(0%) brightness(100%);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid var(--line-color);
}

.logo {
  font-family: var(--serif-title);
  font-weight: 700;
  font-size: 1rem; /* 약간 더 미니멀하게 크기 축소 */
  letter-spacing: 0.15rem; /* 대문자 타이틀의 고급스러운 자간 확장 */
  color: var(--text-primary);
}

/* Main Container */
.container {
  max-width: var(--max-width);
  margin: 160px auto 100px;
  padding: 0 24px;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 80px;
}

.title {
  font-family: var(--script-font); /* 필기체 적용 */
  font-size: 5rem; /* 필기체는 굵기가 얇으므로 크기를 키움 */
  font-weight: 400;
  letter-spacing: 0.02rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  /* text-transform: lowercase; 제거 */
}

.slogan {
  font-family: var(--serif-main);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.05rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

.hero-question {
  font-family: var(--serif-title);
  font-size: 1.6rem; /* 크기를 살짝 조절하여 여백과 조화 */
  font-weight: 300; /* 700에서 300으로 변경하여 훨씬 가볍게 */
  font-style: italic;
  color: var(--text-primary);
  margin-top: 50px;
  line-height: 1.6;
  letter-spacing: -0.01rem;
}

/* Identity Cards */
.identity-cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 100px 0;
}

.card {
  padding: 40px;
  border: 1px solid var(--line-color);
  transition: all 0.3s ease;
  background: #fff;
}

.card:hover {
  border-color: var(--text-primary);
  transform: translateY(-5px);
}

.card-num {
  display: block;
  font-family: var(--serif-title);
  font-size: 0.85rem;
  color: var(--text-accent);
  margin-bottom: 16px;
  letter-spacing: 0.1rem;
}

.card h3 {
  font-family: var(--serif-title);
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.card p {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 300;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: var(--text-primary);
  color: #fff;
  padding: 16px 40px; /* 상하 여백을 줄이고 좌우를 넉넉히 */
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2000;
}

.floating-cta:hover {
  transform: scale(1.05) translateY(-5px);
  background: #000;
}

.cta-text {
  font-size: 1rem; /* 1.1rem에서 1rem으로 살짝 조정 */
  font-weight: 500; /* 너무 굵지 않게 700에서 500으로 변경 */
  letter-spacing: 0.05rem;
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 20px;
    right: 20px;
    left: 20px;
    padding: 16px;
  }
}

.meta {
  color: var(--text-accent);
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.meta span::before {
  content: '·';
  margin-right: 8px;
}

.meta span:first-child::before {
  content: '';
}

/* Content Area */
.article-body {
  font-size: 1.125rem;
  font-weight: 300;
}

.article-body p {
  margin-bottom: 32px;
}

.article-body blockquote {
  margin: 60px 0;
  padding-left: 24px;
  border-left: 1px solid var(--text-primary);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--text-secondary);
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--text-primary);
  margin: 80px auto;
}

/* Footer */
footer {
  text-align: center;
  padding: 100px 0;
  border-top: 1px solid var(--line-color);
  color: var(--text-accent);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .title {
    font-size: 2.5rem;
  }
  .container {
    margin-top: 120px;
  }
}

/* Page Transition Overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

