/* BB2G Integrated Architecture — public surface
   Self-contained: no external fonts, no CDN, no third-party requests. */

:root {
  color-scheme: dark;
  --navy-900: #02040a;
  --navy-800: #050b18;
  --navy-700: #0a1428;
  --navy-600: #101f3c;
  --line:     rgba(150,180,235,.16);
  --line-hi:  rgba(150,180,235,.34);
  --ink:      #f2f6ff;
  --ink-dim:  #b6c6e2;
  --ink-mute: #8296b6;
  --red:      #b22234;
  --red-hi:   #e0475c;
  --blue:     #3c3b6e;
  --gold:     #e8c66a;
  --green:    #4ade80;
  --sans: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--navy-900); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
a { color: #a8c4ff; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #d6e4ff; }

/* ── hero ─────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center;
  overflow: hidden; isolation: isolate; }
.hero canvas { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 90% 70% at 50% 45%, rgba(2,4,10,.30), rgba(2,4,10,.88) 78%),
    linear-gradient(to bottom, rgba(2,4,10,.55), rgba(2,4,10,0) 30%, rgba(2,4,10,.92)); }
.hero .wrap { padding-top: 96px; padding-bottom: 96px; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .34em;
  text-transform: uppercase; color: rgba(190,210,255,.78); margin: 0 0 26px; }
.hero h1 { margin: 0 0 22px; font-size: clamp(40px, 7.4vw, 88px); line-height: 1.03;
  font-weight: 800; letter-spacing: -.028em; text-shadow: 0 4px 40px rgba(0,0,0,.7); }
.hero h1 span { display: block; font-weight: 300; font-size: .52em; letter-spacing: -.01em;
  color: var(--ink-dim); margin-top: 14px; }
.lede { font-size: clamp(18px, 2.2vw, 23px); line-height: 1.55; color: var(--ink-dim);
  max-width: 34em; margin: 0 0 34px; text-shadow: 0 2px 20px rgba(0,0,0,.8); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px;
  border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .02em;
  text-decoration: none; border: 1px solid var(--line-hi); color: var(--ink);
  background: rgba(255,255,255,.07); backdrop-filter: blur(6px); transition: .18s ease; }
.btn:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-primary { background: var(--red); border-color: var(--red);
  box-shadow: 0 8px 34px rgba(178,34,52,.45); }
.btn-primary:hover { background: var(--red-hi); border-color: var(--red-hi); }
.scrollcue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 11.5px; letter-spacing: .28em; color: rgba(180,200,235,.55); }

/* ── masthead ─────────────────────────────────────────────────── */
.masthead { display: flex; align-items: center; gap: 20px; margin: 0 0 40px; }
.masthead img { display: block; width: auto; filter: drop-shadow(0 4px 18px rgba(0,0,0,.65)); }
.masthead .bb2g { height: 72px; }
.masthead .bcf  { height: 50px; }
.masthead .sep { width: 1px; align-self: stretch; margin: 6px 0;
  background: linear-gradient(to bottom, transparent, rgba(232,198,106,.55), transparent); }
@media (max-width: 620px) {
  .masthead { gap: 14px; margin-bottom: 30px; }
  .masthead .bb2g { height: 54px; }
  .masthead .bcf  { height: 38px; }
}

/* ── sections ─────────────────────────────────────────────────── */
section { padding: 92px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.12; font-weight: 700;
  letter-spacing: -.02em; margin: 0 0 22px; }
h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.01em; }
p { margin: 0 0 18px; }
.big { font-size: clamp(20px, 2.6vw, 27px); line-height: 1.5; color: var(--ink);
  max-width: 30em; font-weight: 300; }
.muted { color: var(--ink-mute); }
.small { font-size: 14.5px; line-height: 1.6; }

.grid { display: grid; gap: 18px; margin-top: 36px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: linear-gradient(160deg, rgba(20,36,68,.55), rgba(8,16,32,.55));
  border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; }
.card p { margin: 0; color: var(--ink-dim); font-size: 15.5px; }
.card .n { font-family: var(--mono); font-size: 12px; color: var(--gold);
  letter-spacing: .1em; display: block; margin-bottom: 12px; }

table { width: 100%; border-collapse: collapse; margin: 30px 0 8px; font-size: 15px; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line);
  vertical-align: top; }
th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 700; border-bottom-color: var(--line-hi); }
td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
td code { font-family: var(--mono); font-size: 13px; color: var(--gold); }
.scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroller table { min-width: 640px; }

pre { background: rgba(4,9,20,.8); border: 1px solid var(--line); border-radius: 12px;
  padding: 24px; overflow-x: auto; font-family: var(--mono); font-size: 13px;
  line-height: 1.75; color: var(--ink-dim); }

/* ── the honesty block ────────────────────────────────────────── */
.gates { background: linear-gradient(160deg, rgba(70,16,24,.5), rgba(20,8,14,.6));
  border: 1px solid rgba(224,71,92,.35); border-left: 4px solid var(--red-hi);
  border-radius: 14px; padding: 34px 32px; margin-top: 34px; }
.gates h3 { color: #ffd9de; }
.gates p:last-child { margin-bottom: 0; }
.gates ul { margin: 0 0 18px; padding-left: 20px; color: var(--ink-dim); }
.gates li { margin-bottom: 7px; }

/* ── full-bleed flag band ─────────────────────────────────────── */
.band { position: relative; min-height: 58svh; display: grid; place-items: center;
  overflow: hidden; text-align: center; border-top: 1px solid var(--line); padding: 80px 0; }
.band canvas { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 50%, rgba(2,4,10,.34), rgba(2,4,10,.9) 76%); }
.band .q { font-size: clamp(24px, 4vw, 46px); line-height: 1.3; font-weight: 300;
  max-width: 20em; margin: 0 auto; text-shadow: 0 3px 30px rgba(0,0,0,.85); }
.band .q strong { font-weight: 700; }
.band .attrib { margin-top: 22px; font-size: 13px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(190,210,255,.6); }

/* ── film strip ───────────────────────────────────────────────── */
.film { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 800px) { .film { grid-template-columns: 1fr; } }
.film .shot { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line-hi); background: #02040a; display: block; }
.film .shot canvas { width: 100%; height: 100%; display: block; }
.film .shot .play { position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(2,4,10,.28); transition: .2s ease; }
.film .shot:hover .play { background: rgba(2,4,10,.05); }
.film .shot .play span { width: 78px; height: 78px; border-radius: 50%;
  background: rgba(255,255,255,.94); color: #02040a; display: grid; place-items: center;
  font-size: 26px; padding-left: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }

/* ── footer ───────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 56px 0 76px; color: var(--ink-mute);
  font-size: 14px; }
footer .cols { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
footer h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-dim); margin: 0 0 12px; font-weight: 700; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 7px; }
footer .rule { margin: 40px 0 24px; height: 1px; background: var(--line); }

/* ── reveal ───────────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}
