:root {
  --ink: #13161f;
  --muted: #5f6877;
  --line: #d8dde4;
  --paper: #fafafa;
  --warm: #f3f0e8;
  --blue: #00569e;
  --cyan: #02b5f8;
  --green: #4f6f61;
  --gold: #9c7a3c;
  --white: #ffffff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Neue Haas Grotesk Text", "Aptos", "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 250, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 176px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a,
.text-link {
  text-decoration: none;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--blue);
}

.nav-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.button-primary:hover {
  border-color: var(--blue);
  background: var(--blue);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
}

.hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 92px) 0 clamp(34px, 5vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 940px);
  align-items: start;
}

.hero-copy {
  max-width: 940px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  overflow-wrap: break-word;
  hyphens: auto;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.9rem);
}

h3 {
  font-size: 1.35rem;
}

.lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: #394150;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.hero-subtitle {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(1.55rem, 2.4vw, 2.45rem);
  line-height: 1.16;
}

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

.facts {
  margin: 44px 0 0;
  max-width: 820px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts div {
  min-height: 116px;
  padding: 28px clamp(24px, 2.8vw, 36px) 26px;
  border-right: 1px solid var(--line);
}

.facts div:first-child {
  padding-left: 0;
}

.facts div:last-child {
  border-right: 0;
}

.facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.facts dd {
  margin: 7px 0 0;
  font-weight: 700;
}

figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.intro-band {
  border-block: 1px solid var(--line);
  background: var(--warm);
}

.intro-band p {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  color: #30353d;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.25;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 118px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 86px);
  border-bottom: 1px solid var(--line);
}

.split .body-copy {
  padding-top: 34px;
}

.body-copy p,
.bank-copy p,
.contact-copy p {
  margin: 0 0 20px;
  color: #343b45;
  font-size: 1.05rem;
}

.bank-copy h2,
.contact-copy h2 {
  margin-bottom: clamp(28px, 3vw, 42px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 38px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 310px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.service-card span {
  color: var(--cyan);
  font-weight: 800;
}

.service-card h3 {
  margin-top: 46px;
}

.service-card p {
  margin: 24px 0 0;
  color: var(--muted);
}

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

.process-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(34px, 5vw, 62px);
  align-items: start;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.process-list li {
  counter-increment: step;
  min-height: 112px;
  padding: 22px 0 22px 58px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.process-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 24px;
  color: var(--cyan);
  font-weight: 800;
}

.process-list strong {
  display: block;
  margin-bottom: 10px;
}

.process-list span {
  display: block;
  color: var(--muted);
}

.dashboard-figure {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.dashboard-figure img {
  width: 100%;
  aspect-ratio: 1.62;
  object-fit: cover;
  object-position: left top;
  border: 1px solid #eef1f4;
}

.bank-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
  border-block: 1px solid var(--line);
}

.capital-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.capital-card {
  min-height: 204px;
  padding: clamp(22px, 2.8vw, 30px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.capital-card-top {
  margin-bottom: clamp(24px, 3vw, 34px);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.capital-card-top span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.capital-card-top small {
  color: #aeb6c2;
  font-size: 0.76rem;
  font-weight: 800;
}

.capital-card h3 {
  font-family: "Neue Haas Grotesk Text", "Aptos", "Helvetica Neue", sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 780;
  line-height: 1.3;
}

.capital-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.contact-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.contact-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.contact-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

.contact-card div {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.contact-card span {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f7f7f5;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 104px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(260px, 1fr) minmax(220px, 0.86fr);
  gap: 24px;
  align-items: center;
}

.footer-logo img {
  width: 150px;
  height: auto;
}

.footer-links,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  justify-content: center;
}

.footer-meta {
  justify-content: flex-end;
}

.footer-links a,
.footer-meta a {
  text-decoration: none;
}

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

@media (max-width: 980px) {
  .site-nav {
    align-items: flex-start;
    padding: 16px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .split,
  .process-layout,
  .bank-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .split .body-copy {
    padding-top: 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card {
    max-width: 420px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 28px 0;
  }

  .footer-links,
  .footer-meta {
    justify-content: flex-start;
  }

}

@media (max-width: 640px) {
  .nav-cta {
    min-height: 40px;
    padding-inline: 14px;
  }

  .brand img {
    width: 148px;
  }

  .hero {
    padding-top: 42px;
  }

  .facts,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capital-stack {
    grid-template-columns: 1fr;
  }

  .facts div:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: auto;
  }

  .service-card h3 {
    margin-top: 28px;
  }

  .button,
  .contact-actions .button-primary {
    width: 100%;
  }
}
