:root {
  --ivory: #FBF9F4;
  --sage: #4C7460;
  --sage-mid: #6F9B7D;
  --ink: #2B2F33;
  --muted: #5A6169;
  --line: rgba(43, 47, 51, 0.12);
  --sage-wash: #EDF1EA;
  --card: #FFFFFF;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(43, 47, 51, 0.04), 0 8px 24px rgba(43, 47, 51, 0.05);
  --shadow-md: 0 2px 6px rgba(43, 47, 51, 0.05), 0 18px 44px rgba(43, 47, 51, 0.09);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Noto Sans KR", system-ui, -apple-system, "Malgun Gothic", sans-serif;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: "Gowun Batang", "Noto Sans KR", serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.br-sm { display: none; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--sage); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--sage-mid); outline-offset: 3px; border-radius: 6px; }

/* header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}
.site-header.is-scrolled {
  background: rgba(251, 249, 244, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.wordmark-text { font-family: "Gowun Batang", serif; font-size: 17px; }
.wordmark-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--sage-mid));
  box-shadow: 0 0 0 4px rgba(76, 116, 96, 0.12);
}
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav a { position: relative; padding: 4px 0; transition: color 0.25s var(--ease); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--sage); transition: width 0.3s var(--ease); border-radius: 2px;
}
.nav a:hover { color: var(--sage); }
.nav a:hover::after { width: 100%; }
.header-call {
  font-size: 14px; font-weight: 500; color: var(--sage);
  padding: 9px 16px; border: 1px solid rgba(76, 116, 96, 0.35); border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.header-call:hover { background: var(--sage); color: #fff; }

/* hero */
.hero { position: relative; padding: 168px 0 120px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.55; }
.blob-1 { width: 520px; height: 520px; right: -140px; top: -80px; background: radial-gradient(circle at 30% 30%, #E4EDE2, rgba(228, 237, 226, 0)); }
.blob-2 { width: 420px; height: 420px; left: -160px; bottom: -60px; background: radial-gradient(circle at 60% 40%, #F3E9DC, rgba(243, 233, 220, 0)); }
.blob-3 { width: 260px; height: 260px; left: 46%; top: 42%; background: radial-gradient(circle at 50% 50%, #E7E3F0, rgba(231, 227, 240, 0)); opacity: 0.4; }
.grain {
  position: absolute; inset: 0; opacity: 0.035;
  background-image: radial-gradient(rgba(43, 47, 51, 0.6) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 620px; }
.hero-photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); background: var(--sage-wash); }
.hero-photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.eyebrow {
  font-size: 14px; letter-spacing: 0.02em; color: var(--sage);
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--sage-mid); display: inline-block; }
.hero-title {
  font-size: clamp(44px, 7.4vw, 82px);
  line-height: 1.16; margin: 22px 0 26px; color: var(--ink);
}
.hero-title span { display: block; }
.hero-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px; border-radius: 999px; font-size: 15.5px; font-weight: 500;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn-primary { background: var(--sage); color: #fff; box-shadow: 0 10px 24px rgba(76, 116, 96, 0.24); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(76, 116, 96, 0.3); background: #436a56; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(76, 116, 96, 0.45); color: var(--sage); }
.btn-light { background: rgba(255, 255, 255, 0.92); color: var(--sage); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.hero-chips li {
  font-size: 13px; color: var(--muted); padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.55);
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 30px; width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(76, 116, 96, 0.5));
  transform: translateX(-50%);
}
.hero-scroll span {
  position: absolute; left: -3px; top: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage); animation: scrollDot 2.4s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translateY(48px); opacity: 0; }
}

.hero-rise {
  opacity: 0; transform: translateY(22px);
  animation: rise 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* intro */
.intro { padding: 24px 0 72px; }
.intro-inner { display: grid; gap: 34px; }
.intro-line {
  font-family: "Gowun Batang", serif; font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.72; max-width: 900px; color: #3A4046;
}
.intro-stats { display: flex; gap: 56px; flex-wrap: wrap; }
.intro-stats div { display: grid; gap: 2px; }
.intro-stats dt { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
.intro-stats dd { margin: 0; font-family: "Gowun Batang", serif; font-size: 26px; color: var(--sage); }

/* sections */
.section { padding: 108px 0; }
.section-tint { background: var(--sage-wash); }
.section-deep { background: #33503F; color: #F4F6F2; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 58px; }
.section-head.align-left { text-align: left; margin-inline: 0; }
.kicker { font-size: 13.5px; letter-spacing: 0.14em; color: var(--sage); font-weight: 500; margin-bottom: 16px; text-transform: uppercase; }
.kicker.light { color: #B9D2C1; }
.section h2 { font-size: clamp(30px, 4vw, 44px); }
.section-desc { margin-top: 18px; color: var(--muted); font-size: 16px; }
.section-deep .section-desc, .section-deep p { color: #D5E0D7; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 32px; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(76, 116, 96, 0.28); }
.card-icon { display: inline-flex; width: 44px; height: 44px; border-radius: 13px; background: var(--sage-wash); color: var(--sage); align-items: center; justify-content: center; margin-bottom: 20px; }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.75; }

/* vouchers */
.voucher-inner { display: grid; gap: 40px; }
.badge-list { display: flex; flex-wrap: wrap; gap: 12px; max-width: 880px; }
.badge {
  padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 500;
  border: 1px solid transparent; transition: transform 0.3s var(--ease);
}
.badge:hover { transform: translateY(-2px); }
.b-sage { background: #E3EDE4; color: #35543F; border-color: #CFDFD2; }
.b-blue { background: #E4EBF3; color: #35506B; border-color: #D2DEEA; }
.b-lav { background: #ECE8F3; color: #4C4266; border-color: #DFD8EA; }
.b-rose { background: #F4E7E6; color: #6B403D; border-color: #EAD6D4; }
.b-sand { background: #F2EADB; color: #63513A; border-color: #E7DCC7; }
.voucher-note { color: var(--muted); font-size: 14.5px; max-width: 760px; }

/* prices */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.price-name { font-size: 15px; color: var(--muted); }
.price-value { font-family: "Gowun Batang", serif; font-size: 32px; color: var(--ink); margin: 10px 0 14px; }
.price-value span { font-family: "Noto Sans KR", sans-serif; font-size: 14px; color: var(--muted); font-weight: 400; }
.price-desc { font-size: 14.5px; color: var(--muted); }
.fine { margin-top: 26px; font-size: 14.5px; color: var(--muted); }

/* group */
.group-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.group-copy h2 { font-size: clamp(30px, 4vw, 44px); margin: 6px 0 20px; color: #fff; }
.group-copy p { max-width: 460px; margin-bottom: 30px; }
.group-facts { display: grid; gap: 14px; }
.group-facts li {
  display: flex; align-items: baseline; gap: 18px;
  padding: 20px 24px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
}
.group-facts strong { font-family: "Gowun Batang", serif; font-size: 22px; color: #E7F0E7; min-width: 78px; }
.group-facts span { font-size: 14.5px; color: #C9D8CC; }

/* cases */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.case-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(76, 116, 96, 0.3); }
.case-tag { font-size: 12.5px; letter-spacing: 0.05em; color: var(--sage); background: var(--sage-wash); padding: 5px 12px; border-radius: 999px; }
.case-card h3 { font-size: 25px; margin: 18px 0 10px; }
.case-card p { color: var(--muted); font-size: 15px; }
.case-link { display: inline-block; margin-top: 22px; font-size: 14.5px; color: var(--sage); font-weight: 500; transition: gap 0.3s var(--ease); }

/* news */
.news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 4px; font-size: 16px; transition: color 0.25s var(--ease), padding-left 0.3s var(--ease);
}
.news-list a:hover { color: var(--sage); padding-left: 10px; }
.news-list span { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.text-link { display: inline-block; margin-top: 30px; color: var(--sage); font-size: 15px; font-weight: 500; }

/* visit */
.visit-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
.visit-copy h2 { font-size: clamp(30px, 4vw, 44px); margin: 6px 0 24px; }
.address { font-size: 17px; line-height: 1.8; }
.address span { color: var(--muted); font-size: 14.5px; }
.phone-line { display: flex; gap: 20px; margin: 22px 0 24px; flex-wrap: wrap; }
.phone-line a { font-family: "Gowun Batang", serif; font-size: 21px; color: var(--sage); border-bottom: 1px solid rgba(76, 116, 96, 0.3); }
.access { display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.access li { padding-left: 16px; position: relative; }
.access li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--sage-mid); }
.visit-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-sm); }
.visit-panel h3 { font-size: 19px; margin-bottom: 16px; }
.hours { display: grid; gap: 0; margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); font-size: 14.5px; }
.hours dd { margin: 0; font-size: 14.5px; font-weight: 500; }
.panel-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.panel-sub { margin-top: 26px; }
.facility { display: flex; flex-wrap: wrap; gap: 8px; }
.facility li { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }

/* visit photos */
.visit-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.visit-photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sage-wash); box-shadow: var(--shadow-sm); }
.visit-photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.5s var(--ease); }
.visit-photo:hover img { transform: scale(1.03); }
.photo-credit { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: right; }

/* cta */
.cta { padding: 96px 0; background: linear-gradient(180deg, var(--ivory), #F1EFE7); text-align: center; }
.cta h2 { font-size: clamp(30px, 4.4vw, 48px); }
.cta p { margin-top: 14px; color: var(--muted); }
.cta-actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* footer */
.footer { padding: 52px 0 40px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-end; }
.footer-name { font-family: "Gowun Batang", serif; font-size: 18px; }
.footer-meta { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.footer-contact { font-size: 14px; color: var(--muted); }
.footer-contact a:hover { color: var(--sage); }
.footer-fine { margin-top: 26px; font-size: 12.5px; color: rgba(90, 97, 105, 0.8); }

/* reveal */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.9s var(--ease) var(--rd, 0ms), transform 0.9s var(--ease) var(--rd, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 960px) {
  .service-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .group-inner, .visit-inner, .case-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: none; }
  .hero-photo { max-width: 560px; }
  .news-list { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 36px, var(--wrap)); }
  .hero { padding: 132px 0 96px; }
  .hero-title { font-size: clamp(38px, 11vw, 52px); }
  .hero-chips { margin-top: 32px; }
  .section { padding: 76px 0; }
  .service-grid, .price-grid { grid-template-columns: 1fr; }
  .intro-stats { gap: 32px; }
  .br-sm { display: block; }
  .news-list a { font-size: 15px; }
  .visit-photos { grid-template-columns: 1fr; }
  .cta-actions .btn, .hero-actions .btn { width: 100%; }
  .header-call { padding: 8px 14px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero-rise { opacity: 1; transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-scroll span { animation: none; }
}
