/* 판면: 오실로스코프와 오선지 — 밤보라 바탕에 금빛 가는 선, 큰 명조 제목과 Hz·분 단위를 다는 모노 캡션.
   책 『리조넌스 코드』 웹판과 같은 밤보라·라벤더 종이·금색 토큰을 그대로 쓴다. 한 가지 어두운 세계로 고정한 디자인이다. */
:root {
  --night: #120a20;
  --night-2: #1b0c30;
  --night-3: #241242;
  --violet: #3d1d6b;
  --star: #f2edf8;
  --mist: #bcaee0;
  --mist-2: #8f80b8;
  --line: rgba(214, 178, 106, .24);
  --line-soft: rgba(188, 174, 224, .15);
  --gold: #d6b26a;
  --gold-hi: #f1dca6;
  --gold-deep: #a8843a;
  --gold-text: #7a5c1f;
  --paper: #f3f0f6;
  --paper-2: #e6e0ee;
  --ink: #1c1426;
  --ink-soft: #554a63;
  --rule: #d3cbe0;
  --calc-mute: #a99fb6;
  --calc-soft: #d6cee3;
  --ember: #e0875a;
  --water: #79a8e0;
  --term-bg: #0b0718;
  --foot-bg: #0c0716;

  --f-display: "Bodoni Moda", "Noto Serif KR", Georgia, serif;
  --f-serif: "Noto Serif KR", "Apple SD Gothic Neo", "Batang", serif;
  --f-sans: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1320px;
  --gut-l: max(clamp(16px, 4vw, 56px), env(safe-area-inset-left, 0px));
  --gut-r: max(clamp(16px, 4vw, 56px), env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* 언어별 글꼴과 줄바꿈 */
html[data-lang="en"] { --f-serif: "Source Serif 4", "Noto Serif KR", Georgia, serif; }
html[data-lang="zh"] { --f-serif: "Noto Serif SC", "Songti SC", "STSong", "Noto Serif KR", serif; --f-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "IBM Plex Sans KR", sans-serif; }
html[data-lang="en"] body, html[data-lang="zh"] body { word-break: normal; }
html[data-lang="zh"] body { line-break: strict; }
html[data-lang="en"] .hero-title, html[data-lang="en"] .scrub-quote, html[data-lang="en"] .contact-title { font-weight: 300; letter-spacing: -.025em; }
html[data-lang="en"] .h2 { letter-spacing: -.02em; }
html[data-lang="zh"] .hero-title, html[data-lang="zh"] .scrub-quote, html[data-lang="zh"] .contact-title, html[data-lang="zh"] .h2, html[data-lang="zh"] .master-name { letter-spacing: 0; }
html[data-lang="zh"] .hero-title { font-weight: 300; }
html[data-lang="zh"] .contact-title { font-size: clamp(34px, 4.2vw, 62px); line-height: 1.25; }
html[data-lang="en"] .hero-foot, html[data-lang="en"] .lbl { letter-spacing: .1em; }
html[data-lang="en"] .scrub-quote { max-width: 16em; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--night);
  color: var(--star);
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--f-mono); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, var(--gut-l));
  padding-right: max(16px, var(--gut-r));
}
section { position: relative; scroll-margin-top: 64px; }

/* ── 공통 글자 ── */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.h2 {
  margin: 0 0 28px;
  font-family: var(--f-serif); font-weight: 300;
  font-size: clamp(30px, 4.3vw, 60px); line-height: 1.2; letter-spacing: -.03em;
  text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--gold-hi); }
.tune-copy .h2, .origin-copy .h2, .blocks-copy .h2, .remote-copy .h2, .practice-copy .h2 { font-size: clamp(28px, 3.3vw, 48px); }
.lbl { display: block; margin-bottom: 4px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mist-2); }
.fine { margin: 18px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--mist-2); }
.note { font-size: 12px; color: var(--mist-2); }
.split .ln { padding-bottom: .04em; }

/* ── 단추 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font: 500 15px/1 var(--f-sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background .35s, color .35s, border-color .35s;
  will-change: transform;
}
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-line { background: transparent; border-color: rgba(214, 178, 106, .5); color: var(--gold-hi); }
.btn-line:hover { background: rgba(214, 178, 106, .1); border-color: var(--gold); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--violet); }

/* ── 로딩 ── */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--night);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s cubic-bezier(.77, 0, .18, 1);
  animation: loaderAuto .01s 3.6s forwards;
}
.loader.done { clip-path: inset(0 0 100% 0); }
@keyframes loaderAuto { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.loader-in { display: grid; justify-items: center; gap: 18px; }
.loader-wave { width: min(64vw, 520px); height: 80px; overflow: visible; }
.loader-wave path { fill: none; stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.loader p { margin: 0; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--mist); }
.loader p i { font-style: normal; opacity: .5; margin: 0 6px; }
#loaderHz { color: var(--gold-hi); font-size: 26px; letter-spacing: 0; font-variant-numeric: tabular-nums; margin-right: 4px; }

/* ── 커서 ── */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; }
html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor canvas, html.has-cursor label { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }
html.has-cursor input[type="range"] { cursor: ew-resize; }
.cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-hi); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  display: grid; place-items: center;
  border: 1px solid rgba(241, 220, 166, .55);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s, opacity .3s;
}
.cursor-ring em { font: 500 11px/1 var(--f-sans); font-style: normal; color: var(--gold-hi); white-space: nowrap; opacity: 0; transition: opacity .25s; }
.cursor.is-big .cursor-ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: rgba(214, 178, 106, .08); }
.cursor.is-big .cursor-ring em { opacity: 1; }
.cursor.is-link .cursor-ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--gold); }
.cursor.on-paper .cursor-dot { background: var(--ink); }
.cursor.on-paper .cursor-ring { border-color: rgba(28, 20, 38, .5); }
.cursor.on-paper .cursor-ring em { color: var(--gold-text); }
.cursor.is-hidden .cursor-ring, .cursor.is-hidden .cursor-dot { opacity: 0; }

/* ── 머리 메뉴 ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(16px, var(--gut-r)) 14px max(16px, var(--gut-l));
  transition: top .5s var(--ease);
}
/* 배경 흐림은 가상 요소에만 건다. .nav 자체에 transform·backdrop-filter를 걸면 고정 메뉴판이 머리 메뉴 안에 갇힌다 */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(18, 10, 32, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  opacity: 0; transition: opacity .4s;
}
.nav.scrolled::before { opacity: 1; }
.nav.hide { top: calc(-110px - env(safe-area-inset-top, 0px)); }
.nav-logo { font-family: var(--f-display); font-size: 20px; letter-spacing: .06em; color: var(--star); text-decoration: none; white-space: nowrap; }
.nav-logo i { font-style: normal; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.nav-links a { position: relative; color: var(--mist); text-decoration: none; font-size: 14px; white-space: nowrap; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--star); }
.nav-links a.is-active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-links .nav-links-cta { display: none; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.sound {
  display: inline-flex; align-items: center; gap: 9px;
  height: 38px; padding: 0 14px;
  background: none; border: 1px solid var(--line-soft); border-radius: 999px;
  color: var(--mist); font: 400 12.5px var(--f-sans); cursor: pointer;
  transition: border-color .3s, color .3s;
}
.sound:hover { border-color: var(--gold); color: var(--star); }
.bars { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.bars i { width: 2px; height: 3px; border-radius: 1px; background: var(--gold); transition: height .3s; }
.sound[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-hi); }
.sound[aria-pressed="true"] .bars i { animation: bar 1.1s ease-in-out infinite; }
.sound[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -.2s; }
.sound[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -.5s; }
.sound[aria-pressed="true"] .bars i:nth-child(4) { animation-delay: -.8s; }
.sound[aria-pressed="true"] .bars i:nth-child(5) { animation-delay: -.35s; }
@keyframes bar { 0%, 100% { height: 3px; } 50% { height: 14px; } }
/* 언어 단추 */
.lang { display: inline-flex; align-items: center; gap: 2px; height: 38px; padding: 0 4px; border: 1px solid var(--line-soft); border-radius: 999px; }
.lang button { height: 30px; padding: 0 9px; border: 0; border-radius: 999px; background: none; color: var(--mist-2); font: 500 11.5px/1 var(--f-mono); letter-spacing: .04em; cursor: pointer; transition: background .3s, color .3s; }
.lang button:hover { color: var(--star); }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--night); }
.lang button[lang="zh-Hans"] { font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
.menu-btn { display: none; position: relative; width: 42px; height: 42px; border: 1px solid var(--line-soft); border-radius: 50%; background: none; cursor: pointer; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--star); transition: transform .4s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:nth-child(2) { top: 24px; }
.nav.open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ── 첫 화면 ── */
.hero {
  min-height: max(100svh, 640px);
  display: flex; flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(90% 55% at 50% 40%, rgba(214, 178, 106, .10) 0%, rgba(214, 178, 106, 0) 55%),
    radial-gradient(120% 70% at 50% 40%, #2a1648 0%, rgba(27, 12, 48, 0) 62%),
    linear-gradient(180deg, #0e0718 0%, #150a26 40%, var(--night-2) 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner {
  position: relative; z-index: 2;
  padding-top: calc(clamp(104px, 15vh, 160px) + env(safe-area-inset-top, 0px));
  padding-bottom: clamp(190px, 27vw, 360px);
}
.hero-kicker { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.hero-kicker span + span::before { content: "/"; margin-right: 18px; opacity: .45; }
.hero-title {
  margin: 24px 0 22px; max-width: 15em;
  font-family: var(--f-serif); font-weight: 200;
  font-size: clamp(32px, 5.1vw, 76px); line-height: 1.16; letter-spacing: -.04em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .07em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-style: normal; color: var(--gold-hi); }
.hero-sub { margin: 0; max-width: 31em; font-size: clamp(15px, 1.2vw, 17px); color: var(--mist); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-mark {
  position: absolute; left: 0; right: 0; z-index: 1;
  bottom: clamp(58px, 9.5vh, 100px);
  display: flex; justify-content: center;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(58px, 15.4vw, 284px); line-height: .8; letter-spacing: -.02em;
  font-variation-settings: "opsz" 30; font-weight: 500;
  color: var(--star); white-space: nowrap; pointer-events: none;
  text-shadow: 0 0 60px rgba(18, 10, 32, .9);
}
.hero-mark span { display: inline-block; will-change: transform; }
.hero-mark .colon { color: var(--gold); }
.hero-foot {
  position: absolute; left: 0; right: 0; z-index: 2;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; gap: 6px 28px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist);
  max-width: none;
}
.hero-foot .hint { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; color: var(--gold-hi); letter-spacing: .04em; text-transform: none; }
.hint-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 0 rgba(241, 220, 166, .6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(241, 220, 166, .55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(241, 220, 166, 0); } }

/* ── 믿음 ── */
.belief { padding-block: clamp(110px, 14vw, 200px) clamp(90px, 10vw, 150px); background: var(--night-2); }
.scrub-quote {
  margin: 0; max-width: 13.5em;
  font-family: var(--f-serif); font-weight: 200;
  font-size: clamp(34px, 6.2vw, 96px); line-height: 1.22; letter-spacing: -.045em;
  text-wrap: balance;
}
.scrub-quote p { margin: 0; }
.scrub-quote .w { opacity: .16; }
.scrub-quote .w.g { color: var(--gold-hi); }
.belief-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px;
  margin-top: clamp(48px, 6vw, 90px); padding-top: 32px; border-top: 1px solid var(--line);
}
.en-line { margin: 0; font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.3; color: var(--gold-hi); }
.belief-body p { margin: 0; max-width: 30em; font-size: 17px; color: var(--mist); }
.lineage { margin-top: clamp(90px, 10vw, 150px); }
.lineage-label { margin: 0; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.lineage-title { margin: 10px 0 40px; font-family: var(--f-serif); font-weight: 300; font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -.02em; line-height: 1.35; }
.lineage-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.lineage-list li { position: relative; padding: 28px 28px 0 0; }
.lineage-list li::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--night-2); border: 1px solid var(--gold); }
.lineage-list .mono { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist-2); }
.lineage-list b { display: block; margin: 6px 0 10px; font-family: var(--f-serif); font-weight: 500; font-size: 28px; color: var(--star); }
.lineage-list p { margin: 0; max-width: 20em; font-size: 14.5px; line-height: 1.7; color: var(--mist); }
.lineage-list .is-now b { color: var(--gold-hi); }
.lineage-list .is-now::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(214, 178, 106, .15); }

/* ── 튜닝 ── */
.tune { padding-block: clamp(100px, 12vw, 170px); background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%); }
.tune-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.tune-copy p { max-width: 30em; color: var(--mist); }
.tune-legend { display: grid; gap: 12px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.tune-legend div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
.tune-legend dt { display: flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--star); }
.tune-legend dd { margin: 0; font-size: 14.5px; color: var(--mist); }
.sw { display: inline-block; width: 18px; height: 2px; }
.sw-noise { background: var(--ember); }
.sw-signal { background: var(--gold); }
.scope {
  padding: 18px 20px 22px;
  border: 1px solid var(--line); border-radius: 4px;
  background: linear-gradient(180deg, rgba(36, 18, 66, .55), rgba(18, 10, 32, .65));
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .7);
}
.scope-head { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mist-2); }
.scope-state { color: var(--ember); transition: color .4s; }
.scope-state.ok { color: var(--gold-hi); }
.scope-screen { position: relative; margin-top: 12px; aspect-ratio: 16 / 7; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 2px; background: #0d0717; }
.scope-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scope-read { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 28px; align-items: end; margin-top: 18px; }
.scope-read b { font-family: var(--f-mono); font-weight: 300; font-size: clamp(26px, 3vw, 40px); line-height: 1; letter-spacing: -.03em; color: var(--star); font-variant-numeric: tabular-nums; margin-right: 4px; }
.scope-read .unit { font-size: 12px; color: var(--mist-2); }
.scope-read-note span:last-child { display: block; font-size: 13px; line-height: 1.5; color: var(--mist); }
.dial { position: relative; height: 70px; margin-top: 22px; --pad: 11px; }
.dial-scale { position: absolute; left: var(--pad); right: var(--pad); top: 0; height: 36px; }
.dial-scale i { position: absolute; bottom: 0; width: 1px; height: 7px; background: rgba(188, 174, 224, .32); }
.dial-scale i.maj { height: 14px; background: rgba(188, 174, 224, .6); }
.dial-scale b { position: absolute; top: 0; transform: translateX(-50%); font: 400 10px/1 var(--f-mono); color: var(--mist-2); }
.dial-res { position: absolute; top: 0; bottom: 0; left: calc(var(--pad) + (100% - 2 * var(--pad)) * .52538); width: 1px; background: linear-gradient(180deg, transparent, rgba(241, 220, 166, .6) 40%, transparent); pointer-events: none; }
.dial-res span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font: 500 11px/1 var(--f-mono); color: var(--gold-hi); white-space: nowrap; }
#tuneRange { position: absolute; left: 0; right: 0; top: 30px; width: 100%; height: 40px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; }
#tuneRange::-webkit-slider-runnable-track { height: 1px; background: rgba(188, 174, 224, .4); }
#tuneRange::-moz-range-track { height: 1px; background: rgba(188, 174, 224, .4); }
#tuneRange::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 40px; margin-top: -20px; border: 0; background: linear-gradient(90deg, transparent 10px, var(--gold-hi) 10px, var(--gold-hi) 12px, transparent 12px); filter: drop-shadow(0 0 6px rgba(241, 220, 166, .7)); cursor: ew-resize; }
#tuneRange::-moz-range-thumb { width: 22px; height: 40px; border: 0; border-radius: 0; background: linear-gradient(90deg, transparent 10px, var(--gold-hi) 10px, var(--gold-hi) 12px, transparent 12px); cursor: ew-resize; }
.scope-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 14px; }

/* ── 세 가지 원리 ── */
.principles { padding-block: clamp(100px, 12vw, 170px); background: var(--night-2); }
.sec-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head-row { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26em); gap: 24px 60px; align-items: end; }
.sec-head-row .h2 { margin-bottom: 0; }
.sec-lead { margin: 0; max-width: 30em; color: var(--mist); }
.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pr { padding: 28px clamp(18px, 2.4vw, 36px) 10px; border-left: 1px solid var(--line-soft); min-width: 0; }
.pr:first-child { border-left: 0; padding-left: 0; }
.pr:last-child { padding-right: 0; }
.pr-stage { position: relative; aspect-ratio: 4 / 3; margin-bottom: 22px; background: radial-gradient(70% 70% at 50% 50%, rgba(61, 29, 107, .5), rgba(61, 29, 107, 0) 72%); touch-action: pan-y; }
.pr-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pr-no { margin: 0 0 4px; font-family: var(--f-display); font-style: italic; font-size: 22px; color: var(--gold); }
.pr h3 { margin: 0 0 12px; font-family: var(--f-serif); font-weight: 500; font-size: 24px; letter-spacing: -.02em; }
.pr h3 em, .phase h3 em, .zone-panel h3 em { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: .8em; color: var(--mist); margin-left: 6px; letter-spacing: 0; }
.pr p { margin: 0 0 14px; font-size: 15px; line-height: 1.75; color: var(--mist); }
.pr .pr-try { font-size: 11px; letter-spacing: .04em; color: var(--gold); }

/* ── 근원 (종이) ── */
.paper { background: var(--paper); color: var(--ink); }
.paper .eyebrow { color: var(--gold-text); }
.paper p { color: var(--ink-soft); }
.origin { padding-block: clamp(100px, 12vw, 170px); }
.origin-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.origin-stage { position: relative; aspect-ratio: 1 / 1.05; max-height: 640px; width: 100%; touch-action: pan-y; }
.o-ch {
  position: absolute; left: 50%; top: 50%;
  font-family: var(--f-serif); font-weight: 200; font-size: clamp(72px, 10vw, 150px); line-height: 1;
  color: var(--ink);
  transform: translate(-50%, -50%) translateY(calc(var(--k, 0) * 1%));
  will-change: transform, opacity;
  pointer-events: none;
}
.o-ch[data-o="0"] { --k: -150; }
.o-ch[data-o="2"] { --k: 150; }
#stringCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.origin-hint { position: absolute; left: 0; right: 0; bottom: 2%; margin: 0; text-align: center; font-size: 11px; letter-spacing: .08em; color: var(--gold-text) !important; }
.ledger { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.ledger li { display: grid; grid-template-columns: minmax(120px, 10em) minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.ledger b { font-family: var(--f-serif); font-weight: 500; font-size: 16px; color: var(--star); }
.ledger span { font-size: 15px; line-height: 1.7; color: var(--mist); }
.paper .ledger, .paper .ledger li { border-color: var(--rule); }
.paper .ledger b { color: var(--ink); }
.paper .ledger span { color: var(--ink-soft); }
.ledger-tight li { padding: 14px 0; }

/* ── 60분 리추얼 ── */
.ritual { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.ritual-pin { min-height: 100svh; display: flex; align-items: center; padding-block: clamp(92px, 11vh, 130px) clamp(40px, 6vh, 80px); }
.ritual-inner { width: 100%; }
.ritual-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; }
.ritual-head .h2 { margin: 0; }
.ritual-clock { text-align: right; }
.ritual-clock b { display: block; font-family: var(--f-mono); font-weight: 300; font-size: clamp(54px, 7.6vw, 116px); line-height: .9; letter-spacing: -.05em; color: var(--star); font-variant-numeric: tabular-nums; }
#ritualPhaseName { display: block; margin-top: 10px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ritual-wave { position: relative; height: clamp(170px, 30vh, 300px); margin-top: 26px; }
.ritual-wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.phases { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: minmax(200px, 10fr) minmax(0, 40fr) minmax(200px, 10fr); border-top: 1px solid var(--line-soft); }
.phase { min-width: 0; padding: 18px 18px 0 0; opacity: .38; transition: opacity .5s; }
.phase + .phase { padding-left: 18px; border-left: 1px solid var(--line-soft); }
.phase.is-on { opacity: 1; }
.phase .mono { margin: 0 0 8px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.phase h3 { margin: 0 0 8px; font-family: var(--f-serif); font-weight: 500; font-size: 22px; }
.phase p:last-child { margin: 0; max-width: 30em; font-size: 14px; line-height: 1.7; color: var(--mist); }

/* ── 몸의 세 자리 ── */
.blocks { padding-block: clamp(100px, 12vw, 170px); background: var(--night-2); }
.blocks-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.blocks-copy > p { max-width: 30em; color: var(--mist); }
.zone-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 24px; }
.zone-tabs button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--line-soft); border-radius: 999px;
  background: none; color: var(--mist); font: 400 14px var(--f-sans); cursor: pointer;
  transition: border-color .3s, color .3s, background .3s;
}
.zone-tabs button .mono { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist-2); }
.zone-tabs button[aria-selected="true"] { border-color: var(--gold); color: var(--star); background: rgba(214, 178, 106, .08); }
.zone-tabs button[aria-selected="true"] .mono { color: var(--gold); }
.zone-panel h3 { margin: 0 0 14px; font-family: var(--f-serif); font-weight: 500; font-size: 26px; }
.zone-panel dl { margin: 0; border-top: 1px solid var(--line-soft); }
.zone-panel dl div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.zone-panel dt { padding-top: 3px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.zone-panel dd { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--star); }
.zone-panel dd a { color: var(--gold-hi); text-underline-offset: 3px; }
.zone-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.body-stage { position: relative; width: 100%; max-width: 460px; aspect-ratio: 3 / 4.6; margin-inline: auto; }
#bodyCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hot { position: absolute; left: 50%; top: var(--y); width: 48px; height: 48px; margin: -24px 0 0 -24px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.hot i { position: absolute; inset: 15px; border-radius: 50%; border: 1px solid rgba(241, 220, 166, .7); transition: transform .45s var(--ease), border-color .3s; }
.hot:hover i { transform: scale(1.5); }
.hot.is-on i { transform: scale(1.7); border-color: var(--gold-hi); }

/* ── 프로그램 ── */
.programs { padding-block: clamp(100px, 12vw, 170px); background: var(--night); }
.prog-list { border-top: 1px solid var(--line); }
.prog { border-bottom: 1px solid var(--line); }
.prog-h { margin: 0; font: inherit; }
.prog-row {
  width: 100%;
  display: grid; grid-template-columns: 52px minmax(0, 1.6fr) minmax(0, 1fr) 150px 22px; align-items: center; gap: 24px;
  padding: 28px 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer;
}
.prog-no { font-size: 13px; color: var(--gold); }
.prog-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; min-width: 0; }
.prog-en { font-family: var(--f-display); font-size: clamp(28px, 3.6vw, 54px); line-height: 1.02; letter-spacing: -.02em; color: var(--star); transition: color .4s, transform .6s var(--ease); }
.prog-ko { font-family: var(--f-serif); font-size: 16px; color: var(--mist); }
.prog-tags { font-size: 13.5px; line-height: 1.5; color: var(--mist-2); }
.prog-glyph { width: 150px; height: 44px; display: block; }
.prog-plus { position: relative; width: 18px; height: 18px; }
.prog-plus::before, .prog-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); transition: transform .5s var(--ease); }
.prog-plus::after { transform: rotate(90deg); }
.prog.is-open .prog-plus::after { transform: rotate(0deg); }
.prog-row:hover .prog-en, .prog.is-open .prog-en { color: var(--gold-hi); }
.prog-row:hover .prog-en { transform: translateX(8px); }
.prog-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .65s var(--ease); }
.prog.is-open .prog-body { grid-template-rows: 1fr; }
.prog-body-in { min-height: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; padding-left: 76px; }
.prog-body-in p { margin: 0 0 32px; max-width: 32em; font-size: 16px; color: var(--mist); }
.prog-body-in .prog-line { font-family: var(--f-serif); font-weight: 300; font-size: clamp(19px, 1.9vw, 25px); line-height: 1.5; color: var(--gold-hi); }
.inline-link { display: inline-block; margin-left: 6px; font-family: var(--f-sans); font-size: 13.5px; color: var(--mist); }

/* ── 원격 세션 ── */
.remote { padding-block: clamp(100px, 12vw, 170px); background: radial-gradient(70% 60% at 76% 50%, rgba(61, 29, 107, .55), rgba(61, 29, 107, 0) 70%), var(--night-2); }
.remote-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.remote-copy > p { max-width: 30em; color: var(--mist); }
.city-pick { margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { padding: 8px 14px; border: 1px solid var(--line-soft); border-radius: 999px; background: none; color: var(--mist); font: 400 13.5px var(--f-sans); cursor: pointer; transition: border-color .3s, color .3s, background .3s; }
.chip:hover { border-color: rgba(214, 178, 106, .6); color: var(--star); }
.chip[aria-checked="true"] { border-color: var(--gold); color: var(--star); background: rgba(214, 178, 106, .1); }
.timebox { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.sched { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px 28px; margin: 0; }
.sched dd { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.sched b { font-family: var(--f-serif); font-weight: 500; font-size: clamp(18px, 1.7vw, 22px); color: var(--star); }
.sched dd span { font-size: 12.5px; color: var(--mist-2); }
.next-session { margin: 10px 0 0; font-size: 12px; line-height: 1.6; color: var(--gold) !important; }
.time-out { margin: 14px 0 0; font-family: var(--f-serif); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: var(--star) !important; }
.time-out b { font-weight: 500; color: var(--gold-hi); }
.globe-stage { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; margin-inline: auto; touch-action: pan-y; }
#globeCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.globe-tags { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; letter-spacing: .04em; color: var(--mist); }
.g-tag { display: inline-flex; align-items: center; gap: 6px; }
.g-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.g-city i { background: var(--gold-hi); box-shadow: 0 0 0 3px rgba(241, 220, 166, .2); }
.g-tag b { font-weight: 500; color: var(--star); font-variant-numeric: tabular-nums; }
.g-tag em { font-style: normal; }

/* 공통 범위 막대 */
input[type="range"].rng { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 10px 0 0; background: transparent; }
input[type="range"].rng::-webkit-slider-runnable-track { height: 2px; border-radius: 1px; background: linear-gradient(90deg, var(--gold) 0 var(--fill, 50%), rgba(188, 174, 224, .25) var(--fill, 50%) 100%); }
input[type="range"].rng::-moz-range-track { height: 2px; border-radius: 1px; background: rgba(188, 174, 224, .25); }
input[type="range"].rng::-moz-range-progress { height: 2px; background: var(--gold); }
input[type="range"].rng::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--gold-hi); border: 4px solid var(--night); box-shadow: 0 0 0 1px var(--gold); }
input[type="range"].rng::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--gold-hi); border: 4px solid var(--night); box-shadow: 0 0 0 1px var(--gold); }

/* ── 마스터 ── */
.master { padding-block: clamp(100px, 12vw, 170px); background: var(--night); overflow: hidden; }
.master-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.master-photo { margin: 0; }
.master-frame {
  position: relative; aspect-ratio: 776 / 962; overflow: hidden;
  background: var(--night);
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.master-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; mix-blend-mode: screen; filter: sepia(.22) saturate(.85); }
.master-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgba(18, 10, 32, 0) 14%, rgba(18, 10, 32, 0) 86%, var(--night) 100%); pointer-events: none; }
.scanline { position: absolute; left: 8%; right: 8%; top: 0; z-index: 2; height: 1px; background: linear-gradient(90deg, rgba(241, 220, 166, 0), var(--gold-hi), rgba(241, 220, 166, 0)); box-shadow: 0 0 16px 2px rgba(241, 220, 166, .45); animation: scan 6s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes scan { 0% { top: 0; opacity: 0; } 6% { opacity: 1; } 70% { top: 100%; opacity: 1; } 76%, 100% { top: 100%; opacity: 0; } }
.scan-pt { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 1px solid var(--gold-hi); opacity: 0; animation: pt 6s infinite; animation-delay: var(--t); }
@keyframes pt { 0% { opacity: 0; transform: scale(.4); } 4% { opacity: 1; transform: scale(1); } 30% { opacity: .85; transform: scale(1.1); } 50% { opacity: 0; transform: scale(2); } 100% { opacity: 0; } }
.master-photo figcaption { margin-top: 14px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist-2); }
.master-name { margin: 0 0 14px; font-family: var(--f-serif); font-weight: 300; font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -.03em; }
.master-name .en { margin-right: .16em; font-family: var(--f-display); font-weight: 400; color: var(--gold-hi); letter-spacing: -.02em; }
.master-role { margin: 0 0 28px; font-family: var(--f-serif); font-size: clamp(17px, 1.6vw, 22px); color: var(--mist); }

/* ── 멤버십 (종이) ── */
.membership { padding-block: clamp(100px, 12vw, 170px); }
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.tier { min-width: 0; padding: 26px 20px 30px 0; border-right: 1px solid var(--rule); }
.tier + .tier { padding-left: 20px; }
.tier:last-child { border-right: 0; padding-right: 0; }
.tier.is-pick { background: linear-gradient(180deg, rgba(214, 178, 106, .2), rgba(214, 178, 106, 0) 75%); }
.tier-en { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text) !important; }
.pick { padding: 3px 8px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 10px; letter-spacing: .06em; }
.tier h3 { margin: 0 0 18px; font-family: var(--f-serif); font-weight: 500; font-size: 22px; color: var(--ink); }
.price { display: flex; align-items: baseline; gap: 6px; margin: 0 0 16px; }
.price b { font-family: var(--f-display); font-weight: 500; font-size: clamp(30px, 2.8vw, 44px); line-height: 1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: lining-nums; }
.price b.ask { font-family: var(--f-serif); font-weight: 500; font-size: 28px; }
.price span { font-size: 14px; color: var(--ink-soft); }
.tier p:last-child { margin: 0; font-size: 14.5px; line-height: 1.7; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); margin-top: clamp(50px, 6vw, 80px); padding: clamp(24px, 3.4vw, 44px); border-radius: 4px; background: var(--ink); color: var(--paper); }
.calc label { display: block; margin-bottom: 18px; font-family: var(--f-serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: var(--paper); }
.calc p { color: var(--calc-soft); }
.calc .fine { color: var(--calc-mute); }
.calc-range { display: flex; align-items: center; gap: 18px; }
.calc-range input { flex: 1; margin: 0; }
.calc-range output { min-width: 3.4em; text-align: right; font-size: 20px; color: var(--gold-hi); }
.calc input[type="range"].rng::-webkit-slider-thumb { border-color: var(--ink); }
.calc input[type="range"].rng::-moz-range-thumb { border-color: var(--ink); }
.calc-out .lbl { color: var(--calc-mute); }
.calc-big { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 20px; }
.calc-big b { font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 6vw, 84px); line-height: 1; color: var(--gold-hi); font-variant-numeric: tabular-nums lining-nums; }
.calc-big span { color: var(--calc-soft); }
.cb { display: grid; grid-template-columns: 8.5em minmax(0, 1fr) 5em; gap: 12px; align-items: center; margin-bottom: 10px; }
.cb-l { font-size: 11px; letter-spacing: .04em; color: var(--calc-mute); }
.cb-track { height: 6px; overflow: hidden; border-radius: 3px; background: rgba(243, 240, 246, .08); }
.cb-track i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: 3px; background: var(--calc-mute); transition: width .5s var(--ease); }
.cb-track i.gold { background: var(--gold); }
.cb-v { text-align: right; font-size: 12px; color: var(--paper-2); font-variant-numeric: tabular-nums; }
.calc .calc-note { margin: 16px 0 0; font-size: 15px; color: var(--paper-2); }

/* ── 호흡 ── */
.practice { padding-block: clamp(100px, 12vw, 170px); background: var(--night-2); }
.practice-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.practice-copy p { max-width: 30em; color: var(--mist); }
.breath { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; }
#breathCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.breath-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.breath-center b { font-family: var(--f-mono); font-weight: 300; font-size: clamp(56px, 8vw, 96px); line-height: 1; color: var(--star); font-variant-numeric: tabular-nums; }
.breath-center span { margin-top: 10px; font-family: var(--f-serif); font-size: 17px; color: var(--gold-hi); }
.breath-legend { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: center; gap: 18px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist-2); }
.breath-legend span { transition: color .3s; }
.breath-legend span.on { color: var(--gold-hi); }
.breath-ctrl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.breath-ctrl .mono { font-size: 11.5px; color: var(--mist-2); }

/* ── 책 ── */
.book { padding-block: clamp(100px, 12vw, 170px); background: linear-gradient(180deg, var(--night) 0%, #0d0b24 100%); }
.book-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.book-stage { display: flex; flex-direction: column; align-items: center; gap: 34px; perspective: 1600px; }
.book-obj { position: relative; width: min(100%, 340px); aspect-ratio: 760 / 1124; transform-style: preserve-3d; transform: rotateY(-26deg) rotateX(6deg); transition: transform 1s var(--ease); }
.book-obj img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 1px 4px 4px 1px; transform: translateZ(11px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .04); }
.book-spine { position: absolute; top: 0; bottom: 0; left: -11px; width: 22px; background: linear-gradient(90deg, #0a0d26, #1b2152 60%, #10143a); transform: rotateY(-90deg); }
.book-edge { position: absolute; top: 3px; bottom: 3px; right: -10px; width: 20px; background: repeating-linear-gradient(90deg, #efe9f5 0 1px, #cfc6dc 1px 2px); transform: rotateY(90deg); }
.book-stage::after { content: ""; width: 70%; height: 26px; margin-top: -20px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
.book-meta { order: 3; margin: 0; text-align: center; font-size: 11px; line-height: 1.8; letter-spacing: .04em; color: var(--mist-2); }
.book-copy > p { max-width: 34em; color: var(--mist); }
.book-copy .h2 small { display: block; margin-top: 10px; font-size: .42em; letter-spacing: -.01em; color: var(--mist); }
.term { margin-top: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--term-bg); }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); font-size: 11px; color: var(--mist-2); }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(188, 174, 224, .22); }
.term-bar span { margin-left: 10px; }
.term-out { height: clamp(250px, 32vh, 310px); overflow: auto; padding: 16px 18px; font-size: 13px; line-height: 1.75; color: #cfc6e6; white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; overscroll-behavior: contain; }
.term-out .c { color: var(--gold-hi); }
.term-out .e { color: var(--ember); }
.term-out .k { color: #e9c46a; }
.term-out .h { color: var(--star); font-weight: 500; }
.term-out .d { color: var(--mist-2); }
.term-out .cur { display: inline-block; width: .6em; height: 1.1em; vertical-align: -2px; background: var(--gold-hi); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-cmds { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line-soft); }
.term-cmds button { padding: 7px 12px; border: 1px solid rgba(214, 178, 106, .3); border-radius: 4px; background: rgba(214, 178, 106, .06); color: var(--gold-hi); font: 12.5px var(--f-mono); cursor: pointer; transition: background .3s, border-color .3s; }
.term-cmds button:hover, .term-cmds button.is-on { background: rgba(214, 178, 106, .16); border-color: var(--gold); }
.term-in { display: flex; align-items: center; gap: 8px; padding: 10px 14px 12px; border-top: 1px solid var(--line-soft); }
.term-in label { color: var(--gold); }
.term-in input { flex: 1; min-width: 0; padding: 4px 0; border: 0; background: none; color: var(--star); font-size: 13px; outline: none; }
.term-in:focus-within { background: rgba(214, 178, 106, .05); }

/* ── 칼럼 (종이) ── */
.column { padding-block: clamp(100px, 12vw, 170px); }
.col-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.col-feature > p { max-width: 28em; }
.col-feature .col-quote { margin: 0 0 18px; font-family: var(--f-serif); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.6; color: var(--ink); }
.col-feature .btn { margin-top: 10px; }
.col-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.col-list a { position: relative; display: grid; grid-template-columns: 7.2em minmax(0, 1fr) 20px; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: padding .45s var(--ease); }
.col-list a::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.col-list a:hover { padding-left: 14px; }
.col-list a:hover::after { transform: scaleX(1); }
.col-list span { font-size: 12px; color: var(--ink-soft); }
.col-list b { font-family: var(--f-serif); font-weight: 500; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; }
.col-list i { font-style: normal; color: var(--gold-text); transition: transform .3s; }
.col-list a:hover i { transform: translate(3px, -3px); }
.col-more { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 22px 0 0; font-size: 12px; }
.col-more a { color: var(--gold-text); text-underline-offset: 3px; }

.col-list .col-glyph { font-style: normal; font-family: var(--f-serif); font-weight: 300; color: var(--gold-text); margin-right: .55em; }

/* ── 칼럼 읽기 ── */
html.reader-open { overflow: hidden; }
.reader {
  position: fixed; inset: 0; z-index: 80;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: var(--paper); color: var(--ink);
  opacity: 0; transform: translateY(28px);
  transition: opacity .45s ease, transform .7s var(--ease);
}
.reader.is-open { opacity: 1; transform: none; }
.reader-bar {
  position: sticky; top: 0; z-index: 3;
  display: flex; align-items: center; gap: 16px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, var(--gut-r)) 12px max(16px, var(--gut-l));
  background: rgba(18, 10, 32, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--mist);
}
.reader-no { font-size: 11px; letter-spacing: .16em; white-space: nowrap; }
.reader-progress { flex: 1; height: 2px; border-radius: 1px; background: rgba(188, 174, 224, .18); overflow: hidden; }
.reader-progress i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--gold); }
.reader-close { flex: none; width: 40px; height: 40px; border: 1px solid var(--line-soft); border-radius: 50%; background: none; color: var(--star); font-size: 22px; line-height: 1; cursor: pointer; }
.reader-close:hover { border-color: var(--gold); color: var(--gold-hi); }
.reader-cover {
  position: relative; height: clamp(240px, 40vh, 420px); overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(70% 90% at 50% 60%, #2a1648 0%, rgba(42, 22, 72, 0) 70%), var(--night);
}
.reader-cover canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.reader-glyph { position: relative; font-family: var(--f-serif); font-weight: 200; font-size: clamp(120px, 20vw, 250px); line-height: 1; color: rgba(242, 237, 248, .92); text-shadow: 0 0 70px rgba(214, 178, 106, .35); }
.reader-doc { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) max(20px, var(--gut-r)) clamp(60px, 8vw, 110px) max(20px, var(--gut-l)); }
.reader-meta { margin: 0; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.reader-title { margin: 14px 0 10px; font-family: var(--f-serif); font-weight: 300; font-size: clamp(28px, 4.2vw, 50px); line-height: 1.25; letter-spacing: -.03em; text-wrap: balance; color: var(--ink); }
html[data-lang="zh"] .reader-title { letter-spacing: 0; }
.reader-by { margin: 0 0 clamp(28px, 4vw, 44px); padding-bottom: 22px; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--ink-soft); }
.reader-body { font-size: clamp(16.5px, 1.3vw, 18px); line-height: 1.95; color: #2b2235; }
.reader-body p { margin: 0 0 1.25em; }
.reader-body b { font-weight: 600; color: var(--ink); background: linear-gradient(transparent 62%, rgba(214, 178, 106, .32) 62%); }
.reader-body .r-lead { font-family: var(--f-serif); font-size: clamp(19px, 1.9vw, 23px); line-height: 1.75; color: var(--ink); }
.reader-body h3 { margin: 2.1em 0 .75em; padding-top: 1.1em; border-top: 1px solid var(--rule); font-family: var(--f-serif); font-weight: 500; font-size: clamp(20px, 2.1vw, 25px); line-height: 1.45; color: var(--ink); }
.reader-body > h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.r-list { margin: 0 0 1.25em; padding-left: 1.15em; }
.r-list li { margin-bottom: .55em; }
.r-list li::marker { color: var(--gold-deep); }
.r-quote { margin: 1.7em 0; padding: .1em 0 .1em 1.2em; border-left: 2px solid var(--gold); }
.r-quote p { margin: 0 !important; font-family: var(--f-serif); font-size: clamp(19px, 2.1vw, 25px); line-height: 1.6; color: var(--ink); }
.r-note { margin: 0 0 1.25em; padding: 18px 20px; border-radius: 4px; background: var(--paper-2); }
.r-note .mono, .r-sum .mono { display: block; margin-bottom: 6px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.r-note p { margin: 0 !important; }
.r-sum { margin: 2em 0 1.4em; padding: 24px 26px; border-radius: 4px; background: var(--ink); }
.r-sum .mono { color: var(--gold); }
.r-sum p { margin: 0 !important; font-family: var(--f-serif); font-size: clamp(18px, 1.9vw, 21px); line-height: 1.7; color: var(--paper); }
.reader-body .r-verse { font-family: var(--f-serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.9; color: var(--ink); }
.reader-body .r-sign { margin-top: 2em; font-family: var(--f-display); font-style: italic; font-size: 20px; color: var(--gold-text); }
.reader-foot { display: grid; gap: 18px; margin-top: clamp(40px, 5vw, 60px); padding-top: 24px; border-top: 1px solid var(--ink); }
.reader-tr, .reader-note { margin: 0; font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.reader-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.reader-orig { font-size: 13.5px; color: var(--gold-text); text-underline-offset: 3px; }
.reader-nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 8px; }
.reader-nav button { display: block; width: 100%; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 4px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .3s, background .3s; }
.reader-nav button:hover { border-color: var(--gold-deep); background: rgba(214, 178, 106, .08); }
.reader-nav .r-next { text-align: right; grid-column: 2; }
.reader-nav .mono { display: block; margin-bottom: 4px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.reader-nav b { font-family: var(--f-serif); font-weight: 500; font-size: 15px; line-height: 1.5; }
@media (max-width: 640px) {
  .reader-nav { grid-template-columns: minmax(0, 1fr); }
  .reader-nav .r-next { grid-column: 1; }
  .reader-no { font-size: 10px; letter-spacing: .1em; }
}

/* ── 상담 예약 ── */
.contact { padding-block: clamp(100px, 12vw, 170px); background: radial-gradient(90% 70% at 15% 0%, rgba(61, 29, 107, .6), rgba(61, 29, 107, 0) 60%), var(--night); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.contact-title { margin: 0 0 26px; font-family: var(--f-serif); font-weight: 200; font-size: clamp(40px, 6vw, 92px); line-height: 1.1; letter-spacing: -.045em; text-wrap: balance; }
.contact-copy > p { max-width: 28em; color: var(--mist); }
.contact-info { margin: 34px 0 0; border-top: 1px solid var(--line-soft); }
.contact-info div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.contact-info dt { padding-top: 4px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.contact-info dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 15px; line-height: 1.6; color: var(--star); }
.contact-info a { color: var(--gold-hi); text-underline-offset: 3px; }
.sel { font-family: var(--f-mono); font-size: 16px; -webkit-user-select: all; user-select: all; }
.copy-btn { padding: 5px 12px; border: 1px solid var(--line-soft); border-radius: 999px; background: none; color: var(--mist); font: 400 12px var(--f-sans); cursor: pointer; }
.copy-btn:hover { border-color: var(--gold); color: var(--star); }
.rsv { padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: 6px; background: rgba(27, 12, 48, .6); }
.rsv-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.field > label, .field legend { padding: 0; font-size: 12.5px; color: var(--mist); }
.field legend { margin-bottom: 8px; }
.field legend small { color: var(--mist-2); font-size: 11.5px; }
.rsv input[type="text"], .rsv input[type="tel"], .rsv input[type="date"], .rsv select, .rsv textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-soft); border-radius: 4px;
  background: rgba(18, 10, 32, .75); color: var(--star);
  font: 400 15px var(--f-sans); color-scheme: dark;
  transition: border-color .3s;
}
.rsv textarea { resize: vertical; min-height: 64px; line-height: 1.6; }
.rsv input:focus, .rsv select:focus, .rsv textarea:focus { outline: none; border-color: var(--gold); }
.rsv ::placeholder { color: rgba(188, 174, 224, .45); }
.seg, .chips-field { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.seg legend, .chips-field legend { width: 100%; }
.seg label, .chips-field label { position: relative; cursor: pointer; }
.seg input, .chips-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seg span, .chips-field span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-soft); border-radius: 999px; font-size: 14px; color: var(--mist); transition: border-color .3s, color .3s, background .3s; }
.seg input:checked + span, .chips-field input:checked + span { border-color: var(--gold); color: var(--star); background: rgba(214, 178, 106, .12); }
.seg input:focus-visible + span, .chips-field input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.rsv-preview { margin: 4px 0 18px; }
.rsv-preview pre { margin: 6px 0 0; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 4px; background: var(--term-bg); font: 13px/1.7 var(--f-mono); color: #d9d0ea; white-space: pre-wrap; overflow-wrap: anywhere; }
.rsv-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rsv .fine.ok { color: var(--gold-hi); }
.rsv .rsv-warn { margin: -6px 0 16px; color: var(--ember); }
.rsv select:disabled { opacity: 1; color: var(--gold-hi); }

/* ── 바닥 ── */
.foot { padding-top: clamp(60px, 8vw, 110px); padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px)); overflow: hidden; background: var(--foot-bg); }
.foot-mark { display: flex; justify-content: center; font-family: var(--f-display); font-variation-settings: "opsz" 30; font-weight: 500; font-size: clamp(56px, 16vw, 300px); line-height: .85; letter-spacing: -.03em; color: var(--star); white-space: nowrap; -webkit-user-select: none; user-select: none; }
.foot-mark span { display: inline-block; will-change: transform; }
.foot-mark .colon { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px 60px; margin-top: clamp(40px, 5vw, 70px); padding-top: 28px; border-top: 1px solid var(--line-soft); }
.foot-tag { margin: 0; font-family: var(--f-display); font-style: italic; font-size: 20px; line-height: 1.35; color: var(--gold-hi); }
.foot address { font-style: normal; font-size: 13.5px; line-height: 1.85; color: var(--mist); }
.disclaimer { grid-column: 1 / -1; margin: 0; max-width: 62em; font-size: 12.5px; line-height: 1.7; color: var(--mist-2); }
.foot-copy { grid-column: 1 / -1; margin: 0; font-size: 11px; color: var(--mist-2); }
.foot-copy a { color: var(--mist); }

/* ── 반응형 ── */
@media (max-width: 1080px) {
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    padding: 90px max(24px, var(--gut-r)) 40px max(24px, var(--gut-l));
    background: var(--night);
    transform: translateY(-102%); visibility: hidden;
    transition: transform .7s var(--ease), visibility 0s linear .7s;
  }
  .nav.open::before { opacity: 0; }
  .nav.open .nav-links { transform: none; visibility: visible; transition: transform .7s var(--ease), visibility 0s; }
  .nav-links a { font-family: var(--f-serif); font-weight: 300; font-size: clamp(26px, 6vw, 40px); color: var(--star); line-height: 1.5; }
  .nav-links a::after { bottom: 4px; }
  .nav-links .nav-links-cta { display: block; margin-top: 18px; color: var(--gold-hi); }
  .menu-btn { display: inline-block; }
  .nav-cta { display: none; }
}
@media (max-width: 980px) {
  .tune-grid, .origin-grid, .blocks-grid, .remote-grid, .master-grid, .practice-grid, .book-grid, .col-grid, .contact-grid, .belief-grid, .calc { grid-template-columns: minmax(0, 1fr); }
  .sec-head-row { grid-template-columns: minmax(0, 1fr); }
  .lineage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier, .tier + .tier { padding: 24px 20px 26px 0; border-right: 0; border-top: 1px solid var(--rule); }
  .tier:nth-child(even) { padding: 24px 0 26px 20px; border-left: 1px solid var(--rule); }
  .tier:nth-child(-n+2) { border-top: 0; }
  .tier:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pr-grid { grid-template-columns: minmax(0, 1fr); }
  .pr, .pr:first-child, .pr:last-child { padding: 28px 0 18px; border-left: 0; border-top: 1px solid var(--line-soft); }
  .pr:first-child { border-top: 0; }
  .pr-stage { max-width: 520px; }
  .origin-stage { max-width: 520px; margin-inline: auto; order: 2; }
  .master-photo { max-width: 460px; }
  .body-stage { max-width: 380px; }
  .book-stage { order: 2; }
  .prog-row { grid-template-columns: 40px minmax(0, 1fr) 22px; gap: 10px 16px; padding: 24px 0; }
  .prog-tags { grid-column: 2 / 3; grid-row: 2; }
  .prog-glyph { display: none; }
  .prog-plus { grid-column: 3; grid-row: 1; }
  .prog-body-in { grid-template-columns: minmax(0, 1fr); padding-left: 56px; }
  .prog-body-in p { margin-bottom: 0; }
  .prog-body-in .prog-line { margin-bottom: 28px; }
  .phases { grid-template-columns: minmax(0, 1fr); }
  .phase, .phase + .phase { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line-soft); }
  .ritual-pin { min-height: 0; }
  .ritual-clock { text-align: left; }
}
@media (max-width: 640px) {
  .nav-logo { font-size: 17px; }
  html[data-lang="en"] .hero-title .line { display: inline; }
  html[data-lang="en"] .hero-title { text-wrap: balance; }
  .lang button { padding: 0 7px; }
  .nav-tools { gap: 6px; }
  .hero-title { font-size: clamp(26px, 6.9vw, 34px); }
  .hero-foot span:not(.hint) { display: none; }
  .hero-foot .hint { margin-left: 0; }
  .sound .sound-label { display: none; }
  .sound { padding: 0 12px; }
  .lineage-list { grid-template-columns: minmax(0, 1fr); }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier, .tier + .tier, .tier:nth-child(even), .tier:nth-child(-n+2) { padding: 22px 0 24px; border-right: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .tier:first-child { border-top: 0; }
  .tier.is-pick { padding-inline: 14px; margin-inline: -14px; }
  .ledger li, .zone-panel dl div, .contact-info div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .rsv-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .scope-read { grid-template-columns: auto auto; }
  .scope-read-note { grid-column: 1 / -1; }
  .col-list a { grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 12px; }
  .col-list span { grid-column: 1 / -1; }
  .cb { grid-template-columns: 6.8em minmax(0, 1fr) 4.4em; }
  .prog-body-in { padding-left: 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .tune-legend div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .globe-tags { font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .scanline, .scan-pt, .hint-dot, .term-out .cur { animation: none; }
  .scan-pt { opacity: .8; }
  .scanline { top: 40%; }
  * { transition-duration: .01ms !important; }
}

/* ── 정적 하위 페이지(배포판의 칼럼·질문 페이지, 스크립트 없이 읽힘) ── */
body.sub { background: var(--paper); color: var(--ink); }
.sub-top {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(16px, var(--gut-r)) 14px max(16px, var(--gut-l));
  background: rgba(18, 10, 32, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.sub-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-left: auto; }
.sub-nav a, .sub-lang a { color: var(--mist); text-decoration: none; font-size: 14px; }
.sub-nav a:hover, .sub-lang a:hover { color: var(--star); }
.sub-nav .sub-cta { color: var(--gold-hi); }
.sub-lang { display: flex; gap: 12px; }
.sub-lang a { font: 500 11.5px/1 var(--f-mono); letter-spacing: .04em; }
.sub-lang a[aria-current] { color: var(--gold); }
.sub-cover { height: clamp(190px, 30vh, 320px); }
.sub-doc { max-width: 820px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) max(20px, var(--gut-r)) clamp(60px, 8vw, 110px) max(20px, var(--gut-l)); }
.sub-doc > .eyebrow { color: var(--gold-text); }
.sub-doc h1 { margin: 6px 0 18px; font-family: var(--f-serif); font-weight: 300; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.2; letter-spacing: -.03em; text-wrap: balance; }
html[data-lang="zh"] .sub-doc h1 { letter-spacing: 0; }
.sub-lead { max-width: 38em; margin: 0 0 40px; font-size: 17px; line-height: 1.85; color: var(--ink-soft); }
.faq-item { padding: 26px 0; border-top: 1px solid var(--rule); }
.faq-item h2 { margin: 0 0 10px; font-family: var(--f-serif); font-weight: 500; font-size: clamp(19px, 2vw, 23px); line-height: 1.45; }
.faq-item p { margin: 0; font-size: 16.5px; line-height: 1.9; color: #2b2235; }
.faq-item a { color: var(--ink); text-underline-offset: 3px; }
.col-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.col-index a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 22px; padding: 26px 0; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none; }
.col-index .g { grid-row: span 3; font-family: var(--f-serif); font-weight: 300; font-size: 54px; line-height: 1; color: var(--gold-text); }
.col-index .mono { font-size: 11.5px; letter-spacing: .1em; color: var(--ink-soft); }
.col-index b { font-family: var(--f-serif); font-weight: 500; font-size: clamp(19px, 2vw, 24px); line-height: 1.45; }
.col-index p { margin: 4px 0 0; font-size: 15px; line-height: 1.75; color: var(--ink-soft); }
.col-index a:hover b { color: var(--gold-text); }
.reader-nav a { display: block; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 4px; color: var(--ink); text-decoration: none; transition: border-color .3s, background .3s; }
.reader-nav a:hover { border-color: var(--gold-deep); background: rgba(214, 178, 106, .08); }
.reader-nav a.r-next { grid-column: 2; text-align: right; }
.sub-foot { padding: 40px max(16px, var(--gut-r)) calc(36px + env(safe-area-inset-bottom, 0px)) max(16px, var(--gut-l)); background: var(--foot-bg); color: var(--mist); }
.sub-foot-in { display: grid; gap: 12px; max-width: 1100px; margin: 0 auto; font-size: 13px; line-height: 1.8; }
.sub-foot-in p { margin: 0; }
.sub-foot a { color: var(--gold-hi); }
.foot-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; font-size: 13.5px; }
.foot-links a { color: var(--gold-hi); text-underline-offset: 3px; }
@media (max-width: 640px) {
  .sub-nav { order: 3; width: 100%; margin-left: 0; }
  .col-index a { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; }
  .col-index .g { font-size: 38px; }
  .reader-nav a.r-next { grid-column: 1; }
}
.reader-body h2.r-h { margin: 2.1em 0 .75em; padding-top: 1.1em; border-top: 1px solid var(--rule); font-family: var(--f-serif); font-weight: 500; font-size: clamp(20px, 2.1vw, 25px); line-height: 1.45; color: var(--ink); }
.reader-body > h2.r-h:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
