/* News & Insights page and article pages */
.nav__links a[aria-current="page"], .nav__sheet a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---------- News & Insights ---------- */
.np-hero { padding: calc(var(--nav-h) + clamp(56px, 8vw, 112px)) 0 clamp(36px, 4vw, 56px); }
.np-hero .wrap { display: flex; flex-direction: column; gap: 16px; }
.np-title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.02em; }
.np-feature { margin-bottom: clamp(56px, 7vw, 96px); }
.feat { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: 8px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color 0.3s; }
.feat:hover { border-color: var(--line-2); }
.feat__img { aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: #151515; }
.feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.feat:hover .feat__img img { transform: scale(1.04); }
.feat__copy { display: flex; flex-direction: column; gap: 14px; padding: 12px clamp(8px, 2vw, 28px) 12px 0; min-width: 0; }
.feat__copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1.06; letter-spacing: -0.01em; text-wrap: balance; }
.feat__ex { font-size: 16px; line-height: 1.5; color: var(--prose); max-width: 46ch; }
.np-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.np-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--soft); display: inline-flex; align-items: center; gap: 8px; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.chip span { font-size: 12px; opacity: 0.7; font-variant-numeric: tabular-nums; }
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: #111; border-color: var(--text); }
.np-search { position: relative; display: flex; align-items: center; width: min(280px, 100%); }
.np-search svg { position: absolute; left: 12px; width: 15px; height: 15px; fill: none; stroke: var(--soft); stroke-width: 1.5; stroke-linecap: round; }
.np-search input { width: 100%; height: 38px; padding: 0 14px 0 36px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: inherit; font-size: 14px; outline: none; transition: border-color 0.2s; }
.np-search input::placeholder { color: var(--mute); }
.np-search input:focus { border-color: var(--blue-300); }
.np-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 16px; }
.ncard--big h3 { font-size: 24px; }
.ncard__ex { font-size: 14px; line-height: 1.5; color: var(--soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__date { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ncard__go { font-size: 13px; color: var(--text); opacity: 0; transform: translateX(-4px); transition: opacity 0.3s, transform 0.3s; }
.ncard:hover .ncard__go, .ncard:focus-visible .ncard__go { opacity: 1; transform: none; }
.ncard--update { text-align: left; font: inherit; color: inherit; display: flex; flex-direction: column; gap: 10px; }
.ncard.is-hidden { display: none; }
.np-empty { padding: 48px 0; text-align: center; color: var(--soft); }
.np-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px; }
.np-modal[hidden] { display: none; }
.np-modal__scrim { position: absolute; inset: 0; background: rgba(5, 4, 4, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadein 0.3s both; }
.np-modal__box { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; animation: modalIn 0.45s var(--ease-out) both; }
.np-modal__box img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px 0 0 10px; }
.np-modal__copy { display: flex; flex-direction: column; gap: 12px; padding: 36px 28px 28px; }
.np-modal__copy h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.np-modal__copy p:last-child { color: var(--prose); font-size: 15px; line-height: 1.55; }
.np-modal__x, .lb__x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 0, 0, 0.45); z-index: 2; }
.np-modal__x span, .lb__x span { position: absolute; left: 10px; right: 10px; top: 17.5px; height: 1.5px; background: #fff; transform: rotate(45deg); }
.np-modal__x span:last-child, .lb__x span:last-child { transform: rotate(-45deg); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .np-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feat { grid-template-columns: 1fr; } .feat__copy { padding: 8px 12px 16px; } }
@media (max-width: 600px) { .np-grid { grid-template-columns: 1fr; } .np-modal__box { grid-template-columns: 1fr; } .np-modal__box img { border-radius: 10px 10px 0 0; aspect-ratio: 1.3; } .np-search { width: 100%; } }

/* ---------- Article ---------- */
.readbar { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.readbar span { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
.art-head { padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 104px)); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.crumbs { display: flex; gap: 8px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); flex-wrap: wrap; justify-content: center; }
.crumbs a { color: var(--text); }
.crumbs a:hover { opacity: 0.7; }
.art-title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.015em; max-width: 17em; text-wrap: balance; }
.art-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--soft); }
.art-by { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.art-by img { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); }
.art-share { display: inline-flex; align-items: center; gap: 6px; }
.art-share a, .art-copy { height: 32px; min-width: 32px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--text); font-size: 13px; transition: background-color 0.2s; }
.art-share a:hover, .art-copy:hover { background: rgba(255, 255, 255, 0.07); }
.art-share svg { width: 14px; height: 14px; fill: currentColor; }
.art-copy svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.art-copy.is-done { border-color: var(--blue-300); color: var(--blue-300); }
.art-hero { margin: clamp(36px, 5vw, 64px) auto 0; }
.art-hero img { width: 100%; height: auto; border-radius: 8px; cursor: zoom-in; background: #151515; }
.art-hero figcaption, .art-fig figcaption { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--soft); text-align: center; }
.art-body { width: 100%; max-width: calc(700px + var(--gutter) * 2); margin: clamp(48px, 6vw, 80px) auto 0; padding: 0 var(--gutter); font-size: 18px; line-height: 1.7; color: var(--prose); }
.art-body > * + * { margin-top: 1.15em; }
.art-body p strong { color: var(--text); font-weight: 600; }
.art-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; color: var(--text); margin-top: 2em; }
.art-body h3 { font-size: 20px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; color: var(--text); margin-top: 2em; }
.art-body .art-kicker { margin-top: 2.2em; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-300); line-height: 1.3; }
.art-body .art-kicker + h3 { margin-top: 0.4em; }
.art-body ul, .art-body ol { padding-left: 1.2em; }
.art-quote { margin: 2em 0; padding: 0 0 0 24px; border-left: 2px solid var(--blue); }
.art-quote p { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; color: var(--text); }
.art-fig { margin: 2.2em calc(min(140px, (100vw - 700px) / 2) * -1); }
.art-fig img, .art-gallery img { width: 100%; height: auto; border-radius: 6px; cursor: zoom-in; background: #151515; transition: opacity 0.2s; }
.art-fig img:hover, .art-gallery img:hover { opacity: 0.9; }
.art-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 2.2em calc(min(140px, (100vw - 700px) / 2) * -1); }
.art-gallery[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.art-gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.art-gallery[data-n="7"] img:first-child { grid-column: span 3; aspect-ratio: 16 / 9; }
@media (max-width: 1100px) { .art-fig, .art-gallery { margin-left: 0; margin-right: 0; } }
@media (max-width: 600px) { .art-body { font-size: 17px; } .art-gallery, .art-gallery[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } .art-gallery[data-n="7"] img:first-child { grid-column: span 2; } .art-copy span { display: none; } }
.art-more { margin-top: clamp(96px, 11vw, 160px); }
.news__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .news__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .news__grid--3 { grid-template-columns: 1fr; } }
.art-cta { margin: clamp(80px, 9vw, 128px) auto clamp(80px, 9vw, 128px); }
.art-cta__card { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 56px); border-radius: 10px; background: radial-gradient(ellipse 90% 140% at 85% 120%, #1b2786 0%, #10132b 45%, #0b0c12 100%); border: 1px solid var(--line); }
.art-cta__card .h2 { margin-top: 10px; max-width: 14em; }
.art-cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(5, 4, 4, 0.94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; animation: fadein 0.25s both; }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 6px; object-fit: contain; }
.lb__x { top: max(14px, env(safe-area-inset-top, 0px)); right: 14px; }
.lb__nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: rgba(0, 0, 0, 0.4); }
.lb__nav svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lb__prev { left: 14px; } .lb__next { right: 14px; }
.lb__nav[hidden] { display: none; }
.lb__cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 13px; color: var(--soft); padding: 0 24px; }
@media (max-width: 600px) { .lb { padding: 56px 12px; } .lb__nav { top: auto; bottom: 48px; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .np-modal__box, .np-modal__scrim, .lb { animation: none; } }
