/* BMC23 Security site-wide typography, layout, and inner pages.
   Self-hosted fonts. High-contrast type on a dark canvas. */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("/fonts/BigShouldersDisplay-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("/fonts/IBMPlexSansCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("/fonts/IBMPlexSansCondensed-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("/fonts/IBMPlexSansCondensed-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("/fonts/IBMPlexSansCondensed-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("/fonts/IBMPlexSansCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("/fonts/IBMPlexSansCondensed-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("/fonts/IBMPlexSansCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("/fonts/IBMPlexSansCondensed-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --sans: "IBM Plex Sans Condensed", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
  --text: #ffffff;
  --text-soft: #ece9e3;
  --text-muted: #d8d3c8;
}

html {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-soft);
}

body {
  color: var(--text-soft);
  font-weight: 400;
}

/* Brighter body copy than the mid-tone steel used in the Nov 12 prototype. */
.service-card p,
.why-cell p:last-child,
.section-head .intro,
.consult p,
.also {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  color: #fff;
  letter-spacing: 0;
  font-weight: 600;
  line-height: 1.2;
}

.hero h1 { font-weight: 700; }

/* Utility bar above the main nav */
.util-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  height: 32px;
  padding: 0 var(--pad-x);
  background: #050608;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.util-bar a {
  color: var(--text-soft);
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.util-bar a:hover,
.util-bar a:focus-visible { color: var(--gold-bright); }

.site-header { height: auto; }
.site-header .nav-bar { height: var(--header-h); }
body { padding-top: calc(32px + var(--header-h)); }
@media (max-width: 900px) {
  .util-hq { display: none; }
  body { padding-top: calc(32px + var(--header-h)); }
  .site-nav { inset: calc(32px + var(--header-h)) 0 0 0; }
}

.site-nav > a.is-current,
.dropdown-menu a.is-current {
  color: var(--gold-bright);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vh, 104px) 0 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(201, 165, 106, 0.10), transparent 55%),
    radial-gradient(ellipse 50% 50% at 90% 20%, #161d32 0%, transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--rule);
}
.page-hero .section-inner { padding-top: 0; padding-bottom: clamp(56px, 8vh, 96px); }
.page-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
  max-width: 18ch;
}
.page-hero .lede {
  margin: 1.25rem 0 0;
  max-width: 40em;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: #fff;
}
.page-hero .hero-actions { justify-content: flex-start; margin-top: 1.75rem; }
.crumb {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.crumb a { color: inherit; text-decoration: none; }
.crumb a:hover { color: var(--gold-bright); }

/* Home hero alignment when split with crest */
.hero-split {
  max-width: calc(var(--max) + var(--pad-x) * 2);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.hero-split .lede { margin-left: 0; }
.hero-split .hero-actions { justify-content: flex-start; }
.hero-line {
  margin: 1rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}
.hero-note {
  margin: 0.85rem 0 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.hero-crest {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-crest .crest-fallback {
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(201, 165, 106, 0.35));
}
.hero-crest.has-webgl .crest-fallback { opacity: 0; position: absolute; }
.crest-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.floorplan-note {
  margin: 0.6rem 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Trust strip */
.trust-strip {
  background: var(--bg-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--gold-line);
}
.trust-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.trust-grid li {
  background: var(--navy);
  padding: 22px 24px;
}
.trust-grid h3 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.trust-grid p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
}

/* Sample log / report */
.sample-log,
.shift-report {
  background: #080a0e;
  border: 1px solid var(--gold-line);
  box-shadow: 0 0 40px rgba(201, 165, 106, 0.08);
  padding: 20px 22px;
  font-family: var(--mono);
  color: var(--text-soft);
}
.sample-log header,
.shift-report header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sample-log ol,
.shift-report ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sample-log li,
.shift-report li {
  display: grid;
  grid-template-columns: 4.2em 4em 1fr auto;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  line-height: 1.4;
  color: #fff;
}
.tag {
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 600;
}
.sample-caption {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
  align-items: start;
}
.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.steps .num { color: var(--gold); font-family: var(--mono); font-size: 13px; font-weight: 600; padding-top: 4px; }
.steps h3 { margin: 0 0 6px; font-family: var(--display); font-size: 1.35rem; color: #fff; }
.steps p { margin: 0; color: var(--text-muted); line-height: 1.65; }

.scope-list,
.plain-list {
  margin: 0;
  padding-left: 1.2em;
  color: #fff;
  line-height: 1.7;
}
.scope-list li + li,
.plain-list li + li { margin-top: 0.4em; }

/* Markets / areas */
.market-row {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin: 0 0 1.5rem;
}
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.city-grid a {
  display: block;
  padding: 14px 16px;
  background: var(--navy);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
.city-grid a:hover,
.city-grid a:focus-visible {
  border-color: var(--gold);
  color: var(--gold-bright);
  box-shadow: 0 0 20px rgba(201, 165, 106, 0.16);
}
.city-grid span {
  display: block;
  padding: 14px 16px;
  background: var(--navy);
  border: 1px solid var(--rule);
  color: var(--text-soft);
}

/* MBE / SAM block */
.badge-story {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px 36px;
  align-items: center;
}
.mbe-caption {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.45;
  max-width: 18em;
}
.badge-story p,
.prose p {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
}
.badge-story p + p,
.prose p + p { margin-top: 1em; }
.prose {
  max-width: 44em;
}
.prose h2, .prose h3 {
  font-family: var(--display);
  margin: 2rem 0 0.75rem;
}
.prose ul, .prose ol { color: #fff; line-height: 1.7; }
.prose a { color: var(--gold-bright); }
.about-prose p {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.75;
}

/* Fact cards */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fact-grid li,
.post-block {
  background: var(--navy);
  border: 1px solid var(--rule);
  padding: 24px 24px 22px;
}
.fact-grid h3,
.post-block h2,
.post-block h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.45rem;
  color: #fff;
}
.fact-grid p,
.post-block p {
  margin: 0;
  color: #fff;
  font-weight: 400;
  line-height: 1.65;
}
.post-block + .post-block { margin-top: 16px; }
.post-kicker {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}

/* Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-card, .form-card {
  background: var(--navy);
  border: 1px solid var(--gold-line);
  padding: 28px;
}
.contact-card h2, .form-card h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 1.8rem;
}
.contact-dl { margin: 0; }
.contact-dl div { padding: 12px 0; border-top: 1px solid var(--rule); }
.contact-dl dt {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 4px;
}
.contact-dl dd { margin: 0; color: #fff; font-weight: 500; }
.contact-dl a { color: #fff; text-decoration: none; }
.contact-dl a:hover { color: var(--gold-bright); }

.form-card label {
  display: block;
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.form-card .field { margin-bottom: 16px; }
.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  background: #0b0d10;
  color: #fff;
  border: 1px solid var(--gold-line);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  min-height: 48px;
}
.form-card textarea { min-height: 160px; resize: vertical; }
.form-card input:focus,
.form-card textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.form-help {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.form-status {
  display: none;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--gold-line);
  color: #fff;
  background: var(--bg-deep);
}
.form-status.is-on { display: block; }

/* FAQ */
.faq-list { margin: 0; padding: 0; list-style: none; }
.faq-list details {
  border-top: 1px solid var(--rule);
  padding: 4px 0;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "-"; }
.faq-list p {
  margin: 0 0 18px;
  color: #fff;
  font-weight: 400;
  line-height: 1.7;
  max-width: 46em;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery-grid figure { margin: 0; background: var(--navy); border: 1px solid var(--rule); }
.gallery-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.gallery-grid figcaption {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

/* Blog index */
.blog-card {
  display: grid;
  gap: 8px;
  padding: 28px;
  background: var(--navy);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(201, 165, 106, 0.16);
}
.blog-card time {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blog-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: #fff;
}
.blog-card p { margin: 0; color: var(--text-muted); line-height: 1.65; }

article.article { max-width: 46em; }
article.article .meta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
article.article p, article.article li {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
}
article.article h2 {
  font-family: var(--display);
  font-size: 1.8rem;
  margin: 2.2rem 0 0.8rem;
}
article.article a { color: var(--gold-bright); }

/* Footer expanded */
.footer-grid {
  width: 100%;
  max-width: calc(var(--max) + var(--pad-x) * 2);
  margin: 0 auto;
  padding: 48px var(--pad-x) 28px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.1fr;
  gap: 32px;
}
.footer-grid h2 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid a {
  color: var(--text-soft);
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
  line-height: 1.5;
}
.footer-grid a:hover { color: var(--gold-bright); }
.footer-brand p { margin: 12px 0 0; color: var(--text-muted); max-width: 28em; line-height: 1.55; font-size: 0.95rem; }
.footer-legal {
  border-top: 1px solid var(--rule);
  padding: 18px var(--pad-x) 28px;
  max-width: calc(var(--max) + var(--pad-x) * 2);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--steel-2);
  font-size: 13px;
}
.socials { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }

/* 404 */
.notfound { min-height: 60vh; }

@media (max-width: 1000px) {
  .hero-split,
  .work-grid,
  .contact-grid,
  .badge-story,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .city-grid, .fact-grid, .trust-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .city-grid, .fact-grid, .trust-grid { grid-template-columns: 1fr; }
  .sample-log li,
  .shift-report li { grid-template-columns: 3.6em 1fr; }
  .sample-log li .tag { grid-column: 2; }
  .hero-crest { min-height: 220px; }
}


.page-hero .reveal-hero,
.page-hero .lede,
.page-hero .hero-actions {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

@media (max-width: 900px) {
  .hero-copy { order: -1; text-align: left; width: 100%; }
  .hero-crest { order: 0; max-width: 180px; min-height: 160px; margin: 20px auto 0; }
  .hero-split { text-align: left; justify-items: stretch; }
  .hero-split .lede,
  .hero-split .hero-actions { justify-content: flex-start; text-align: left; }
}
