:root {
  --paper: #f8f5ee;
  --surface: #fffdf8;
  --ink: #293d33;
  --muted: #657064;
  --green: #365b46;
  --sage: #e9eee3;
  --clay: #92523d;
  --line: #dddccf;
  --serif: "Noto Serif KR", "Batang", "Songti SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Microsoft YaHei", sans-serif;
  --shadow-soft: 0 8px 28px rgba(41, 61, 51, 0.07);
}

/* 🌙 밤의 성찰을 위한 '달빛 서재' 웜 다크 테마 */
body.theme-moonlit {
  --paper: #181d1a;
  --surface: #222924;
  --ink: #eae5d9;
  --muted: #9aa89b;
  --green: #598668;
  --sage: #2a352d;
  --clay: #c77d64;
  --line: #344037;
  --shadow-soft: 0 10px 32px rgba(0, 0, 0, 0.35);
}

body.theme-moonlit .review-strip {
  background: #242c26;
  color: #a7bca8;
}

body.theme-moonlit .symbol-note {
  background: #252d27;
  border-color: #38453b;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.theme-moonlit .note-top,
body.theme-moonlit .note-caption,
body.theme-moonlit .note-question {
  color: #a1b09f;
}

body.theme-moonlit .note-actions {
  border-top-color: rgba(161, 176, 159, 0.18);
}
body.theme-moonlit .btn-scene-source,
body.theme-moonlit .btn-scene-next {
  border-color: rgba(161, 176, 159, 0.3);
  color: #a1b09f;
}
body.theme-moonlit .btn-scene-source:hover,
body.theme-moonlit .btn-scene-next:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #dbe4d9;
  border-color: #a1b09f;
}
body.theme-moonlit .btn-scene-source.is-open {
  background: #475a49;
  color: #f0f4ef;
  border-color: #72896e;
}
body.theme-moonlit .scene-dot::before {
  background: rgba(161, 176, 159, 0.3);
}
body.theme-moonlit .scene-dot.is-active::before {
  background: #88a384;
}
body.theme-moonlit .scene-source-panel {
  background: rgba(20, 25, 21, 0.85);
  border-color: #38453b;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
body.theme-moonlit .source-label {
  color: #88a384;
}
body.theme-moonlit .source-quote {
  color: #e5ece3;
  border-left-color: #bda78d;
}
body.theme-moonlit .source-meaning {
  color: #a1b09f;
}

body.theme-moonlit .paths-section {
  background: #141815;
}

body.theme-moonlit .path-card {
  background: #222924;
  border-color: #364239;
}

body.theme-moonlit .path-narrative {
  background: #252e27;
}

body.theme-moonlit .approach-help {
  border-color: #344037;
  color: #a1b09f;
}

body.theme-moonlit .button-secondary {
  border-color: #4a5c4e;
  color: #a3c2ac;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.8 var(--sans);
  word-break: keep-all;
  overflow-wrap: break-word;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* 📜 한지/수제 종이 미세 질감 노이즈 오버레이 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

body.theme-moonlit::before {
  opacity: 0.045;
}

a { color: inherit; text-decoration: none; }
button, textarea, select { font: inherit; }
button, a, textarea, summary, select { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 5px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
button { cursor: pointer; }
button:disabled { cursor: default; }
.content-width { width: min(100% - 64px, 1080px); margin-inline: auto; }

.site-header {
  width: min(100% - 64px, 1180px);
  margin: auto;
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}
.brand-seal {
  border: 1px solid #6d8062;
  border-radius: 9px 2px 9px 2px;
  font-size: 26px;
  width: 44px;
  height: 47px;
  display: grid;
  place-items: center;
  font-weight: 400;
}
.wordmark small {
  font: 12px/1.8 var(--sans);
  display: block;
  margin-top: 4px;
  letter-spacing: .05em;
  color: var(--muted);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}
.site-header nav a {
  padding-block: 8px;
  padding-inline: 12px;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.site-header nav a:hover { color: var(--clay); }
.site-header nav a.nav-active {
  color: var(--green);
  font-weight: 600;
}

/* 🌓 테마 토글 버튼 */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 20px;
  min-height: 44px;
  min-width: 44px;
  padding: 6px 14px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.theme-toggle:hover {
  border-color: var(--green);
  background: var(--sage);
}
.theme-icon { font-size: 13px; }

body .umun-locale {
  width: min(100% - 64px, 1180px);
  max-width: 1180px;
  margin: 0 auto!important;
  padding: 0 0 12px!important;
  justify-content: flex-end;
  background: transparent!important;
  border: 0!important;
  color: var(--muted)!important;
  font-size: 13px!important;
}
body .umun-locale select {
  background: var(--surface)!important;
  color: var(--ink)!important;
  border-color: var(--line)!important;
  min-height: 44px!important;
  padding: 6px 12px!important;
  font-size: 16px!important;
  margin-left: 8px;
  border-radius: 6px;
}
body .umun-locale label { display: flex; align-items: center; gap: 8px; min-height: 44px; }

.intro {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 96px;
  align-items: center;
  padding: 58px 0 64px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: .035em;
  color: var(--muted);
  font-weight: 500;
}
.intro .eyebrow { display: flex; align-items: center; gap: 9px; }
.intro .eyebrow span { width: 19px; height: 1px; background: #879b78; }
.intro-title {
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.48;
  letter-spacing: -.055em;
  margin: 18px 0 20px;
}
.intro-description { font-size: 17px; line-height: 1.95; color: var(--muted); }
.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  margin-top: 25px;
  font-size: 14px;
  color: var(--green);
  border-bottom: 1px solid #bac5b4;
  padding-bottom: 4px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.quiet-link:hover { color: var(--clay); border-color: var(--clay); }
.quiet-link span { font-size: 20px; }

/* 🌿 상징 카드 & 우물 파문 마이크로 인터랙션 */
.symbol-note {
  max-width: 385px;
  width: 100%;
  padding: 23px 29px 29px;
  background: #eeeede;
  border: 1px solid #dfdfcb;
  border-radius: 50% 50% 8px 8px / 23% 23% 8px 8px;
  transform: rotate(1.5deg);
  position: relative;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s ease;
  box-shadow: 0 6px 18px rgba(54, 91, 70, 0.05);
}
.symbol-note:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 0 12px 28px rgba(54, 91, 70, 0.1);
}
.note-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #5f6b56;
  letter-spacing: .03em;
  padding-top: 17px;
}
.hex-mark { font-size: 29px; line-height: 1; }
.symbol-art-container {
  width: 100%;
  min-height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.symbol-drawing,
.well-drawing,
.sprout-drawing,
.goose-drawing {
  width: 100%;
  height: 165px;
  display: block;
  margin: 5px 0 6px;
  overflow: visible;
}

/* 🌿 1. 수풍정(井) 우물 애니메이션 */
.tree-foliage {
  transform-origin: 260px 45px;
  animation: leafSway 7s ease-in-out infinite alternate;
}
@keyframes leafSway {
  0% { transform: rotate(0deg) skewX(0deg); }
  50% { transform: rotate(1.8deg) skewX(-1.2deg); }
  100% { transform: rotate(-1.2deg) skewX(0.8deg); }
}

.well-ripple {
  transform-origin: 145px 139px;
  pointer-events: none;
}
.ripple-inner {
  animation: ripplePulse 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.ripple-outer {
  animation: ripplePulse 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite 1.9s;
}
@keyframes ripplePulse {
  0% {
    transform: scale(0.65);
    opacity: 0.85;
    stroke-width: 1.5;
  }
  60% {
    transform: scale(1.15);
    opacity: 0.35;
    stroke-width: 1;
  }
  100% {
    transform: scale(1.42);
    opacity: 0;
    stroke-width: 0.5;
  }
}
.symbol-note:hover .well-ripple { animation-duration: 2.4s; }

/* 🌱 2. 지뢰복(復) 새싹 애니메이션 */
.sprout-foliage {
  transform-origin: 180px 145px;
  animation: sproutBreeze 6.5s ease-in-out infinite alternate;
}
@keyframes sproutBreeze {
  0% { transform: rotate(0deg) skewX(0deg); }
  40% { transform: rotate(2deg) skewX(-1.2deg); }
  75% { transform: rotate(-1.2deg) skewX(0.8deg); }
  100% { transform: rotate(0.8deg) skewX(-0.5deg); }
}
.sprout-dew {
  animation: dewShimmer 4s ease-in-out infinite alternate;
}
@keyframes dewShimmer {
  0%, 100% { opacity: 0.65; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* 🪶 3. 풍산점(漸) 기러기 애니메이션 */
.goose-reeds {
  transform-origin: 70px 158px;
  animation: reedSway 5.5s ease-in-out infinite alternate;
}
@keyframes reedSway {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(2.2deg); }
  100% { transform: rotate(-1.5deg); }
}
.goose-body-group {
  transform-origin: 200px 115px;
  animation: gooseRest 7s ease-in-out infinite alternate;
}
@keyframes gooseRest {
  0% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(-0.9px) scaleY(1.02); }
  100% { transform: translateY(0.4px) scaleY(0.99); }
}
.goose-wave {
  animation: wavePulse 4.5s ease-in-out infinite alternate;
}
.goose-wave.wave-2 { animation-delay: 1.5s; }
.goose-wave.wave-3 { animation-delay: 2.8s; }
@keyframes wavePulse {
  0% { opacity: 0.35; transform: scaleX(0.94); }
  100% { opacity: 0.95; transform: scaleX(1.05); }
}

/* ⛰️ 4. 지산겸(謙) 구름 능선 애니메이션 */
.ridge-cloud-a {
  animation: cloudDriftA 16s ease-in-out infinite alternate;
}
.ridge-cloud-b {
  animation: cloudDriftB 20s ease-in-out infinite alternate;
}
@keyframes cloudDriftA {
  0% { transform: translateX(-8px); opacity: 0.85; }
  100% { transform: translateX(10px); opacity: 0.95; }
}
@keyframes cloudDriftB {
  0% { transform: translateX(6px); opacity: 0.75; }
  100% { transform: translateX(-10px); opacity: 0.9; }
}

/* 🌾 5. 풍지관(觀) 빈 정자와 풀잎 바람 애니메이션 */
.pavilion-grass {
  transform-origin: 260px 156px;
  animation: grassWave 6s ease-in-out infinite alternate;
}
@keyframes grassWave {
  0% { transform: rotate(0deg) skewX(0deg); }
  50% { transform: rotate(3deg) skewX(-2.5deg); }
  100% { transform: rotate(-1.5deg) skewX(1deg); }
}
.wind-line {
  stroke-dasharray: 6, 6;
  animation: windFlow 8s linear infinite;
}
@keyframes windFlow {
  to { stroke-dashoffset: -48; }
}

/* 🏔️ 6. 중산간(艮) 겹친 산과 고요한 물빛 애니메이션 */
.still-water-glow {
  transform-origin: 150px 155px;
  animation: stillGlow 7s ease-in-out infinite alternate;
}
@keyframes stillGlow {
  0% { opacity: 0.45; transform: scale(0.96); }
  50% { opacity: 0.85; transform: scale(1.04); }
  100% { opacity: 0.55; transform: scale(0.98); }
}

/* 부드러운 장면 전환 */
.symbol-note.scene-transitioning .symbol-art-container,
.symbol-note.scene-transitioning .note-caption,
.symbol-note.scene-transitioning .note-thought,
.symbol-note.scene-transitioning .note-question {
  opacity: 0.15;
  transform: translateY(3px);
}
.symbol-art-container,
.note-caption,
.note-thought,
.note-question {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.note-caption { font-size: 12px; letter-spacing: .15em; color: #5f6b56; }
.note-thought {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.7;
  margin-top: 10px;
  letter-spacing: -.03em;
}
.note-question { font-size: 13px; line-height: 1.8; color: #626c59; margin-top: 17px; }

/* 📜 원문과 뜻 펼침 패널 */
.scene-source-panel {
  margin-top: 15px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(160, 124, 93, 0.25);
  border-radius: 8px;
  text-align: left;
  animation: panelSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(54, 91, 70, 0.04);
}
.scene-source-panel[hidden] {
  display: none;
}
@keyframes panelSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.source-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #72896e;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}
.source-quote {
  margin: 0 0 7px 0;
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.5;
  color: #2b332b;
  font-weight: 600;
  padding-left: 8px;
  border-left: 2px solid #a07c5d;
}
.source-meaning {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #556250;
}

/* 🕹️ 카드 하단 액션 바 (원문과 뜻 + 인디케이터 + 다른 장면 ↻) */
.note-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(160, 124, 93, 0.22);
  gap: 8px;
}
.btn-scene-source,
.btn-scene-next {
  background: transparent;
  border: 1px solid rgba(114, 137, 110, 0.3);
  border-radius: 22px;
  padding: 6px 14px;
  min-height: 44px;
  font-size: 13px;
  white-space: nowrap;
  color: #5f6b56;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  font-family: inherit;
  user-select: none;
}
.btn-scene-source *,
.btn-scene-next * {
  pointer-events: none;
}
.btn-scene-source:hover,
.btn-scene-next:hover {
  background: rgba(114, 137, 110, 0.08);
  color: #3d503b;
  border-color: #72896e;
}
.btn-scene-source:focus-visible,
.btn-scene-next:focus-visible {
  outline: 2px solid #72896e;
  outline-offset: 2px;
}
.btn-scene-source.is-open {
  background: #72896e;
  color: #ffffff;
  border-color: #72896e;
}
/* 카드 폭이 좁아 버튼 둘과 점 셋(누르는 영역 44px씩)이 한 줄에 들어가지 않으므로, 점은 버튼 위 줄 가운데에 둔다 */
.note-actions { flex-wrap: wrap; row-gap: 0; }
.scene-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  order: -1;
  flex-basis: 100%;
  margin-top: -8px;
}
/* 보이는 점은 작게(::before), 누르는 영역은 44×44px */
.scene-dot {
  width: 44px;
  height: 44px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}
.scene-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(114, 137, 110, 0.3);
  transition: all 0.22s ease;
}
.scene-dot:hover::before {
  background: #72896e;
  transform: scale(1.2);
}
.scene-dot.is-active::before {
  background: #72896e;
  width: 17px;
  border-radius: 4px;
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .sprout-foliage,
  .sprout-dew,
  .goose-reeds,
  .goose-body-group,
  .goose-wave,
  .tree-foliage,
  .well-ripple,
  .ridge-cloud-a,
  .ridge-cloud-b,
  .pavilion-grass,
  .wind-line,
  .still-water-glow {
    animation: none !important;
  }
}

/* 🖋️ 01 마음 입력 패널 & 먹물 스며듦(Ink Bleed) 피드백 */
.begin-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 32px 38px 28px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.begin-heading { display: flex; gap: 17px; align-items: flex-start; }
.section-number {
  font-family: Georgia, serif;
  color: var(--clay);
  font-size: 15px;
  line-height: 2.3;
}
.begin-heading h2 { font-size: 24px; letter-spacing: -.04em; }
.begin-heading p { color: var(--muted); font-size: 14px; margin-top: 2px; }

.textarea-wrapper {
  position: relative;
  margin-top: 6px;
}
textarea {
  resize: vertical;
  width: 100%;
  min-height: 126px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 18px 0 14px;
  outline: none;
  line-height: 1.9;
  font-size: 16px;
  border-radius: 0;
  transition: border-color 0.2s ease, background 0.3s ease;
}
textarea:focus {
  border-bottom-color: var(--green);
  background: linear-gradient(180deg, transparent 85%, rgba(54, 91, 70, 0.03) 100%);
}
textarea::placeholder { color: #65705d; opacity: .85; }

.ink-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--green) 30%, var(--clay) 70%, transparent 100%);
  opacity: 0;
  transform: scaleX(0.2);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0, 0, 1);
  pointer-events: none;
}
textarea:focus ~ .ink-glow {
  opacity: 0.9;
  transform: scaleX(1);
}

.concern-guide {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.8;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.textarea-wrapper:focus-within + .concern-guide {
  opacity: 1;
  color: var(--green);
}
.guide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
  display: inline-block;
  transition: transform 0.25s ease, background 0.25s ease;
}
.textarea-wrapper:focus-within + .concern-guide .guide-dot {
  transform: scale(1.3);
  background: var(--green);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}
.form-footer > span { font-size: 12px; color: var(--muted); }

.button-primary {
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  min-height: 48px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.button-primary:hover {
  background: #274734;
  transform: translateY(-1px);
}
.button-primary span { font-size: 19px; }

.button-secondary {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid #aebca7;
  border-radius: 8px;
  font-size: 14px;
  color: var(--green);
  transition: all 0.15s ease;
}
.button-secondary:hover {
  background: var(--sage);
  border-color: var(--green);
}

.how-section { padding: 92px 0 88px; }
.section-heading { text-align: center; margin-bottom: 42px; }
.section-heading h2 {
  font-size: 29px;
  line-height: 1.5;
  letter-spacing: -.04em;
  margin-top: 9px;
}
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0;
  text-align: center;
}
.steps li + li { border-left: 1px solid var(--line); }
.step-number {
  font-size: 12px;
  color: var(--clay);
  display: inline-block;
  border-bottom: 1px solid #d9bba9;
  margin-bottom: 15px;
}
.steps h3 { font-size: 21px; letter-spacing: -.03em; }
.steps p { font-size: 14px; color: var(--muted); line-height: 1.85; margin-top: 12px; }

/* 🚪 두 가지 입구 섹션 */
.paths-section { background: #efefe4; padding: 64px 0 52px; transition: background 0.3s ease; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path-card {
  background: #fffdf7;
  border: 1px solid #d6ddcb;
  border-radius: 12px;
  padding: 31px 35px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.path-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(41, 61, 51, 0.08);
  border-color: #b9c7b0;
}
.path-narrative {
  background: #fbf9f1;
}
.path-icon {
  position: absolute;
  right: 33px;
  top: 27px;
  font: 36px/1 var(--serif);
  color: #7c916f;
}
.path-overline { font-size: 12px; color: var(--clay); margin-bottom: 12px; }
.path-card h3 { font-size: 25px; letter-spacing: -.04em; margin-bottom: 12px; }
.path-card > p:not(.path-overline) { color: var(--muted); font-size: 14px; }

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding-block: 8px;
  font-size: 14px;
  color: var(--green);
  margin-top: 18px;
  border-bottom: 1px solid #b0bda4;
  font-weight: 500;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.text-action:hover {
  color: var(--clay);
  border-color: var(--clay);
}
.text-action span { font-size: 17px; }

.approach-help {
  max-width: 760px;
  margin: 28px auto 0;
  border-top: 1px solid #d3d8c7;
  border-bottom: 1px solid #d3d8c7;
  font-size: 13px;
  color: #56654f;
}
.approach-help summary { padding: 15px 4px; cursor: pointer; }
.approach-help > div { padding: 0 4px 18px; }
.approach-help p + p { margin-top: 10px; }

/* 📖 서재 속 묵독 카드 (어느 대화의 한 장면 & 헌장 0장) */
.dialogue-section {
  padding: 64px 0 54px;
}
.dialogue-moment {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 34px 40px;
  box-shadow: var(--shadow-soft);
  max-width: 860px;
  margin: 0 auto;
}
body.theme-moonlit .dialogue-moment {
  background: #222924;
  border-color: #344037;
  border-left-color: #598668;
}
.dialogue-turn {
  margin-bottom: 16px;
  line-height: 1.85;
}
.dialogue-speaker {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
  margin-bottom: 2px;
}
.dialogue-gap {
  margin: 0 0 16px;
  color: var(--muted);
  letter-spacing: .3em;
}
.dialogue-text {
  font-size: 15px;
  color: var(--ink);
}
.dialogue-oracle {
  color: var(--green);
  font-weight: 500;
}
body.theme-moonlit .dialogue-oracle {
  color: #a3c2ac;
}
.dialogue-highlight {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  line-height: 1.7;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  margin-top: 18px;
}
.dialogue-caption {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
}

/* 🏛️ 우문현답의 열린 서재 (5가지 마당 안내) */
.study-portals {
  padding: 72px 0 64px;
  border-top: 1px solid var(--line);
}
.portal-grid-study {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.portal-card-study {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
body.theme-moonlit .portal-card-study {
  background: #222924;
  border-color: #344037;
}
.portal-card-study:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--green);
}
.portal-card-study .card-tag {
  font-size: 12px;
  color: var(--clay);
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.portal-card-study h3 {
  font-size: 20px;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}
.portal-card-study p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
  flex-grow: 1;
}
.portal-card-study .card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-block: 8px;
  font-size: 13.5px;
  color: var(--green);
  margin-top: 20px;
  font-weight: 500;
}

.closing { text-align: center; padding: 78px 0 80px; }
.closing-mark { display: block; font-size: 30px; color: #9a7354; margin-bottom: 17px; }
.closing h2 { font-size: 32px; line-height: 1.55; letter-spacing: -.04em; }
.closing p { font-size: 15px; color: var(--muted); margin: 18px 0 28px; }

.site-footer {
  padding: 29px 0 36px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.footer-brand {
  font: 19px var(--serif);
  color: var(--ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 4px;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--clay); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 800px) {
  .content-width, .site-header { width: calc(100% - 40px); }
  .intro { gap: 40px; grid-template-columns: 1.1fr 1fr; padding-top: 30px; }
  .intro-title { font-size: 38px; }
  .symbol-note { padding: 20px; }
  .well-drawing { height: 140px; }
  .note-thought { font-size: 18px; }
  .site-header nav { gap: 14px; font-size: 13px; }
  .path-card { padding: 25px; }
  .path-card h3 { font-size: 22px; }
  .portal-grid-study { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .content-width, .site-header { width: calc(100% - 40px); }
  .site-header { min-height: 84px; gap: 12px; align-items: center; }
  .wordmark { font-size: 20px; gap: 10px; }
  .brand-seal { width: 35px; height: 39px; font-size: 23px; }
  .wordmark small { font-size: 12px; }
  .site-header nav a:not(:first-child) { display: none; }
  .site-header nav { font-size: 12px; gap: 10px; }
  .theme-toggle .theme-label { display: none; }
  .theme-toggle { padding: 8px 12px; min-width: 44px; min-height: 44px; justify-content: center; }
  body .umun-locale { width: calc(100% - 40px); font-size: 12px!important; }
  body .umun-locale select { font-size: 16px!important; min-height: 44px!important; }
  .intro { display: block; padding: 22px 0 24px; }
  .intro-title { font-size: 38px; line-height: 1.48; margin-top: 16px; }
  .intro-description { font-size: 15px; }
  .eyebrow { font-size: 12px; }
  .quiet-link { font-size: 14px; margin-top: 20px; min-height: 44px; }
  .symbol-note {
    max-width: none;
    margin-top: 34px;
    transform: none;
    display: grid;
    grid-template-columns: 115px 1fr;
    text-align: left;
    border-radius: 10px;
    padding: 18px;
    gap: 0 16px;
  }
  .note-top { grid-column: 1/-1; padding: 0; margin-bottom: 3px; font-size: 12px; }
  .hex-mark { font-size: 23px; }
  .symbol-art-container { grid-row: 2/5; align-self: center; margin: 0; min-height: unset; }
  .symbol-drawing,
  .well-drawing,
  .sprout-drawing,
  .goose-drawing { height: 106px; margin: 0; }
  .note-caption { font-size: 12px; margin-top: 2px; }
  .note-thought { font-size: 16px; margin-top: 4px; }
  .note-question { font-size: 12px; margin-top: 8px; }
  .scene-source-panel { grid-column: 1/-1; margin-top: 14px; }
  .note-actions { grid-column: 1/-1; margin-top: 14px; padding-top: 12px; }  .begin-panel { padding: 23px 22px; border-radius: 12px; }
  .begin-heading { gap: 12px; }
  .begin-heading h2 { font-size: 22px; }
  .begin-heading p { font-size: 12px; }
  textarea { font-size: 16px; padding-top: 16px; min-height: 130px; }
  .form-footer { align-items: flex-start; flex-direction: column; gap: 15px; margin-top: 16px; }
  .form-footer > span { font-size: 12px; }
  .button-primary { width: 100%; justify-content: space-between; padding-inline: 17px; }
  .how-section { padding: 57px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 25px; }
  .steps { display: block; text-align: left; }
  .steps li { position: relative; padding-left: 55px; }
  .steps li + li { margin-top: 26px; border-left: 0; }
  .step-number { position: absolute; left: 0; top: 1px; }
  .steps h3 { font-size: 20px; }
  .steps p { margin-top: 7px; font-size: 13px; }
  .steps br { display: none; }
  .paths-section { padding: 43px 0 34px; }
  .path-grid { grid-template-columns: 1fr; gap: 15px; }
  .path-card { padding: 26px; }
  .path-card h3 { font-size: 24px; }
  .path-card > p:not(.path-overline) { font-size: 13px; }
  .path-card br { display: none; }
  .dialogue-moment { padding: 24px 20px; }
  .dialogue-highlight { font-size: 16px; }
  .closing { padding: 53px 0 57px; }
  .closing h2 { font-size: 28px; }
  .closing p { font-size: 13px; }
  .site-footer { gap: 14px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .tree-foliage, .well-ripple { transition: none!important; animation: none!important; }
}

@media (max-width: 580px) {
  body main > .symbol-note { width: calc(100% - 40px); margin: 28px auto 0; }
}

/* 첫 화면 세 단계와 시작 버튼 (사용자 평가 반영 2026-10-28) */
.quick-steps { list-style: none; margin: 22px 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.quick-steps li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink); line-height: 1.4; }
.quick-steps strong { color: var(--green); font-weight: 700; }
.quick-steps small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.qs-num { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--paper, #fff); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.quick-start { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; font-size: 16px; text-decoration: none; }
.quick-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.quick-alt { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px; font-size: 14px; color: var(--clay, var(--muted)); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .quick-start { width: 100%; box-sizing: border-box; } }