/* Homepage newsroom: featured story, expandable list with category filter and
   "Load more", and the story modal. Builds on styles.css tokens. */

.newsroom { background:var(--paper); padding:130px 0; border-top:1px solid var(--line); }
.newsroom-head { margin-bottom:64px; }
.newsroom-intro { max-width:560px; margin:28px 0 0; font-size:17px; line-height:1.6; color:#4e5868; }

/* Shared bits */
.news-meta { display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.15em; }
.news-meta time { color:#697284; }
.news-tag { display:inline-block; padding:7px 9px 6px; font-size:9px; font-weight:700; line-height:1; text-transform:uppercase; letter-spacing:.12em; }
.news-tag--company { background:var(--ink); color:var(--acid); }
.news-tag--industry { background:var(--acid); color:var(--ink); }
.news-flag { color:var(--acid); }
.news-flag::before { content:"●"; margin-right:8px; font-size:8px; vertical-align:1px; }
.news-open { margin:0; padding:0; border:0; background:none; color:inherit; font:inherit; letter-spacing:inherit; line-height:inherit; text-align:left; text-wrap:inherit; cursor:pointer; }
.news-open::after { content:""; position:absolute; inset:0; z-index:1; }
.news-open:focus-visible { outline:none; }

/* Featured story */
.news-feature { position:relative; isolation:isolate; display:flex; align-items:flex-end; min-height:clamp(440px,42vw,600px); overflow:hidden; background:var(--ink); color:var(--paper); }
.news-feature-media { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; transition:transform .8s ease; }
.news-feature::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(circle at 88% 110%,rgba(225,253,114,.24),transparent 46%); }
.news-feature:not(.has-image)::after { content:""; position:absolute; z-index:-1; right:-140px; top:-180px; width:620px; aspect-ratio:1; border:1px solid rgba(241,240,235,.14); border-radius:50%; box-shadow:0 0 0 150px rgba(241,240,235,.025); pointer-events:none; }
.news-feature.has-image::before { background:linear-gradient(0deg,rgba(18,29,51,.92) 0%,rgba(18,29,51,.55) 45%,rgba(18,29,51,.12) 100%); }
.news-feature:hover .news-feature-media { transform:scale(1.025); }
.news-feature:has(.news-open:focus-visible) { outline:3px solid var(--acid); outline-offset:4px; }
.news-feature-body { width:100%; max-width:1000px; padding:56px 56px 52px; }
.news-feature .news-meta time { color:#c3cad6; }
.news-feature .news-tag--company { background:transparent; box-shadow:inset 0 0 0 1px var(--acid); }
.news-feature h3 { margin:28px 0 0; font-size:clamp(34px,4.4vw,66px); line-height:.95; letter-spacing:-.055em; font-weight:500; text-wrap:balance; }
.news-feature p { max-width:700px; margin:24px 0 0; font-size:18px; line-height:1.55; color:#dfe3ea; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.news-cta { display:inline-flex; align-items:center; gap:16px; margin-top:34px; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.15em; }
.news-cta-arrow { display:grid; place-items:center; width:52px; height:52px; border:1px solid currentColor; border-radius:50%; font-size:18px; letter-spacing:0; transition:.2s; }
.news-feature:hover .news-cta-arrow { background:var(--acid); border-color:var(--acid); color:var(--ink); }

/* Expand / collapse */
.newsroom-archive-wrap { margin-top:56px; border-top:1px solid var(--ink); }
.newsroom-toggle { width:100%; display:flex; align-items:center; gap:24px; padding:26px 0; border:0; border-bottom:1px solid var(--ink); background:none; color:inherit; font:inherit; text-align:left; cursor:pointer; }
.newsroom-toggle-label { font-size:clamp(24px,2.4vw,34px); line-height:1; letter-spacing:-.04em; font-weight:500; }
.newsroom-toggle-count { margin-left:auto; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.15em; color:#697284; }
.newsroom-toggle-icon { position:relative; flex:none; width:48px; height:48px; border:1px solid var(--ink); border-radius:50%; transition:.2s; }
.newsroom-toggle-icon::before, .newsroom-toggle-icon::after { content:""; position:absolute; left:50%; top:50%; width:16px; height:1.5px; margin:-.75px 0 0 -8px; background:currentColor; transition:transform .2s; }
.newsroom-toggle-icon::after { transform:rotate(90deg); }
.newsroom-toggle[aria-expanded="true"] .newsroom-toggle-icon::after { transform:rotate(0deg); }
.newsroom-toggle:hover .newsroom-toggle-icon { background:var(--ink); color:var(--paper); }
.newsroom-toggle:focus-visible { outline:2px solid var(--ink); outline-offset:4px; }
.newsroom-archive { padding-top:8px; }

/* Filter */
.news-filters { display:flex; flex-wrap:wrap; gap:10px; margin:32px 0 8px; }
.news-filter { padding:11px 16px 10px; border:1px solid var(--ink); border-radius:999px; background:transparent; color:var(--ink); font:inherit; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.14em; cursor:pointer; }
.news-filter span { margin-left:6px; opacity:.55; }
.news-filter:hover { background:rgba(18,29,51,.06); }
.news-filter[aria-pressed="true"] { background:var(--ink); color:var(--paper); }
.news-filter:focus-visible { outline:2px solid var(--ink); outline-offset:3px; }

/* List */
.news-list { margin:0; padding:0; list-style:none; }
.news-item { position:relative; display:grid; grid-template-columns:130px minmax(0,1fr) auto 48px; gap:36px; align-items:start; padding:34px 0; border-bottom:1px solid var(--line); }
.news-item-date { display:flex; flex-direction:column; gap:8px; }
.news-item-day { font-size:44px; line-height:.85; font-weight:800; letter-spacing:-.05em; }
.news-item-month { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.15em; color:#697284; }
.news-item h3 { margin:16px 0 0; font-size:clamp(24px,2.4vw,34px); line-height:1.05; letter-spacing:-.04em; font-weight:500; text-wrap:balance; }
.news-item p { max-width:720px; margin:14px 0 0; font-size:15px; line-height:1.6; color:#4e5868; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.news-item-thumb { grid-column:3; width:200px; aspect-ratio:4/3; object-fit:cover; background:var(--blue); }
.news-item > .row-arrow { grid-column:4; }
.news-item .row-arrow { transition:.2s; }
.news-item:hover .row-arrow { background:var(--ink); color:#fff; }
.news-item:hover h3 { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:5px; }
.news-item:has(.news-open:focus-visible) { outline:2px solid var(--ink); outline-offset:6px; }
.news-list-empty { margin:0; padding:40px 0; font-size:17px; color:#4e5868; }
.news-more-wrap { display:flex; justify-content:center; margin-top:44px; }
.news-more { padding:16px 28px 15px; border:1px solid var(--ink); background:transparent; color:var(--ink); font:inherit; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.15em; cursor:pointer; }
.news-more:hover { background:var(--ink); color:var(--paper); }
.news-more:focus-visible { outline:2px solid var(--ink); outline-offset:3px; }

/* Story modal */
html.has-modal { overflow:hidden; }
.news-modal { width:min(920px,calc(100% - 64px)); max-width:none; max-height:calc(100dvh - 64px); margin:auto; padding:0; border:0; background:#fff; color:var(--ink); box-shadow:0 28px 90px rgba(5,12,25,.32); overflow:auto; overscroll-behavior:contain; }
.news-modal::backdrop { background:rgba(8,17,33,.72); backdrop-filter:blur(4px); }
.news-modal-bar { position:sticky; top:0; z-index:2; height:0; display:flex; justify-content:flex-end; }
.news-modal-close { flex:none; width:48px; height:48px; margin:20px 20px 0 0; border:1px solid var(--ink); border-radius:50%; background:#fff; color:var(--ink); font-size:22px; line-height:1; cursor:pointer; }
.news-modal-close:hover { background:var(--ink); color:#fff; }
.news-modal-close:focus-visible { outline:2px solid var(--ink); outline-offset:3px; }
.news-modal-content { padding:76px 84px 84px; }
.news-story-head { margin-bottom:44px; padding:0 40px 36px 0; border-bottom:1px solid var(--ink); }
.news-story-eyebrow { margin:22px 0 0; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.15em; color:#697284; }
.news-story-head h2, .news-modal-loading-title { margin:20px 0 0; font-size:clamp(32px,4.2vw,58px); line-height:.96; letter-spacing:-.055em; font-weight:500; text-wrap:balance; }
.news-modal-loading-title { margin-top:0; padding-right:40px; }
.news-story-standfirst { margin:28px 0 0; font-size:21px; line-height:1.5; letter-spacing:-.01em; }
.news-story-cover { margin:0 0 44px; background:var(--blue); }
.news-story-cover img { display:block; width:100%; height:clamp(220px,40vw,460px); object-fit:cover; }
.news-modal-status { margin:28px 0 0; font-size:15px; color:#697284; }
.news-modal-retry { padding:0; border:0; border-bottom:1px solid currentColor; background:none; color:var(--ink); font:inherit; cursor:pointer; }

/* Story text */
.prose { font-size:17px; line-height:1.7; }
.prose > :first-child { margin-top:0; }
.prose p { margin:0 0 1.15em; }
.prose a { text-decoration:underline; text-underline-offset:3px; }
.prose a:hover { background:var(--acid); }
.prose strong, .prose b { font-weight:700; }
.prose h2 { margin:2.4em 0 .8em; font-size:clamp(28px,3vw,38px); line-height:1.05; letter-spacing:-.04em; font-weight:500; text-wrap:balance; }
.prose h3 { margin:2em 0 .6em; font-size:24px; line-height:1.15; letter-spacing:-.03em; }
.prose h4 { margin:1.8em 0 .6em; font-size:10px; text-transform:uppercase; letter-spacing:.15em; }
.prose ul, .prose ol { margin:0 0 1.15em; padding-left:1.2em; }
.prose li { margin:.35em 0; }
.prose hr { border:0; border-top:1px solid var(--ink); margin:3em 0; }
.prose img, .prose video { display:block; max-width:100%; height:auto; }
.prose figure { margin:2.4em 0; }
.prose figcaption { margin-top:12px; color:#697284; font-size:13px; line-height:1.5; }
.prose table { width:100%; border-collapse:collapse; margin:2em 0; font-size:15px; }
.prose th, .prose td { text-align:left; padding:12px 14px 12px 0; border-bottom:1px solid var(--line); vertical-align:top; }
.prose th { font-size:10px; text-transform:uppercase; letter-spacing:.12em; border-bottom-color:var(--ink); }

/* Byline and fact strip */
.prose .byline { display:flex; flex-wrap:wrap; gap:8px 28px; margin:0 0 44px; padding-bottom:18px; border-bottom:1px solid var(--line); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.14em; color:#697284; }
.prose .byline b { color:var(--ink); }
.prose dl { margin:0 0 3em; }
.prose .facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); border-top:1px solid var(--ink); border-bottom:1px solid var(--ink); }
.prose .facts > div { padding:18px 18px 20px 0; min-width:0; }
.prose .facts > div + div { padding-left:18px; border-left:1px solid var(--line); }
.prose dt { font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.15em; color:#697284; }
.prose dd { margin:8px 0 0; font-size:16px; line-height:1.3; font-weight:700; letter-spacing:-.01em; }

/* Interview Q&A */
.prose .q { margin:2em 0 1.15em; padding:18px 22px 20px; background:var(--paper); box-shadow:inset 4px 0 var(--acid); font-size:17px; line-height:1.55; font-weight:700; letter-spacing:-.01em; }
.prose .speaker { margin-right:10px; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.15em; vertical-align:2px; }
.prose .q .speaker { color:#697284; }

/* Pull quotes */
.prose blockquote { margin:2.6em 0; padding:34px 0 30px; border-top:1px solid var(--ink); border-bottom:1px solid var(--ink); }
.prose blockquote p { margin:0; font-family:Georgia,'Times New Roman',serif; font-size:clamp(28px,3.4vw,42px); line-height:1.15; letter-spacing:-.03em; text-wrap:balance; }
.prose blockquote p::before { content:"\201C"; }
.prose blockquote p::after { content:"\201D"; }
.prose blockquote::before { content:""; display:block; width:42px; height:6px; margin-bottom:24px; background:var(--acid); }

/* Closing notes */
.prose footer { margin-top:4em; padding-top:28px; border-top:1px solid var(--ink); font-size:15px; line-height:1.6; color:#4e5868; }
.prose footer p { margin:0 0 .8em; }
.prose footer b { color:var(--ink); }
.prose .note { font-size:13px; color:#697284; font-style:italic; }

@media (max-width:900px) {
  .newsroom { padding:85px 0; }
  .newsroom-head { margin-bottom:44px; }
  .news-feature { min-height:440px; }
  .news-feature-body { padding:34px 24px 32px; }
  .news-feature h3 { font-size:clamp(30px,7.6vw,44px); }
  .news-feature p { font-size:16px; }
  .news-cta { margin-top:26px; }
  .news-item { grid-template-columns:minmax(0,1fr) 48px; gap:18px 20px; padding:28px 0; }
  .news-item-date { grid-column:1 / -1; flex-direction:row; align-items:baseline; gap:12px; }
  .news-item-day { font-size:30px; }
  .news-item-main { grid-column:1; }
  .news-item-thumb { grid-column:1 / -1; grid-row:2; width:100%; aspect-ratio:16/9; }
  .news-item > .row-arrow { grid-column:2; grid-row:auto; }
  .news-modal { width:calc(100% - 32px); max-height:calc(100dvh - 32px); }
  .news-modal-content { padding:72px 40px 56px; }
}
@media (max-width:560px) {
  .newsroom-toggle { gap:16px; }
  .newsroom-toggle-count { display:none; }
  .newsroom-toggle-label { margin-right:auto; }
  .news-item .row-arrow { display:none; }
  .news-item { grid-template-columns:1fr; }
  .news-modal { width:100%; height:100dvh; max-height:none; }
  .news-modal-close { margin:12px 12px 0 0; }
  .news-modal-content { padding:68px 20px 48px; }
  .news-story-head { padding-right:0; }
  .news-story-standfirst { font-size:18px; }
  .prose { font-size:17px; }
  .prose .facts { grid-template-columns:1fr 1fr; }
  .prose .facts > div + div { padding-left:0; border-left:0; }
  .prose .facts > div:nth-child(even) { padding-left:14px; border-left:1px solid var(--line); }
  .prose .facts > div:nth-child(n+3) { border-top:1px solid var(--line); }
  .prose .q { padding:16px 16px 18px; }
}
@media (prefers-reduced-motion:reduce) {
  .news-feature-media { transition:none; }
  .news-feature:hover .news-feature-media { transform:none; }
}
