:root {
  --color-bg: #f3f7f4;
  --color-surface: #ffffff;
  --color-ink: #1a2e24;
  --color-muted: #5a6f64;
  --color-accent: #2d6a4f;
  --color-accent-deep: #1b4332;
  --color-line: rgba(26, 46, 36, 0.12);
  --font-display: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --header-h: 84px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(45, 106, 79, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(27, 67, 50, 0.08), transparent 50%),
    var(--color-bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}

.site-header__inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.site-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(200px, 55vw);
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--color-ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  color: #fff;
  display: grid;
  place-items: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 40, 28, 0.72), rgba(27, 67, 50, 0.45)),
    url("/assets/images/hero-banner.svg") center / cover no-repeat;
  transform: scale(1.02);
  animation: heroKen 12s ease-in-out infinite alternate;
}

@keyframes heroKen {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0 1.25rem;
  text-align: center;
  animation: fadeUp 0.8s ease both;
}

.hero__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.hero__subtitle {
  margin: 0 0 1.5rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  opacity: 0.92;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: #fff;
  color: var(--color-accent-deep);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.section {
  padding: 4rem 1.25rem;
}

.section--alt {
  background: rgba(255, 255, 255, 0.55);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-accent-deep);
}

.section p {
  margin: 0;
  max-width: 42rem;
  color: var(--color-muted);
}

.site-footer {
  border-top: 1px solid var(--color-line);
  background: var(--color-accent-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 1.25rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer__brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.75;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .site-logo img {
    height: 36px; /* 40px의 90% */
    max-width: min(180px, 50vw);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    padding: 0.5rem 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 1.25rem;
  }

  .hero {
    height: 450px;
    min-height: 320px;
  }

  @media (max-height: 560px) {
    .hero {
      height: min(450px, 70vh);
    }
  }
}
