/* Northline PR — newsroom styles (loaded only on /news pages, after site.css) */

/* ---------- Article header ---------- */
.article-head { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(26px, 3.5vw, 36px); }
.article-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(560px 340px at 88% 10%, rgba(224, 85, 47, .09), transparent 70%),
    repeating-linear-gradient(to bottom, transparent 0 63px, rgba(14, 23, 38, .045) 63px 64px);
}
.labels { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 20px; }
.label {
  display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; border: 1.5px solid var(--ink); line-height: 1;
}
.label.solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.label-text { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); }
.article-head h1 {
  font-size: clamp(36px, 5.4vw, 70px); line-height: 1.03; letter-spacing: -.026em;
  margin: 0 0 22px; max-width: 17em; text-wrap: balance;
}
.dek {
  font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 40;
  font-size: clamp(19px, 2vw, 25px); line-height: 1.38; color: var(--ink-2);
  max-width: 38em; margin: 0 0 30px;
}

/* Byline + share */
.byline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 16px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-strong);
}
.byline .who { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.35; }
.byline .who svg { width: 38px; height: 38px; flex: none; }
.byline .who strong { display: block; font-weight: 600; }
.byline .who span { color: var(--muted); font-size: 14px; }
.share { display: flex; align-items: center; gap: 8px; }
.share-label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.share a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); color: var(--ink); transition: background .2s, color .2s, border-color .2s;
}
.share a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.share svg { width: 16px; height: 16px; }

/* ---------- Lead photo ---------- */
.article-figure { margin: 0 auto; }
.article-figure img { width: 100%; height: auto; border-radius: 4px; background: var(--paper-2); }
.article-figure figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  padding: 12px 0 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--muted);
}
.article-figure .credit { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Body + sidebar ---------- */
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px 72px; align-items: start;
  padding-top: clamp(34px, 4.5vw, 52px); padding-bottom: clamp(64px, 8vw, 100px);
}
.article-body {
  font-family: var(--serif); font-variation-settings: "opsz" 14; font-weight: 400;
  font-size: 19.5px; line-height: 1.72; color: var(--ink-2); max-width: 690px;
}
.article-body p { margin: 0 0 24px; }
.article-body .dateline { font-family: var(--sans); font-size: .76em; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.article-body h2 {
  font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 60;
  font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.012em; color: var(--ink); margin: 42px 0 14px;
}
.article-body a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--ink); }

.pullquote { margin: 40px 0 42px; max-width: none; padding: 4px 0 4px 28px; border-left: 3px solid var(--accent); }
.pullquote p {
  font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 72;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; letter-spacing: -.012em;
  color: var(--ink); margin: 0 0 16px; max-width: none;
}
.pullquote footer { margin: 0; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }

.end-mark { text-align: center; font-family: var(--sans); font-size: 15px; letter-spacing: .5em; color: var(--muted); margin: 36px 0 34px !important; }

.boiler { font-family: var(--sans); border-top: 1px solid var(--ink); padding-top: 26px; }
.boiler h3 { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 8px; }
.boiler p { font-size: 16px; line-height: 1.62; color: var(--ink-2); margin: 0 0 24px; }
.boiler p:last-child { margin-bottom: 0; }

/* Sidebar */
.article-aside { display: grid; gap: 20px; position: sticky; top: 96px; }
.facts { background: var(--ink); color: var(--on-dark); border-radius: 18px; padding: 26px 24px 10px; }
.aside-title { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; line-height: 1.2; }
.facts .aside-title { color: var(--accent-soft); }
.facts dl { margin: 0; }
.facts dt { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.facts dd {
  margin: 4px 0 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1);
  font-family: var(--serif); font-size: 18px; line-height: 1.3; color: #fff;
}
.facts dd:last-of-type { border-bottom: 0; margin-bottom: 0; }
.related .aside-title { color: var(--accent-deep); }
.related ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.related li { border-bottom: 1px solid var(--line-strong); }
.related a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; text-decoration: none; }
.related a strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.25; }
.related a strong { color: var(--ink); }
.related a small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.related a .go { color: var(--accent-deep); font-size: 16px; }
.related a:hover strong { color: var(--accent-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 640px) {
  .article-body { font-size: 18px; line-height: 1.68; }
  .article-aside { grid-template-columns: 1fr; }
  .pullquote { padding-left: 20px; }
  .byline { align-items: flex-start; }
  .article-figure figcaption { font-size: 13.5px; }
}

/* Lists and sources in articles */
.article-body ul { margin: 0 0 24px; padding-left: 1.15em; }
.article-body li { margin: 0 0 12px; padding-left: 4px; }
.article-body li::marker { color: var(--accent); }
.article-body li strong { color: var(--ink); font-weight: 600; }
.article-body ul.sources { font-family: var(--sans); font-size: 15px; line-height: 1.5; }
.article-body ul.sources li { margin-bottom: 8px; }

/* Founder photos: portraits shown in a fixed frame that keeps the face in view */
.article-figure.founder { max-width: 760px; margin: 0; }
.article-figure.founder img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 22%; }
.article-figure .credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }


/* ---------- Newsroom front page (/news/) ---------- */
/* Masthead: date, nameplate, tagline, then a section bar between two rules */
.nh-mast { position: relative; }
.nh-mast::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(560px 300px at 88% 0%, rgba(224, 85, 47, .09), transparent 70%),
    repeating-linear-gradient(to bottom, transparent 0 63px, rgba(14, 23, 38, .045) 63px 64px);
}
.nh-mast-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px 24px; padding-top: clamp(26px, 4vw, 46px); padding-bottom: clamp(18px, 2.4vw, 26px); }
.nh-name { margin: 0; text-align: center; font-size: clamp(44px, 6.6vw, 88px); line-height: .95; letter-spacing: -.03em; white-space: nowrap; }
.nh-date { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nh-tagline { justify-self: end; margin: 0 0 4px; text-align: right; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--muted); max-width: 16em; }
.nh-sections { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: rgba(244, 240, 232, .7); }
.nh-sections ul { list-style: none; margin: 0 auto; display: flex; justify-content: center; gap: 36px; overflow-x: auto; scrollbar-width: none; }
.nh-sections ul::-webkit-scrollbar { display: none; }
.nh-sections a { display: block; padding: 14px 0 11px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.nh-sections a:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }

/* Shared pieces */
.nh-label {
  margin: 0 0 18px; padding-top: 10px; border-top: 3px solid var(--ink);
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.nh-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 11.5px; font-weight: 600; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.nh-chip { background: var(--accent); color: #fff; border-radius: 999px; padding: 4px 9px 3px; font-size: 10.5px; letter-spacing: .12em; }
.nh-xl, .nh-md, .nh-sm, .nh-big-title { font-family: var(--serif); color: var(--ink); text-wrap: balance; }
.nh-xl { font-weight: 400; font-variation-settings: "opsz" 144; font-size: clamp(32px, 3.5vw, 50px); line-height: 1.04; letter-spacing: -.022em; margin: 2px 0 14px; }
.nh-md { font-weight: 500; font-variation-settings: "opsz" 40; font-size: 22px; line-height: 1.18; letter-spacing: -.01em; margin: 2px 0 10px; }
.nh-sm { font-weight: 500; font-variation-settings: "opsz" 30; font-size: 18.5px; line-height: 1.24; margin: 2px 0 8px; }
.nh-xl a, .nh-md a, .nh-sm a, .nh-big-title a { text-decoration: none; color: inherit; transition: color .2s; }
.nh-xl a:hover, .nh-md a:hover, .nh-sm a:hover { color: var(--accent-deep); }
.nh-dek { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 30; font-size: 19px; line-height: 1.45; color: var(--ink-2); margin: 0 0 14px; max-width: 36em; }
.nh-sum { font-size: 15.5px; line-height: 1.5; color: var(--muted); margin: 0 0 10px; }
.nh-meta { margin: 0; font-size: 12.5px; letter-spacing: .02em; color: var(--muted); }
.nh-img { display: block; overflow: hidden; aspect-ratio: 3 / 2; margin: 0 0 14px; border-radius: 4px; background: var(--paper-2); }
.nh-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nh-img.is-founder img { object-position: 50% 22%; }
.nh-img-lead { aspect-ratio: 5 / 4; }
.nh-img:hover img { transform: scale(1.03); }

/* Lead package: in brief | lead | latest (the lead comes first in the page, for phones and screen readers) */
.nh-lead { display: grid; grid-template-columns: 1fr 2.1fr 1fr; grid-template-areas: "brief main latest"; padding-top: 36px; padding-bottom: clamp(44px, 6vw, 68px); }
.nh-main { grid-area: main; padding: 0 28px; border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); }
.nh-brief { grid-area: brief; padding-right: 28px; }
.nh-latest { grid-area: latest; padding-left: 28px; }
.nh-brief article { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.nh-brief article:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.nh-latest ol { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.nh-latest li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.nh-latest li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.nh-latest li::before { content: counter(n); grid-row: 1 / span 3; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: .95; color: var(--accent); }
.nh-latest li > * { grid-column: 2; }

/* Story blocks */
.nh-block { padding-bottom: clamp(48px, 6vw, 72px); }
.nh-block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 32px; margin-bottom: 24px; padding-top: 10px; border-top: 3px solid var(--ink); }
.nh-block-head .nh-label { margin: 0; padding: 0; border: 0; }
.nh-block-head p { margin: 0; font-size: 15px; color: var(--muted); }
.nh-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.nh-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* The Big Read */
.nh-big { background: var(--ink); color: var(--on-dark); padding: clamp(56px, 7vw, 96px) 0; margin-bottom: clamp(48px, 6vw, 72px); }
.nh-big-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.nh-img-big { aspect-ratio: 4 / 5; margin: 0; background: var(--ink-2); }
.nh-big .nh-kicker { color: var(--accent-soft); }
.nh-big-title { font-weight: 400; font-variation-settings: "opsz" 144; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.024em; margin: 6px 0 18px; color: #fff; }
.nh-big-title a:hover { color: var(--accent-soft); }
.nh-big .nh-dek { color: var(--on-dark); }
.nh-big .nh-meta { color: var(--on-dark-muted); margin-bottom: 30px; }

/* Desks */
.nh-desks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 36px; padding-bottom: clamp(64px, 8vw, 100px); }
.nh-desk ul { list-style: none; margin: 18px 0 0; padding: 0; }
.nh-desk li { padding: 16px 0; border-top: 1px solid var(--line); }
.nh-desk .nh-press { margin: 0; }
.nh-desk .nh-press li { padding-top: 0; border-top: 0; }
.nh-media { margin-top: 22px; padding: 22px; border-radius: 18px; background: var(--ink); color: var(--on-dark); }
.nh-media .nh-label { margin: 0 0 8px; padding: 0; border: 0; color: var(--accent-soft); }
.nh-media p { margin: 0 0 12px; font-size: 15px; color: var(--on-dark-muted); }
.nh-media a { font-family: var(--serif); font-size: 20px; color: #fff; text-decoration: none; border-bottom: 1.5px solid var(--accent); word-break: break-word; }
.nh-media a:hover { color: var(--accent-soft); }

@media (max-width: 1020px) {
  .nh-lead { grid-template-columns: 1fr 1fr; grid-template-areas: "main main" "brief latest"; row-gap: 32px; }
  .nh-main { padding: 0 0 32px; border: 0; border-bottom: 1px solid var(--line-strong); }
  .nh-brief { padding-right: 24px; }
  .nh-latest { padding-left: 24px; border-left: 1px solid var(--line-strong); }
  .nh-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
  .nh-desks { grid-template-columns: 1fr 1fr; }
  .nh-desks #press { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: start; }
  .nh-desks #press .nh-label { grid-column: 1 / -1; }
  .nh-desks #press .nh-media { margin-top: 0; }
}
@media (max-width: 880px) {
  .nh-mast-row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .nh-date { order: -1; margin: 0; }
  .nh-tagline { justify-self: center; text-align: center; max-width: none; }
  .nh-sections ul { justify-content: flex-start; gap: 26px; }
  .nh-big-row { grid-template-columns: 1fr; }
  .nh-img-big { aspect-ratio: 3 / 2; }
  .nh-grid-3 { grid-template-columns: 1fr; gap: 0; }
  .nh-grid-3 .nh-card { display: grid; grid-template-columns: 240px 1fr; gap: 0 22px; padding: 22px 0; border-top: 1px solid var(--line); }
  .nh-grid-3 .nh-card:first-child { padding-top: 0; border-top: 0; }
  .nh-grid-3 .nh-card .nh-img { margin: 0; }
}
@media (max-width: 640px) {
  .nh-name { font-size: clamp(40px, 12vw, 56px); }
  .nh-tagline { font-size: 15px; }
  .nh-lead { grid-template-columns: 1fr; grid-template-areas: "main" "brief" "latest"; padding-top: 24px; }
  .nh-main { padding-bottom: 26px; }
  .nh-brief { padding-right: 0; }
  .nh-latest { padding-left: 0; border-left: 0; }
  .nh-xl { font-size: 32px; }
  .nh-dek { font-size: 17.5px; }
  .nh-grid-4 { grid-template-columns: 1fr; gap: 0; }
  .nh-desks { grid-template-columns: 1fr; }
  .nh-desks #press { display: block; }
  .nh-desks #press .nh-media { margin-top: 22px; }
  /* Compact rows on phones: text left, square photo right */
  .nh-brief article, .nh-grid-4 .nh-card, .nh-grid-3 .nh-card { display: grid; grid-template-columns: 1fr 104px; gap: 0 14px; align-items: start; }
  .nh-grid-4 .nh-card, .nh-grid-3 .nh-card { padding: 18px 0; border-top: 1px solid var(--line); }
  .nh-grid-4 .nh-card:first-child, .nh-grid-3 .nh-card:first-child { padding-top: 0; border-top: 0; }
  .nh-brief .nh-img, .nh-grid-4 .nh-img, .nh-grid-3 .nh-img { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 1; margin: 0; }
  .nh-brief article > :not(.nh-img) { grid-column: 1; }
  .nh-card > div { grid-column: 1; grid-row: 1; }
  .nh-grid-3 .nh-sum { display: none; }
  .nh-md { font-size: 19px; }
}
