/* Northbridge Capital — ink, paper and one accent bar. */
:root {
	--bg: #f4f1ea;
	--surface: #fbfaf6;
	--ink: #16181d;
	--muted: #5f636b;
	--line: rgba(22, 24, 29, 0.14);
	--accent: #b8412e;
	--on-accent: #fff;
	--font-display: "Source Serif 4", Georgia, serif;
	--font-body: "IBM Plex Sans", system-ui, sans-serif;
	--display-weight: 600;
	--display-tracking: -0.015em;
	--radius: 0;
}

a { text-decoration: none; }
.cat { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-variant: small-caps; color: var(--accent); }
.meta { font-size: 13px; color: var(--muted); }

.util { background: var(--ink); color: rgba(255, 255, 255, 0.72); font-size: 12px; }
.util-inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.tick { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.tick b { color: #fff; font-weight: 500; margin: 0 4px; }
.tick i { font-style: normal; }
.up { color: #7fd6a4; }
.dn { color: #ff9b8a; }
@media (max-width: 760px) { .tick li:nth-child(n + 3) { display: none; } .util-inner > span { display: none; } }

.masthead { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--ink); }
.masthead.is-scrolled { box-shadow: 0 1px 0 var(--ink); }
.mast-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.wordmark { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.wordmark span { font-weight: 400; color: var(--muted); }
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-links a { padding: 24px 0; border-bottom: 3px solid transparent; }
.nav-links a[aria-current], .nav-links a:hover { border-color: var(--accent); }
.login { font-size: 14px; font-weight: 500; padding: 9px 16px; border: 1px solid var(--ink); transition: background 0.2s, color 0.2s; }
.login:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 860px) { .nav-links { display: none; } }

.hub-head { padding: clamp(40px, 6vw, 72px) 0 0; }
.crumb { font-size: 13px; color: var(--muted); margin: 0 0 24px; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; }
.hub-title { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; padding-bottom: 32px; }
.hub-title h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 6.4vw, 96px); line-height: 0.96; letter-spacing: -0.03em; margin: 0; }
.hub-title h1::before { content: ""; display: block; width: 64px; height: 6px; background: var(--accent); margin-bottom: 28px; }
.hub-title p { margin: 0; color: var(--muted); font-size: 17px; max-width: 46ch; }
@media (max-width: 860px) { .hub-title { grid-template-columns: 1fr; gap: 20px; } }
.cats { display: flex; gap: 0; overflow-x: auto; border-block: 1px solid var(--line); }
.cats button { flex: none; padding: 16px 20px; border: 0; background: none; font-size: 14px; font-weight: 500; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.cats button:first-child { padding-left: 0; }
.cats button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.cats button:hover { color: var(--ink); }

.lead { padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.lead-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.lead-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lead h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; margin: 14px 0 16px; }
.lead h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lead-copy p { color: var(--muted); font-size: 17px; margin: 0 0 20px; }
@media (max-width: 860px) { .lead-grid { grid-template-columns: 1fr; } }

.grid-sec { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.grid-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.grid-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 28px; margin: 0; }
.grid-head span { font-size: 13px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.card a { display: flex; flex-direction: column; height: 100%; padding-top: 16px; border-top: 1px solid var(--ink); transition: transform 0.25s ease; }
.card a:hover { transform: translateY(-4px); }
.card-img { overflow: hidden; margin-bottom: 18px; }
.card-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.18; letter-spacing: -0.01em; margin: 10px 0; text-wrap: balance; }
.card a:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.card p { color: var(--muted); font-size: 15px; margin: 0 0 16px; flex: 1; }
.more { text-align: center; margin-top: 56px; }
.more button { padding: 14px 32px; border: 1px solid var(--ink); background: none; font-weight: 500; transition: background 0.2s, color 0.2s; }
.more button:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 960px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }

.brief { background: var(--ink); color: var(--bg); padding: clamp(56px, 8vw, 96px) 0; border-top: 6px solid var(--accent); }
.brief .cat { color: #ff9b8a; }
.brief-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.brief h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.04; letter-spacing: -0.02em; margin: 14px 0 0; }
.brief form { display: flex; flex-wrap: wrap; gap: 0; }
.brief label { flex: 1; min-width: 200px; }
.brief input { width: 100%; padding: 16px 18px; border: 1px solid rgba(244, 241, 234, 0.4); border-right: 0; background: transparent; color: var(--bg); font-size: 16px; }
.brief input::placeholder { color: rgba(244, 241, 234, 0.55); }
.brief button { padding: 16px 28px; border: 0; background: var(--accent); color: #fff; font-weight: 600; }
.brief .sent { display: none; width: 100%; margin: 12px 0 0; color: #7fd6a4; }
.brief .is-sent .sent { display: block; }
@media (max-width: 860px) { .brief-inner { grid-template-columns: 1fr; } }

.foot { padding: 32px 0 44px; font-size: 13px; color: var(--muted); }
.disclaim { max-width: 80ch; margin: 0 0 24px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-row .wordmark { font-size: 20px; color: var(--ink); }
.foot a { color: var(--ink); text-decoration: underline; }

.study .cs-shot { border-radius: 0; }
.study .cs-end { border-top: 6px solid var(--accent); }
.study .cs-end a { border-radius: 0; }
