/**
 * About / Stories 區塊樣式
 *
 * 包含：
 * - .page-head（頁面頁首，About/Stories 共用）
 * - .arch-head（區塊頁首 grid · About 各區塊共用）
 * - .about-arch · .arch-row（三原型）
 * - .disc-grid · .disc-cell（四日常練習圖卡）
 * - .facts · .facts-list（Fun Facts）
 * - .page-head（頁面頁首，About/Stories 共用）
 *
 * @package AnnyCoach
 */


/* ═══════════════════════════════════════════════════════════════
   .page-head · 頁面頁首（About / Stories / Living 共用）
   v0.4.23：照原檔設計靠左對齊（之前 v0.4.21 錯誤改成置中）
═══════════════════════════════════════════════════════════════ */
.page-head {
    background: var(--bone-2);
    border-bottom: 1px solid var(--linen);
    padding: 130px 0 100px;
    position: relative;
    overflow: hidden;
}
.page-head-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 3;
}
.page-head .ph-eyebrow {
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.page-head .ph-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--plum);
}
.page-head .ph-title {
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}
.page-head .ph-lead {
    max-width: 560px;
    position: relative;
    z-index: 2;
    font-size: 17px;
    line-height: 1.7;
    color: var(--mist);
}

/* v0.4.28：簡化版（category / tag archive 用）— 無大頁碼水印、無背景圖、
   無 bone-2 背景色、無底邊匡線、padding 較短，融進整個星空背景 */
.page-head-plain {
    background: transparent;
    border-bottom: none;
    padding: 100px 0 56px;
}
.page-head-plain .ph-mark,
.page-head-plain .ph-img,
.page-head-plain .ph-glyph {
    display: none;
}

/* 大頁碼水印：右下角極大義大利體 */
.page-head .ph-mark {
    position: absolute;
    font-family: var(--ff-num);
    font-style: italic;
    font-weight: 300;
    color: var(--plum);
    opacity: .085;
    letter-spacing: -.07em;
    line-height: .78;
    font-size: clamp(220px, 32vw, 420px);
    bottom: -60px;
    right: -30px;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

/* 右側背景圖：mask 漸層、低 opacity、暮色 */
.page-head .ph-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 42%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
    opacity: .55;
    mix-blend-mode: multiply;
}
.page-head .ph-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(110, 70, 89, .18) 0%, rgba(31, 36, 51, .32) 100%);
    mix-blend-mode: multiply;
}


/* ═══════════════════════════════════════════════════════════════
   .arch-head · 區塊頁首（About 各區塊共用：左 eyebrow+title / 右大頁碼）
═══════════════════════════════════════════════════════════════ */
.arch-head {
    max-width: var(--max);
    margin: 0 auto 48px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: end;
}
.arch-head .eyebrow {
    margin-bottom: 18px;
}
.arch-head-num {
    font-family: var(--ff-num);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(80px, 10vw, 140px);
    line-height: .85;
    color: var(--plum);
    opacity: .92;
    letter-spacing: -.04em;
}


/* ═══════════════════════════════════════════════════════════════
   .arch-section · 三原型
═══════════════════════════════════════════════════════════════ */
.arch-section {
    padding: 100px 0;
}
.about-arch {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 40px;
}
.arch-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 60px;
    padding: 42px 0;
    border-bottom: 1px solid var(--linen);
}
.arch-row:last-child {
    border-bottom: none;
}
.arch-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.arch-name {
    font-family: var(--ff-m);
    font-size: 13px;
    letter-spacing: .22em;
    color: var(--twilight);
    font-weight: 500;
    text-transform: uppercase;
}
.arch-num {
    font-family: var(--ff-num);
    font-style: italic;
    font-weight: 300;
    font-size: 48px;
    line-height: 1;
    color: var(--plum);
    margin-top: 10px;
    letter-spacing: -.02em;
}
.arch-role {
    font-family: var(--ff-m);
    font-size: 10px;
    letter-spacing: .18em;
    color: var(--mist);
    text-transform: uppercase;
    margin-top: 8px;
}
.arch-body h3 {
    font-family: var(--ff-d);
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -.005em;
    color: var(--twilight);
}
.lang-en .arch-body h3 {
    font-style: italic;
}
.arch-body p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--twilight);
    font-weight: 300;
    max-width: 60ch;
}


/* ═══════════════════════════════════════════════════════════════
   .disc-section · 四個日常練習（2×2 圖卡）
═══════════════════════════════════════════════════════════════ */
.disc-section {
    background: var(--bone-2);
    padding: 100px 0;
}
.disc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 48px;
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}
.disc-cell {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bone-3);
    cursor: pointer;
    transition: transform .5s ease;
}
.disc-cell:hover {
    transform: translateY(-6px);
}
.disc-cell-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.1s ease;
    filter: brightness(.78) saturate(.92);
}
.disc-cell:hover .disc-cell-img {
    transform: scale(1.05);
    filter: brightness(.88) saturate(1);
}
.disc-cell-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(31, 36, 51, .15) 0%, rgba(31, 36, 51, .55) 100%);
}
.disc-cell-lbl {
    position: absolute;
    top: 22px;
    left: 22px;
    right: 22px;
    font-family: var(--ff-m);
    font-size: 11px;
    letter-spacing: .18em;
    color: var(--bone);
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
    line-height: 1.5;
    z-index: 2;
}
.disc-cell-num {
    position: absolute;
    bottom: 18px;
    right: 22px;
    font-family: var(--ff-num);
    font-style: italic;
    font-size: 22px;
    color: var(--bone);
    z-index: 2;
}
.disc-caption {
    max-width: 60ch;
    margin: 30px auto 0;
    padding: 0 40px;
    font-family: var(--ff-d);
    font-style: italic;
    font-weight: 300;
    font-size: 18px;
    color: var(--bronze);
}


/* ═══════════════════════════════════════════════════════════════
   .ff-section · Fun Facts
═══════════════════════════════════════════════════════════════ */
.ff-section {
    padding: 100px 0;
}
.facts {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
    margin-top: 48px;
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}
.facts-img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bone-3);
    position: relative;
}
.facts-img-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(.92);
}
.facts-img-cap {
    position: absolute;
    bottom: 16px;
    left: 18px;
    font-family: var(--ff-m);
    font-size: 9.5px;
    letter-spacing: .18em;
    color: var(--bone);
    text-transform: uppercase;
    background: rgba(31, 36, 51, .5);
    padding: 5px 9px;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
}
.facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.facts-list li {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 18px;
    padding: 24px 6px;
    border-bottom: 1px solid var(--linen);
    align-items: center;
    cursor: pointer;
    transition: padding-left .25s, background .2s;
}
.facts-list li:first-child {
    border-top: 1px solid var(--linen);
}
.facts-list li:hover {
    padding-left: 18px;
    background: rgba(110, 70, 89, .04);
}
.facts-list .ff-num {
    font-family: var(--ff-m);
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--mist);
}
.facts-list .ff-text {
    font-family: var(--ff-d);
    font-weight: 400;
    font-size: 23px;
    line-height: 1.32;
    color: var(--twilight);
    letter-spacing: -.005em;
}
.lang-en .facts-list .ff-text {
    font-style: italic;
}
.facts-list .ff-plus {
    font-size: 22px;
    color: var(--plum);
    font-weight: 300;
    line-height: 1;
    transition: transform .25s;
}
.facts-list li:hover .ff-plus {
    transform: rotate(90deg);
}



/* ═══════════════════════════════════════════════════════════════
   手機版調整（v0.4.25：只留 about 區塊相關，stories/art 全部交給 articles.css）
═══════════════════════════════════════════════════════════════ */
@media (max-width: 880px) {
    .page-head {
        padding: 80px 0 64px;
    }
    .page-head .ph-img {
        width: 65%;
        opacity: .32;
    }
    .page-head .ph-mark {
        font-size: clamp(180px, 46vw, 260px);
        bottom: -30px;
        right: -20px;
    }

    .arch-head {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 32px;
    }
    .arch-head-num {
        font-size: 80px;
    }

    .arch-section,
    .disc-section,
    .ff-section {
        padding: 60px 0;
    }

    /* 三原型：手機版直排 */
    .arch-row {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 32px 0;
    }
    .arch-body h3 { font-size: 22px; }
    .arch-num     { font-size: 36px; }

    /* 四日常練習：手機版 2×2 */
    .disc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        padding: 0 20px;
    }

    /* Fun Facts：手機版上下排 */
    .facts {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 20px;
    }
    .facts-list .ff-text { font-size: 18px; }
}


/* ═══════════════════════════════════════════════════════════════
   .essays-section · 精選文章 carousel(v0.5.3)
   設計:兩篇一頁,左右箭頭切換,scroll-snap 原生 swipe
═══════════════════════════════════════════════════════════════ */
.essays-section {
    padding: 100px 0;
    background: var(--bone);
}
.essays-headline {
    font-family: var(--ff-d);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--twilight);
    margin: 0;
}

.essays-carousel {
    position: relative;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 40px;
}

/* track 內部用 flex,水平捲動 + snap */
.essays-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px; /* 避免 hover translateY 被截 */
}
.essays-track::-webkit-scrollbar { display: none; }

.essay-card {
    flex: 0 0 calc(50% - 12px); /* 兩篇可見,扣 gap 一半 */
    scroll-snap-align: start;
    background: var(--bone-2);
    border: 1px solid var(--linen);
    transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.essay-card:hover {
    border-color: var(--plum);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}
.essay-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}
.essay-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bone-3);
}
.essay-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.essay-card:hover .essay-img img {
    transform: scale(1.04);
}
.essay-img-placeholder {
    background: linear-gradient(135deg, var(--bone-2), var(--bone-3));
}
.essay-body { padding: 24px 28px 28px; }
.essay-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-family: var(--ff-m);
    font-size: 10.5px;
    letter-spacing: .2em;
    color: var(--bronze);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.essay-meta .dot { opacity: .5; }
.essay-title {
    font-family: var(--ff-d);
    font-style: italic;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--twilight);
    margin: 0 0 12px;
}
.essay-excerpt {
    font-family: var(--ff-cn);
    font-size: 14px;
    line-height: 1.7;
    color: var(--mist);
    margin: 0;
    font-weight: 300;
}

/* 左右輪播箭頭 */
.essays-arrow {
    position: absolute;
    top: 38%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bone-2);
    border: 1px solid var(--linen);
    color: var(--twilight);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: opacity .25s ease, border-color .25s ease, background .25s ease;
    padding: 0;
}
.essays-arrow:hover {
    border-color: var(--plum);
    background: var(--bone-3);
}
.essays-arrow:disabled,
.essays-arrow[data-disabled="true"] {
    opacity: .25;
    cursor: not-allowed;
}
.essays-arrow-prev { left: -2px; }
.essays-arrow-next { right: -2px; }

.essays-foot {
    max-width: var(--max);
    margin: 48px auto 0;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.essays-caption {
    font-family: var(--ff-d);
    font-style: italic;
    font-size: 16px;
    color: var(--mist);
}
.essays-more {
    font-family: var(--ff-m);
    font-size: 11px;
    letter-spacing: .24em;
    color: var(--plum);
    text-transform: uppercase;
    text-decoration: none;
    transition: color .25s ease;
}
.essays-more:hover { color: var(--plum-hi); }

/* 手機:單篇全寬,箭頭縮小 */
@media (max-width: 720px) {
    .essays-section { padding: 60px 0; }
    .essays-carousel { padding: 0 20px; }
    .essay-card { flex: 0 0 100%; }
    .essay-body { padding: 20px 22px 24px; }
    .essay-title { font-size: 20px; }
    .essays-arrow {
        width: 38px;
        height: 38px;
        top: 36%;
    }
    .essays-arrow-prev { left: -8px; }
    .essays-arrow-next { right: -8px; }
    .essays-foot { padding: 0 20px; }
}


/* ═══════════════════════════════════════════════════════════════
   v0.9.10 · 人生節點時間軸（置中版 + hover 對話框）
   ═══════════════════════════════════════════════════════════════ */

.nodes-sec { padding: var(--sec-pad) 0; }

/* ─── 頁首：置中 ─── */
.nodes-head {
    max-width: 56ch;
    margin: 0 auto 26px;
    text-align: center;
}
.nodes-mark {
    font-family: var(--ff-num);
    font-size: clamp(56px, 8vw, 104px);
    line-height: .8;
    font-weight: 300;
    color: var(--linen-2);
    margin-bottom: 18px;
}
.nodes-head .eyebrow { justify-content: center; }
.nodes-title { margin: 14px 0 18px; }
.nodes-lead  { color: var(--twilight-2); }

/* ─── 操作提示：告訴人「這些可以點」 ─── */
.nodes-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 64px;
    font-family: var(--ff-m);
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--mist);
    text-align: center;
}
.nodes-hint-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--plum);
    box-shadow: 0 0 10px rgba(138,122,170,var(--glow-strength));
    animation: nodePulse 2.6s var(--ease-moon) infinite;
    flex: none;
}
@keyframes nodePulse {
    0%,100% { opacity: .45; transform: scale(1); }
    50%     { opacity: 1;   transform: scale(1.25); }
}

/* ─── 時間軸：線在正中央，節點左右交錯 ─── */
.nodes-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    position: relative;
    max-width: 940px;
}
.nodes-list::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--linen-2) 6%,
        var(--linen-2) 94%,
        transparent
    );
}

.node-item {
    position: relative;
    width: 50%;
    padding: 0;
    margin-bottom: 6px;
}
.node-item.is-left  { margin-right: 50%; }
.node-item.is-right { margin-left: 50%; }
.node-item:last-child { margin-bottom: 0; }

/* ─── 節點本身 ─── */
.node {
    display: block;
    position: relative;
    width: 100%;
    padding: 24px 40px 24px 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-align: right;
    text-decoration: none;
    cursor: default;
    transition: transform var(--t-hover) var(--ease-moon);
}
.node.is-right {
    padding: 24px 0 24px 40px;
    text-align: left;
}
.node.is-linked { cursor: pointer; }

/* ─── 節點的點 ─── */
.node-dot {
    position: absolute;
    top: 34px;
    width: 13px; height: 13px;
}
.node.is-left  .node-dot { right: -6.5px; }
.node.is-right .node-dot { left: -6.5px; }

.node-dot-core {
    position: absolute; inset: 2px;
    border-radius: 50%;
    background: var(--bone);
    border: 1px solid var(--mist-soft);
    transition: all .32s var(--ease-moon);
}
.node-dot-ring {
    position: absolute; inset: -6px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all .32s var(--ease-moon);
}

/* hover：實心 + 發光 */
.node:hover .node-dot-core,
.node:focus-visible .node-dot-core {
    background: var(--plum);
    border-color: var(--plum);
    box-shadow:
        0 0 10px rgba(138,122,170,var(--glow-strength)),
        0 0 26px rgba(138,122,170,calc(var(--glow-strength) * .7));
}
.node:hover .node-dot-ring,
.node:focus-visible .node-dot-ring {
    border-color: rgba(138,122,170,.35);
    inset: -9px;
}

/* ─── 卡片內容 ─── */
.node-card { display: block; }

.node-meta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}
.node.is-left .node-meta { justify-content: flex-end; }

.node-num {
    font-family: var(--ff-m);
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--mist-soft);
}
.node-era {
    font-family: var(--ff-m);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--mist);
}

.node-title {
    display: inline-block;
    font-family: var(--ff-d);
    font-weight: 300;
    font-size: clamp(21px, 2.3vw, 26px);
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--twilight);
    margin: 0 0 10px;
    transition: color var(--t-hover) var(--ease-moon);
}
.lang-en .node-title { font-style: italic; }

/* 可點的節點：標題底下一條虛線，這是「可以點」的暗示 */
.node.is-linked .node-title {
    border-bottom: 1px dashed var(--linen-2);
    padding-bottom: 3px;
    transition: border-color var(--t-hover) var(--ease-moon),
                color var(--t-hover) var(--ease-moon);
}
.node.is-linked:hover .node-title,
.node.is-linked:focus-visible .node-title {
    color: var(--plum-hi);
    border-bottom-color: var(--plum);
}

.node-line {
    display: block;
    font-family: var(--ff-d);
    font-style: italic;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--bronze);
    margin: 0;
    max-width: 40ch;
}
.node.is-left .node-line { margin-left: auto; }

/* ─── 狀態標 ─── */
.node-flag { display: block; margin-top: 14px; }

.node-cta {
    font-family: var(--ff-m);
    font-size: 10.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--plum-hi);
    opacity: .85;
}
.node.is-linked:hover .node-cta { opacity: 1; }

.node:focus-visible { outline: 2px solid var(--plum); outline-offset: 6px; border-radius: 3px; }

/* ═══ hover 對話框 ═══ */
.node-pop {
    position: absolute;
    top: 18px;
    z-index: 40;
    width: min(360px, 78vw);
    padding: 20px 22px;
    background: var(--bone-2, var(--bone));
    border: 1px solid var(--linen-2);
    border-radius: 3px;
    box-shadow: 0 18px 48px rgba(0,0,0,.28);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .26s var(--ease-moon),
                transform .26s var(--ease-moon),
                visibility .26s;
    pointer-events: none;
}
/* 左側節點 → 對話框開在右邊；右側節點 → 開在左邊 */
.node.is-left  .node-pop { left: calc(100% + 34px); }
.node.is-right .node-pop { right: calc(100% + 34px); }

.node:hover .node-pop,
.node:focus-visible .node-pop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.node-pop-arrow {
    position: absolute;
    top: 22px;
    width: 9px; height: 9px;
    background: var(--bone-2, var(--bone));
    border-left: 1px solid var(--linen-2);
    border-bottom: 1px solid var(--linen-2);
    transform: rotate(45deg);
}
.node.is-left  .node-pop-arrow { left: -5px; }
.node.is-right .node-pop-arrow { right: -5px; transform: rotate(225deg); }

.node-pop-body {
    display: block;
    font-size: 14px;
    line-height: 1.85;
    font-weight: 300;
    color: var(--twilight-2);
}
.node-pop-cta {
    display: block;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--linen);
    font-family: var(--ff-m);
    font-size: 10.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--plum-hi);
}

/* ─── 收尾 ─── */
.nodes-outro {
    margin: 80px auto 0;
    padding-top: 34px;
    border-top: 1px solid var(--linen);
    font-family: var(--ff-d);
    font-weight: 300;
    font-size: 18px;
    line-height: 1.85;
    color: var(--twilight-2);
    max-width: 52ch;
    text-align: center;
}

/* ─── 手機／窄螢幕：改回單欄，線移到左邊 ─── */
@media (max-width: 880px) {
    .nodes-head { margin-bottom: 20px; }
    .nodes-hint { margin-bottom: 44px; font-size: 10.5px; }

    .nodes-list { max-width: 100%; padding-left: 40px; }
    .nodes-list::before {
        left: 6px;
        transform: none;
        /* 線頭尾收短一點，不要頂到第一個和最後一個節點 */
        top: 26px;
        bottom: 26px;
    }

    .node-item,
    .node-item.is-left,
    .node-item.is-right { width: 100%; margin: 0 0 4px; }

    .node,
    .node.is-right,
    .node.is-left {
        padding: 20px 0 20px 4px;
        text-align: left;
    }
    .node.is-left .node-meta { justify-content: flex-start; }
    .node.is-left .node-line { margin-left: 0; }

    .node-dot,
    .node.is-left .node-dot,
    .node.is-right .node-dot { left: -40px; right: auto; top: 26px; }

    .node-title { font-size: 20px; }
    .node-line  { font-size: 14.5px; max-width: none; }

    /* 手機沒有 hover：對話框改成常駐在節點下方 */
    .node-pop,
    .node.is-left .node-pop,
    .node.is-right .node-pop {
        position: static;
        width: 100%;
        margin-top: 14px;
        padding: 4px 0 4px 16px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: none;
        border: 0;
        border-left: 1px solid var(--linen-2);
        border-radius: 0;
    }
    .node-pop-arrow { display: none; }
    .node-pop-body  { font-size: 13.5px; }
    .node-pop-cta   { border-top: 0; padding-top: 8px; margin-top: 10px; }

    .nodes-outro { margin-top: 56px; font-size: 16.5px; text-align: left; }

    /* 手機沒有 hover：捲到畫面中段的節點自動亮起
       （JS 加上 .is-inview，一次只會有一個） */
    .node.is-inview .node-dot-core {
        background: var(--plum);
        border-color: var(--plum);
        box-shadow:
            0 0 10px rgba(138,122,170,var(--glow-strength)),
            0 0 26px rgba(138,122,170,calc(var(--glow-strength) * .7));
    }
    .node.is-inview .node-dot-ring {
        border-color: rgba(138,122,170,.35);
        inset: -9px;
    }
    .node.is-linked.is-inview .node-title {
        color: var(--plum-hi);
        border-bottom-color: var(--plum);
    }
    .node.is-inview .node-pop {
        border-left-color: var(--plum);
    }
}

/* 減少動態偏好 */
@media (prefers-reduced-motion: reduce) {
    .nodes-hint-dot { animation: none; }
    .node-pop { transition: none; }
}


/* ═══════════════════════════════════════════════════════════════
   v0.9.29 · About 自我介紹（節點之前）
   ═══════════════════════════════════════════════════════════════ */

/* 上方跟頁首拉開一整段，下方接節點時間軸。
   page-head 底下已有 100px，這裡再給 var(--sec-pad)，
   兩塊之間才有明顯的呼吸，不會黏成一坨。 */
.intro-sec { padding: var(--sec-pad) 0; }

/* 與 .wrap-n（880px）同層，這裡不再自己設 max-width，
   避免 About 頁出現第三種行寬 */
.intro-grid { margin: 0 auto; }
.intro-grid.has-photo {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}

/* ─── 照片 ─── */
.intro-photo {
    border-radius: 2px;
    overflow: hidden;
    background: var(--linen);
}
.intro-photo img {
    width: 100%;
    height: auto;
    display: block;
}

/* ─── 自述 ─────────────────────────────────────
   字級 / 行距 / 顏色 / 段距全部對齊 single-post.css 的 .single-content，
   讀起來要跟點進文章時一模一樣。 */
.intro-text .eyebrow { margin-bottom: 18px; }

.intro-body {
    max-width: var(--max-prose);
}
.intro-body p {
    font-size: 16.5px;
    line-height: 1.95;
    font-weight: 300;
    color: var(--twilight);
    margin: 0 0 26px;
}
.intro-body p:last-child { margin-bottom: 0; }

/* ─── 事實列 ─── */
.intro-facts {
    margin: 34px 0 0;
    padding-top: 28px;
    border-top: 1px solid var(--linen);
}

.intro-fact {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 18px;
    padding: 9px 0;
    align-items: baseline;
}
.intro-fact + .intro-fact { border-top: 1px solid var(--linen); }

.intro-fact dt {
    font-family: var(--ff-m);
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--mist-soft);
    white-space: nowrap;
}
.intro-fact dd {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    font-weight: 300;
    color: var(--twilight-2);
}

/* ─── 手機 ─── */
@media (max-width: 880px) {
    .intro-grid.has-photo {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .intro-photo { max-width: 180px; }
    .intro-body p { font-size: 16px; line-height: 1.9; margin-bottom: 22px; }
    .intro-facts { margin-top: 28px; padding-top: 22px; }
    .intro-fact {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 11px 0;
    }
    .intro-fact dd { font-size: 14px; }
}
