:root {
  --bg-deep: #0a1f1c;
  --bg-mid: #0f3f3a;
  --bg-card: rgba(12, 47, 43, 0.72);
  --accent: #e8c48a;
  --accent-dim: rgba(232, 196, 138, 0.15);
  --text: #f8f6f0;
  --text-muted: #a8bdb4;
  --border: rgba(255, 255, 255, 0.08);
  --font-serif: "Noto Serif KR", "Georgia", serif;
  --font-sans: "Pretendard", "Inter", system-ui, sans-serif;
  --nav-h: 72px;
  --max-w: 1120px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* —— Nav —— */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(10, 31, 28, 0.92);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1c6157, #0b2723);
  border: 1.5px solid var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 0.65rem;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-cta {
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8c48a, #c9a066);
  color: #1a1510;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232, 196, 138, 0.35);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

/* —— Hero —— */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: calc(var(--nav-h) + 48px) 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(28, 97, 87, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(232, 196, 138, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0f3f3a 0%, var(--bg-deep) 70%);
  z-index: 0;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  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");
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #e8c48a, #c9a066);
  color: #1a1510;
  box-shadow: 0 12px 32px rgba(232, 196, 138, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(232, 196, 138, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* —— Sections —— */
.section {
  padding: 100px 24px;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(15, 63, 58, 0.25) 50%, transparent);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  margin: 0 0 20px;
  line-height: 1.3;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 48px;
  font-weight: 300;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-visual {
  aspect-ratio: 4/5;
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(28, 97, 87, 0.6) 0%, rgba(10, 31, 28, 0.9) 100%),
    radial-gradient(circle at 30% 20%, rgba(232, 196, 138, 0.2), transparent 45%);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: "治";
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: rgba(232, 196, 138, 0.12);
  line-height: 1;
}

.about-visual blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}

.about-body p {
  margin: 0 0 1.25em;
  color: var(--text-muted);
  font-weight: 300;
}

.about-body p strong {
  color: var(--text);
  font-weight: 500;
}

/* Special cards */
.special-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.special-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s;
}

.special-card:hover {
  border-color: rgba(232, 196, 138, 0.35);
  transform: translateY(-4px);
}

.special-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.special-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 12px;
  font-weight: 500;
}

.special-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
}

/* Research */
.research-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.research-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
}

.research-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin: 0 0 16px;
  color: var(--accent);
  font-weight: 500;
}

.research-panel p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

.research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
}

.research-tags span {
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* Values strip */
.values-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 64px;
}

.value-item {
  background: var(--bg-card);
  padding: 28px 24px;
  text-align: center;
}

.value-item .num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.value-item h4 {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.value-item p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 80px 24px 120px;
}

.cta-box {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 40px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(28, 97, 87, 0.35), rgba(10, 31, 28, 0.9));
  border: 1px solid var(--border);
}

.cta-box h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin: 0 0 12px;
  font-weight: 500;
}

.cta-box p {
  color: var(--text-muted);
  margin: 0 0 28px;
  font-weight: 300;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  background: rgba(0, 0, 0, 0.2);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.footer-brand p {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 280px;
  font-weight: 300;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* Mobile */
@media (max-width: 900px) {
  .about-grid,
  .research-block,
  .special-grid {
    grid-template-columns: 1fr;
  }

  .values-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    background: rgba(10, 31, 28, 0.98);
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 520px) {
  .values-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
