:root {
  --rmp-navy: #001642;
  --rmp-gold: #bf8424;
  --rmp-gold-light: #fbc859;
  --rmp-gold-button-bottom: #dfa63b;
  --rmp-white: #fff;
  --rmp-soft-blue: #e9f2ff;
  --rmp-muted-ink: #273b58;
  --rmp-outline: #133f96;
  --rmp-shadow: 0 12px 30px rgba(0, 37, 91, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--rmp-muted-ink);
  background: linear-gradient(145deg, var(--rmp-white) 48%, #f4f8ff 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.rmp-container {
  max-width: 1600px;
  padding-right: clamp(1rem, 3.5vw, 3.5rem);
  padding-left: clamp(1rem, 3.5vw, 3.5rem);
}

.site-header {
  position: relative;
  z-index: 5;
  background: linear-gradient(90deg, #fff 35%, rgba(233, 242, 255, 0.72) 100%);
}

.header-inner {
  min-height: 106px;
  padding-block: 1rem;
}

.brand {
  min-width: 0;
  color: var(--rmp-navy);
}

.brand-mark {
  width: 54px;
  height: 52px;
  margin-right: 0.85rem;
}

.mark-bar,
.icon-navy {
  fill: var(--rmp-navy);
}

.mark-gold,
.icon-gold {
  fill: var(--rmp-gold);
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  color: var(--rmp-navy);
  font-size: clamp(1.2rem, 2.05vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.brand-name strong {
  color: var(--rmp-gold);
  font-weight: 800;
}

.brand-subtitle {
  margin-top: 0.4rem;
  font-size: clamp(0.56rem, 0.8vw, 0.83rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

.btn.rmp-btn-primary,
.btn.rmp-btn-secondary {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0.8rem 2.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.btn.rmp-btn-primary {
  border: 1px solid #dfa01f;
  color: var(--rmp-navy);
  background: linear-gradient(180deg, var(--rmp-gold-light), var(--rmp-gold-button-bottom));
  box-shadow: 0 7px 16px rgba(191, 132, 36, 0.16);
}

.btn.rmp-btn-primary:hover,
.btn.rmp-btn-primary:active {
  border-color: #c98b1d;
  color: var(--rmp-navy);
  background: linear-gradient(180deg, #ffd36e, #dea037);
}

.btn.rmp-btn-secondary {
  min-width: 190px;
  border: 2px solid var(--rmp-outline);
  color: var(--rmp-navy);
  background: rgba(255, 255, 255, 0.9);
}

.btn.rmp-btn-secondary:hover,
.btn.rmp-btn-secondary:active {
  border-color: var(--rmp-navy);
  color: var(--rmp-navy);
  background: var(--rmp-soft-blue);
}

.btn.rmp-btn-primary:focus-visible,
.btn.rmp-btn-secondary:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--rmp-outline);
  outline-offset: 4px;
  box-shadow: none;
}

.header-cta {
  min-width: 178px;
  flex-shrink: 0;
}

.hero {
  position: relative;
  min-height: 430px;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.98) 24%, rgba(255, 255, 255, 0.74) 42%, rgba(255, 255, 255, 0) 64%);
  content: "";
}

.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 20%;
  background-image: url("../images/hero-growth-chicago.webp");
  background-position: center right;
  background-size: cover;
}

.hero-container {
  display: flex;
  min-height: 430px;
  align-items: center;
  padding-block: 2.1rem 2.5rem;
}

.hero-copy {
  width: min(59%, 850px);
}

.hero-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--rmp-navy);
  font-size: clamp(0.78rem, 1.2vw, 1.15rem);
  font-weight: 650;
  letter-spacing: 0.32em;
}

.hero h1 {
  margin: 0;
  color: var(--rmp-navy);
  font-size: clamp(3rem, 4.85vw, 5.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  margin-top: 0.1em;
  color: var(--rmp-gold);
}

.hero-support {
  margin: 1.3rem 0 1.5rem;
  color: var(--rmp-navy);
  font-size: clamp(1rem, 1.45vw, 1.4rem);
  line-height: 1.38;
}

.hero-actions .rmp-btn-primary {
  min-width: 300px;
}

.hero-actions .rmp-btn-primary span {
  margin-left: 0.8rem;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 0;
}

.brand-statement {
  position: relative;
  z-index: 2;
  padding: 0.15rem 0 1.6rem;
}

.statement-banner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  padding: 0.8rem 2rem;
  background: rgba(224, 237, 255, 0.88);
  gap: clamp(1rem, 2vw, 2rem);
}

.statement-banner p {
  margin: 0;
  color: #123686;
  font-size: clamp(1.25rem, 2vw, 1.95rem);
  font-style: italic;
  line-height: 1.25;
  text-align: center;
}

.quote-mark {
  color: #dfa323;
  font-family: Georgia, serif;
  font-size: clamp(3rem, 4vw, 4.5rem);
  font-weight: 700;
  line-height: 0.7;
}

.services-section {
  padding: 0 0 clamp(2rem, 4vw, 4rem);
  scroll-margin-top: 1rem;
}

.service-card {
  border: 1px solid rgba(19, 63, 150, 0.03);
  border-radius: 18px;
  padding: 1.2rem 1rem 1.45rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--rmp-shadow);
  text-align: center;
}

.service-icon {
  display: flex;
  width: 84px;
  height: 84px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: var(--rmp-soft-blue);
}

.service-icon svg {
  width: 55px;
  height: 55px;
}

.icon-gold-stroke,
.icon-navy-stroke {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5px;
}

.icon-gold-stroke {
  stroke: var(--rmp-gold);
}

.icon-navy-stroke {
  stroke: var(--rmp-navy);
  stroke-width: 3px;
}

.icon-dollar {
  font-size: 12px;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 0.65rem;
  color: var(--rmp-navy);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 750;
  line-height: 1.2;
}

.service-card p {
  max-width: 240px;
  margin: 0 auto;
  color: var(--rmp-muted-ink);
  font-size: 0.98rem;
  line-height: 1.42;
}

@media (min-width: 1400px) {
  .hero {
    min-height: 440px;
  }

  .hero-container {
    min-height: 440px;
  }

  .service-card {
    min-height: 254px;
  }
}

@media (max-width: 1199.98px) {
  .hero-copy {
    width: min(64%, 690px);
  }

  .hero h1 {
    font-size: clamp(2.9rem, 5.4vw, 4rem);
  }

  .hero-art {
    left: 15%;
  }
}

@media (max-width: 991.98px) {
  .header-inner {
    min-height: 90px;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    padding-bottom: 0;
  }

  .hero::after {
    display: none;
  }

  .hero-art {
    position: relative;
    z-index: 0;
    inset: auto;
    order: 2;
    width: 100%;
    min-height: 370px;
    background-position: center;
    background-size: cover;
  }

  .hero-container {
    min-height: auto;
    order: 1;
    padding-top: 2.6rem;
    padding-bottom: 0;
  }

  .hero-copy {
    width: min(100%, 720px);
  }

  .hero h1 {
    font-size: clamp(3rem, 8vw, 4.4rem);
  }

  .hero-support {
    font-size: 1.12rem;
  }

  .brand-statement {
    padding-top: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .rmp-container {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    margin-right: 0.55rem;
  }

  .header-cta {
    min-width: auto;
    min-height: 48px !important;
    padding: 0.65rem 1.1rem !important;
    white-space: nowrap;
  }

  .hero-container {
    padding-top: 2rem;
  }

  .hero-eyebrow {
    letter-spacing: 0.25em;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 3.7rem);
  }

  .hero-art {
    min-height: 300px;
    margin-top: 0;
    background-position: 62% center;
  }

  .statement-banner {
    min-height: 110px;
    padding: 1rem;
    gap: 0.55rem;
  }

  .statement-banner p {
    font-size: 1.22rem;
  }

  .quote-mark {
    font-size: 2.6rem;
  }
}

@media (max-width: 575.98px) {
  .header-inner {
    min-height: 82px;
  }

  .brand-name {
    font-size: clamp(0.88rem, 4vw, 1.1rem);
  }

  .brand-subtitle {
    margin-top: 0.3rem;
    font-size: clamp(0.42rem, 1.8vw, 0.56rem);
    letter-spacing: 0.22em;
  }

  .header-cta {
    min-height: 44px !important;
    border-radius: 11px !important;
    padding: 0.55rem 0.75rem !important;
    font-size: 0.84rem !important;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .hero-support br {
    display: none;
  }

  .hero-support {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-art {
    min-height: 250px;
    background-position: 64% center;
  }

  .statement-banner {
    align-items: center;
  }

  .quote-mark {
    align-self: center;
  }
}

@media (max-width: 374.98px) {
  .brand-mark {
    width: 38px;
    height: 38px;
    margin-right: 0.35rem;
  }

  .header-cta {
    padding-inline: 0.55rem !important;
    font-size: 0.78rem !important;
  }

  .hero h1 {
    font-size: 2.35rem;
  }
}


/* Pass 1A: ensure narrow-screen content fits without changing desktop styling. */
@media (max-width: 575.98px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center !important;
    row-gap: 0.75rem !important;
  }

  .brand {
    max-width: 100%;
    flex: 1 1 100%;
    justify-content: center;
  }

  .brand-copy {
    max-width: calc(100% - 3.5rem);
  }

  .brand-name {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .brand-subtitle {
    white-space: normal;
    letter-spacing: 0.16em;
  }

  .header-cta {
    max-width: 100%;
    flex: 0 1 auto;
  }

  .hero-container,
  .hero-copy {
    min-width: 0;
    max-width: 100%;
  }

  .hero h1,
  .hero-support,
  .hero-eyebrow {
    overflow-wrap: break-word;
  }

  .hero h1 {
    font-size: clamp(2rem, 9.5vw, 3.35rem);
    line-height: 1.08;
  }

  .hero h1 span {
    overflow-wrap: anywhere;
  }

  .hero-eyebrow {
    letter-spacing: 0.16em;
  }

  .hero-actions {
    min-width: 0;
    width: 100%;
  }

  .hero-actions .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .statement-banner {
    min-width: 0;
    gap: 0.3rem;
  }

  .statement-banner p {
    min-width: 0;
    font-size: clamp(1rem, 4.3vw, 1.22rem);
    overflow-wrap: break-word;
  }

  .quote-mark {
    flex-shrink: 0;
    font-size: 2rem;
  }

  .services-section .row,
  .services-section .col,
  .service-card {
    min-width: 0;
  }

  .service-card h3,
  .service-card p {
    overflow-wrap: break-word;
  }
}
