/* ============================================================
   pages/blog.css —「不正常觀點 · 異常觀察檔案」
   創巢數位 Nest Digital | 外洩的內部異常卷宗
   ─────────────────────────────────────────────────────────────
   v2（2026-06-21）：從「編輯版面＋配件」改為「真卷宗」——真做舊掃描
   紙底、實體橡皮章（codex image_gen 生成去背）、表單欄位結構、遮蔽字、
   資料夾標籤卡、釘書針/紙夾、輕微歪斜疊放。素材在 assets/images/blog/arc-*。
   隔離：配色全自定、scope 在 body.archive，不掛 nav.js 星空。
   圖路徑：HTML 在 root（assets/images/blog/..）；CSS（../../images/blog/）
   ============================================================ */

body.archive {
    --paper:      #f3ead9;
    --paper-2:    #efe4cf;   /* 卡/夾略深 */
    --paper-3:    #f7f0e2;   /* 內文乾淨區 */
    --ink:        #211a10;   /* 近黑暖褐：主文字 */
    --ink-2:      #463c2a;   /* 次文字（加深提對比）*/
    --ink-3:      #6d5f46;   /* 標籤/mono（加深提對比）*/
    --read:       #281f12;   /* 閱讀正文：高對比近黑暖褐 */
    --line:       rgba(33, 26, 16, 0.18);
    --line-mid:   rgba(33, 26, 16, 0.34);
    --line-str:   rgba(33, 26, 16, 0.6);
    --pen-blue:   #1f4f8f;   /* 藍筆/校樣 */
    --stamp-red:  #8c2b22;
    --gold:       #9c7416;

    margin: 0;
    background-color: #ece1cd;
    background-image: url("../../images/blog/arc-paper.png");
    background-size: 760px auto;
    background-repeat: repeat;
    color: var(--ink);
    font-family: var(--f-sans);
    line-height: 1.78;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 四角登記十字 */
.reg-mark {
    position: fixed;
    z-index: 4;
    width: 16px; height: 16px;
    pointer-events: none;
    opacity: 0.45;
    background:
        linear-gradient(var(--line-str), var(--line-str)) center / 1px 100% no-repeat,
        linear-gradient(var(--line-str), var(--line-str)) center / 100% 1px no-repeat;
}
.reg-mark--tl { top: 16px; left: 16px; }
.reg-mark--tr { top: 16px; right: 16px; }
.reg-mark--bl { bottom: 16px; left: 16px; }
.reg-mark--br { bottom: 16px; right: 16px; }

/* ============================================================
   導覽列（卷宗頂條）
   ============================================================ */
.arc-nav {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-md);
    /* 幾何對齊首頁 .site-nav：同左右 inset clamp(1.25,3vw,2.5rem)＋同高 56px，降低跨頁切換位移（2026-06-23） */
    /* 本頁未載 base.css 的 border-box 重置，這裡 scoped 補上，讓 height 含 1.5px 邊框＝首頁同值 56 */
    box-sizing: border-box;
    height: 56px;
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
    border-bottom: 1.5px solid var(--ink);
    background: rgba(243, 234, 217, 0.82);
    backdrop-filter: blur(3px);
}
.arc-nav__brand { display: inline-flex; align-items: center; gap: 0.6em; text-decoration: none; color: var(--ink); }
.arc-nav__emblem { width: 26px; height: 26px; object-fit: contain; }
.arc-nav__brand-zh { font-family: var(--f-serif-cjk); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.04em; }
.arc-nav__brand-en { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.26em; color: var(--ink-3); }
.arc-nav__links { display: flex; gap: clamp(24px, 3vw, 44px); font-size: 0.92rem; font-weight: 500; margin-left: auto; }
.arc-nav__links a { color: var(--ink-2); text-decoration: none; letter-spacing: 0.1em; padding-bottom: 2px; border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; }
.arc-nav__links a:hover { color: var(--ink); }
.arc-nav__links a.is-active { color: var(--ink); border-bottom-color: var(--pen-blue); }
/* 鏡像首頁右側群組：連結組 │ 分隔線 │ 加寬 CTA，讓三按鈕落點對齊首頁（2026-06-23）。
   分隔線用 --pen-blue＝部落格自有的「冷電藍校樣線」語彙，非硬搬首頁青色。 */
.arc-nav__divider { width: 1px; height: 1em; align-self: center; flex-shrink: 0; background: var(--pen-blue); opacity: 0.55; }
.arc-nav__cta { font-size: 0.92rem; font-weight: 500; letter-spacing: 0.28em; color: var(--ink); text-decoration: none; white-space: nowrap; padding-bottom: 2px; transition: color .2s; }
.arc-nav__cta:hover { color: var(--pen-blue); }

/* ============================================================
   版心 + 共用
   ============================================================ */
.arc {
    position: relative;
    z-index: 3;
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem) 0;
}
.arc-dot { color: var(--ink-3); margin: 0 0.3em; }
.arc-divider { display: inline-block; width: 14px; height: 1px; background: var(--line-mid); vertical-align: middle; }
.arc-tag { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--pen-blue); }
.ff-label {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    border: 1px solid var(--line-mid);
    padding: 0.15em 0.5em;
    margin-right: 0.7em;
    vertical-align: middle;
}
/* 遮蔽字（外洩/消音感）*/
.redact {
    color: transparent;
    background: url("../../images/blog/arc-redact.png") center / 100% 118% no-repeat;
    padding: 0 0.4em;
    margin: 0 0.05em;
    user-select: none;
}

/* 橡皮章共用：壓在紙上、輕微歪、不浮在 UI */
.stamp { position: absolute; pointer-events: none; opacity: 0.9; mix-blend-mode: multiply; filter: contrast(1.05); }

/* 紙夾 */
.clip {
    position: absolute;
    top: -19px; left: 48px;
    width: 33px; height: auto;
    transform: rotate(-9deg);
    filter: drop-shadow(2px 5px 4px rgba(0,0,0,.3));
    z-index: 3;
    pointer-events: none;
}

/* ============================================================
   卷宗封面
   ============================================================ */
.dossier {
    position: relative;
    background-color: var(--paper-2);
    background-image:
        url("../../images/blog/arc-foxing-a.png"),
        radial-gradient(135% 130% at 50% 40%, transparent 50%, rgba(74,52,20,.14)),
        url("../../images/blog/arc-paper.png");
    background-size: 600px auto, cover, 680px auto;
    background-position: 18% 12%, center, center;
    background-repeat: no-repeat, no-repeat, repeat;
    background-blend-mode: multiply, multiply, multiply;
    border: 1px solid var(--line-mid);
    /* 光源左上→影右下；下層紙邊(暖紙色)＝一疊紙、再加柔寬大氣影 */
    box-shadow:
        7px 9px 0 -2px #e7ddc7,
        15px 19px 0 -5px #ddd0b4,
        4px 9px 20px rgba(0,0,0,.15),
        10px 20px 42px rgba(0,0,0,.1);
    padding: clamp(2rem, 4.5vw, 3.4rem);
    transform: rotate(-0.5deg);
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.dossier::after { /* 內框線 */
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid var(--line);
    pointer-events: none;
}
.stamp--confidential { top: 26px; right: 30px; width: clamp(160px, 22vw, 230px); transform: rotate(8deg); }
.stamp--public { bottom: 26px; right: 36px; width: clamp(120px, 16vw, 165px); transform: rotate(-6deg); opacity: 0.82; }

.dossier__head { display: flex; align-items: center; gap: 0.8em; margin-bottom: 1.6rem; }
.dossier__emblem { width: 40px; height: 40px; object-fit: contain; }
.dossier__org {
    font-family: var(--f-mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--ink);
    line-height: 1.5;
    margin: 0;
}
.dossier__org span { display: block; font-weight: 400; font-size: 0.62rem; letter-spacing: 0.12em; color: var(--ink-3); }

.dossier__title {
    font-family: var(--f-serif-cjk);
    font-weight: 900;
    font-size: clamp(2.8rem, 7.5vw, 5rem);
    line-height: 0.98;
    letter-spacing: 0.02em;
    color: var(--ink);
    margin: 0;
    filter: url(#ink-rough);   /* 油墨毛邊：真字緣位移 */
}
.dossier__title-en {
    font-family: var(--f-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    letter-spacing: 0.06em;
    color: var(--ink-2);
    margin: 0.35em 0 0;
}

/* 表單欄位（點線引導）*/
.dossier__form { margin: 1.8rem 0 0; max-width: 620px; display: grid; gap: 0; }
.dossier__form .ff {
    display: flex;
    align-items: baseline;
    gap: 1em;
    padding: 0.5em 0;
    border-bottom: 1px dotted var(--line-mid);
}
.dossier__form dt {
    flex: 0 0 7.5em;
    font-family: var(--f-mono);
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    color: var(--ink-3);
}
.dossier__form dd { margin: 0; font-size: 1.02rem; color: var(--ink); }

.dossier__abstract { margin: 1.6rem 0 0; max-width: 600px; }
.dossier__abstract p {
    font-family: var(--f-fang-cjk);
    font-size: clamp(1.12rem, 1.5vw, 1.26rem);
    line-height: 1.95;
    color: var(--read);
    margin: 0.7em 0 0;
}

/* ============================================================
   本期異常
   ============================================================ */
.arc-top { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.arc-section-flag {
    display: flex; align-items: center; gap: 0.6em;
    font-family: var(--f-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--ink);
    margin: 0 0 1.3rem;
}
.arc-flag-dot { width: 7px; height: 7px; background: var(--stamp-red); border-radius: 50%; }

.anomaly {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    text-decoration: none;
    color: inherit;
    background-color: var(--paper-2);
    background-image:
        url("../../images/blog/arc-foxing-a.png"),
        radial-gradient(135% 130% at 50% 45%, transparent 52%, rgba(74,52,20,.12)),
        url("../../images/blog/arc-paper.png");
    background-size: 560px auto, cover, 680px auto;
    background-position: 72% 64%, center, center;
    background-repeat: no-repeat, no-repeat, repeat;
    background-blend-mode: multiply, multiply, multiply;
    border: 1px solid var(--line-mid);
    border-top: 3px solid var(--ink);
    box-shadow: 5px 6px 0 -2px #e7ddc7, 4px 8px 18px rgba(0,0,0,.13), 9px 18px 36px rgba(0,0,0,.08);
    padding: clamp(1.5rem, 3vw, 2.4rem);
    transform: rotate(0.4deg);
    transition: box-shadow .25s, transform .25s;
}
.anomaly:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 5px 6px 0 -2px #e7ddc7, 5px 12px 26px rgba(0,0,0,.16), 12px 24px 46px rgba(0,0,0,.12); }
.anomaly__stamp { top: -14px; right: 8%; width: clamp(130px, 18vw, 185px); transform: rotate(-9deg); z-index: 2; }

.anomaly__plate {
    position: relative;
    display: flex; flex-direction: column; justify-content: center;
    min-height: 250px;
    padding: clamp(1.25rem, 2.5vw, 1.9rem);
    background:
        repeating-linear-gradient(0deg, transparent 0 27px, rgba(33,26,16,.05) 27px 28px),
        var(--paper-3);
    border: 1px solid var(--line);
}
.anomaly__case { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.18em; color: var(--ink-3); }
.anomaly__slogan {
    display: flex; flex-direction: column; gap: 0.02em;
    margin: 0.4em 0 0.55em;
    font-family: var(--f-serif-cjk);
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.02;
    color: var(--ink);
}
.anomaly__slogan span { position: relative; align-self: flex-start; }
.anomaly__slogan span::before { /* CMYK 套印偏移（只此一處）*/
    content: attr(data-t);
    position: absolute; left: -2px; top: 1px;
    color: #00c8ff; opacity: 0.5; z-index: -1;
}
.anomaly__slogan span:last-child { color: var(--stamp-red); }
.anomaly__slogan span:last-child::after { /* 手繪紅筆圈（真圖）*/
    content: '';
    position: absolute; inset: -38% -52% -40% -48%;
    background: url("../../images/blog/arc-redcircle.png") center / 100% 100% no-repeat;
    transform: rotate(-3deg);
    pointer-events: none;
}
.anomaly__note {
    font-family: var(--f-fang-cjk);
    font-size: 0.95rem;
    color: var(--pen-blue);
    transform: rotate(-1.5deg);
    margin-top: 0.3em;
}

.anomaly__body { display: flex; flex-direction: column; justify-content: center; }
.anomaly__meta { display: flex; align-items: center; gap: 0.8em; margin: 0 0 0.9rem; font-family: var(--f-mono); font-size: 0.74rem; color: var(--ink-2); }
.anomaly__title {
    font-family: var(--f-serif-cjk);
    font-weight: 700;
    font-size: clamp(1.55rem, 2.7vw, 2.2rem);
    line-height: 1.34;
    color: var(--ink);
    margin: 0;
    filter: url(#ink-rough-sm);   /* 油墨毛邊（弱）*/
}
/* 卡片標題：適度真毛邊（輕位移免小字糊）*/
.casefile__title { filter: url(#ink-rough-card); }
/* 區塊標題／頭版大字：便宜印刷暈（非 SVG，省效能；正文與 UI 不套）*/
.arc-wall__title,
.anomaly__slogan {
    text-shadow: 0.3px 0 rgba(30,17,8,.26), -0.25px 0 rgba(30,17,8,.16), 0 0.4px rgba(30,17,8,.14);
}
/* 正文超微滲墨：印在紙上的墨感、非可見扭曲（無 SVG、不傷易讀/效能）*/
.casefile__excerpt,
.anomaly__excerpt,
.dossier__abstract p,
.anomaly__verdict {
    text-shadow: 0.16px 0 rgba(30,17,8,.18), -0.1px 0 rgba(30,17,8,.1), 0 0.24px rgba(30,17,8,.09);
    text-rendering: optimizeLegibility;
}
.anomaly:hover .anomaly__title { color: var(--pen-blue); }
.anomaly__excerpt { font-size: 1.08rem; line-height: 1.85; color: var(--read); margin: 1rem 0 0; max-width: 46ch; }
.anomaly__verdict {
    font-size: 0.95rem; color: var(--ink); margin: 1.1rem 0 0;
    padding: 0.7em 0.9em;
    background: rgba(31,79,143,.06);
    border-left: 3px solid var(--pen-blue);
}
.arc-open {
    display: inline-flex; align-items: center; gap: 0.5em;
    font-family: var(--f-mono); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em;
    color: var(--pen-blue); margin-top: 1.6rem;
}
.arc-open__arrow { transition: transform .25s; }
.anomaly:hover .arc-open__arrow { transform: translateX(5px); }

/* ============================================================
   檔案牆
   ============================================================ */
.arc-wall { padding-bottom: clamp(4rem, 8vw, 7rem); }
.arc-wall__head {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem;
    padding-bottom: 1rem; margin-bottom: 2.4rem;
    border-bottom: 1.5px solid var(--ink);
}
.arc-wall__title { font-family: var(--f-serif-cjk); font-weight: 700; font-size: 1.55rem; letter-spacing: 0.04em; color: var(--ink); margin: 0; }
.arc-wall__count { font-family: var(--f-mono); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.1em; color: var(--ink-3); }

/* 觀測領域索引 */
.arc-filter { display: flex; flex-wrap: wrap; align-items: center; }
.arc-filter__btn {
    position: relative; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.06em;
    color: var(--ink-2); background: transparent; border: 0; padding: 0.35em 0.9em; cursor: pointer; transition: color .2s;
}
.arc-filter__btn + .arc-filter__btn::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 0.9em; background: var(--line-mid);
}
.arc-filter__btn:hover { color: var(--ink); }
.arc-filter__btn.is-active { color: var(--ink); font-weight: 700; }
.arc-filter__btn.is-active::after { content: ''; position: absolute; left: 0.9em; right: 0.9em; bottom: -1px; height: 2px; background: var(--pen-blue); }

.arc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: clamp(1.5rem, 2.6vw, 2.2rem);
    padding-top: 0.8rem; /* 容 tab 凸出 */
}

/* case file = 資料夾標籤頁 */
.casefile {
    position: relative;
    display: flex; flex-direction: column;
    background-color: #f1e7d4;
    background-image:
        url("../../images/blog/arc-foxing-b.png"),
        radial-gradient(140% 130% at 50% 45%, transparent 56%, rgba(74,52,20,.1)),
        url("../../images/blog/arc-paper.png");
    background-size: 440px auto, cover, 520px auto;
    background-position: center, center, center;
    background-repeat: no-repeat, no-repeat, repeat;
    background-blend-mode: multiply, multiply, multiply;
    border: 1px solid var(--line-mid);
    box-shadow: 3px 4px 0 -2px #e7ddc7, 3px 7px 15px rgba(0,0,0,.12), 7px 14px 28px rgba(0,0,0,.07);
    padding: clamp(1.35rem, 2.5vw, 1.7rem);
    transition: box-shadow .2s, transform .2s;
}
/* 每張做舊斑點裁切位置不同（避免重複露餡）*/
.casefile:nth-child(3n+1) { background-position: 12% 18%, center, center; }
.casefile:nth-child(3n+2) { background-position: 82% 66%, center, center; }
.casefile:nth-child(3n+3) { background-position: 44% 88%, center, center; }
/* 每張微歪、不一致（物理疊放感）*/
.casefile:nth-child(3n+1) { transform: rotate(-0.7deg); }
.casefile:nth-child(3n+2) { transform: rotate(0.5deg); }
.casefile:nth-child(3n+3) { transform: rotate(-0.3deg); }
.casefile.is-hidden { display: none; }

/* 資料夾標籤頁（凸出在卡上緣）*/
.casefile__tab {
    position: absolute;
    top: -15px; left: 18px;
    font-family: var(--f-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
    color: var(--paper-3);
    background: var(--ink);
    padding: 0.3em 0.85em 0.35em;
    border-radius: 3px 3px 0 0;
    box-shadow: 1px -1px 2px rgba(0,0,0,.12);
    transition: transform .2s;
}
.casefile:hover { box-shadow: 3px 4px 0 -2px #e7ddc7, 4px 10px 22px rgba(0,0,0,.16), 9px 18px 34px rgba(0,0,0,.1); }
.casefile:hover .casefile__tab { transform: translateY(-3px); }

.casefile__head { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; margin: 0.4rem 0 0.9rem; }
.casefile__no { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--ink-3); }
.casefile__status {
    font-family: var(--f-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
    color: var(--pen-blue);
    border: 1px solid currentColor; padding: 0.1em 0.45em; border-radius: 2px;
}
.casefile[data-cat="ad"] .casefile__status { color: var(--stamp-red); }
.casefile--origin .casefile__status { color: var(--gold); }

.casefile__title { font-family: var(--f-serif-cjk); font-weight: 700; font-size: 1.34rem; line-height: 1.5; margin: 0 0 0.85rem; }
.casefile__title a {
    color: var(--ink); text-decoration: none;
    background-image: linear-gradient(var(--pen-blue), var(--pen-blue));
    background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
    transition: background-size .25s, color .2s;
}
.casefile:hover .casefile__title a { color: var(--pen-blue); background-size: 100% 1.5px; }
.casefile__excerpt { font-size: 1.02rem; line-height: 1.8; color: var(--read); margin: 0 0 1.3rem; flex: 1 1 auto; }
.casefile__foot { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.05em; color: var(--ink-3); }

/* hover 浮現 OPEN FILE 戳 */
.casefile__open {
    position: absolute; bottom: clamp(1.35rem, 2.5vw, 1.7rem); right: clamp(1.35rem, 2.5vw, 1.7rem);
    font-family: var(--f-mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em;
    color: var(--pen-blue); border: 1px solid var(--pen-blue); padding: 0.2em 0.5em; border-radius: 2px;
    opacity: 0; transform: rotate(-5deg) scale(0.9); transition: opacity .2s, transform .2s;
}
.casefile:hover .casefile__open { opacity: 0.9; transform: rotate(-5deg) scale(1); }

/* 卡上實體章（廣告卡：不予受理）*/
.casefile__stamp { bottom: 13%; right: 3%; width: clamp(104px, 13vw, 128px); transform: rotate(-11deg); z-index: 2; opacity: 0.8; }
.casefile--origin { border-top: 3px solid var(--gold); }

/* 觸覺微節點：膠帶（真圖）、折角 dog-ear（CSS）*/
.casefile__tape {
    position: absolute; top: -12px; right: 26px;
    width: 88px; height: auto;
    transform: rotate(7deg);
    opacity: 0.9;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.12));
    z-index: 3; pointer-events: none;
}
.casefile__dogear {
    position: absolute; bottom: -1px; right: -1px;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 0 26px 26px;
    border-color: transparent transparent #e0d4ba transparent;
    filter: drop-shadow(-2px -2px 2px rgba(0,0,0,.16));
    z-index: 2; pointer-events: none;
}

/* ORIGIN FILE：本尊嫌犯三面存證單（跨兩欄放大、罪名讀得到）*/
.casefile--origin { grid-column: span 2; }
.casefile__evidence {
    position: relative;
    margin: 0.3rem 0 1.2rem;
    transform: rotate(-1deg);
    transition: transform .2s ease, box-shadow .2s ease;
}
.casefile__evidence > img:not(.casefile__tape) {
    display: block; width: 100%; height: auto;
    border: 1px solid rgba(74,52,20,.20);
    box-shadow: 0 7px 18px rgba(40,24,8,.24), inset 0 1px 0 rgba(255,255,255,.45);
}
.casefile__evidence figcaption {
    font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.12em;
    color: var(--ink-3); text-align: right; margin-top: 0.45rem;
}
.casefile__tape--evidence {
    top: -14px; left: 22px; right: auto;
    width: 104px; transform: rotate(-6deg);
}
.casefile--origin:hover .casefile__evidence {
    transform: rotate(0deg) translateY(-2px);
    box-shadow: 0 11px 24px rgba(40,24,8,.28), inset 0 1px 0 rgba(255,255,255,.45);
}
@media (prefers-reduced-motion: reduce) {
    .casefile__evidence, .casefile--origin:hover .casefile__evidence { transition: none; transform: rotate(-1deg); }
}
/* 控罪清單：打字機條列、罪名讀得清楚（小照片蓋章會糊）*/
.casefile__charges { margin: 0 0 1.3rem; }
.casefile__charges-label {
    font-family: var(--f-mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em;
    color: var(--stamp-red); margin: 0 0 0.55rem;
}
.casefile__charges ol { list-style: none; margin: 0; padding: 0; }
.casefile__charges li {
    display: flex; align-items: baseline; gap: 0.7em;
    padding: 0.5em 0; border-top: 1px dashed rgba(74,52,20,.22);
}
.casefile__charges li:last-child { border-bottom: 1px dashed rgba(74,52,20,.22); }
.chg-no { font-family: var(--f-mono); font-size: 0.72rem; font-weight: 700; color: var(--stamp-red); }
.chg-name { font-family: var(--f-serif-cjk); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.chg-law { margin-left: auto; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.03em; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 520px) {
    .casefile__charges li { flex-wrap: wrap; gap: 0.25em 0.7em; }
    .chg-law { margin-left: 1.7em; }
}

@media (max-width: 720px) { .casefile--origin { grid-column: auto; } }

.arc-more { text-align: center; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--ink-3); margin: clamp(2.5rem, 5vw, 4rem) 0 0; }

/* ============================================================
   頁尾
   ============================================================ */
.arc-footer { position: relative; z-index: 3; max-width: 1080px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); text-align: center; }
.arc-footer__rule { height: 1px; background: var(--line-mid); margin-bottom: 1.5rem; }
.arc-footer__mark { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.14em; color: var(--ink); margin: 0 0 0.5rem; }
.arc-footer__copy { font-size: 0.76rem; color: var(--ink-3); margin: 0; }

/* ============================================================
   進場動態：文件被攤開（動態只在外殼，不進正文；用獨立 translate/scale
   不動既有 rotate；無 .anim/無 JS = 直接顯示，漸進增強）
   ============================================================ */
.anim .dossier,
.anim .anomaly,
.anim .casefile {
    opacity: 0;
    translate: 0 24px;
    transition:
        opacity .55s ease,
        translate .62s cubic-bezier(.18,.84,.28,1),
        box-shadow .22s ease,
        transform .25s ease;
}
.anim .dossier { translate: 0 16px; }
.anim .dossier.is-in,
.anim .anomaly.is-in,
.anim .casefile.is-in {
    opacity: 1;
    translate: 0 0;
}
/* 檔案逐張錯開（翻閱感）*/
.anim .casefile:nth-child(3n+2) { transition-delay: .07s; }
.anim .casefile:nth-child(3n+3) { transition-delay: .14s; }

/* 章「蓋」下來：隨封面進場、稍延遲、放大回正、不彈跳 */
.anim .dossier .stamp {
    opacity: 0;
    scale: 1.09;
    transition: opacity .35s ease, scale .4s cubic-bezier(.2,.7,.3,1);
}
.anim .dossier.is-in .stamp { opacity: .9; scale: 1; }
.anim .dossier.is-in .stamp--confidential { transition-delay: .42s; }
.anim .dossier.is-in .stamp--public { opacity: .82; transition-delay: .64s; }

@media (prefers-reduced-motion: reduce) {
    .anim .dossier,
    .anim .anomaly,
    .anim .casefile,
    .anim .dossier .stamp {
        opacity: 1 !important;
        translate: 0 !important;
        scale: 1 !important;
        transition: none !important;
    }
}

/* ============================================================
   響應式
   ============================================================ */
@media (max-width: 768px) {
    .anomaly__title, .casefile__title { filter: none; }   /* 手機降級：只留封面 H1 毛邊 */
    .casefile__excerpt, .anomaly__excerpt, .dossier__abstract p, .anomaly__verdict {
        text-shadow: 0.1px 0 rgba(30,17,8,.12);   /* 手機正文滲墨再降，保清晰 */
    }
}
@media (max-width: 860px) {
    .anomaly { grid-template-columns: 1fr; }
    .anomaly__plate { min-height: 200px; }
    .stamp--confidential { width: 150px; }
}
@media (max-width: 560px) {
    .arc-grid { grid-template-columns: 1fr; }
    .arc-nav { flex-direction: column; gap: 0.7rem; align-items: flex-start; height: auto; padding: 0.8rem clamp(1.25rem, 4vw, 3rem); }
    .arc-nav__links { margin-left: 0; }
    .arc-nav__divider { display: none; }
    .reg-mark { display: none; }
    .dossier, .anomaly, .casefile { transform: none; }
    .stamp--confidential { width: 120px; top: 16px; right: 16px; }
}
