/* r7.css — ALS Analytic Intelligence Corp.
   Dark review7 look for live WISE sites, the hub, and the app.
   DevOps: place at /r7.css and link AFTER existing CSS (/style.css on wave-1
   sites and the hub; /styles.css on the app; after the inline <style> block
   on the 43 compact sites). Do not replace /style.css.
   No @import. No inline style. Self-hosted fonts at /fonts/.
   Signature #C2551F as type only at >=24px regular or >=18.66px / 1.16625rem bold.
*/

@font-face {
  font-family: Geist;
  src: url("/fonts/Geist[wght].latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono[wght].latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque-SemiBold.latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque-ExtraBold.latin.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Cinzel;
  src: url("/fonts/Cinzel-Regular.latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Cinzel;
  src: url("/fonts/Cinzel-Bold.latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Michroma;
  src: url("/fonts/Michroma-Regular.latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root,
html {
  --color-paper: #FCFCFB;
  --color-ink: #0A0A0A;
  --color-signature: #C2551F;
  --color-page: #0A0A0A;
  --color-type: #FCFCFB;
  --color-body: #9A9A96;
  --color-panel: #161616;
  --color-rule: #2A2A28;
  --color-headgrey: #9A9A96;
  --color-hair: #2A2A28;
  --color-tint: #161616;

  --bg: #0A0A0A;
  --fg: #FCFCFB;
  --mut: #9A9A96;
  --soft: #161616;
  --line: #2A2A28;
  --card: #161616;
  --dark: #161616;
  --acc: #FCFCFB;
  --acc2: #9A9A96;

  --font-sans: Geist, ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --font-display-maker: "Bricolage Grotesque", Geist, ui-sans-serif, sans-serif;
  --font-display-heritage: Cinzel, Geist, ui-serif, serif;
  --font-kicker-heritage: Michroma, "Geist Mono", ui-monospace, monospace;
  --font-display: var(--font-sans);
  --font-kicker: var(--font-mono);

  --text-kicker: 1.16625rem;
  color-scheme: dark;
}

html[data-palette="maker-stem"] {
  --font-display: var(--font-display-maker);
}
html[data-palette="heritage-future"] {
  --font-display: var(--font-display-heritage);
  --font-kicker: var(--font-kicker-heritage);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { background: #0A0A0A; }

body {
  margin: 0;
  background: #0A0A0A;
  color: #9A9A96;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .title, .wordmark-name, .brand, .brand-line {
  color: #FCFCFB;
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.15rem; line-height: 1.15; margin: 0.6em 0 0.35em; }
h2 { font-size: 1.5rem; line-height: 1.25; margin: 1.8em 0 0.5em; }
h3 { font-size: 1.2rem; margin: 1.2em 0 0.35em; }

a { color: #FCFCFB; text-underline-offset: 0.18em; }
a:hover { color: #FCFCFB; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 8px;
  top: 8px;
  z-index: 20;
  background: #161616;
  color: #FCFCFB;
  padding: 8px 12px;
  border: 1px solid #2A2A28;
}

/* Disclosure banner: ink panel, not yellow / gold */
.disc,
.disc-block,
.affiliate-note,
.disclaimer-line,
.note.disclaimer-line {
  background: #161616;
  color: #FCFCFB;
  border: 0;
  border-bottom: 2px solid #C2551F;
  border-radius: 0;
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  text-align: center;
}
.disc a,
.disc-block a,
.affiliate-note a { color: #FCFCFB; font-weight: 650; }

/* Wave-1 / 43 compact chrome */
header:not(.site-header):not(.top) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  max-width: 920px;
  margin: 0 auto;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 2px solid #C2551F;
  background: #0A0A0A;
}
header:not(.site-header):not(.top) .brand,
a.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #FCFCFB;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
header:not(.site-header):not(.top) .brand svg,
a.brand svg {
  width: 32px;
  height: 32px;
  flex: none;
  filter: none;
  outline: 1px solid #FCFCFB;
  outline-offset: 0;
}
header:not(.site-header):not(.top) nav a,
header:not(.site-header):not(.top) nav a:hover {
  color: #FCFCFB;
  margin-left: 1rem;
  font-weight: 550;
  text-decoration: none;
}
header:not(.site-header):not(.top) nav a:hover { text-decoration: underline; }

main:not(.page-main),
footer:not(.site-footer):not(.foot) {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1rem;
}
footer:not(.site-footer):not(.foot) {
  border-top: 2px solid #C2551F;
  margin-top: 3em;
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
  font-size: 0.9rem;
  color: #9A9A96;
}

/* Lead stock / showcase / host bands — full bleed, not cropped to 2.39 by default */
.stock-band,
.showcase-band,
.host-band,
.ana-band {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #0A0A0A;
  border: 0;
}
.stock-band img,
.showcase-band img,
.host-band img,
.ana-band img,
.cat-slot img,
.cat-tile-media img,
.site-card-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.stock-band img,
.ana-band.stock-band img {
  aspect-ratio: 16 / 9;
  max-height: 52vh;
  object-position: center;
}
.showcase-band img { aspect-ratio: 2.39 / 1; object-position: center; max-height: 42vh; }
.host-band img,
.ana-band.host-band img { aspect-ratio: 16 / 9; object-position: center 20%; max-height: 52vh; }

.kicker,
.stock-band figcaption,
.showcase-band figcaption,
.host-band figcaption,
.eyebrow,
.tile-count {
  font-family: var(--font-kicker);
  font-size: 1.16625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C2551F;
  margin: 0;
  padding: 0.7rem 1rem 0.85rem;
}

.cat-slot {
  margin: 2.5rem 0 1rem;
  max-width: 920px;
}
.cat-slot a { text-decoration: none; color: #FCFCFB; }
.cat-slot img { aspect-ratio: 16 / 9; border: 1px solid #2A2A28; }

/* Heroes: lifted panel, 2px signature rule, no candy fills */
.hero,
section.hero {
  background: #161616;
  color: #9A9A96;
  border: 0;
  border-top: 2px solid #C2551F;
  border-radius: 0;
  box-shadow: none;
  padding: 1.6rem 1.25rem 1.4rem;
  margin: 0 0 1.25rem;
  position: relative;
  overflow: hidden;
}
.hero h1,
.hero h1 *,
.hero .muted { color: #FCFCFB; }
.hero p,
.hero .subhead { color: #9A9A96; max-width: 38rem; }
.hero svg.art,
svg.art { display: none !important; }
.hero-still img { width: 100%; height: auto; display: block; }

.answer {
  background: #161616;
  border: 0;
  border-left: 2px solid #C2551F;
  padding: 0.85rem 1rem;
  margin: 1em 0;
  border-radius: 0;
  color: #FCFCFB;
}
.answer p { margin: 0; color: #FCFCFB; }

ul.cards,
.cards {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.cards li {
  padding: 0.9rem 1rem;
  background: #161616;
  border: 1px solid #2A2A28;
  border-radius: 0;
  box-shadow: none;
  position: relative;
}
.cards li:before { content: none; display: none; }
.cards a { color: #FCFCFB; text-decoration: none; }
.cards a strong { color: #FCFCFB; font-weight: 650; }
.cards a strong:hover { text-decoration: underline; }
.cards span { color: #9A9A96; font-size: 0.95rem; }

.meta, .stamp, .more, .ad, .muted, .loc { color: #9A9A96; }
.meta { font-size: 0.9rem; margin-top: 0; }

.note, .warn, .legalban {
  background: #161616;
  border: 0;
  border-left: 2px solid #C2551F;
  padding: 0.75rem 1rem;
  margin: 1em 0;
  border-radius: 0;
  color: #FCFCFB;
}
.warn { color: #FCFCFB; }

.crumbs { font-size: 0.9rem; color: #9A9A96; margin: 12px 0 0; }
.crumbs a { color: #9A9A96; }

.toc {
  background: #161616;
  border: 1px solid #2A2A28;
  padding: 0.75rem 1rem;
  margin: 1em 0;
  font-size: 0.95rem;
  border-radius: 0;
}
.toc ol { margin: 0.3em 0; padding-left: 1.25rem; }

.related, .cross, .more {
  border-top: 1px solid #2A2A28;
  margin-top: 2em;
  padding-top: 0.75rem;
}

table, .table-wrap table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
  margin: 1em 0;
  background: #161616;
  border: 1px solid #2A2A28;
  border-radius: 0;
  display: block;
  overflow-x: auto;
}
th, td {
  border-bottom: 1px solid #2A2A28;
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
  color: #9A9A96;
}
th { background: #0A0A0A; color: #FCFCFB; font-weight: 650; }

ol.src { font-size: 0.9rem; color: #9A9A96; }
code { background: #161616; color: #FCFCFB; padding: 1px 5px; }

.hosts, .founder-portraits, .who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .hosts, .founder-portraits, .who-grid { grid-template-columns: 1fr; }
}
.hosts figure, .founder, .solo {
  margin: 0;
  background: #0A0A0A;
}
.hosts img, .founder img, .solo img, .crop-r img {
  width: 100%;
  height: auto;
  display: block;
  outline: 1px solid #FCFCFB;
  outline-offset: 0;
}
.hosts figcaption, .founder h3, .role {
  color: #FCFCFB;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 550;
  padding: 0.5rem 0 0;
}
.role, .founder-email {
  color: #9A9A96;
  font-weight: 450;
  font-size: 0.95rem;
}

.topics { color: #9A9A96; margin-top: 0.6em; }
.topics a { color: #FCFCFB; }

.privacy-policy, .legal-page, article {
  color: #9A9A96;
}
article h1, article h2, article h3 { color: #FCFCFB; }

/* ---------- Hub (alswise.com) ---------- */
.site-header {
  background: #0A0A0A;
  border-bottom: 2px solid #C2551F;
  color: #FCFCFB;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
}
.wordmark, .wordmark-name { color: #FCFCFB; text-decoration: none; }
.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; }
.wordmark .mark,
img.mark {
  width: 32px;
  height: 32px;
  outline: 1px solid #FCFCFB;
  background: #0A0A0A;
}
.wordmark .rule, .hero-rule, .rule-bar, .rule {
  background: #C2551F;
  height: 2px;
  border: 0;
}
.nav-main a, .header-utils .email, .footer-links a {
  color: #FCFCFB;
  text-decoration: none;
}
.nav-main { display: flex; flex-wrap: wrap; gap: 0.85rem 1.1rem; }
.nav-main a:hover, .footer-links a:hover { text-decoration: underline; }

.btn-primary, .btn-secondary, .btn, .card-cta {
  display: inline-block;
  background: #161616;
  color: #FCFCFB;
  border: 1px solid #FCFCFB;
  border-radius: 0;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 550;
}
.btn-secondary, .btn.ghost {
  border-color: #2A2A28;
  color: #FCFCFB;
}
.btn-primary:hover, .btn-secondary:hover, .btn:hover { background: #0A0A0A; color: #FCFCFB; }

.band, .band.dark, section.band {
  background: #0A0A0A;
  color: #9A9A96;
  padding: 2.5rem 0;
}
.band.dark { background: #0A0A0A; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.lede, .subhead, .tile-blurb { color: #9A9A96; }

.site-header + .stock-band,
.site-header + .showcase-band { border-top: 0; }

section.hero#hero,
.page-main .hero,
#hero.hero {
  background: #0A0A0A;
  border-top: 0;
  display: grid;
  gap: 1.5rem;
  padding: 2rem 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
}
.hub-hero-media, .hub-hero-loop, .hub-hero-poster {
  display: block;
  width: 100%;
  height: auto;
  background: #0A0A0A;
}
.cat-tile, .site-card {
  background: #161616;
  border: 1px solid #2A2A28;
  color: #FCFCFB;
  text-decoration: none;
  display: block;
}
.cat-tile-media img, .site-card-media img, .cat-hero-media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.tile-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cat-hero { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.page-main, .category-page { background: #0A0A0A; color: #9A9A96; }
.site-footer {
  background: #0A0A0A;
  border-top: 2px solid #C2551F;
  color: #9A9A96;
  padding: 2rem 0 2.5rem;
}
.founders, .includes { color: #9A9A96; }
.include { background: #161616; border: 1px solid #2A2A28; padding: 1rem; }
.footer-notes, .copyright, .contact-line { color: #9A9A96; }
.placeholder, .placeholder-page, .not-found { background: #0A0A0A; color: #9A9A96; }

/* ---------- App (app.alswise.com) ---------- */
header.top {
  background: #0A0A0A;
  border-bottom: 2px solid #C2551F;
  color: #FCFCFB;
  padding: 0.85rem 1rem;
}
header.top .brand { color: #FCFCFB; text-decoration: none; display: flex; gap: 0.6rem; align-items: center; }
header.top .mark {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: #0A0A0A;
  box-shadow: 0 0 0 1px #FCFCFB;
}
header.top .sub { display: block; color: #9A9A96; font-weight: 450; font-size: 0.85rem; }
.install {
  background: #161616;
  color: #FCFCFB;
  border-bottom: 1px solid #2A2A28;
  padding: 0.75rem 1rem;
}
.row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
nav.tabs {
  display: flex;
  gap: 0;
  border-top: 2px solid #C2551F;
  background: #0A0A0A;
}
nav.tabs a {
  flex: 1;
  text-align: center;
  color: #FCFCFB;
  text-decoration: none;
  padding: 0.75rem 0.4rem;
  font-family: var(--font-kicker);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
nav.tabs a[aria-current], nav.tabs a.is-active { box-shadow: inset 0 -2px 0 #C2551F; }
main#main { background: #0A0A0A; color: #9A9A96; min-height: 50vh; }
footer.foot {
  background: #0A0A0A;
  border-top: 1px solid #2A2A28;
  color: #9A9A96;
  padding: 1.25rem 1rem 2rem;
  font-size: 0.9rem;
}
footer.foot a { color: #FCFCFB; }

@media (prefers-reduced-motion: reduce) {
  .hub-hero-loop, video { display: none !important; }
  .hub-hero-poster { display: block !important; }
  * { animation: none !important; transition: none !important; }
}

.hosts-names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 920px;
  margin: 0.75rem auto 1.5rem;
  padding: 0 1rem;
  color: #FCFCFB;
}
.hosts-names .role { color: #9A9A96; }
@media (max-width: 640px) {
  .hosts-names { grid-template-columns: 1fr; }
}
