/* Helm "Latest news": home page section (#news), news/index.html and article pages.
   Built by tools/build-news.js. Bump NEWS_V there (and the tag in index.html) after editing this file. */

/* Two lanes side by side: Aotearoa & Australia, and World */
.news__lanes { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .news__lanes { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.news__lane-title { display: flex; align-items: center; gap: 10px; color: var(--brass); font: 500 .75rem/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--s-3); }
.news__lane-title::after { content: ""; flex: 1; height: 1px; background: var(--seam); }

/* Lead story card */
.ncard { gap: 10px; padding: var(--s-4); }
.ncard p { flex: none; }
.ncard__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 500 .7rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ncard__meta .is-region { color: var(--red-400); }
.ncard__title { margin: 0; font: 600 clamp(1.2rem, 2.2vw, 1.5rem)/1.25 var(--f-display); color: var(--bone); transition: color var(--t-fast); }
.ncard__dek { color: var(--soft, #d9d0bf) !important; }
.ncard .link { margin-top: 4px; font-size: .8rem; }

/* Older headlines under the lead card */
.news__more { margin-top: var(--s-3); border-top: 1px solid var(--seam); }
.news__more li { border-bottom: 1px solid var(--seam); }
.news__more a { display: grid; gap: 2px; padding: 12px 2px; color: var(--bone); text-decoration: none; transition: color var(--t-fast); }
.news__more a:hover { color: var(--brass-hi); }
.news__more .mono { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.news__empty { color: var(--muted); font-style: italic; padding: var(--s-3) 0; }
.news__all { margin-top: var(--s-5); }

/* Horizon: a faint planet rising from the bottom of the section (js/news-map.js) */
.news, .nx-page, .na-page { position: relative; overflow: hidden; }
.news > .wrap, .nx-page > .wrap, .na-page > .na { position: relative; z-index: 1; }
.nhz { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease-out); }
.nhz.is-ready { opacity: 1; }
.nhz svg { width: 100%; height: 100%; display: block; }
/* 2026-11-26: black page, a fainter planet drawn in very light red outlines; the story's country fills light red */
body:has(.nx-page), body:has(.na-page) { --nhz-red: 240, 150, 140; background: #000; }
.nx-page, .na-page { background: #000; }
.nhz__atm { fill: url(#nhzAtm); }
.nhz__atm-in { stop-color: rgb(var(--nhz-red)); stop-opacity: .06; }
.nhz__atm-out { stop-color: rgb(var(--nhz-red)); stop-opacity: 0; }
.nhz__sphere { fill: #000; stroke: rgb(var(--nhz-red)); stroke-opacity: .2; stroke-width: 1; }
.nhz__grat { fill: none; stroke: rgb(var(--nhz-red)); stroke-opacity: .035; }
.nhz__land { fill: none; stroke: rgb(var(--nhz-red)); stroke-opacity: .16; stroke-width: .75; }
.nhz__hit { fill: rgb(255, 120, 118); fill-opacity: .11; stroke: rgb(255, 150, 145); stroke-opacity: .7; stroke-width: 1; filter: url(#nhzGlow); transition: d .1s; }
.nhz__dot { fill: rgb(var(--nhz-red)); filter: url(#nhzGlow); }
/* cards let the planet show through */
.news .plate, .nx-page .plate { background: rgba(var(--rgb-plate), .62); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.ncard__meta .is-where { color: var(--brass); }

/* News index, "Editorial" layout (chosen 2026-11-26): big lead story, then rows of three. Pictures and headlines only. */
.ed .wrap { max-width: 1180px; }
.ed { padding-top: 104px; } /* fixed menu bar is ~76px; this leaves a ~28px gap above the photo */
.ed-h1 { margin: var(--s-6) 0 var(--s-5); text-align: center; font: 500 .7rem/1 var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--brass); }
.ed-lead, .ed-tile { display: block; color: var(--bone); text-decoration: none; }
.ed-img { position: relative; overflow: hidden; border-radius: 2px; background: var(--ink-2); aspect-ratio: 4/3; }
.ed-img--wide { aspect-ratio: 21/9; }
@media (max-width: 700px) { .ed-img--wide { aspect-ratio: 4/3; } }
.ed-img > *:not(.ed-play) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ed-lead:hover .ed-img > *:not(.ed-play), .ed-tile:hover .ed-img > *:not(.ed-play) { transform: scale(1.035); }
/* soft colour backgrounds until a story has its own picture */
.ed-img--world > i { background: radial-gradient(ellipse at 72% 28%, rgba(232,106,156,.75), transparent 50%), radial-gradient(ellipse at 18% 82%, rgba(47,181,201,.55), transparent 55%), linear-gradient(160deg, #2c1838, #0f0b15); }
.ed-img--nz > i { background: radial-gradient(ellipse at 28% 30%, rgba(62,120,96,.8), transparent 60%), radial-gradient(ellipse at 82% 72%, rgba(140,98,40,.6), transparent 55%), linear-gradient(160deg, #152019, #0d0b09); }
.ed-img--video > i { background: radial-gradient(ellipse at 70% 30%, rgba(201,163,90,.55), transparent 55%), radial-gradient(ellipse at 20% 80%, rgba(196,72,47,.45), transparent 55%), linear-gradient(160deg, #2a1d12, #0d0b09); }
/* hosted video: the vertical poster sits in the middle, with a blurred copy filling the sides */
.ed-img > .ed-blur { filter: blur(22px) brightness(.45) saturate(1.2); transform: scale(1.2); }
.ed-tile:hover .ed-img > .ed-blur { transform: scale(1.2); }
.ed-img > .ed-poster { left: 50%; width: auto; aspect-ratio: 9/16; object-fit: cover; translate: -50% 0; box-shadow: 0 0 40px rgba(0,0,0,.6); }

/* on-page video player (js/news-video.js) */
.nv { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 56px 16px 24px; background: rgba(0,0,0,.92); opacity: 0; transition: opacity .25s ease; }
.nv.is-on { opacity: 1; }
.nv[hidden] { display: none; }
.nv__inner { display: flex; flex-direction: column; align-items: center; max-height: 100%; }
.nv__video { display: block; height: min(80vh, 860px); max-width: 100%; aspect-ratio: 9/16; background: #000; border-radius: 2px; box-shadow: 0 30px 80px rgba(0,0,0,.8); }
.nv__title { margin: 14px 0 0; font: 600 1rem/1.3 var(--f-display); color: var(--bone); text-align: center; }
.nv__close { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border: 1px solid rgba(236,227,208,.25); border-radius: 50%; background: transparent; color: var(--bone); font: 300 1.8rem/1 var(--f-body); cursor: pointer; }
.nv__close:hover, .nv__close:focus-visible { border-color: var(--brass); color: var(--brass-hi); outline: none; }
html.nv-open { overflow: hidden; }

.ed-split { display: grid; grid-template-columns: 1fr 1fr; }
.ed-split--1 { grid-template-columns: 1fr; }
.ed-split img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-play { position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(236,227,208,.92); display: grid; place-items: center; }
.ed-play::before { content: ""; margin-left: 3px; border-left: 10px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ed-meta { display: flex; justify-content: flex-start; gap: 14px; margin: 12px 0 0; font: 500 .64rem/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ed-meta .is-region { color: var(--brass); }
.ed-tile[data-country="NZ"] .is-region, .ed-tile[data-country="AU"] .is-region, .ed-lead[data-country="NZ"] .is-region, .ed-lead[data-country="AU"] .is-region { color: var(--red-400); }
.ed-t { margin: 20px 0 0; font: 600 1.05rem/1.3 var(--f-display); color: var(--bone); transition: color .3s; }
.ed-t--xl { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.08; }
.ed-lead:hover .ed-t, .ed-tile:hover .ed-t { color: var(--brass-hi); }
.ed-more { display: inline-block; margin-top: 12px; font: 500 .66rem/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); border-bottom: 1px solid rgba(201,163,90,.35); padding-bottom: 4px; transition: color .25s, border-color .25s; }
.ed-more span { display: inline-block; transition: transform .25s; }
.ed-lead:hover .ed-more, .ed-tile:hover .ed-more { color: var(--brass-hi); border-color: var(--brass-hi); }
.ed-lead:hover .ed-more span, .ed-tile:hover .ed-more span { transform: translateX(4px); }
.ed-lead__txt .ed-more { margin-top: 18px; }
.ed-lead__txt { max-width: 760px; margin: 0 auto; text-align: center; }
.ed-lead__txt .ed-meta { justify-content: center; }
.ed-row { display: grid; gap: 48px 40px; margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--seam); }
@media (min-width: 820px) { .ed-row { grid-template-columns: repeat(3, 1fr); } }
.ed-lead:focus-visible, .ed-tile:focus-visible { outline: 1px solid var(--brass); outline-offset: 6px; }

/* Helm Weekly newsletter sign-up (news index and article pages) */
/* "Frame" (chosen 2026-11-26, concept 3 of concepts/newsletter.html): a thin frame with brass corners and the Helm mark */
.nl-box { position: relative; z-index: 1; max-width: 620px; margin: var(--s-8) auto 0; padding: 56px clamp(24px, 6vw, 64px) 52px; text-align: center; }
.nl-mark { display: block; width: 30px; height: auto; margin: 0 auto 18px; opacity: .9; }
.nl-k { margin: 0 0 28px; font: 600 clamp(1.05rem, 2.2vw, 1.35rem)/1.2 var(--f-display); letter-spacing: .28em; text-transform: uppercase; color: var(--brass); }
.nl { display: grid; gap: 10px; }
.nl input[type="email"] { height: 52px; padding: 0 18px; background: transparent; border: 1px solid rgba(236,227,208,.16); border-radius: 2px; color: var(--bone); font: 400 1rem/1 var(--f-body); text-align: center; }
.nl input[type="email"]::placeholder { color: var(--muted); }
.nl input[type="email"]:focus { outline: none; border-color: var(--brass); }
.nl button { height: 52px; border: 1px solid var(--brass); border-radius: 2px; background: none; color: var(--brass-hi); font: 600 .68rem/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s; }
.nl button:hover { background: var(--brass); color: #000; }
.nl button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.nl button:disabled { opacity: .6; cursor: wait; }
.nl__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl__msg { min-height: 1.4em; margin: 4px 0 0; font: 400 .9rem/1.4 var(--f-body); color: var(--soft, #d9d0bf); }
.nl.is-ok .nl__msg { color: var(--brass-hi); } .nl.is-err .nl__msg { color: var(--red-400); }

/* HELM Weekly strip at the top of Latest news (2026-11-29): latest issue / one line on the left, sign-up on the right */
.wk-strip { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin: 8px 0 34px; padding: 18px 18px 18px 24px; border-radius: 18px;
  background: linear-gradient(90deg, rgba(150,22,28,.22), rgba(20,20,24,.6) 55%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.wk-strip__l { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1 1 280px; }
.wk-strip__k { margin: 0; font: 600 10px/1 var(--f-body); letter-spacing: .32em; color: #c9a24a; }
.wk-strip__t { margin: 0; font: 600 16px/1.35 var(--f-body); color: #f5f5f7; }
.wk-strip__t a { color: #ff8a7a; text-decoration: none; white-space: nowrap; margin-left: 4px; }
.wk-strip__t a:hover { text-decoration: underline; }
.wk-strip .nl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 0 1 auto; }
.wk-strip .nl input[type="email"] { width: 240px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #f5f5f7; font: 400 14px/1 var(--f-body); text-align: left; }
.wk-strip .nl input[type="email"]:focus { border-color: rgba(255,120,110,.5); }
.wk-strip .nl button { height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: #f5f5f7; color: #000; font: 600 14px/1 var(--f-body); letter-spacing: 0; text-transform: none; white-space: nowrap; }
.wk-strip .nl button:hover { background: #fff; color: #000; box-shadow: 0 8px 24px rgba(200,40,40,.25); }
.wk-strip .nl__msg { flex-basis: 100%; min-height: 0; margin: 0; font-size: .85rem; }
.wk-strip .nl__msg:empty { display: none; }
@media (max-width: 640px) {
  .wk-strip { padding: 18px; }
  .wk-strip .nl { width: 100%; } .wk-strip .nl input[type="email"] { flex: 1 1 100%; width: 100%; } .wk-strip .nl button { flex: 1; }
}
.nl-t { margin: 18px 0 0; font: 600 clamp(1.4rem, 3vw, 2rem)/1.2 var(--f-display); color: var(--bone); }
.na .nl-box { margin-top: var(--s-6); }

/* News index page */
.nx-lanes { margin-bottom: var(--s-8); }
.nx-list li + li { margin-top: var(--s-3); }

/* Article page */
.na { max-width: 820px; }
.na__meta { margin-bottom: var(--s-3); }
.na .gs-title { font-size: clamp(2rem, 5vw, 3.4rem); }
.na .rv__body { margin-bottom: var(--s-6); }
.na__pic { margin: var(--s-5) 0 var(--s-6); }
.na__pic img { display: block; width: 100%; height: auto; border-radius: 2px; }
.na__related { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; }
.na__next { margin-bottom: var(--s-8); }
.na-page, .nx-page { padding-bottom: min(52vh, 520px); } /* room at the bottom for the planet to rise into */
.na-page .na__next { margin-bottom: 0; }
