/* 방향: 차분한 서재. 짙은 녹색 + 따뜻한 모래색 + 구릿빛 포인트.
   제목은 명조(Noto Serif KR)로 신뢰감, 본문은 Pretendard로 읽기 편하게. */
:root {
  --green: #1f4d3a;
  --green-deep: #143427;
  --sand: #f5efe4;
  --sand-deep: #e9dfcc;
  --cream: #fbf8f2;
  --copper: #b8743a;
  --ink: #1b1f1d;
  --muted: #5f6b66;
  --white: #ffffff;
  --serif: "Noto Serif KR", "Apple SD Gothic Neo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.75;
  font-size: 17px;
  word-break: keep-all;
}
h1, h2, h3, blockquote { font-family: var(--serif); letter-spacing: -0.01em; }
h2 { font-size: 34px; line-height: 1.3; margin: 8px 0 14px; color: var(--green-deep); }
h3 { font-size: 20px; margin: 0 0 6px; color: var(--green-deep); }
.eyebrow { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); font-weight: 600; margin: 0 0 6px; }
.eyebrow.light { color: #e0c9a8; }
.lead { color: var(--muted); margin: 0; font-size: 17px; }
.lead.light { color: #d9d2c5; }
.section-head { max-width: 640px; margin-bottom: 40px; }

/* 상단 메뉴 */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 40px;
  background: rgba(245, 239, 228, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-deep);
}
.brand { font-family: var(--serif); font-weight: 700; color: var(--green-deep); text-decoration: none; font-size: 20px; }
.brand span { font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--copper); letter-spacing: 0.12em; margin-left: 6px; }
.top nav { display: flex; align-items: center; gap: 26px; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--green); }
.nav-cta { padding: 8px 16px; border: 1.5px solid var(--green); border-radius: 999px; color: var(--green) !important; font-weight: 600; }
.nav-cta:hover { background: var(--green); color: var(--white) !important; }

main { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
section { padding: 96px 0; }

/* 히어로 */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center;
  min-height: calc(100vh - 70px); padding: 60px 0 80px;
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: -40px -40vw 0 -40vw; z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(31, 77, 58, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(184, 116, 58, 0.12), transparent 60%);
}
.hero h1 { font-size: 56px; line-height: 1.22; margin: 14px 0 22px; color: var(--green-deep); font-weight: 600; }
.hero-sub { font-size: 18px; color: var(--muted); margin: 0 0 30px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.button-link { color: var(--green); text-decoration: none; font-weight: 600; }
.button-link:hover { text-decoration: underline; }
.hero-note { font-size: 14px; color: var(--muted); margin: 18px 0 0; }

.hero-visual { position: relative; justify-self: center; }
.photo-frame {
  width: 340px; height: 420px; border-radius: 170px 170px 24px 24px;
  background: var(--green);
  padding: 14px;
  box-shadow: 0 30px 60px -30px rgba(20, 52, 39, 0.55);
  transform: rotate(-2deg);
}
.photo-placeholder {
  width: 100%; height: 100%;
  border-radius: 156px 156px 14px 14px;
  background: linear-gradient(160deg, #e9dfcc 0%, #d7c7ab 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--green-deep);
}
.photo-placeholder .initial { font-family: var(--serif); font-size: 44px; font-weight: 700; opacity: 0.85; }
.photo-placeholder .caption { font-size: 13px; color: var(--muted); letter-spacing: 0.1em; }
.photo-placeholder.small { width: 260px; height: 320px; border-radius: 130px 130px 16px 16px; border: 10px solid var(--white); box-shadow: 0 20px 40px -24px rgba(20, 52, 39, 0.5); }
.float-card {
  position: absolute; left: -40px; bottom: 36px;
  background: var(--white); border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.25);
  display: flex; flex-direction: column; min-width: 150px;
}
.float-label { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.float-num { font-family: var(--serif); font-size: 30px; color: var(--green-deep); font-weight: 700; line-height: 1.1; }
.float-num small { font-family: var(--sans); font-size: 14px; color: var(--copper); font-weight: 600; margin-left: 2px; }

/* 버튼 */
.button {
  display: inline-block; padding: 14px 30px;
  background: var(--green); color: var(--white);
  border-radius: 999px; text-decoration: none; font-weight: 600;
  transition: background 0.15s, transform 0.15s;
}
.button:hover { background: var(--green-deep); transform: translateY(-1px); }
.button.ghost { background: transparent; color: var(--green); border: 1.5px solid var(--green); padding: 10px 22px; }
.button.ghost:hover { background: var(--green); color: var(--white); }
.button.light { background: var(--sand); color: var(--green-deep); }
.button.light:hover { background: var(--white); }

/* 이런 분과 */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.who-card {
  background: var(--cream); border-radius: 18px; padding: 30px 26px 28px;
  border: 1px solid var(--sand-deep);
  transition: transform 0.2s, box-shadow 0.2s;
}
.who-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(20, 52, 39, 0.35); }
.who-card .num { font-family: var(--serif); color: var(--copper); font-size: 15px; letter-spacing: 0.1em; display: block; margin-bottom: 16px; }
.who-card p { margin: 0; color: var(--muted); font-size: 16px; }

/* 진행 방식 */
.how { background: var(--green-deep); color: var(--sand); margin: 0 -40vw; padding: 96px 40vw; }
.how .eyebrow { color: #c9a271; }
.how h2 { color: var(--white); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 20px; color: #e0c9a8;
}
.steps h3 { color: var(--white); margin-bottom: 8px; }
.steps p { margin: 0; color: #c7cfc9; font-size: 16px; }

/* 프로그램 */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.card {
  background: var(--white); border-radius: 22px; padding: 34px 32px 30px;
  box-shadow: 0 2px 12px rgba(31, 77, 58, 0.06);
  display: flex; flex-direction: column; gap: 18px;
  border-top: 4px solid var(--green);
}
.card:nth-child(2) { border-top-color: var(--copper); }
.tag { display: inline-block; font-size: 12px; letter-spacing: 0.12em; color: var(--copper); font-weight: 700; margin-bottom: 10px; }
.card h3 { font-size: 24px; }
.who-for { color: var(--green); font-weight: 600; margin: 0; font-size: 15px; }
.card ul { padding-left: 18px; margin: 0; }
.card li { margin: 8px 0; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--sand-deep); }
.meta { color: var(--muted); font-size: 14px; }

/* 소개 */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
.about-visual { justify-self: center; }
.about h2 { font-size: 40px; margin-bottom: 18px; }
.about blockquote { margin: 0 0 22px; padding-left: 18px; border-left: 3px solid var(--copper); font-size: 20px; color: var(--green-deep); line-height: 1.5; }
.about p { color: var(--muted); margin: 0 0 14px; }
.creds { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.creds li { background: var(--cream); border: 1px solid var(--sand-deep); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--green-deep); }

/* 문의 */
.contact { padding-top: 40px; }
.contact-card {
  background: var(--green); color: var(--sand);
  border-radius: 28px; padding: 70px 40px; text-align: center;
  background-image: radial-gradient(ellipse 60% 70% at 100% 0%, rgba(255, 255, 255, 0.08), transparent 60%);
}
.contact-card h2 { color: var(--white); font-size: 36px; margin-bottom: 14px; }
.contact-card .lead { margin-bottom: 30px; }
.email { font-family: var(--serif); font-size: 20px; margin: 22px 0 6px; color: #e0c9a8; }
.kakao { font-size: 14px; color: #a9b7af; margin: 0; }

footer { text-align: center; color: var(--muted); font-size: 14px; padding: 36px 0 44px; }

/* 등장 애니메이션 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero .reveal:nth-child(2) { transition-delay: 0.15s; }
.hero .reveal:nth-child(3) { transition-delay: 0.25s; }
.hero .reveal:nth-child(4) { transition-delay: 0.35s; }
.hero .reveal:nth-child(5) { transition-delay: 0.45s; }
.hero-visual.reveal { transition-delay: 0.3s; }

@media (max-width: 900px) {
  .top { padding: 14px 20px; }
  .top nav { gap: 14px; }
  .top nav a:not(.nav-cta) { display: none; }
  main { padding: 0 20px; }
  section { padding: 64px 0; }
  .hero { grid-template-columns: 1fr; gap: 40px; min-height: 0; padding: 40px 0 60px; text-align: left; }
  .hero h1 { font-size: 38px; }
  .hero-visual { justify-self: start; margin-left: 40px; }
  .photo-frame { width: 260px; height: 320px; }
  .float-card { left: -40px; bottom: 20px; }
  h2 { font-size: 27px; }
  .who-grid, .steps, .cards { grid-template-columns: 1fr; }
  .how { margin: 0 -20px; padding: 64px 20px; }
  .about { grid-template-columns: 1fr; gap: 30px; }
  .about-visual { justify-self: start; }
  .photo-placeholder.small { width: 200px; height: 250px; border-radius: 100px 100px 14px 14px; }
  .contact-card { padding: 50px 24px; border-radius: 20px; }
  .contact-card h2 { font-size: 28px; }
}
