/**
 * Blackford — Block Styles (Frontend + Editor)
 *
 * Registered block style variants that cannot be expressed in theme.json alone.
 * Enqueued on the frontend via blackford_enqueue_assets() and added to the editor
 * via blackford_editor_assets() in inc/enqueues.php.
 *
 * @version 1.1.0
 */

/* ─── Eyebrow heading / paragraph style ─────────────────────────────────────── */

.is-style-eyebrow {
  font-family: var(--wp--preset--font-family--inter);
  font-size: var(--wp--preset--font-size--eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.4;
}

/* Eyebrow with monospace typeface (feature labels, spec sheets, counters) */
.is-style-eyebrow-mono {
  font-family: var(--wp--preset--font-family--jetbrains-mono);
  font-size: var(--wp--preset--font-size--eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.4;
}

/* Editor preview wrappers */
.editor-styles-wrapper .is-style-eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.4;
}

.editor-styles-wrapper .is-style-eyebrow-mono {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.4;
}

/* ─── v2.0 Trust Strip ───────────────────────────────────────────────────── */

.bf-trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--wp--preset--color--concrete-200);
  border-left: 1px solid var(--wp--preset--color--concrete-200);
}

.bf-trust-strip__name {
  font-family: var(--wp--preset--font-family--jetbrains-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wp--preset--color--concrete-400);
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--wp--preset--color--concrete-200);
  border-bottom: 1px solid var(--wp--preset--color--concrete-200);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: color 200ms ease;
}

.bf-trust-strip__name:hover {
  color: var(--wp--preset--color--concrete-800);
}

@media (max-width: 900px) {
  .bf-trust-strip__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .bf-trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── v2.0 Hero ─────────────────────────────────────────────────────────── */

.bf-hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding-top: 10vh;
}

.bf-hero__headline {
  font-family: var(--wp--preset--font-family--fraunces);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: #F4F5F6;
  margin: 0.75rem 0 1.5rem;
}

.bf-hero__subhead {
  font-family: var(--wp--preset--font-family--inter);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: rgba(244, 245, 246, 0.8);
  margin: 0 0 2.5rem;
  max-width: 560px;
}

.bf-hero__ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.bf-hero .bf-cta-primary {
  background: rgba(244, 245, 246, 0.95);
  color: var(--wp--preset--color--concrete-900);
  border-color: transparent;
}

.bf-hero .bf-cta-primary:hover {
  background: #fff;
  color: var(--wp--preset--color--concrete-ink);
}

.bf-hero .bf-cta-ghost {
  color: #F4F5F6;
  border-color: rgba(244, 245, 246, 0.4);
}

.bf-hero .bf-cta-ghost:hover {
  background: rgba(244, 245, 246, 0.1);
  border-color: rgba(244, 245, 246, 0.7);
  color: #F4F5F6;
}

/* ─── v2.0 block style: ink group ──────────────────────────────────────── */

.wp-block-group.is-style-blackford-ink {
  background-color: var(--wp--preset--color--concrete-ink, #0C0D0F);
  color: var(--wp--preset--color--concrete-100);
}

/* ─── v2.0 block style: editorial cover ─────────────────────────────────── */

.wp-block-cover.is-style-blackford-editorial .wp-block-cover__image-background {
  filter: grayscale(20%) contrast(105%);
}
