/* Blacksmith & Witches Publishing — Strict House Palette
   Primary Background: #FFFFFF
   House Blue:         #005BBB
   House Yellow:       #FFD500
   Ink:                #111827
*/

:root {
  --bg: #ffffff;
  --blue: #005bbb;
  --blue-dark: #004794;
  --yellow: #ffd500;
  --yellow-dark: #e6bf00;
  --ink: #111827;
  --muted: #4b5563;
  --border: #e5e7eb;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Ecosystem Navigation Bar */
.ecosystem-bar {
  background-color: var(--blue);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.ecosystem-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
}

.brand-badge {
  background-color: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-weight: 500;
  opacity: 0.9;
}

.ecosystem-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
}

.ecosystem-nav a:hover {
  color: var(--yellow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background-color: var(--blue);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--blue-dark);
}

.btn-accent {
  background-color: var(--yellow);
  color: var(--ink);
}

.btn-accent:hover {
  background-color: var(--yellow-dark);
}

/* Pills & Kickers */
.eyebrow,
.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 10px;
}

.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.pill-blue {
  background-color: var(--blue);
  color: #ffffff;
}

.pill-yellow {
  background-color: var(--yellow);
  color: var(--ink);
}

.pill-outline {
  border: 1px solid var(--border);
  color: var(--ink);
  background-color: #ffffff;
}

/* Hero */
.hero {
  padding: 64px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 28px;
  font-size: 17px;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px;
  background-color: #ffffff;
}

.hero-card-tag {
  display: inline-block;
  background-color: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.imprint-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.imprint-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.imprint-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.imprint-list strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.imprint-list span {
  font-size: 13px;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 56px 0;
}

.border-top {
  border-top: 1px solid var(--border);
}

.section-header {
  max-width: 640px;
  margin-bottom: 32px;
}

.section-header h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Cards */
.cards-grid {
  display: grid;
  gap: 20px;
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-highlight {
  border: 2px solid var(--blue);
}

.card-forthcoming {
  border-style: dashed;
}

.card-media {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-fallback {
  width: 100%;
  height: 100%;
  min-height: 160px;
  background-color: var(--blue);
  color: #ffffff;
  font-weight: 900;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.media-fallback.tall {
  min-height: 260px;
  border-radius: var(--radius);
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.card-body h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.card-body p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  flex: 1;
}

.card-link {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
}

.card-link:hover {
  text-decoration: underline;
}

.card-status {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

/* Creators Open Catalogue Banner */
.creator-banner {
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.creator-banner-copy {
  max-width: 600px;
}

.creator-banner-copy h2 {
  margin: 10px 0 8px;
  font-size: 24px;
  font-weight: 900;
}

.creator-banner-copy p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.creator-banner-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.helper-note {
  font-size: 12px;
  color: var(--muted);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: start;
}

.about-grid h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.about-copy p {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--muted);
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
}

.about-links a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 700;
  color: var(--ink);
}

.footer-links a:hover {
  color: var(--blue);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .three-col,
  .four-col,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 0;
  }
}
