:root {
  --ink: #17231d;
  --muted: #5c6963;
  --paper: #fbfcf8;
  --white: #ffffff;
  --jade: #1f7a5a;
  --jade-dark: #15583f;
  --gold: #c59b45;
  --shadow: 0 22px 60px rgba(21, 38, 31, 0.17);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--jade-dark);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Noto Serif KR", Georgia, serif;
}

code {
  font-size: 0.92em;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 82px 22px 72px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(251, 252, 248, 0.18) 58%, var(--paper) 100%),
    url("./assets/img/cheon-il-guk-mountains.png") center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 38%, rgba(12, 36, 28, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(8, 24, 20, 0.42), rgba(13, 35, 29, 0.46) 58%, rgba(251, 252, 248, 0.92) 100%);
}

.hero-content {
  width: min(860px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 18px rgba(9, 24, 20, 0.36);
}

.hero-logo {
  width: clamp(128px, 18vw, 196px);
  height: clamp(128px, 18vw, 196px);
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 12px 28px rgba(12, 30, 24, 0.32));
}

.eyebrow {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin-top: 12px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.95;
  font-weight: 700;
}

.hero-content p {
  max-width: 640px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1rem, 1.9vw, 1.28rem);
  line-height: 1.7;
  font-weight: 500;
}

.panel,
.cards {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
}

.panel {
  margin-top: -42px;
  padding: 34px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel h2,
.cards h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.panel p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.cards {
  padding: 56px 0 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.note {
  min-height: 180px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(21, 38, 31, 0.08);
}

.note h3 {
  color: var(--jade-dark);
  font-size: 1.12rem;
}

.note p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.62;
}

footer {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto 48px;
  padding-top: 8px;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 760px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
