/* Vacant 檔案庫（2026-09-24）：每一章由一位黏土居民帶路，一句話、幾張卡片。
   共用 clay.css 的色票、頁首與底部；這裡只放本頁的版面。 */

main { overflow: hidden; }

/* ── 開頭 ─────────────────────────────── */
.ar-hero { position: relative; min-height: min(78svh, 46rem); display: flex; align-items: center; padding: calc(var(--bar-h) + 2rem) var(--gap) 7rem; }
.ar-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.ar-hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,13,10,0.92) 0%, rgba(18,13,10,0.6) 45%, rgba(18,13,10,0.15) 80%), linear-gradient(0deg, var(--night) 0%, rgba(18,13,10,0) 40%); }
.ar-hero__copy { position: relative; z-index: 1; max-width: var(--wide); width: 100%; margin: 0 auto; }
.ar-hero h1 { margin: 0 0 1rem; font-size: clamp(2.8rem, 1.6rem + 4vw, 5rem); line-height: 1.1; text-shadow: 0 2px 30px rgba(0,0,0,0.6); }
.ar-hero p { margin: 0; max-width: 30rem; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); color: #EFE3CE; }
.ar-cast { position: absolute; z-index: 1; left: 50%; bottom: -0.6rem; transform: translateX(-50%); display: flex; align-items: flex-end; gap: clamp(0.4rem, 2vw, 1.4rem); width: min(var(--wide), 100% - 2 * var(--gap)); justify-content: flex-end; }
.ar-cast img { height: clamp(4.5rem, 9vw, 7.5rem); width: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,0.55)); animation: bob 3.6s ease-in-out infinite; }
.ar-cast img:nth-child(2n) { animation-delay: -1.2s; }
.ar-cast img:nth-child(3n) { animation-delay: -2.1s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ── 先說結論 ─────────────────────────── */
.ar-sum { max-width: var(--wide); margin: 0 auto; padding: clamp(3rem, 7vw, 4.5rem) var(--gap) 0; }
.ar-sum h2 { margin: 0 0 1.2rem; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.ar-sum ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.ar-sum li { position: relative; padding: 1.3rem 1.3rem 1.2rem 3.4rem; border-radius: 14px; background: var(--night-2); counter-increment: s; }
.ar-sum li::before { content: counter(s); position: absolute; left: 1.1rem; top: 1.15rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--amber); color: var(--night); font-family: var(--mono); font-weight: 500; display: grid; place-items: center; font-size: 0.9rem; }
.ar-sum b { display: block; font-family: var(--voice); font-size: 1.2rem; line-height: 1.4; margin-bottom: 0.35rem; }
.ar-sum p { margin: 0; color: #CDBFA8; font-size: 0.95rem; }

/* ── 每一章 ───────────────────────────── */
.room { max-width: var(--wide); margin: 0 auto; padding: clamp(3.5rem, 8vw, 5.5rem) var(--gap) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.room--flip .room__stage { order: 2; }
.room__stage { position: relative; }
.room__plate { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.85); }
.room__guide { position: absolute; left: 6%; bottom: -1.5rem; display: flex; align-items: flex-end; gap: 0.2rem; max-width: 88%; }
.room--flip .room__guide { left: auto; right: 6%; flex-direction: row-reverse; }
.room__guide img { height: clamp(6rem, 12vw, 9rem); width: auto; flex: none; filter: drop-shadow(0 12px 16px rgba(0,0,0,0.6)); animation: bob 3.8s ease-in-out infinite; }
.bubble { position: relative; margin: 0 0 clamp(4rem, 8vw, 6rem); padding: 0.75rem 1rem; background: var(--cream); color: var(--cream-ink); border-radius: 16px; font-family: var(--voice); font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.12rem); line-height: 1.5; box-shadow: 0 12px 24px -12px rgba(0,0,0,0.6); }
.bubble::after { content: ""; position: absolute; left: -0.5rem; bottom: 0.9rem; border: 0.5rem solid transparent; border-right-color: var(--cream); border-left: 0; }
.room--flip .bubble::after { left: auto; right: -0.5rem; border-right-color: transparent; border-left: 0.5rem solid var(--cream); border-right: 0; }
.room__n { margin: 0 0 0.2rem; font-family: var(--mono); color: var(--amber); font-size: 0.95rem; }
.room h2 { margin: 0 0 1rem; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); line-height: 1.2; }
.room__premise { margin: 0 0 1rem; padding: 0.8rem 1rem; border-radius: 12px; background: rgba(243,233,214,0.05); color: #BFAF97; font-size: 0.85rem; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.card { padding: 1rem 1.1rem; border-radius: 14px; background: rgba(243,233,214,0.06); display: flex; flex-direction: column; gap: 0.3rem; transition: background 200ms, transform 200ms; }
.card:has(a):hover { background: rgba(243,233,214,0.11); transform: translateY(-2px); }
.card a, .card b { color: var(--cream); font-weight: 700; text-decoration: none; font-size: 1.02rem; line-height: 1.45; }
.card a::after { content: " ↗"; color: var(--amber); font-weight: 400; }
.card a:hover { color: var(--amber-2); }
.card p { margin: 0; color: #CDBFA8; font-size: 0.92rem; line-height: 1.65; }
.card--note { background: transparent; box-shadow: inset 0 0 0 1px rgba(243,233,214,0.14); }

/* ── 結尾 ─────────────────────────────── */
.ar-end { max-width: var(--wide); margin: clamp(4rem, 9vw, 6rem) auto clamp(3rem, 7vw, 4.5rem); padding: 0 var(--gap); display: flex; align-items: flex-end; gap: 1.5rem; }
.ar-end__guide { height: clamp(6rem, 12vw, 8.5rem); width: auto; filter: drop-shadow(0 12px 16px rgba(0,0,0,0.6)); }
.ar-end h2 { margin: 0 0 0.4rem; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }
.ar-end p { margin: 0 0 0.8rem; color: #CDBFA8; }

.bar__nav a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--amber); }

@media (max-width: 900px) {
  .ar-sum ol, .cards { grid-template-columns: minmax(0, 1fr); }
  .room { grid-template-columns: minmax(0, 1fr); }
  .room--flip .room__stage { order: 0; }
  .room__body { padding-top: 1.5rem; }
  .ar-cast { justify-content: center; }
}
@media (max-width: 560px) {
  .ar-cast img:nth-child(n+5) { display: none; }
  .room__guide img { height: 5.5rem; }
  .bubble { margin-bottom: 3.2rem; font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ar-cast img, .room__guide img { animation: none; }
}

/* ── 引導到 docs／blog ─────────────────────── */
.ar-hero__deeper { margin: 1.2rem 0 0; max-width: 38rem; font-size: 0.98rem; line-height: 1.8; color: #E4D8C2; }
.ar-hero__deeper a { color: var(--amber-2); font-weight: 700; }

.ar-deeper { max-width: var(--wide); margin: 0 auto; padding: 4rem var(--gap) 5rem; }
.ar-deeper h2 { margin: 0 0 0.6rem; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); }
.ar-deeper__lede { margin: 0 0 2rem; color: #BFAF97; max-width: 38rem; }
.ar-deeper__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; }
.ar-deeper__grid a { display: block; height: 100%; padding: 1.3rem 1.4rem; border: 1.5px solid rgba(243,233,214,0.2); border-radius: 14px; text-decoration: none; background: rgba(243,233,214,0.04); }
.ar-deeper__grid a:hover { border-color: var(--amber); background: rgba(232,185,138,0.12); }
.ar-deeper__grid b { display: block; font-family: var(--voice); font-size: 1.25rem; color: var(--cream); margin-bottom: 0.4rem; }
.ar-deeper__grid span { display: block; font-size: 0.93rem; line-height: 1.75; color: #C9BCA6; }
