@font-face {
  font-family: '770Balsa';
  src: url('/fonts/770Balsa-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.section-title,
.support-account,
.section-eyebrow,
nav .logo a {
  font-family: '770Balsa', 'Pretendard', sans-serif;
}

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

:root {
  --navy: #2a2d4a;
  --navy-light: #363a5e;
  --navy-dark: #1e2038;
  --gold: #c9b460;
  --gold-light: #deca7a;
  --gold-dark: #a8963f;
  --text: #f0ede6;
  --text-muted: rgba(240,237,230,0.6);
  --text-faint: rgba(240,237,230,0.35);
  --border: rgba(201,180,96,0.15);
  --bg: #1e2038;
  --nav-bg: rgba(30,32,56,0.95);
}

body {
  font-family: 'Pretendard', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Navigation ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  border-bottom: 0.5px solid var(--border);
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* 모바일 메뉴 */
.mobile-menu {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  width: 100%;
  background: rgba(30,32,56,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  z-index: 99;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  display: block;
  max-height: 500px;
}

.mobile-menu ul {
  list-style: none;
  padding: 1rem 0;
}

.mobile-menu ul li {
  border-bottom: 0.5px solid var(--border);
}

.mobile-menu ul li a {
  display: block;
  padding: 1rem 2rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.mobile-menu ul li a:hover { color: var(--gold); }

/* ── Hero ── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,180,96,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(201,180,96,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.1s forwards;
}

.hero-title {
  font-family: 'Pretendard', serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.25s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.55s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ── */
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.05em;
  border: 0.5px solid var(--gold);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Pretendard', sans-serif;
}

.btn-secondary:hover {
  background: rgba(201,180,96,0.1);
  transform: translateY(-1px);
}

/* ── Section ── */
.section {
  padding: 5rem 4rem;
  border-top: 0.5px solid var(--border);
}

.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Pretendard', serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 55ch;
}

/* ── 소개 섹션 ── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.intro-image {
  aspect-ratio: 4/3;
  background: var(--navy-light);
  border-radius: 16px;
  border: 0.5px solid var(--border);
  overflow: hidden;
  position: relative;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,180,96,0.1), transparent);
  z-index: 1;
}

/* ── 멤버 카드 ── */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.member-card {
  background: rgba(201,180,96,0.04);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.member-card:hover {
  border-color: rgba(201,180,96,0.4);
  transform: translateY(-2px);
}

.member-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 2px solid var(--gold);
  margin: 0 auto 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.member-role {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ── 후원 섹션 ── */
.support-box {
  background: rgba(201,180,96,0.06);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  max-width: 600px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.support-account {
  font-family: 'Pretendard', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  margin: 1rem 0 0.5rem;
  letter-spacing: 0.05em;
}

.support-name {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── 문의 섹션 ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 지도 ── */
.map-wrap {
  margin-top: 2.5rem;
  border-radius: 16px;
  overflow: hidden;
  border: 0.5px solid var(--border);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  display: block;
  border: none;
}

/* ── Footer ── */
footer {
  margin-top: auto;
  border-top: 0.5px solid var(--border);
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-text {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

/* ── 반응형 ── */
@media (max-width: 768px) {
  nav { padding: 1.25rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 75vh; padding: 4rem 1.5rem; }
  .hero-title { font-size: 2.8rem; }
  .hero-desc { font-size: 0.95rem; }

  .section { padding: 3.5rem 1.5rem; }
  .section-title { font-size: 2rem; }

  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 0.75rem;
  }
}