:root {
  --ink: #1f2a2e;
  --ink-soft: #55656b;
  --muted: #8a979c;
  --line: #e2e8e9;
  --bg: #ffffff;
  --bg-alt: #f5f7f6;
  --accent: #2c6e63;        /* 짙은 청록 — 차분한 종교·명상 톤 */
  --accent-soft: #e4f0ed;
  --radius: 14px;
  --max: 1040px;
  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --serif: "Noto Serif KR", "Apple Myungjo", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.3; margin: 0 0 .6em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff;
  padding: 8px 12px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

/* 일원상 */
.ilwon {
  display: inline-block; width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid var(--accent); vertical-align: middle;
}
.ilwon-sm { width: 14px; height: 14px; border-width: 2px; }
.ilwon-lg { width: 72px; height: 72px; border-width: 4px; margin-bottom: 20px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max); margin: 0 auto; padding: 14px 20px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand strong { font-weight: 600; }
.site-nav { display: flex; gap: 22px; font-size: .95rem; }
.site-nav a { color: var(--ink-soft); }
.site-nav a:hover { color: var(--accent); text-decoration: none; }

/* hero */
.hero {
  background:
    radial-gradient(ellipse at 20% 0%, var(--accent-soft) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 100%, #eef3f1 0%, transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 88px 20px 96px; text-align: center;
}
.eyebrow { color: var(--accent); font-weight: 500; letter-spacing: .04em; margin-bottom: 10px; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin-bottom: 18px; }
.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 560px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 500;
  border: 1.5px solid transparent; transition: .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #255d53; }
.btn-ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-ghost:hover { background: var(--accent-soft); }

/* sections */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-desc { color: var(--ink-soft); margin-top: -8px; margin-bottom: 28px; }
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.info-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px;
}
.info-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.info-card dt { color: var(--muted); font-size: .9rem; padding-top: 2px; white-space: nowrap; }
.info-card dd { margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card h3 { margin-bottom: 4px; }
.card-meta { color: var(--accent); font-weight: 500; font-size: .95rem; margin-bottom: 12px; }
.card p:last-child { margin: 0; color: var(--ink-soft); }
.note { margin-top: 22px; font-size: .9rem; color: var(--muted); }

.address-lg { font-size: 1.2rem; font-family: var(--serif); margin-bottom: 18px; }
.how-to { list-style: none; padding: 0; margin: 0 0 22px; color: var(--ink-soft); }
.how-to li { padding: 8px 0; border-top: 1px solid var(--line); }
.how-to li:last-child { border-bottom: 1px solid var(--line); }
.how-to strong { color: var(--ink); margin-right: 8px; font-weight: 500; }
.map-links { display: flex; gap: 10px; flex-wrap: wrap; }
.map-links .btn { padding: 9px 16px; font-size: .92rem; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #eee; }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 500; margin-bottom: 4px; }
.footer-inner p { margin: 0; }
.copyright { align-self: end; }

/* 404 */
.notfound { text-align: center; padding: 120px 20px; }

@media (max-width: 760px) {
  .site-header { padding: 12px 16px; }
  .site-nav { gap: 14px; font-size: .88rem; }
  .brand-text { display: none; }
  .hero-inner { padding: 64px 20px 72px; }
  .section { padding: 56px 0; }
  .two-col, .contact-grid, .cards { grid-template-columns: 1fr; gap: 24px; }
  .map-frame iframe { height: 280px; }
}
