/* News section (/news, /news/<slug>) plus the home page "Latest from the seam" strip and "On the battlefield".
   Loaded after style.css and reuses its tokens (--base, --panel, --bone, --dim, --gilt, --static). */

/* The one bold element: the seam, a thin jagged gold crack that runs down the news ledger.
   Each post is a node on it. Everything else stays quiet. */
:root {
  --seam-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='120' viewBox='0 0 14 120'%3E%3Cpath d='M7 0 L11 20 L3 40 L10 60 L4 80 L9 100 L7 120' fill='none' stroke='%23C9942E' stroke-width='1.6' stroke-linejoin='bevel' opacity='.75'/%3E%3C/svg%3E");
  --cut: polygon(0 0, 100% 0, 100% 90%, 95% 100%, 0 100%);
}

.news-page main { padding-top: calc(76px + clamp(3rem, 8vw, 7rem)); }
.news-page .crumbs a, .news-page .crumbs span { color: var(--dim); }

/* ---- index: the ledger ---- */
.news-head, .ledger { width: calc(100% - 8vw); max-width: 1440px; margin-inline: auto; }
.news-head { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.news-head h1 { font-size: clamp(3.4rem, 9vw, 9rem); line-height: .92; margin: 0 0 1.2rem; }
.news-head p { max-width: 52ch; margin: 0; color: var(--dim); font-size: 1.05rem; line-height: 1.65; }

.ledger { --date-w: 7rem; --gap: 4.5rem; list-style: none; margin-block: 0; padding: 0 0 6rem; position: relative; }
.ledger::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 14px;
  left: calc(var(--date-w) + var(--gap) / 2); transform: translateX(-50%);
  background: var(--seam-line) repeat-y center top;
}
.entry { display: grid; grid-template-columns: var(--date-w) var(--gap) minmax(0, 1fr); padding-bottom: clamp(3rem, 6vw, 5.5rem); position: relative; }
.entry::before {
  content: ""; position: absolute; top: .72rem; left: calc(var(--date-w) + var(--gap) / 2);
  width: 11px; height: 11px; background: var(--gilt); box-shadow: 0 0 0 5px var(--base);
  transform: translateX(-50%) rotate(45deg);
}
.entry time { grid-column: 1; text-align: right; padding-top: .1rem; line-height: 1.15; }
.entry time b { display: block; font: 400 1.7rem/1 Georgia, serif; letter-spacing: -.04em; color: var(--bone); }
.entry time span { display: block; margin-top: .3rem; color: var(--dim); font-size: .8rem; }
.entry article { grid-column: 3; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: clamp(1.4rem, 3vw, 3rem); align-items: start; }
.entry-img { display: block; aspect-ratio: 16 / 9; background: var(--panel); clip-path: var(--cut); overflow: hidden; }
.entry-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.entry:hover .entry-img img { transform: scale(1.03); }
.entry-text .tag { margin: 0 0 .7rem; color: var(--gilt); font-size: .82rem; font-weight: 800; letter-spacing: .04em; }
.entry-text h2 { margin: 0 0 .9rem; font-size: clamp(1.7rem, 2.8vw, 2.7rem); line-height: 1.02; }
.entry-text h2 a { color: var(--bone); text-decoration: none; }
.entry-text h2 a:hover, .entry-text h2 a:focus-visible { color: var(--gilt); }
.entry-text p { margin: 0 0 1.1rem; color: var(--dim); line-height: 1.65; max-width: 46ch; }
.entry-text .more { font-weight: 800; font-size: .9rem; text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }

/* ---- a post ---- */
.post { width: calc(100% - 8vw); max-width: 980px; margin-inline: auto; padding-bottom: 5rem; }
.crumbs { margin-bottom: 2.4rem; font-size: .85rem; }
.crumbs span { margin-inline: .4rem; }
.post-head h1 { max-width: 20ch; margin: 0 0 1.1rem; font-size: clamp(2.5rem, 5.6vw, 4.8rem); line-height: .98; }
.post-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin: 0; color: var(--dim); font-size: .9rem; }
.post-meta span { color: var(--gilt); font-weight: 800; }
.post-cover { margin: 2rem 0 2.4rem; clip-path: var(--cut); background: var(--panel); }
.post-cover img { display: block; width: 100%; height: auto; }
.prose { max-width: 68ch; font-size: 1.06rem; line-height: 1.78; }
.prose p { margin: 0 0 1.25rem; }
.prose h2 { margin: 2.6rem 0 .8rem; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.05; }
.prose a { text-decoration: underline; text-underline-offset: .22em; }
.prose ul, .changes ul { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.prose li, .changes li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; }
.prose li::before, .changes li::before { content: ""; position: absolute; left: .15rem; top: .72em; width: 7px; height: 7px; background: var(--gilt); transform: rotate(45deg); }
.prose figure { margin: 2rem 0; }
.prose figure img { display: block; max-width: 100%; height: auto; clip-path: var(--cut); }
.prose figure img[height="1125"] { max-width: 380px; }
.prose figcaption { margin-top: .6rem; color: var(--dim); font-size: .88rem; }
.changes { max-width: 68ch; margin-top: 2.8rem; padding: 1.6rem 1.8rem 1.1rem; background: var(--panel); border-left: 2px solid var(--gilt); }
.changes h2 { margin: 0 0 1rem; font-size: 1.6rem; }
.changes li { margin-bottom: .75rem; line-height: 1.55; }

.play-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; margin: 3.5rem 0 2.5rem; padding: 1.8rem 0; border-block: 1px solid #ffffff22; }
.play-band p { margin: 0; max-width: 40ch; color: var(--dim); line-height: 1.55; }
.play-band div { display: flex; flex-wrap: wrap; gap: .7rem; }
.play-band .btn { display: inline-block; padding: .85rem 1.2rem; font-weight: 800; font-size: .9rem; text-decoration: none; border: 1px solid #ffffff55; color: var(--bone); }
.play-band .btn.primary { border-color: var(--gilt); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pager a { display: block; padding: 1rem 1.2rem; background: var(--panel); border-top: 1px solid #c9942e66; color: var(--bone); text-decoration: none; }
.pager a:hover, .pager a:focus-visible { background: var(--raised); }
.pager small { display: block; margin-bottom: .3rem; color: var(--gilt); font-weight: 800; font-size: .8rem; }
.pager span { font: 400 1.2rem/1.15 Georgia, serif; letter-spacing: -.03em; }
.pager .newer { text-align: right; }

/* ---- home: Latest from the seam ---- */
.news-strip { padding-block: clamp(3rem, 7vw, 6rem); }
.news-strip .sub a { text-decoration: underline; text-underline-offset: .25em; }
.news-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.news-card { display: block; color: var(--bone); text-decoration: none; }
.news-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; clip-path: var(--cut); background: var(--panel); }
.news-card time { display: block; margin: .9rem 0 .35rem; color: var(--gilt); font-size: .82rem; font-weight: 800; }
.news-card h3 { margin: 0; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.08; }
.news-card:hover h3, .news-card:focus-visible h3 { color: var(--gilt); }

/* ---- home: On the battlefield (real captures) ---- */
.field { padding-block: clamp(3rem, 7vw, 6rem); }
.field-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 2.4vw, 2rem); align-items: start; }
.field figure { margin: 0; }
.field figcaption { margin-top: .7rem; color: var(--dim); font-size: .92rem; line-height: 1.55; max-width: 44ch; }
.field-clip { grid-row: span 2; }
.field-clip video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--panel); border: 1px solid #c9942e66; }
.field-outpost { grid-column: 2 / 4; }
.field-outpost img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 35%; clip-path: var(--cut); }
.field-pair img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 14%; clip-path: var(--cut); background: var(--panel); }

@media (max-width: 900px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field-clip { grid-row: auto; grid-column: 1 / 3; max-width: 320px; }
  .field-outpost { grid-column: 1 / 3; }
}
@media (max-width: 760px) {
  .ledger { --date-w: 0rem; --gap: 2rem; }
  .ledger::before, .entry::before { left: 1rem; }
  .entry { grid-template-columns: 2rem minmax(0, 1fr); }
  .entry time { grid-column: 2; grid-row: 1; text-align: left; display: flex; gap: .5rem; align-items: baseline; margin-bottom: .9rem; }
  .entry time span { margin: 0; }
  .entry article { grid-column: 2; grid-row: 2; grid-template-columns: 1fr; }
  .news-cards { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager .newer { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .entry-img img { transition: none; }
  .entry:hover .entry-img img { transform: none; }
}
