/* BridgeGap Consulting site. Light-first drawing set (BR-13): white and paper grounds, charcoal text,
   red as the only signal (one per section), charcoal sections used sparingly. Type per BR-26.
   Generated into bgc-site/css/site.css by assemble.py; edit the source, not the output. */
:root {
  --charcoal: #332E2B;
  --charcoal-deep: #2A2623;
  --paper: #EEEAE6;
  --white: #FFFFFF;
  --red: #C40000;
  --muted: #6B6460;
  --muted-dark: #B9B1AB;
  --hair: rgba(51, 46, 43, 0.22);
  --hair-dark: rgba(255, 255, 255, 0.16);
  --display: "Red Hat Display", "Segoe UI", system-ui, sans-serif;
  --text: "Red Hat Text", "Segoe UI", system-ui, sans-serif;
  --label: "Archivo", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--charcoal); font-family: var(--text); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--charcoal); color: var(--white); padding: 10px 16px; z-index: 10; font-family: var(--display); font-weight: 700; text-decoration: none; }
.skip:focus { left: 16px; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .wrap { padding-left: max(80px, env(safe-area-inset-left, 0px)); padding-right: max(80px, env(safe-area-inset-right, 0px)); } }

/* ---------- header ---------- */
.site-head { background: var(--white); position: relative; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 24px; border-bottom: 1px solid var(--hair); flex-wrap: wrap; }
.lockup { display: block; line-height: 0; }
.lockup img { height: 40px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 10px 28px; flex-wrap: wrap; }
.nav a { font-family: var(--display); font-weight: 500; font-size: 16px; text-decoration: none; }
.nav a:not(.btn):not(.cea-badge):hover, .nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.cea-badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--hair); padding: 6px 12px 6px 6px; }
.cea-seal { width: 30px; height: 30px; border: 1.5px solid var(--charcoal); border-radius: 50%; display: grid; place-items: center; font-family: var(--label); font-stretch: 125%; font-weight: 600; font-size: 8px; letter-spacing: 0.08em; }
.cea-badge .t { font-family: var(--label); font-stretch: 125%; font-weight: 600; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.menu-btn { display: none; font-family: var(--display); font-weight: 700; font-size: 15px; background: none; color: var(--charcoal); border: 1.5px solid var(--charcoal); padding: 8px 16px; cursor: pointer; }
@media (max-width: 1099px) {
  .js .menu-btn { display: inline-block; }
  .js .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0; padding-top: 8px; }
  .js .nav.open { display: flex; }
  .js .nav a:not(.btn):not(.cea-badge) { padding: 12px 0; width: 100%; border-top: 1px solid var(--hair); }
  .js .nav .cea-badge { margin: 16px 0 12px; }
  .js .nav .btn { margin-bottom: 8px; }
}

/* ---------- buttons and links ---------- */
.btn { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.2; background: var(--charcoal); color: var(--white); padding: 15px 28px; border: 0; text-decoration: none; }
.btn:hover { background: #1f1c1a; }
.nav .btn { font-size: 15px; padding: 11px 20px; }
.btn-light { background: var(--white); color: var(--charcoal); }
.btn-light:hover { background: var(--paper); }
.lnk { font-family: var(--display); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.lnk:hover { text-decoration-thickness: 2.5px; }

/* ---------- sections ---------- */
.section { padding-block: 88px; }
@media (max-width: 899px) { .section { padding-block: 64px; } }
.paper { background-color: var(--paper);
  background-image: linear-gradient(rgba(51,46,43,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(51,46,43,.045) 1px, transparent 1px);
  background-size: 40px 40px; }
.label { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-family: var(--label); font-stretch: 125%; font-weight: 600; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; }
.label::before { content: ""; width: 28px; height: 3px; background: var(--red); flex: none; }
.label .no { color: var(--muted); letter-spacing: 0.18em; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.012em; max-width: 22em; text-wrap: balance; }
h3 { font-weight: 700; font-size: 21px; line-height: 1.25; }
.intro { font-size: 19px; color: var(--muted); max-width: 40em; margin: 24px 0 0; }
.intro p { margin: 0; }
.code { display: block; font-family: var(--label); font-stretch: 125%; font-weight: 600; font-size: 10px; letter-spacing: 0.2em; color: var(--muted); margin-bottom: 14px; }
.meta { font-family: var(--label); font-stretch: 100%; font-weight: 600; font-size: 12px; letter-spacing: 0.06em; color: var(--muted); margin: 4px 0 10px; }

/* ---------- hero ---------- */
.hero .wrap { padding-block: 72px 36px; display: grid; grid-template-columns: 1fr; gap: 28px 72px; align-items: end; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.2fr 1fr; } }
.hero .wrap > * { min-width: 0; }
.kicker { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.01em; margin: 0 0 16px; }
.hero h1 { font-weight: 800; font-size: clamp(38px, 5.2vw, 70px); line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.hero h1 em { font-style: normal; font-weight: 500; }
.lede { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0 0 28px; }

/* ---------- drawings ---------- */
.drawing .wrap { padding-block: 8px 0; }
.drawing .wrap > * { min-width: 0; }
.sheet { border: 1px solid var(--hair); background: var(--paper); line-height: 0; }
.sheet svg { display: block; width: 100%; height: auto; }
.cap-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.caption { font-family: var(--label); font-stretch: 125%; font-weight: 600; font-size: 11px; letter-spacing: 0.28em; color: var(--muted); margin: 0; text-transform: uppercase; }
.replay { font-family: var(--display); font-weight: 500; font-size: 14px; color: var(--muted); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; }
.replay:hover { color: var(--charcoal); }

/* ---------- position ---------- */
.position .wrap { padding-block: 56px 88px; }
.position-grid { display: grid; align-items: start; grid-template-columns: 1fr; gap: 12px 72px; border-top: 1px solid var(--hair); padding-top: 32px; }
@media (min-width: 900px) { .position-grid { grid-template-columns: 1fr 2.2fr; } }
.position-grid .label { margin: 6px 0 0; }
.position-grid p.say { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(21px, 2.1vw, 27px); line-height: 1.4; max-width: 34em; }

/* ---------- grids ---------- */
.grid { display: grid; gap: 20px; margin-top: 48px; }
.g4, .g3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .g4, .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .g3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .g4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 1px solid var(--hair); padding: 28px 26px 30px; min-width: 0; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.rule-item { border-top: 2px solid var(--charcoal); padding-top: 18px; min-width: 0; }
.rule-item h3 { margin-bottom: 10px; }
.rule-item p { margin: 0; color: var(--muted); font-size: 16px; }
.rule-item .lnk { display: inline-block; margin-top: 14px; font-size: 16px; }

.supporting { margin-top: 80px; }
.supporting .lead { max-width: 46em; }
.supporting .lead p { color: var(--muted); margin: 12px 0 0; font-size: 18px; }
.supporting .grid { margin-top: 36px; }

.engage { margin-top: 72px; border-top: 1px solid var(--hair); padding-top: 32px; }
.engage .label { margin-bottom: 24px; }
.engage .grid { margin-top: 0; }
.engage h3 { font-size: 19px; }
.engage .grid p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.card .lnk { display: inline-block; margin-top: 14px; font-size: 16px; }

/* ---------- approach ---------- */
.two { display: grid; grid-template-columns: 1fr; gap: 40px 80px; margin-top: 40px; }
@media (min-width: 1000px) { .two { grid-template-columns: 1.25fr 1fr; } }
.two > * { min-width: 0; }
.prose p { margin: 0 0 18px; font-size: 18px; max-width: 36em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 500; font-family: var(--display); font-weight: 700; }
.pillars { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.pillars li { counter-increment: p; border-top: 1px solid var(--hair); padding: 20px 0 20px 52px; position: relative; }
.pillars li:last-child { border-bottom: 1px solid var(--hair); }
.pillars li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 24px; font-family: var(--label); font-stretch: 125%; font-weight: 600; font-size: 11px; letter-spacing: 0.18em; color: var(--muted); }
.pillars h3 { font-size: 19px; margin-bottom: 6px; }
.pillars p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- training ---------- */
.notes { margin-top: 32px; max-width: 48em; }
.notes p { margin: 0 0 8px; color: var(--muted); font-size: 16px; }
.notes .fine { font-size: 13px; }

/* ---------- work ---------- */
.work-item .client { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.3; }
.work-item .what { color: var(--muted); font-size: 16px; margin-top: 6px; }

/* ---------- public sector ---------- */
.naics { background: var(--white); border: 1px solid var(--hair); padding: 26px 26px 18px; }
.naics ul { list-style: none; margin: 0; padding: 0; }
.naics li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair); font-size: 15px; line-height: 1.4; }
.naics li span { font-family: var(--label); font-stretch: 100%; font-weight: 600; font-size: 13px; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; padding-top: 1px; }
.naics .label { margin-bottom: 14px; }
.naics .label::before { display: none; }

/* ---------- IDEA ---------- */
.member { display: flex; align-items: center; gap: 18px; border: 1px solid var(--hair); padding: 18px 20px; margin-bottom: 28px; max-width: 30em; }
.member .seal { width: 56px; height: 56px; border: 2px solid var(--charcoal); border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--label); font-stretch: 125%; font-weight: 600; font-size: 12px; letter-spacing: 0.1em; }
.member .st { font-family: var(--label); font-stretch: 125%; font-weight: 600; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.member .org { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.3; margin: 2px 0 4px; }
.member a { font-size: 15px; }
.eco { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-content: start; }
.eco a { display: block; text-decoration: none; border: 1px solid var(--hair); padding: 22px 22px 20px; background: var(--white); transition: border-color .2s; min-width: 0; }
.eco a:hover { border-color: var(--charcoal); }
.eco .role { font-family: var(--label); font-stretch: 125%; font-weight: 600; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.eco .name { font-family: var(--display); font-weight: 700; font-size: 19px; margin: 8px 0 6px; }
.eco .desc { color: var(--muted); font-size: 15px; line-height: 1.45; }
.eco .url { display: inline-block; margin-top: 14px; font-family: var(--display); font-weight: 500; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr; gap: 28px 48px; margin-top: 40px; }
@media (min-width: 760px) { .about { grid-template-columns: 176px 1fr; } }
.about > * { min-width: 0; }
.about img { width: 176px; height: 176px; object-fit: cover; display: block; border: 1px solid var(--hair); }
.about .name { font-family: var(--display); font-weight: 800; font-size: 26px; }
.about .role { font-family: var(--label); font-stretch: 125%; font-weight: 600; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin: 6px 0 20px; }
.about .links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; }

/* ---------- contact (charcoal, used once) ---------- */
.contact { background: var(--charcoal); color: var(--white); border-top: 4px solid var(--red); }
.contact .label::before { display: none; }
.contact .label { color: var(--muted-dark); }
.contact h2 { color: var(--white); }
.contact p:not(.label) { color: var(--muted-dark); font-size: 19px; max-width: 36em; margin: 20px 0 32px; }
.contact p.note { font-size: 16px; margin: 28px 0 0; }

/* ---------- footer ---------- */
.site-foot { background: var(--charcoal); color: var(--muted-dark); font-size: 15px; }
.site-foot .wrap { border-top: 1px solid var(--hair-dark); padding-block: 56px 40px; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 64px; }
.foot-id img { height: 150px; width: auto; display: block; }
.foot-side { display: grid; gap: 20px; align-content: start; justify-items: start; }
@media (min-width: 900px) { .foot-side { justify-items: end; text-align: right; } }
.foot-line { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 28px; align-content: flex-start; }
.foot-links a { color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 500; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hair-dark); font-size: 13px; }

/* ---------- Vsont page ---------- */
.v-intro .wrap { padding-block: 72px 36px; display: grid; grid-template-columns: 1fr; gap: 24px 72px; align-items: end; }
@media (min-width: 900px) { .v-intro .wrap { grid-template-columns: 1.1fr 1fr; } }
.v-intro .wrap > * { min-width: 0; }
.v-intro h1 { font-weight: 800; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.05; letter-spacing: -0.012em; text-wrap: balance; }
.v-intro p { margin: 0 0 20px; font-size: 18px; color: var(--muted); max-width: 36em; }
.v-intro p:last-child { margin-bottom: 0; }
.v-intro p strong { color: var(--charcoal); font-weight: 500; }
.next { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; border-top: 1px solid var(--hair); padding-top: 28px; }
.next p { margin: 0; font-size: 18px; max-width: 40em; }
.v-drawing { padding-bottom: 88px; }
