/* billofbehavior.com — minimal Hugo theme stylesheet
   Visual identity: FusionCore family. Palette canonicalised in
   biz/talks/BRAND.md. No external font imports — system stack only. */

:root {
  /* Canonical FusionCore palette — biz/talks/BRAND.md is source of truth.
     BoB is a sub-brand within this family; gold is reserved for the
     "verified" mark inside the logomark and accent rules. */
  --bg:          #ffffff;
  --bg-soft:     #f6f4ee;
  --bg-deep:     #400049;     /* FusionCore primary purple */
  --bg-deep-2:   #28002e;     /* deeper stop for gradients */
  --bg-deep-3:   #5a1a66;     /* lighter stop for gradients */
  --ink:         #1c2030;
  --ink-soft:    #4a5060;
  --muted:       #7a808c;
  --muted-dark:  #C9A5CF;     /* muted on dark — captions on hero */
  --rule:        #e6e2d6;
  --rule-dk:     #5e3568;
  --accent:      #DE5AFF;     /* FusionCore accent purple */
  --accent-dk:   #a82fc7;
  --accent-lt:   #f4dcff;
  --gold:        #C3A50D;     /* used in logomark + section underlines */
  --coral:       #D43F5B;     /* reserved for caution */
  --maxw:        960px;
  --radius:      6px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-dk);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--ink); }

/* -------- Top nav -------- */
.topnav {
  position: sticky; top: 0;
  background: rgba(64, 0, 73, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule-dk);
  z-index: 10;
}
.topnav__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 0.6rem;
  color: #fff;
}
.topnav__logomark {
  height: 28px;
  width: 28px;
  display: block;
  flex-shrink: 0;
}
.topnav__brand-text {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.01em;
}
.topnav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.topnav__brand-by {
  font-size: 0.78rem;
  font-weight: 400;
  color: #9b85a5;
  letter-spacing: 0.02em;
}
.topnav__brand-by a {
  color: #E5D4EA;
  text-decoration: none;
}
.topnav__brand-by a:hover { color: var(--accent); }
.topnav__menu {
  display: flex;
  gap: 1.25rem;
  font-size: 0.92rem;
  flex-wrap: wrap;
}
.topnav__menu a {
  color: #E5D4EA;
  text-decoration: none;
}
.topnav__menu a:hover { color: var(--accent); }

/* -------- Hero -------- */
.hero {
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(222,90,255,0.20), transparent 70%),
    linear-gradient(180deg, var(--bg-deep-3) 0%, var(--bg-deep) 60%, var(--bg-deep-2) 100%);
  color: #fff;
  padding: 5rem 1.5rem 5rem 1.5rem;
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero__inner--split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.hero__copy { min-width: 0; }
.hero__art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__art img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.35));
}
@media (max-width: 720px) {
  .hero__inner--split {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero__art img { max-width: 220px; }
}
.hero__kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 0.85rem 0;
}
.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.015em;
  color: #fff;
}
.hero__lede {
  font-size: 1.15rem;
  color: #E5D4EA;
  line-height: 1.55;
  max-width: 38em;
  margin: 0 0 1.5rem 0;
}
.hero__pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem 0;
  padding: 0;
}
.hero__pills li {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(222,90,255,0.14);
  border: 1px solid rgba(222,90,255,0.45);
  color: #f4dcff;
  border-radius: 999px;
  font-size: 0.85rem;
}
.hero__cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.12s ease, color 0.12s ease;
}
.btn--primary {
  background: var(--accent);
  color: #15182a;
}
.btn--primary:hover {
  background: #c094ff;
  color: #15182a;
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* -------- Bands (content sections) -------- */
.band {
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--rule);
}
.band--soft { background: var(--bg-soft); }
.band__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.band__kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-dk);
  margin: 0 0 0.5rem 0;
}
.band h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 1.25rem 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.band h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.6rem 0 0.4rem 0;
  color: var(--ink);
}
.band p {
  margin: 0 0 1rem 0;
  max-width: 38em;
  color: var(--ink-soft);
}
.band__contact {
  margin-top: 1.5rem;
  font-size: 0.95rem;
}
.band__note {
  margin-top: 1.5rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(222,90,255,0.07);
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-soft);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  color: var(--accent-dk);
}

/* -------- Cards -------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.card--link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.12s ease, transform 0.06s ease;
}
.card--link:hover {
  border-color: var(--accent);
  color: inherit;
  transform: translateY(-1px);
}
.card__more {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-dk);
}
.card h3 {
  margin-top: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dk);
}
.card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
}

/* -------- Bullet links (open-source) -------- */
.links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}
.links li {
  margin: 0.45rem 0;
  display: flex;
  gap: 0.6rem;
}
.links li::before {
  content: "→";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* -------- Talks list -------- */
.talks-heading {
  margin-top: 1.75rem !important;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.3rem;
  font-size: 0.82rem !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted) !important;
  font-weight: 700;
}
.talks {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}
.talks li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.talks__venue {
  font-weight: 600;
  color: var(--ink);
}
.talks__when {
  color: var(--muted);
  margin-left: 0.3rem;
}
.talks__title {
  color: var(--ink-soft);
  font-style: italic;
}
.talks__role {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dk);
  margin-left: 0.4rem;
}
.talks__link {
  margin-left: 0.4rem;
  color: var(--accent-dk);
  text-decoration: none;
  font-size: 0.85rem;
}
.talks__link:hover { color: var(--ink); }

/* -------- Footer -------- */
.site-footer {
  background: var(--bg-deep);
  color: #E5D4EA;
  padding: 3rem 1.5rem 2rem 1.5rem;
}
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.6rem 0;
}
.site-footer p {
  font-size: 0.88rem;
  color: #C9A5CF;
  margin: 0 0 0.6rem 0;
}
.site-footer a {
  color: #EDD9F3;
  text-decoration: none;
}
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer__impressum {
  grid-column: 1 / -1;
  border-top: 1px solid var(--rule-dk);
  padding-top: 1.5rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #9b85a5;
  line-height: 1.55;
}
.site-footer__impressum p { color: #9b85a5; }
.site-footer__impressum strong { color: #E5D4EA; }

@media (max-width: 600px) {
  .hero { padding: 3rem 1.25rem; }
  .band { padding: 2.5rem 1.25rem; }
  .site-footer__inner { grid-template-columns: 1fr; }
}
