/* Devlog (/devlog/): calm, text-first timeline on top of site.css */

.dl { max-width: 860px; margin: 0 auto; padding: 130px 16px 90px; }

.dl h1, .dl h2, .pn { font-variant-numeric: lining-nums; }

/* gentle reveal: short distance, slow fade, no bounce */
.dl .reveal { transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }

.dl-head { text-align: center; margin-bottom: 56px; }
.dl-head h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 16px; }
.dl-sub { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* latest post */
.latest { display: block; text-decoration: none; color: var(--ink); padding: clamp(24px, 4vw, 40px); margin-bottom: 56px;
          border: 1px solid var(--line); border-radius: 18px;
          background: radial-gradient(ellipse at 0% 0%, rgba(124, 45, 58, .22), transparent 60%),
                      linear-gradient(160deg, rgba(207, 184, 133, .07), rgba(11, 10, 12, 0));
          transition: border-color .4s; }
.latest:hover { border-color: rgba(207, 184, 133, .55); }
.latest h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 4px 0 14px; }
.latest p { color: #d7cfc2; margin: 0 0 18px; }
.read { font: 600 .85rem/1 var(--sans); color: var(--gold); letter-spacing: .04em; }
.read span { display: inline-block; transition: transform .3s; }
.latest:hover .read span { transform: translateX(4px); }

/* filters */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { font: 500 .82rem/1 var(--sans); color: var(--muted); background: transparent; cursor: pointer;
        border: 1px solid rgba(239, 233, 223, .18); border-radius: 999px; padding: 9px 15px; transition: color .25s, border-color .25s, background .25s; }
.chip span { opacity: .6; margin-left: 4px; }
.chip:hover { color: var(--ink); border-color: var(--line); }
.chip[aria-pressed="true"] { color: #17130b; background: var(--gold); border-color: var(--gold); }

/* timeline */
.timeline-list { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.timeline-list::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px;
                         background: linear-gradient(to bottom, var(--gold), var(--line) 30%, transparent); }
.month { font: 600 .72rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
         margin: 34px 0 12px; position: relative; }
.month:first-child { margin-top: 0; }
.month::before { content: ""; position: absolute; left: -26px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
                 border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); }
.entry { position: relative; display: grid; grid-template-columns: 118px 1fr; gap: 18px; padding: 18px 0;
         border-bottom: 1px solid rgba(207, 184, 133, .1); }
.entry time { font-size: .8rem; color: var(--muted); padding-top: 4px; }
.entry-link { text-decoration: none; color: var(--ink); display: block; }
.entry-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.entry h2 { font-size: 1.28rem; margin: 0 0 6px; transition: color .25s; }
.entry p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6;
           display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.entry-link:hover h2 { color: var(--gold-2); }
.tag, .lock { font: 600 .64rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.tag { color: var(--gold); }
.tag-release { color: #e3a6ae; }
.tag-character { color: #c8b6e8; }
.lock { color: var(--muted); border: 1px solid rgba(239, 233, 223, .2); border-radius: 999px; padding: 3px 7px; }
.more-hidden, .filtered { display: none; }
.more-wrap { text-align: center; margin: 34px 0 0; }
.more-wrap[hidden] { display: none; }

.dl-follow { text-align: center; margin-top: 90px; padding-top: 50px; border-top: 1px solid var(--line); }
.dl-follow p { color: #d7cfc2; }
.dl-follow .cta { margin-top: 22px; }

/* single post */
.post { max-width: 720px; }
.post-head { margin-bottom: 36px; }
.back { display: inline-block; font-size: .85rem; color: var(--muted); text-decoration: none; margin-bottom: 26px; }
.back:hover { color: var(--gold-2); }
.post-head h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.prose { color: #ddd5c8; font-size: 1.04rem; line-height: 1.8; }
.prose p { margin: 0 0 1.1em; }
.prose h3 { font-size: 1.45rem; margin: 1.8em 0 .6em; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold-2); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose figure { margin: 1.6em 0; }
.prose img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.prose blockquote { margin: 1.2em 0; padding-left: 18px; border-left: 2px solid var(--gold); font: italic 500 1.1rem/1.6 var(--serif); color: var(--gold-2); }
.locked { margin: 28px 0 10px; padding: 28px; text-align: center; border: 1px solid var(--line); border-radius: 16px;
          background: linear-gradient(160deg, rgba(207, 184, 133, .07), rgba(124, 45, 58, .08)); }
.locked p { color: #d7cfc2; margin: 0 0 20px; }
.locked .kicker { margin-bottom: 8px; }
.origin { font-size: .85rem; color: var(--muted); margin-top: 40px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.pn { display: block; padding: 16px 18px; border: 1px solid rgba(207, 184, 133, .14); border-radius: 12px; text-decoration: none;
      color: var(--ink); font: 700 1rem/1.35 var(--serif); transition: border-color .3s; }
.pn span { display: block; font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.pn.newer { text-align: right; grid-column: 2; }
.pn:hover { border-color: var(--gold); }

@media (max-width: 640px) {
  .dl { padding-top: 100px; }
  .entry { grid-template-columns: 1fr; gap: 4px; }
  .post-nav { grid-template-columns: 1fr; }
  .pn.newer { grid-column: auto; text-align: left; }
}

/* download buttons (links to the Patreon post) */
.downloads { margin: 1.6em 0; padding: 22px; text-align: center; border: 1px solid var(--line); border-radius: 16px;
             background: linear-gradient(160deg, rgba(207, 184, 133, .07), rgba(124, 45, 58, .06)); }
.downloads .kicker { margin-bottom: 14px; }
.downloads-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.downloads-row .btn { min-width: 110px; text-decoration: none; color: var(--ink); }
.downloads-note { margin: 12px 0 0 !important; font-size: .8rem; color: var(--muted); }
.prose a.dl-btn { color: var(--gold-2); }
