:root {
  --paper: #f1ece1;
  --paper-deep: #e6ddcc;
  --paper-light: #fbf7ee;
  --ink: #202821;
  --ink-soft: #4f5147;
  --muted: #797467;
  --line: #cfc3ae;
  --line-soft: rgba(96, 81, 61, .18);
  --green: #1f382d;
  --green-deep: #162a21;
  --green-soft: #355647;
  --brass: #a67b45;
  --brass-light: #d9bd8d;
  --red: #8d3b31;
  --white: #fffaf0;
  --serif: "Nanum Myeongjo", "Noto Serif KR", "Batang", "AppleMyungjo", "Times New Roman", serif;
  --sans: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Helvetica Neue", sans-serif;
  --shadow: 0 30px 80px rgba(47, 38, 25, .16);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 8% -6%, rgba(255, 250, 240, .86), transparent 68%),
    radial-gradient(800px 600px at 100% 12%, rgba(166, 123, 69, .10), transparent 62%),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .26;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--brass-light); color: var(--green-deep); }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--green);
  color: var(--white);
  transition: top .2s ease;
}
.skip:focus { top: 0; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px clamp(20px, 4vw, 44px);
  background: rgba(241, 236, 225, .86);
  border-bottom: 1px solid rgba(96, 81, 61, .12);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.seal {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--green);
  color: var(--paper-light);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1;
  box-shadow: inset 0 0 0 2px rgba(255, 250, 240, .16);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--serif); font-size: 20px; letter-spacing: .04em; }
.brand-text small { margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 13px;
}
.site-nav a { position: relative; padding: 7px 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1px;
  background: var(--brass);
  transition: right .25s ease;
}
.site-nav a:hover::after { right: 0; }
.nav-cta {
  flex: none;
  padding: 10px 18px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}
.nav-cta:hover { background: var(--green); color: var(--white); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 118px) clamp(20px, 4vw, 44px) clamp(50px, 7vw, 96px);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--brass);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.035em;
}
.hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--green);
}
.hero h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  z-index: -1;
  height: 12px;
  background: rgba(166, 123, 69, .19);
}
.hero .lede {
  max-width: 610px;
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: var(--paper-light);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 12px 28px rgba(31, 56, 45, .17);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(31, 56, 45, .22); }
.btn.ghost {
  background: transparent;
  color: var(--green);
  box-shadow: none;
}
.btn.ghost:hover { background: rgba(31, 56, 45, .06); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  list-style: none;
}
.hero-meta li { display: flex; align-items: center; gap: 7px; }
.hero-meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
}
.hero-visual { margin: 0; }
.hero-frame {
  position: relative;
  padding: 9px;
  border: 1px solid var(--line);
  background: var(--paper-light);
  box-shadow: var(--shadow);
}
.hero-frame::before {
  content: "";
  position: absolute;
  inset: -16px 18px 18px -16px;
  border: 1px solid rgba(166, 123, 69, .32);
  pointer-events: none;
}
.hero-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(.9) contrast(.96);
}
.hero figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 11.5px;
}
.hero figcaption small { flex: none; opacity: .7; }

.statement {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 50px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 44px);
  border-top: 1px solid var(--line-soft);
}
.section-mark {
  padding-top: 5px;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}
.statement h2,
.section-head h2,
.munjung-head h2,
.faq h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.025em;
}
.section-lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.95;
}
.three-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.three-points article {
  padding: 25px 24px 27px;
  background: var(--paper);
}
.point-no {
  display: block;
  margin-bottom: 20px;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  width: 26px;
  padding-bottom: 5px;
}
.three-points h3 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: .04em;
}
.three-points b {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 12.5px;
  font-weight: 600;
}
.three-points p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.terms {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 44px);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, .62), transparent 28%),
    var(--paper-deep);
  border-top: 1px solid rgba(96, 81, 61, .12);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 38px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
}
.section-head > p {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}
.glossary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 43px auto 0;
}
.glossary article {
  min-height: 190px;
  padding: 24px 23px 22px;
  border: 1px solid rgba(96, 81, 61, .16);
  background: rgba(255, 250, 240, .68);
  transition: transform .2s ease, background .2s ease;
}
.glossary article:hover { transform: translateY(-4px); background: var(--paper-light); }
.glossary article > span {
  color: var(--brass);
  font-family: var(--serif);
  font-size: 12px;
}
.glossary h3 {
  margin: 14px 0 8px;
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: .03em;
}
.glossary p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}
.term-note {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 26px;
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 25px 26px;
  border-left: 4px solid var(--brass);
  background: var(--green);
  color: var(--paper-light);
}
.note-mark {
  color: var(--brass-light);
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: .08em;
}
.term-note b { display: block; margin-bottom: 7px; font-size: 14px; }
.term-note p { margin: 0; color: rgba(255, 250, 240, .76); font-size: 13px; line-height: 1.9; }

.tree-section {
  padding: clamp(64px, 8vw, 110px) clamp(16px, 4vw, 44px);
  background: var(--green-deep);
  color: var(--paper-light);
}
.tree-head { color: var(--paper-light); }
.tree-head .eyebrow { color: var(--brass-light); }
.tree-head > p { color: rgba(255, 250, 240, .64); }
.tree-shell {
  position: relative;
  max-width: 1180px;
  margin: 42px auto 0;
  border: 1px solid rgba(217, 189, 141, .38);
  background: #172b22;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .24);
}
.tree-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(217, 189, 141, .22);
}
.tree-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 250, 240, .7);
  font-size: 11.5px;
  letter-spacing: .05em;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass-light);
  box-shadow: 0 0 0 3px rgba(217, 189, 141, .13);
}
.tree-controls { display: flex; gap: 6px; }
.tree-controls button {
  min-width: 36px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(255, 250, 240, .2);
  border-radius: 4px;
  background: transparent;
  color: var(--paper-light);
  font-size: 14px;
}
.tree-controls button:hover { background: rgba(255, 250, 240, .1); }
.tree-controls .reset { font-size: 11.5px; }
.tree-viewport {
  position: relative;
  overflow: hidden;
  height: clamp(500px, 56vw, 660px);
  background:
    radial-gradient(600px 440px at 50% 40%, rgba(255, 250, 240, .12), transparent 68%),
    linear-gradient(135deg, #1b3026, #13241c);
  cursor: grab;
  touch-action: none;
}
.tree-viewport:active { cursor: grabbing; }
.tree-plane {
  position: absolute;
  inset: 3% 3.5%;
  transform: perspective(1200px) rotateX(11deg) rotateZ(-3.5deg);
  transform-origin: 50% 50%;
}
.tree-world {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  will-change: transform;
}
.tree-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.tree-lines { pointer-events: none; }
.tree-lines line, .tree-lines polyline { stroke: rgba(217, 189, 141, .44); stroke-width: .18; fill: none; }
.tree-lines line.spouse, .tree-lines polyline.spouse { stroke: rgba(255, 250, 240, .19); stroke-dasharray: 1.1 1.4; }
.tree-lines line.sibling, .tree-lines polyline.sibling { stroke: rgba(217, 189, 141, .28); stroke-dasharray: .7 .9; }
.tree-lines circle { fill: rgba(217, 189, 141, .7); }

.person-card {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 116px;
  min-height: 82px;
  padding: 10px 8px 9px;
  transform: translate(-50%, -50%) translateZ(26px);
  border: 1px solid rgba(217, 189, 141, .42);
  border-radius: 5px 5px 5px 1px;
  background:
    linear-gradient(160deg, rgba(255, 250, 240, .96), rgba(235, 222, 202, .92));
  color: var(--ink);
  box-shadow: 0 14px 22px rgba(0, 0, 0, .24), 0 2px 0 rgba(255, 255, 255, .5) inset;
  transition: transform .2s ease, box-shadow .2s ease;
}
.person-card:hover {
  transform: translate(-50%, -50%) translateZ(34px) scale(1.045);
  box-shadow: 0 20px 30px rgba(0, 0, 0, .3);
}
.person-card.is-me {
  border-color: var(--brass-light);
  background: linear-gradient(160deg, #fffaf0, #f2e4cd);
  box-shadow: 0 0 0 2px rgba(217, 189, 141, .24), 0 16px 26px rgba(0, 0, 0, .28);
}
.person-card .generation {
  position: absolute;
  top: 7px;
  right: 8px;
  color: var(--brass);
  font-size: 8.5px;
  letter-spacing: .08em;
}
.person-card b {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .02em;
}
.person-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9.5px;
  white-space: nowrap;
}
.person-card.is-me small { color: var(--red); }

.tree-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  padding: 11px 15px;
  border-top: 1px solid rgba(217, 189, 141, .22);
  color: rgba(255, 250, 240, .54);
  font-size: 10.5px;
}
.tree-foot span { display: flex; align-items: center; gap: 7px; }
.legend-line {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--brass-light);
}
.legend-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass-light);
}
.tree-hint { margin-left: auto; }

.person-sheet {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 8;
  width: min(350px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 40px));
  overflow: auto;
  padding: 26px 25px 23px;
  border: 1px solid var(--line);
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.person-sheet[aria-hidden="false"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sheet-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 23px;
  line-height: 1;
}
.sheet-kicker {
  margin: 0 0 10px;
  color: var(--brass);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}
.person-sheet h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .02em;
}
.sheet-relation { margin: 0; color: var(--muted); font-size: 12px; }
.sheet-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 20px 0 0;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.sheet-list div { padding: 10px 11px; background: var(--paper-light); }
.sheet-list dt { color: var(--brass); font-size: 10px; letter-spacing: .06em; }
.sheet-list dd { margin: 4px 0 0; font-size: 13px; }
.sheet-story {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.sheet-story b { color: var(--green); font-size: 12px; }
.sheet-story p { margin: 8px 0 0; color: var(--ink-soft); font-size: 12.5px; line-height: 1.9; }
.sheet-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.steps {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 44px);
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}
.step-list {
  max-width: 1180px;
  margin: 45px auto 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.step-list li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 26px;
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--line);
}
.step-no {
  color: var(--brass);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.1;
}
.step-list h3 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}
.step-list p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}
.steps-note {
  max-width: 1180px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 12.5px;
}

.munjung {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 44px);
  background:
    linear-gradient(110deg, rgba(31, 56, 45, .97), rgba(20, 38, 29, .98)),
    var(--green);
  color: var(--paper-light);
}
.munjung-head { max-width: 900px; margin-left: auto; margin-right: auto; }
.munjung-head .eyebrow { color: var(--brass-light); }
.munjung-head > p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 250, 240, .7);
  font-size: 14px;
  line-height: 1.95;
}
.munjung-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 44px auto 0;
  background: rgba(217, 189, 141, .26);
  border: 1px solid rgba(217, 189, 141, .26);
}
.munjung-grid article {
  padding: 25px 24px 27px;
  background: rgba(255, 250, 240, .045);
}
.munjung-no {
  color: var(--brass-light);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .1em;
}
.munjung-grid h3 {
  margin: 17px 0 10px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}
.munjung-grid p {
  margin: 0;
  color: rgba(255, 250, 240, .72);
  font-size: 12.5px;
  line-height: 1.9;
}
.munjung-grid small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 250, 240, .42);
  font-size: 10px;
}

.faq {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 44px);
  background: var(--paper);
}
.faq .section-head { grid-template-columns: minmax(0, 1fr); }
.faq-list {
  max-width: 900px;
  margin: 38px 0 0 auto;
}
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 20px 36px 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "＋";
  position: absolute;
  right: 4px;
  top: 19px;
  color: var(--brass);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "－"; }
.faq-list details p {
  max-width: 700px;
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.95;
}

.closing {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 130px) clamp(20px, 4vw, 44px);
  text-align: center;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(166, 123, 69, .2), transparent 68%),
    var(--green);
  color: var(--paper-light);
}
.closing::before,
.closing::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 1px;
  background: rgba(217, 189, 141, .3);
  transform: rotate(-34deg);
}
.closing::before { left: -72px; top: 40%; }
.closing::after { right: -72px; bottom: 36%; }
.closing-seal {
  width: 54px;
  height: 54px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 189, 141, .5);
  color: var(--brass-light);
  font-family: var(--serif);
  font-size: 27px;
  box-shadow: inset 0 0 0 3px rgba(217, 189, 141, .12);
}
.closing .eyebrow { color: var(--brass-light); }
.closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.03em;
}
.closing > p:not(.eyebrow) {
  max-width: 580px;
  margin: 22px auto 0;
  color: rgba(255, 250, 240, .72);
  font-size: 14px;
  line-height: 1.95;
}
.btn.light {
  margin-top: 31px;
  border-color: var(--paper-light);
  background: var(--paper-light);
  color: var(--green);
}
.btn.light:hover { background: #fffaf0; }
.closing small {
  display: block;
  margin-top: 22px;
  color: rgba(255, 250, 240, .48);
  font-size: 10.5px;
  letter-spacing: .06em;
}

.site-foot {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px clamp(20px, 4vw, 44px) 34px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 11px;
}
.site-foot > div { display: flex; align-items: center; gap: 9px; }
.foot-seal {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--green);
  color: var(--paper-light);
  font-family: var(--serif);
  font-size: 13px;
}
.site-foot b { display: block; color: var(--ink); font-family: var(--serif); font-size: 14px; letter-spacing: .04em; }
.site-foot small { display: block; font-size: 9.5px; letter-spacing: .08em; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-foot nav a:hover { color: var(--brass); }
.site-foot p { margin: 0; white-space: nowrap; }


.will-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.will-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.munjung-head { max-width: 1180px; }

section[id] { scroll-margin-top: 92px; }

@media (max-width: 1020px) {
  .site-nav { gap: 13px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 720px; }
  .three-points,
  .glossary,
  .munjung-grid { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .statement { grid-template-columns: 48px minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .site-head { flex-wrap: wrap; gap: 12px; padding: 13px 18px; }
  .site-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; padding-bottom: 3px; }
  .site-nav a { flex: none; }
  .nav-cta { margin-left: auto; padding: 8px 14px; font-size: 11.5px; }
  .hero { padding: 50px 18px 58px; }
  .hero h1 { font-size: clamp(34px, 10.2vw, 48px); }
  .hero h1 br { display: none; }
  .hero .lede { font-size: 14px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { gap: 11px 16px; }
  .statement { display: block; padding: 58px 18px; }
  .section-mark { margin-bottom: 24px; font-size: 21px; }
  .statement h2,
  .section-head h2,
  .munjung-head h2,
  .faq h2 { font-size: clamp(26px, 7.2vw, 36px); }
  .statement h2 br,
  .section-head h2 br,
  .faq h2 br { display: none; }
  .three-points,
  .glossary,
  .munjung-grid { grid-template-columns: 1fr; }
  .terms,
  .steps,
  .faq,
  .munjung,
  .closing { padding-left: 18px; padding-right: 18px; }
  .term-note { grid-template-columns: 1fr; gap: 10px; }
  .tree-section { padding-left: 10px; padding-right: 10px; }
  .tree-head { padding-left: 8px; padding-right: 8px; }
  .tree-shell { margin-top: 28px; }
  .tree-viewport { height: 520px; }
  .tree-plane { inset: 5% 2%; }
  section[id] { scroll-margin-top: 148px; }
  .person-card { width: 74px; min-height: 62px; padding: 7px 5px; }
  .person-card b { font-size: 12.5px; }
  .person-card small { font-size: 7.2px; margin-top: 3px; }
  .person-card .generation { top: 5px; right: 6px; font-size: 7px; }
  .person-card[data-person="grandfather"] { --x: 31% !important; --y: 15% !important; }
  .person-card[data-person="grandmother"] { --x: 69% !important; --y: 15% !important; }
  .person-card[data-person="uncle"] { --x: 12% !important; --y: 37% !important; }
  .person-card[data-person="aunt"] { --x: 36% !important; --y: 37% !important; }
  .person-card[data-person="father"] { --x: 64% !important; --y: 37% !important; }
  .person-card[data-person="mother"] { --x: 88% !important; --y: 37% !important; }
  .person-card[data-person="sister"] { --x: 38% !important; --y: 59% !important; }
  .person-card[data-person="me"] { --x: 66% !important; --y: 59% !important; }
  .person-card[data-person="daughter"] { --x: 50% !important; --y: 81% !important; }
  .tree-foot { gap: 10px 14px; padding: 9px 10px; }
  .tree-hint { margin-left: 0; }
  .person-sheet {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    max-height: 66vh;
    padding: 23px 20px 20px;
  }
  .step-list li { grid-template-columns: 58px minmax(0, 1fr); gap: 15px; padding: 24px 0; }
  .step-no { font-size: 19px; }
  .faq-list { margin-top: 28px; }
  .faq-list summary { font-size: 15px; line-height: 1.6; }
  .site-foot { grid-template-columns: 1fr auto; gap: 16px; padding: 22px 18px 30px; }
  .site-foot nav { grid-column: 1 / -1; order: 2; }
  .site-foot p { order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
