body {
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 92px;
}

main > section:not(.hero):not(.direction-band):not(.final) {
  padding: 56px 0;
}

.hero-grid > * {
  min-width: 0;
}

.bank-hero .badge {
  background: linear-gradient(135deg, #253d5b, #172b43);
  border-color: rgba(23, 43, 67, .35);
}

.bank-hero h1 {
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bank-hero .portrait img {
  height: auto;
}

.direction-band {
  padding: 22px 0;
  background: rgba(37, 61, 91, .08);
  border-top: 1px solid rgba(37, 61, 91, .15);
  border-bottom: 1px solid rgba(37, 61, 91, .15);
}

.direction-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.direction-row div {
  display: grid;
  gap: 3px;
}

.direction-row b {
  font-size: 18px;
}

.direction-row span {
  color: var(--muted);
}

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

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.audience-grid article {
  min-height: 220px;
  padding: 24px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.audience-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.audience-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: #fff;
  background: #253d5b;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.audience-grid h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.audience-grid p {
  margin: 0;
  color: var(--muted);
}

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

.bank-workflow .work-step {
  min-height: 142px;
  align-items: start;
  background: rgba(255, 255, 255, .82);
  border-color: var(--line);
  box-shadow: 0 10px 28px rgba(43, 51, 49, .08);
}

.bank-workflow .work-step:hover {
  background: #fff;
  border-color: var(--gold);
}

.bank-workflow .work-step b {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
}

.bank-workflow .work-step small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.case-section {
  background: rgba(190, 156, 75, .08);
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  align-items: start;
  gap: 48px;
}

.input-section .price-factors {
  grid-template-columns: repeat(3, 1fr);
}

.final {
  padding: 58px 0;
}

.case-grid h2 {
  margin: 16px 0;
  font-size: clamp(30px, 4vw, 48px);
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 25px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #276b58;
  font-weight: 800;
}

.case-cover {
  margin: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.case-cover img {
  display: block;
  width: 100%;
  max-height: 470px;
  object-fit: contain;
  background: #f8f6f1;
}

.case-cover figcaption {
  padding: 10px 4px 2px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .bank-deliverables,
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bank-workflow {
    grid-template-columns: 1fr 1fr;
  }

  .bank-workflow .work-step {
    min-height: 125px;
  }

  .input-section .price-factors {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .direction-row {
    align-items: stretch;
    flex-direction: column;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .case-cover {
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  main > section:not(.hero):not(.direction-band):not(.final) {
    padding: 44px 0;
  }

  .nav-actions {
    display: none;
  }

  .hero-grid {
    display: block;
  }

  .bank-hero h1 {
    font-size: 35px;
  }

  .bank-deliverables,
  .audience-grid,
  .bank-workflow {
    grid-template-columns: 1fr;
  }

  .audience-grid article {
    min-height: 0;
  }

  .bank-workflow .work-step {
    min-height: 0;
  }

  .input-section .price-factors {
    grid-template-columns: 1fr;
  }

  .final {
    padding: 48px 0;
  }
}
