/* obsidian.css: bootmaas.com in Obsidian (the operator's pick, 2026-11-26, from directions
   drawn for him on a design canvas): a near-black ground, the racks at the top of the home
   page, Archivo wide and light in capitals, IBM Plex Mono for labels, and one amber signal.
   Loaded after fly.css on bootmaas.com's own pages (the home page and the rack builder,
   which loads rack.css after it); the slides keep their own look. It changes how things
   look and nothing rack.js finds: the rack builder's classes and ids are its own. */

:root {
  --body: #06070a;
  --module: #0c0f14;
  --well: #0a0c10;
  --rule: #1a1f26;
  --ivory: #eef2f6;
  --label: #8b95a1;
  --sub: #a9b3bf;
  --ink: #eef2f6;
  --ink-sub: #a9b3bf;
  --signal: #ff9a3d;
  --signal-rgb: 255,154,61;
  --signal-ink: #ff9a3d;
  --hair: #1a1f26;
  --hair-hi: rgba(255,255,255,0.22);
  --wide: 1240px;
}

body { background: var(--body); color: #d9dee4; }

/* the bar: dark glass with a hairline under it, the wordmark wide and light */
.top, body.flat .top {
  background: rgba(6,7,10,0.82); border-bottom: 1px solid rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding-left: max(16px, 4vw); padding-right: max(16px, 4vw);
}
.brand span, .brand span.mixed { font-stretch: 125%; font-weight: 300; font-size: 19px; letter-spacing: 0.26em; text-transform: uppercase; color: #eef2f6; }
.brand span b { font-weight: 600; color: var(--signal); }
.links { gap: 6px 26px; font-size: 12px; letter-spacing: 0.18em; }
.links a:not(.join) { color: var(--label); }
.links a:not(.join):hover { color: #eef2f6; }
.links .join, .links a.join { background: var(--signal); color: #06070a; border-radius: 2px; padding: 11px 16px; font-weight: 600; }
.links .join:hover, .links a.join:hover { color: #06070a; background: #ffb066; }

/* the hero: the racks, a slow sweep of light across them, and a shade to read over */
@keyframes bm-sweep { 0% { transform: translateX(-60%); } 100% { transform: translateX(160%); } }
@keyframes bm-flicker { 0%, 100% { opacity: 0.9; } 41% { opacity: 0.94; } 43% { opacity: 0.85; } 44% { opacity: 0.92; } }
.bm-hero { position: relative; overflow: hidden; min-height: min(92vh, 820px); display: flex; align-items: flex-end; padding: 150px max(16px, 4vw) 56px; box-sizing: border-box; }
.bm-racks { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: bm-flicker 7s steps(1, end) infinite; }
.bm-sweep { position: absolute; inset: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,170,90,0.06), transparent); animation: bm-sweep 22s linear infinite; pointer-events: none; }
/* darker at the top under the bar, at the foot where the page goes on, and on the side the
   words are; the racks show through on the other */
.bm-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(6,7,10,0.62) 0%, rgba(6,7,10,0.25) 45%, rgba(6,7,10,0) 70%),
  linear-gradient(180deg, rgba(6,7,10,0.82) 0%, rgba(6,7,10,0.12) 36%, rgba(6,7,10,0.30) 66%, rgba(6,7,10,0.94) 100%); }
.bm-hero-in { position: relative; width: min(var(--wide), 100%); margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.bm-hero-in > * { max-width: 860px; }
.bm-kicker { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--signal); }
@media (prefers-reduced-motion: reduce) { .bm-racks, .bm-sweep { animation: none; } .bm-racks { opacity: 0.9; } }

/* type: wide, light capitals; the signal only for what is emphasised */
h1, h2 { font-family: var(--display); font-stretch: 125%; font-weight: 200; text-transform: uppercase; letter-spacing: 0.02em; color: #f4f6f8; }
h1 { font-size: clamp(36px, 5.2vw, 72px); line-height: 1.05; }
h2 { font-size: clamp(26px, 3.4vw, 46px); line-height: 1.1; }
h1 em, h2 em { font-style: normal; font-weight: 300; color: var(--signal); }
p, .light p { color: var(--sub); line-height: 1.65; }
.lede { font-size: 19px; line-height: 1.6; color: #b9c2cc; }
a.inline, .light a.inline { color: #eef2f6; text-decoration-color: rgba(var(--signal-rgb), 0.7); text-underline-offset: 3px; }
code { font-family: var(--mono); font-size: 0.88em; color: #eef2f6; }

/* the page: bands between hairlines, not boxes; under the hero, main need not clear the bar */
/* WHY body.page: fly.css sets main's padding as body.page main, which outranks .bm-hero +
   main by specificity whatever the order; the first look had main clearing a bar that the
   hero had already cleared (2026-11-26) */
body.page main { padding: 120px max(16px, 4vw) 72px; gap: 0; }
body.page .bm-hero + main { padding-top: 0; }
body.page .bm-hero + main > .panel:first-child { padding-top: 36px; }
body.page .panel { width: min(var(--wide), 100%); }
.panel, .panel.dark, .panel.light { background: none; border: 0; border-top: 1px solid var(--hair); border-radius: 0; padding: 64px 0; color: #d9dee4; gap: 24px; }
.panel:first-child { border-top: 0; }
.eyebrow, .light .eyebrow { font-size: 12px; letter-spacing: 0.24em; color: var(--label); }
.eyebrow span:first-child { color: var(--signal); }
.caption, .light .caption { color: var(--label); }

/* features: a hairline above each, the name as an amber label */
.row3, .feats { gap: 0 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.feat, .light .feat { background: none; border-radius: 0; border-top: 1px solid var(--hair); padding: 22px 0 10px; gap: 10px; }
.feat b { font-family: var(--mono); font-weight: 400; font-size: 12px; line-height: 1.5; letter-spacing: 0.2em; text-transform: uppercase; color: var(--signal); }
.feat span, .light .feat span { color: var(--sub); font-size: 16px; line-height: 1.6; }
.feat span code { display: inline; white-space: normal; font-size: 0.9em; color: #eef2f6; padding: 0; }

/* controls: square-cornered, mono, in capitals */
.btn { border-radius: 2px; font-family: var(--mono); font-weight: 400; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; padding: 16px 22px; }
.btn.primary { background: var(--signal); color: #06070a; }
.btn.primary:hover { background: #ffb066; }
.btn.ghost { background: transparent; border: 1px solid var(--hair-hi); color: #d9dee4; font-weight: 400; }
.btn.ghost:hover { border-color: #eef2f6; color: #ffffff; }

/* a measured number, in its own band */
.bm-proof { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 40px; width: min(var(--wide), 100%); box-sizing: border-box; border-top: 1px solid var(--hair); padding: 40px 0; }
.bm-proof b { font-family: var(--mono); font-weight: 400; font-size: clamp(44px, 6vw, 64px); line-height: 1; color: #f4f6f8; white-space: nowrap; }
.bm-proof b small { font-size: 0.45em; color: var(--label); }   /* the unit, and a space the size of the unit: a mono space is a whole digit wide */
.bm-proof span { flex: 1 1 420px; max-width: 62ch; font-size: 17px; line-height: 1.6; color: var(--sub); }

/* the terminal line under the contact, and the footer */
.shot { background: var(--well); border: 1px solid var(--hair); border-radius: 2px; color: #d9dee4; }
.shot-bar { background: #0f1217; border-bottom: 1px solid var(--hair); }
.credit { width: min(var(--wide), 100%); border-top: 1px solid var(--hair); padding-top: 28px; letter-spacing: 0.16em; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

@media (max-width: 700px) {
  /* the bar wraps to three rows on a phone */
  body.page main { padding-top: 170px; }
  .bm-hero { min-height: 0; padding-top: 190px; padding-bottom: 40px; }
  .panel, .panel.dark, .panel.light { padding: 48px 0; }
  .links { gap: 4px 18px; }
}
