.ebcon-page {
  background: var(--paper);
  overflow-x: hidden;
}

.ebcon-hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.ebcon-hero-content {
  width: 100%;
  min-width: 0;
  padding: 0;
}

.ebcon-hero-content h1 {
  max-width: 720px;
  font-size: clamp(3.15rem, 5vw, 5.15rem);
  line-height: 1.03;
}

.ebcon-hero-content h1 span {
  display: block;
}

.ebcon-hero-panel {
  display: grid;
  align-items: center;
  padding: 0;
  background: transparent;
}

.partner-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.3rem, 4vw, 2rem);
  border: 1px solid #cbd9c6;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(241,246,239,.95));
  color: var(--ink);
  box-shadow: var(--shadow);
}

.partner-card span {
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ebcon-wordmark {
  width: fit-content;
  border: 1px solid #b8cbb4;
  border-radius: var(--radius);
  padding: .45rem .75rem;
  color: var(--green);
  background: rgba(255,255,255,.72);
  font-size: clamp(1.85rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1;
}

.partner-card strong {
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.05;
}

.partner-card p {
  color: var(--muted);
}

.ebcon-facts dt {
  font-size: 1.25rem;
}

.ebcon-intro {
  padding-bottom: 32px;
}

.ebcon-split-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.ebcon-split-band article {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.45rem;
  background: var(--surface);
}

.ebcon-split-band p {
  color: var(--muted);
}

.ebcon-audit .funding-inner {
  align-items: start;
}

.ebcon-contact-form button[type="button"] {
  cursor: default;
}

.ebcon-page .contact-copy h2 {
  max-width: 520px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
}

@media (max-width: 980px) {
  .ebcon-hero,
  .ebcon-split-band {
    grid-template-columns: 1fr;
  }

  .ebcon-hero {
    width: min(calc(100vw - 48px), 760px);
    gap: 2rem;
  }

  .ebcon-hero-content {
    width: 100%;
    max-width: 100%;
  }

  .ebcon-hero-content h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 10.5vw, 4.2rem);
  }

  .ebcon-hero-panel {
    padding: 0 0 8px;
  }
}

@media (max-width: 640px) {
  .ebcon-hero {
    width: min(340px, calc(100vw - 36px));
    margin: 0 18px;
    padding: 42px 0 56px;
  }

  .ebcon-hero-content {
    width: 100%;
    max-width: 100%;
  }

  .ebcon-hero-content h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.5vw, 2.35rem);
    line-height: 1.04;
  }

  .ebcon-hero-content .hero-copy {
    max-width: 100%;
    font-size: .98rem;
    overflow-wrap: break-word;
  }

  .ebcon-hero-content .hero-actions {
    width: 100%;
  }
}
