/* ================================================================
   Homepage Hero — video bg + display H1 + chips + trust row
   ================================================================ */

.hp-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: #e6e3d9;
}

/* Background video — anchored bottom-right on desktop */
.hp-hero-video {
  pointer-events: none;
  object-fit: contain;
}
.hp-hero-video--desktop {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 92%;
  max-height: 760px;
  width: auto;
  z-index: 1;
}
.hp-hero-video--mobile {
  display: none;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

/* Foreground content */
.hp-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 56px;
  padding-bottom: 64px;
}

.hp-hero-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hp-hero-grid {
  max-width: 72%;
}

.hp-hero-h1 {
  margin: 0;
  font-family: var(--font-display);
}
.hp-hero-h1-orange {
  color: var(--orange);
  font-size: clamp(48px, 7vw, 5.94rem);
  display: block;
}
.hp-hero-h1-ink {
  color: var(--ink);
  font-size: clamp(36px, 5vw, 4.1rem);
  letter-spacing: 0;
  display: block;
  white-space: nowrap;
}

.hp-hero-desc {
  margin: 40px 0 0;
  font-size: 19px;
  line-height: 1.5;
  max-width: 640px;
  color: var(--ink);
}

.hp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.hp-hero-note {
  font-size: 12px;
  margin-top: 24px;
  opacity: 0.65;
}

/* Trust row — 4 cells, paper-bg + ink-border + dashed dividers */
.hp-hero-trust {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
}

.hp-hero-trust-cell {
  padding: 14px;
  border-right: 1px dashed var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hp-hero-trust-cell:last-child {
  border-right: none;
}

.hp-hero-trust-head {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.hp-hero-trust-head .mono {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hp-hero-trust-value {
  font-weight: 700;
  font-size: 14px;
}

/* ── Responsive ─────────────────────────────── */

@media (max-width: 1024px) {
  .hp-hero-grid { max-width: 100%; }
  .hp-hero-video--desktop { opacity: 0.18; height: 100%; }
  .hp-hero-trust { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hp-hero-video--desktop { display: none; }
  .hp-hero-video--mobile  { display: block; }
  .hp-hero-content { padding-bottom: 32px; }
  .hp-hero-h1-orange { font-size: 12vw; }
  .hp-hero-h1-ink    { font-size: 6.5vw; white-space: normal; }
  .hp-hero-trust { grid-template-columns: 1fr 1fr; }
  .hp-hero-trust-cell { padding: 12px; }
  .hp-hero-trust-cell:nth-child(2) { border-right: none; }
  .hp-hero-chips .chip { font-size: 9px; padding: 4px 8px; }
}

@media (max-width: 480px) {
  .hp-hero-h1-orange { font-size: 13vw; }
  .hp-hero-h1-ink    { font-size: 7vw; }
  .hp-hero-desc { font-size: 14px; margin-top: 20px; }
  .hp-hero-actions { flex-direction: column; }
  .hp-hero-actions .btn { width: 100%; justify-content: center; font-size: 12px; }
  .hp-hero-trust { grid-template-columns: 1fr; }
  .hp-hero-trust-cell {
    border-right: none;
    border-bottom: 1px dashed var(--line-soft);
  }
  .hp-hero-trust-cell:last-child { border-bottom: none; }
  .hp-hero-content { padding: 32px 16px 24px; }
}

/* ── Editor adjustments ─────────────────────── */

.editor-styles-wrapper .hp-hero {
  min-height: 0;
}
.editor-styles-wrapper .hp-hero-video {
  display: none;
}
.editor-styles-wrapper .hp-hero-actions .btn {
  pointer-events: none;
}
