/* BSJ Ventures — the group site. Static, no scripts, no inline styles (the
   Content-Security-Policy in _headers allows neither).
   Scheme (JB, 8 Oct): white page, navy header and footer, navy headings, gold
   as a rule and a small accent, one brick accent for HOLD. Layout: full-width
   grids, a two-column hero, card grids for services and clients. */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #1a2540;
  --navy-2: #243154;
  --navy-3: #34436a;
  --cream: #f7f2e9;
  --white: #ffffff;
  --paper: #f5f6f8;
  --ink: #141a2b;
  --text: #2a3142;
  --muted: #5f667a;
  --hairline: #dfe2e8;
  --gold: #c9a55c;
  --gold-ink: #8a6d2a;
  --gold-soft: rgba(201, 165, 92, 0.22);
  --brick: #9a3b2e;
  --go: #2f7d5b;
  --teal: #1f4d5c;
  --heading: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --accent: "Cormorant Garamond", Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--white);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--navy); }
a:hover { color: var(--gold-ink); }
img { max-width: 100%; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--gold); color: var(--navy); padding: 8px 12px; font-size: 13px;
}
.skip:focus { left: 8px; z-index: 10; }

/* ===== Header ===== */
header.site {
  background: var(--navy);
  color: var(--cream);
  border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 5;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 76px; gap: 24px; }
.header-logo { display: block; height: 42px; }
.header-logo img { height: 100%; width: auto; display: block; }
.header-nav { display: flex; align-items: center; gap: 30px; font-family: var(--heading); font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.header-nav a { color: var(--cream); text-decoration: none; opacity: 0.88; padding: 6px 0; border-bottom: 2px solid transparent; }
.header-nav a:hover { opacity: 1; color: var(--cream); border-bottom-color: var(--gold); }
.header-nav .nav-cta { border: 1px solid var(--gold); color: var(--gold); padding: 9px 16px; border-radius: 2px; opacity: 1; }
.header-nav .nav-cta:hover { background: var(--gold); color: var(--navy); border-bottom-color: var(--gold); }

/* ===== Hero ===== */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--heading); font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }

h1 {
  font-family: var(--heading); font-size: 54px; font-weight: 700; line-height: 1.06; letter-spacing: -0.022em;
  color: var(--navy); margin-bottom: 26px;
}
h1 em, h2 em, h3 em, .quote em { font-family: var(--accent); font-style: italic; font-weight: 500; color: var(--gold-ink); }
h1 em { font-size: 1.08em; }

.lede { font-size: 18px; line-height: 1.7; color: var(--text); max-width: 600px; }
.lede strong { color: var(--navy); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 22px; font-family: var(--accent); font-style: italic; font-size: 20px; color: var(--navy); }

.hero-mark { display: flex; justify-content: center; }
.hero-mark-panel {
  width: 100%; max-width: 440px; aspect-ratio: 1 / 1.06;
  background: var(--paper); border: 1px solid var(--hairline); border-top: 4px solid var(--navy);
  display: flex; align-items: center; justify-content: center; padding: 48px;
}
.hero-mark-panel img { width: 100%; height: auto; display: block; }

/* buttons */
.button {
  display: inline-block; font-family: var(--heading); font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--cream); background: var(--navy); text-decoration: none; padding: 14px 26px;
  border: 1px solid var(--navy); border-radius: 2px; transition: background 0.2s ease, color 0.2s ease;
}
.button:hover { background: var(--navy-2); color: var(--cream); }
.button.secondary { background: transparent; color: var(--navy); }
.button.secondary:hover { background: var(--paper); color: var(--navy); }

/* ===== Pillars strip ===== */
.pillars { background: var(--navy); color: var(--cream); border-top: 3px solid var(--gold); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillars-grid div { padding: 28px 24px 28px 0; margin-right: 24px; border-right: 1px solid var(--navy-3); }
.pillars-grid div:last-child { border-right: 0; margin-right: 0; }
.pillars-grid b { display: block; font-family: var(--heading); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.pillars-grid span { display: block; font-size: 14.5px; line-height: 1.55; color: var(--cream); opacity: 0.92; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section.alt { background: var(--paper); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section.navy { background: var(--navy); color: var(--cream); }
.section-head { max-width: 820px; margin-bottom: 48px; }

.section-label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--heading); font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 22px;
}
.section-label::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.section-label.light { color: var(--gold); }

h2 {
  font-family: var(--heading); font-size: 36px; font-weight: 700; line-height: 1.12; letter-spacing: -0.018em;
  color: var(--navy); margin-bottom: 20px;
}
.section.navy h2 { color: var(--cream); }
.section-intro { font-size: 17px; line-height: 1.72; color: var(--text); max-width: 720px; }
.section.navy .section-intro { color: var(--cream); opacity: 0.9; }

/* ===== Cards ===== */
.cards { display: grid; gap: 20px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--hairline); border-top: 3px solid var(--navy);
  padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-top-color: var(--gold); box-shadow: 0 6px 24px rgba(26, 37, 64, 0.08); }
.card.plain { border-top-color: var(--hairline); }
.card.plain:hover { border-top-color: var(--navy); }
.card-n { font-family: var(--accent); font-style: italic; font-size: 19px; color: var(--gold-ink); }
.card h3 { font-family: var(--heading); font-size: 18px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--navy); }
.card p { font-size: 14.5px; line-height: 1.68; color: var(--text); }
.card a { font-weight: 500; }

/* ===== How we decide (navy band, two columns) ===== */
.method-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.words { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; list-style: none; }
.words li {
  font-family: var(--heading); font-weight: 700; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 12px 18px; border: 1px solid var(--navy-3); border-left-width: 4px; background: var(--navy-2); color: var(--cream);
}
.words li span { color: var(--cream); opacity: 0.75; font-weight: 500; letter-spacing: 0.04em; text-transform: none; margin-left: 10px; font-family: var(--body); font-size: 13px; }
/* decision colours follow the portal's pattern: GO green, HOLD red (brick), ESCALATE the accent */
.words li.go { border-left-color: #4fbf8a; }
.words li.hold { border-left-color: #d0604f; }
.words li.escalate { border-left-color: var(--gold); }
.terms { margin-top: 36px; font-family: var(--accent); font-style: italic; font-size: 25px; line-height: 1.35; color: var(--cream); max-width: 620px; }
.aside { background: var(--white); color: var(--text); border-top: 4px solid var(--gold); padding: 32px 34px; }
.aside h3 { font-family: var(--heading); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.aside p { font-size: 15.5px; line-height: 1.7; }
.aside p + p { margin-top: 12px; }
.aside a { text-decoration: none; border-bottom: 1px solid var(--gold); font-weight: 600; }

.gov-note { margin-top: 32px; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 720px; }

/* ===== The house panel ===== */
.panel-paper {
  background: var(--white); color: #141516; border: 1px solid #e1e3e6; border-top: 4px solid var(--navy);
  padding: 44px 48px; display: grid; grid-template-columns: 120px 1fr; gap: 44px; align-items: start;
}
.panel-paper svg { width: 120px; height: 120px; display: block; }
.panel-paper .kicker { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #6c6a64; margin-bottom: 10px; }
.panel-paper h3 { font-family: var(--heading); font-size: 30px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.08; color: #0f1113; margin-bottom: 16px; }
.panel-paper p { font-size: 15.5px; line-height: 1.7; max-width: 70ch; }
.panel-paper p + p { margin-top: 12px; }
.panel-paper a { color: var(--teal); }
.panel-paper a:hover { color: #0f1113; }
.panel-practices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e1e3e6; border: 1px solid #e1e3e6; margin: 24px 0; }
.panel-practices div { background: #f3f4f5; padding: 18px 20px; }
.panel-practices b { display: block; font-family: var(--heading); font-weight: 600; font-size: 15px; color: #0f1113; margin-bottom: 6px; }
.panel-practices span { font-size: 13.5px; line-height: 1.5; color: #6c6a64; display: block; }
.panel-paper .site-link { display: inline-block; margin-top: 6px; font-family: var(--heading); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--teal); padding-bottom: 2px; }

/* ===== Government: list + data ===== */
.gov-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.caps { list-style: none; border-top: 1px solid var(--hairline); }
.caps li { padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.caps b { display: block; font-family: var(--heading); font-weight: 600; font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.caps p { font-size: 14.5px; line-height: 1.65; color: var(--text); }
.data { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-top: 4px solid var(--navy); position: sticky; top: 100px; }
.data div { background: var(--paper); padding: 18px 20px; }
.data dt { font-family: var(--heading); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }
.data dd { font-size: 15px; color: var(--navy); font-variant-numeric: tabular-nums; }
.data dd .pending { color: var(--muted); font-family: var(--accent); font-style: italic; font-size: 17px; }
.data dd a { text-decoration: none; border-bottom: 1px solid var(--gold); }

/* ===== Contact ===== */
.contact { text-align: center; }
.contact .section-label { justify-content: center; }
.contact .section-label::before { display: none; }
.contact h2 { margin: 0 auto 32px; max-width: 760px; font-weight: 600; font-size: 30px; }
.contact-note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* ===== Footer ===== */
footer.site { background: var(--navy); color: var(--cream); border-top: 3px solid var(--gold); padding: 56px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid var(--navy-3); }
.footer-brand img { height: 44px; width: auto; display: block; margin-bottom: 16px; }
.footer-brand p { max-width: 40ch; line-height: 1.6; opacity: 0.85; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col b { font-family: var(--heading); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.footer-col a, .footer-col span { color: var(--cream); text-decoration: none; opacity: 0.88; }
.footer-col a:hover { color: var(--gold); opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-top: 22px; font-size: 12px; opacity: 0.85; }
.footer-meta { font-family: var(--heading); text-transform: uppercase; letter-spacing: 0.18em; font-size: 10.5px; font-weight: 600; }
.footer-meta span { color: var(--gold); }

/* ===== Method page ===== */
.page-head { padding: 72px 0 48px; border-bottom: 1px solid var(--hairline); }
.page-head h1 { font-size: 46px; margin-bottom: 22px; }
.page-head .lede { max-width: 720px; }
.article { padding: 56px 0 96px; }
.article h2 { font-size: 28px; margin: 56px 0 18px; padding-top: 28px; border-top: 1px solid var(--hairline); }
.article h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.article p { font-size: 16.5px; line-height: 1.75; color: var(--text); max-width: 68ch; }
.article p + p { margin-top: 14px; }
.article p strong { color: var(--navy); font-weight: 600; }
.article ol, .article ul { max-width: 68ch; margin-top: 20px; }
.article ol { list-style: none; counter-reset: step; }
.article ol li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--hairline); font-size: 16px; line-height: 1.7; color: var(--text); }
.article ol li::before { content: "0" counter(step); font-family: var(--accent); font-style: italic; font-size: 20px; color: var(--gold-ink); padding-top: 2px; }
.article ol li b { color: var(--navy); font-weight: 600; display: block; margin-bottom: 4px; font-family: var(--heading); font-size: 17px; }
.article ul { list-style: none; }
.article ul li { padding: 12px 0 12px 22px; position: relative; font-size: 16px; line-height: 1.7; color: var(--text); border-top: 1px solid var(--hairline); }
.article ul li::before { content: "·"; position: absolute; left: 4px; color: var(--gold-ink); }
.article ul li b { color: var(--navy); font-weight: 600; }
/* the decision chips inside an article, on white */
.article ul.words { margin-top: 24px; max-width: none; }
.article .words li { padding: 12px 18px; border: 1px solid var(--hairline); border-left-width: 4px; background: var(--white); color: var(--navy); }
.article .words li span { color: var(--muted); opacity: 1; }
.article .words li::before { content: none; }
.article .words li.go { border-left-color: var(--go); }
.article .words li.hold { border-left-color: var(--brick); }
.article .words li.escalate { border-left-color: var(--gold); }

.lexicon { width: 100%; max-width: 68ch; border-collapse: collapse; margin-top: 24px; font-size: 15.5px; }
.lexicon th { text-align: left; font-family: var(--heading); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); padding: 0 16px 12px 0; border-bottom: 1px solid var(--navy); }
.lexicon td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--hairline); color: var(--muted); vertical-align: top; }
.lexicon td:first-child { color: var(--navy); font-weight: 500; }

.back { display: inline-block; margin-top: 48px; font-family: var(--heading); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .button { transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .cards.three { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid div:nth-child(2) { border-right: 0; }
  .hero-grid, .method-grid, .gov-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-mark { order: -1; }
  .hero-mark-panel { max-width: 300px; padding: 32px; }
  .data { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .header-inner { height: 64px; }
  .header-logo { height: 34px; }
  .header-nav { display: none; }
  .hero { padding: 48px 0 48px; }
  .hero-mark-panel { max-width: 220px; padding: 24px; }
  h1 { font-size: 34px; margin-bottom: 20px; }
  .lede { font-size: 16px; }
  .hero-note { font-size: 18px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillars-grid div { border-right: 0; margin-right: 0; padding: 18px 0; border-bottom: 1px solid var(--navy-3); }
  .pillars-grid div:last-child { border-bottom: 0; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  h2 { font-size: 27px; }
  .cards.four, .cards.three { grid-template-columns: 1fr; }
  .panel-paper { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; }
  .panel-practices { grid-template-columns: 1fr; }
  .data { grid-template-columns: 1fr; }
  .terms { font-size: 21px; }
  .contact h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-head { padding: 48px 0 36px; }
  .page-head h1 { font-size: 32px; }
  .article h2 { font-size: 24px; margin-top: 44px; }
  .article ol li { grid-template-columns: 40px 1fr; gap: 10px; }
}

/* ===== Homepage compact additions (9 Oct: less on the front page) ===== */
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
.section-head.row > div { max-width: 820px; }
.section-head.row h2 { margin-bottom: 0; }
.more { font-family: var(--heading); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; padding-bottom: 6px; border-bottom: 1px solid var(--gold); }
.cards.compact .card { padding: 22px 20px; gap: 8px; text-decoration: none; }
.cards.compact .card h3 { font-size: 16px; }
.cards.compact .card p { font-size: 13.5px; color: var(--muted); }
.cards.compact .card:hover h3 { color: var(--gold-ink); }
.method-side { display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.method-side .terms { margin-top: 0; }
.button.gold { background: var(--gold); border-color: var(--gold); color: var(--navy); align-self: flex-start; }
.button.gold:hover { background: #d8b86c; color: var(--navy); }
.strip { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.strip li { background: var(--white); padding: 18px 20px; font-family: var(--heading); font-weight: 600; font-size: 15px; color: var(--navy); }
.gov-teaser { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: center; }
.data.small { position: static; grid-template-columns: 1fr 1fr; }
.page-head .eyebrow { margin-bottom: 20px; }
@media (max-width: 1024px) { .gov-teaser { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 760px) {
  .section-head.row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .strip { grid-template-columns: 1fr; }
  .data.small { grid-template-columns: 1fr; }
}

.strip li a { color: var(--navy); text-decoration: none; }
.strip li a:hover { color: var(--gold-ink); }
