:root {
  --cpb-red: #e5352f;
  --cpb-black: #161616;
  --cpb-charcoal: #242424;
  --cpb-muted: #6d7177;
  --cpb-border: rgba(22, 22, 22, .12);
  --cpb-soft: #f5f5f3;
  --cpb-white: #ffffff;
}

.cpb-project-section,
.cpb-single-project {
  font-family: inherit;
  color: var(--cpb-black);
}

.cpb-section-head {
  margin: 0 0 32px;
}

.cpb-section-head span,
.cpb-single-sector,
.cpb-project-snapshot > span,
.cpb-project-story section > span,
.cpb-story-panels span,
.cpb-project-cta span {
  display: inline-block;
  color: var(--cpb-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cpb-section-head h2 {
  margin: 8px 0 0;
  color: var(--cpb-black);
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -.04em;
  line-height: .96;
}

.cpb-section-head p {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--cpb-muted);
  font-size: 18px;
  line-height: 1.55;
}

.cpb-section-head-centered {
  text-align: center;
}

.cpb-project-grid {
  display: grid;
  gap: 22px;
  width: 100%;
}

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

.cpb-project-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--cpb-black);
  box-shadow: 0 24px 60px rgba(0,0,0,.14);
}

.cpb-card-link {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff !important;
  text-decoration: none !important;
}

.cpb-card-image,
.cpb-card-shade,
.cpb-card-frame,
.cpb-card-content {
  position: absolute;
  inset: 0;
}

.cpb-card-image {
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: transform .5s ease, filter .5s ease;
}

.cpb-card-shade {
  background:
    linear-gradient(180deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.52) 62%, rgba(0,0,0,.78) 100%),
    radial-gradient(circle at 18% 18%, rgba(229,53,47,.34), transparent 34%);
  z-index: 1;
}

.cpb-card-frame {
  inset: 16px;
  border: 2px solid rgba(255,255,255,.82);
  z-index: 2;
  pointer-events: none;
}

.cpb-card-frame:before,
.cpb-card-frame:after {
  content: '';
  position: absolute;
  width: 74px;
  height: 3px;
  bottom: -2px;
  background: var(--cpb-black);
}

.cpb-card-frame:before { left: 34px; }
.cpb-card-frame:after { right: 34px; }

.cpb-card-content {
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 38px;
  text-align: center;
}

.cpb-card-sector {
  color: rgba(255,255,255,.94);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cpb-card-content h3 {
  max-width: 420px;
  margin: 12px 0 10px;
  color: #fff;
  font-size: clamp(24px, 2.1vw, 33px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.04;
}

.cpb-card-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-height: 22px;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  font-weight: 700;
}

.cpb-card-meta span + span:before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 14px 2px 0;
  border-radius: 999px;
  background: var(--cpb-red);
}

.cpb-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 13px 24px;
  border: 2px solid var(--cpb-red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease;
}

.cpb-project-card:hover .cpb-card-image {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.04);
}

.cpb-project-card:hover .cpb-card-button {
  background: var(--cpb-red);
}

.cpb-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}

.cpb-filter-btn {
  appearance: none;
  border: 1px solid var(--cpb-border);
  background: #fff;
  color: var(--cpb-black);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 12px 16px;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.cpb-filter-btn.is-active,
.cpb-filter-btn:hover {
  background: var(--cpb-black);
  border-color: var(--cpb-black);
  color: #fff;
}

.cpb-single-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  background-color: #111;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.cpb-single-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.24) 0%, rgba(0,0,0,.74) 100%),
    radial-gradient(circle at 20% 18%, rgba(229,53,47,.32), transparent 30%);
}

.cpb-single-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
}

.cpb-back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.cpb-back-link:before {
  content: '‹';
  margin-right: 8px;
  color: var(--cpb-red);
  font-size: 22px;
  line-height: 0;
  vertical-align: -2px;
}

.cpb-single-hero h1 {
  max-width: 980px;
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(44px, 7vw, 86px);
  letter-spacing: -.06em;
  line-height: .92;
}

.cpb-single-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
}

.cpb-single-body {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 58px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 50px;
}

.cpb-project-snapshot {
  align-self: start;
  position: sticky;
  top: 110px;
  border: 1px solid var(--cpb-border);
  background: #fff;
  box-shadow: 0 22px 60px rgba(0,0,0,.08);
  padding: 30px;
}

.cpb-project-snapshot dl {
  margin: 18px 0 0;
}

.cpb-project-snapshot dl div {
  padding: 16px 0;
  border-bottom: 1px solid var(--cpb-border);
}

.cpb-project-snapshot dl div:last-child {
  border-bottom: 0;
}

.cpb-project-snapshot dt {
  color: var(--cpb-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cpb-project-snapshot dd {
  margin: 5px 0 0;
  color: var(--cpb-black);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.cpb-services-list {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 3px solid var(--cpb-red);
}

.cpb-services-list h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.cpb-services-list ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cpb-services-list li {
  position: relative;
  padding-left: 18px;
  color: var(--cpb-charcoal);
  font-weight: 700;
}

.cpb-services-list li:before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  background: var(--cpb-red);
}

.cpb-project-story section h2 {
  max-width: 820px;
  margin: 10px 0 20px;
  font-size: clamp(34px, 4.2vw, 62px);
  letter-spacing: -.055em;
  line-height: .96;
}

.cpb-copy {
  color: var(--cpb-charcoal);
  font-size: 19px;
  line-height: 1.72;
}

.cpb-story-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.cpb-story-panels div {
  border: 1px solid var(--cpb-border);
  background: var(--cpb-soft);
  padding: 24px;
}

.cpb-story-panels p {
  margin: 12px 0 0;
  color: var(--cpb-charcoal);
  line-height: 1.6;
}

.cpb-single-gallery-wrap,
.cpb-related-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 45px 0;
}

.cpb-single-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.cpb-gallery-item {
  grid-column: span 4;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: block;
  min-height: 250px;
  overflow: hidden;
  padding: 0;
}

.cpb-gallery-item:nth-child(5n + 1),
.cpb-gallery-item:nth-child(5n + 2) {
  grid-column: span 6;
}

.cpb-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
  transition: transform .45s ease, filter .45s ease;
}

.cpb-gallery-item:hover img {
  transform: scale(1.045);
  filter: contrast(1.04) saturate(1.05);
}

.cpb-project-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(1180px, calc(100% - 40px));
  margin: 50px auto 90px;
  padding: 44px;
  background: var(--cpb-black);
  color: #fff;
}

.cpb-project-cta h2 {
  margin: 8px 0 8px;
  color: #fff;
  font-size: clamp(30px, 3.3vw, 48px);
  letter-spacing: -.045em;
  line-height: 1;
}

.cpb-project-cta p {
  max-width: 640px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.55;
}

.cpb-cta-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 24px;
  background: var(--cpb-red);
  color: #fff !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.cpb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.88);
  padding: 30px;
}

.cpb-lightbox.is-open {
  display: flex;
}

.cpb-lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 88vh;
  object-fit: contain;
}

.cpb-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

body.cpb-lightbox-open {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .cpb-columns-4,
  .cpb-columns-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cpb-story-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .cpb-single-body {
    grid-template-columns: 1fr;
  }

  .cpb-project-snapshot {
    position: relative;
    top: auto;
  }

  .cpb-project-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .cpb-gallery-item,
  .cpb-gallery-item:nth-child(5n + 1),
  .cpb-gallery-item:nth-child(5n + 2) {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .cpb-columns-2,
  .cpb-columns-3,
  .cpb-columns-4 {
    grid-template-columns: 1fr;
  }

  .cpb-project-card {
    min-height: 330px;
  }

  .cpb-card-content {
    padding: 30px;
  }

  .cpb-single-hero {
    min-height: 480px;
  }

  .cpb-single-gallery {
    grid-template-columns: 1fr;
  }

  .cpb-gallery-item,
  .cpb-gallery-item:nth-child(5n + 1),
  .cpb-gallery-item:nth-child(5n + 2) {
    grid-column: auto;
  }

  .cpb-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .cpb-filter-btn {
    flex: 0 0 auto;
  }
}

/* Interactive Project Map */
.cpb-project-map-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 56px;
}

.cpb-map-section-head {
  margin-bottom: 28px;
}

.cpb-map-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cpb-border);
  background: var(--cpb-soft);
  box-shadow: 0 26px 70px rgba(0,0,0,.12);
}

.cpb-project-map-canvas {
  width: 100%;
  min-height: 360px;
  background: var(--cpb-soft);
  z-index: 1;
}

.cpb-map-marker-icon {
  position: relative;
  border-radius: 999px;
  background: var(--cpb-red);
  box-shadow: 0 0 0 7px rgba(229,53,47,.20), 0 10px 20px rgba(0,0,0,.24);
}

.cpb-map-marker-icon span {
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: #fff;
}

.cpb-map-marker-icon:after {
  content: '';
  position: absolute;
  inset: -9px;
  border: 2px solid rgba(229,53,47,.35);
  border-radius: 999px;
  animation: cpbMarkerPulse 1.9s ease-out infinite;
}

@keyframes cpbMarkerPulse {
  0% { opacity: .9; transform: scale(.72); }
  100% { opacity: 0; transform: scale(1.5); }
}

.cpb-map-popup .leaflet-popup-content-wrapper {
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 26px 70px rgba(0,0,0,.26);
  padding: 0;
}

.cpb-map-popup .leaflet-popup-content {
  width: 310px !important;
  margin: 0;
}

.cpb-map-popup .leaflet-popup-tip {
  background: #fff;
}

.cpb-map-popup-card {
  display: block;
  overflow: hidden;
  color: var(--cpb-black) !important;
  text-decoration: none !important;
  background: #fff;
}

.cpb-map-popup-image {
  height: 150px;
  background-position: center;
  background-size: cover;
}

.cpb-map-popup-content {
  padding: 18px;
}

.cpb-map-popup-sector {
  display: inline-block;
  color: var(--cpb-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cpb-map-popup-card h3 {
  margin: 7px 0 8px;
  color: var(--cpb-black);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.cpb-map-popup-meta {
  display: grid;
  gap: 4px;
  color: var(--cpb-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.cpb-map-popup-card p {
  margin: 10px 0 0;
  color: var(--cpb-charcoal);
  font-size: 13px;
  line-height: 1.45;
}

.cpb-map-popup-card strong {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--cpb-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.cpb-map-popup-card strong:after {
  content: '›';
  margin-left: 7px;
  font-size: 18px;
  line-height: 1;
}

.cpb-map-library-warning,
.cpb-map-empty-state,
.cpb-map-admin-front-note {
  border: 1px solid var(--cpb-border);
  background: #fff;
  color: var(--cpb-charcoal);
  padding: 18px 20px;
}

.cpb-map-library-warning {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  box-shadow: 0 18px 42px rgba(0,0,0,.14);
}

.cpb-map-empty-state {
  text-align: center;
  padding: 42px;
}

.cpb-map-empty-state h3 {
  margin: 0 0 8px;
  color: var(--cpb-black);
  font-size: 28px;
  letter-spacing: -.03em;
}

.cpb-map-empty-state p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--cpb-muted);
  font-size: 16px;
  line-height: 1.6;
}

.cpb-map-fallback {
  margin-top: 22px;
}

.cpb-project-map-section.is-loaded .cpb-map-fallback {
  display: none;
}

.cpb-map-fallback-note {
  margin: 0 0 12px;
  color: var(--cpb-muted);
  font-size: 13px;
  font-weight: 700;
}

.cpb-map-fallback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cpb-map-fallback-card {
  display: grid;
  gap: 5px;
  border: 1px solid var(--cpb-border);
  background: #fff;
  color: var(--cpb-black) !important;
  padding: 16px;
  text-decoration: none !important;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cpb-map-fallback-card:hover {
  border-color: var(--cpb-red);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.cpb-map-fallback-card strong {
  font-size: 16px;
  line-height: 1.2;
}

.cpb-map-fallback-card span {
  color: var(--cpb-muted);
  font-size: 13px;
  font-weight: 700;
}

.cpb-map-admin-front-note {
  margin: 18px 0 0;
  font-size: 14px;
}

.cpb-map-admin-front-note a {
  color: var(--cpb-red);
  font-weight: 800;
}

@media (max-width: 860px) {
  .cpb-map-fallback-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cpb-map-popup .leaflet-popup-content {
    width: 280px !important;
  }
}

@media (max-width: 640px) {
  .cpb-project-map-section {
    width: min(100%, calc(100% - 24px));
  }

  .cpb-project-map-canvas {
    min-height: 420px;
  }

  .cpb-map-fallback-grid {
    grid-template-columns: 1fr;
  }

  .cpb-map-popup-image {
    height: 120px;
  }
}

/* Theme banner cleanup for Capstone project experiences */
body.single-capstone_project .entry-banner,
body.single-capstone_project .entry-banner-after,
body.single-capstone_project .inner-page-banner.bg-common,
body.single-capstone_project .inner-page-top-margin,
body.cpb-projects-template-active .entry-banner,
body.cpb-projects-template-active .entry-banner-after,
body.cpb-projects-template-active .inner-page-banner.bg-common,
body.cpb-projects-template-active .inner-page-top-margin {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.single-capstone_project #content,
body.single-capstone_project .site-content,
body.cpb-projects-template-active #content,
body.cpb-projects-template-active .site-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Projects archive experience */
.cpb-projects-archive {
  color: var(--cpb-black);
  font-family: inherit;
  overflow: hidden;
  background: #fff;
}

.cpb-archive-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  background-color: #111;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.cpb-archive-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.58) 42%, rgba(0,0,0,.28) 100%),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.76) 100%),
    radial-gradient(circle at 18% 28%, rgba(229,53,47,.34), transparent 31%);
}

.cpb-archive-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 44px;
  align-items: end;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 170px 0 94px;
}

.cpb-archive-eyebrow,
.cpb-archive-block-head span,
.cpb-archive-story > span,
.cpb-archive-feature-card > span {
  display: inline-block;
  color: var(--cpb-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cpb-archive-hero-copy h1 {
  max-width: 980px;
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(48px, 7.2vw, 92px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .92;
}

.cpb-archive-hero-copy p {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

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

.cpb-archive-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .05em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.cpb-archive-button:hover {
  transform: translateY(-2px);
}

.cpb-archive-button-primary {
  border: 2px solid var(--cpb-red);
  background: var(--cpb-red);
}

.cpb-archive-button-secondary {
  border: 2px solid rgba(255,255,255,.78);
  background: rgba(0,0,0,.08);
}

.cpb-archive-button-secondary:hover {
  border-color: var(--cpb-red);
  background: var(--cpb-red);
}

.cpb-archive-feature-card {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(10,10,10,.62);
  box-shadow: 0 26px 70px rgba(0,0,0,.32);
  backdrop-filter: blur(10px);
  padding: 28px;
}

.cpb-archive-feature-card h2 {
  margin: 10px 0 12px;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .98;
}

.cpb-archive-feature-card p {
  margin: 0 0 16px;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.55;
}

.cpb-archive-feature-card strong {
  display: block;
  color: rgba(255,255,255,.92);
  font-size: 13px;
  line-height: 1.45;
}

.cpb-archive-feature-card a {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.cpb-archive-feature-card a:after {
  content: '›';
  margin-left: 8px;
  color: var(--cpb-red);
  font-size: 22px;
  line-height: 1;
}

.cpb-archive-intro-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 58px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 42px;
}

.cpb-archive-snapshot {
  position: relative;
  top: auto;
}

.cpb-archive-snapshot-note {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 3px solid var(--cpb-red);
  color: var(--cpb-charcoal);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.cpb-archive-story h2,
.cpb-archive-block-head h2 {
  max-width: 850px;
  margin: 10px 0 18px;
  color: var(--cpb-black);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .96;
}

.cpb-archive-story > p,
.cpb-archive-block-head p {
  max-width: 860px;
  margin: 0;
  color: var(--cpb-charcoal);
  font-size: 19px;
  line-height: 1.72;
}

.cpb-archive-story-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.cpb-archive-story-points div {
  border: 1px solid var(--cpb-border);
  background: var(--cpb-soft);
  padding: 20px;
}

.cpb-archive-story-points strong {
  display: block;
  color: var(--cpb-black);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.cpb-archive-story-points span {
  display: block;
  margin-top: 8px;
  color: var(--cpb-muted);
  font-size: 14px;
  line-height: 1.5;
}

.cpb-archive-block {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0;
  scroll-margin-top: 120px;
}

.cpb-archive-map-block {
  padding-top: 28px;
}

.cpb-archive-block-head {
  margin: 0 0 28px;
}

.cpb-projects-archive .cpb-project-map-section,
.cpb-projects-archive .cpb-archive-wrap {
  width: 100%;
  margin: 0;
}

.cpb-projects-archive .cpb-section-head-centered {
  text-align: left;
}

.cpb-projects-archive .cpb-section-head p {
  margin-left: 0;
  margin-right: 0;
}

.cpb-projects-archive .cpb-filter-bar {
  justify-content: flex-start;
  margin-bottom: 28px;
}

.cpb-projects-archive .cpb-project-cta {
  margin-top: 40px;
}

@media (max-width: 1080px) {
  .cpb-archive-hero-inner {
    grid-template-columns: 1fr;
  }

  .cpb-archive-feature-card {
    max-width: 520px;
  }

  .cpb-archive-story-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .cpb-archive-hero {
    min-height: 650px;
  }

  .cpb-archive-hero-inner {
    padding: 145px 0 70px;
  }

  .cpb-archive-intro-wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .cpb-archive-hero {
    min-height: 610px;
  }

  .cpb-archive-hero-inner,
  .cpb-archive-intro-wrap,
  .cpb-archive-block {
    width: min(100%, calc(100% - 24px));
  }

  .cpb-archive-hero-inner {
    padding: 125px 0 52px;
  }

  .cpb-archive-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cpb-archive-button {
    width: 100%;
  }

  .cpb-archive-feature-card {
    padding: 22px;
  }
}

/* v1.2.1 Projects archive refinement: full-bleed Elementor support + cleaner hero */
body.cpb-projects-template-active {
  overflow-x: hidden;
}

body:has(.cpb-projects-archive) {
  overflow-x: hidden;
}

body.cpb-projects-template-active .entry-banner,
body.cpb-projects-template-active .entry-banner-after,
body.cpb-projects-template-active .inner-page-banner,
body.cpb-projects-template-active .inner-page-banner.bg-common,
body.cpb-projects-template-active .inner-page-top-margin,
body.cpb-projects-template-active .page-header,
body.cpb-projects-template-active .entry-header {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body:has(.cpb-projects-archive) .entry-banner,
body:has(.cpb-projects-archive) .entry-banner-after,
body:has(.cpb-projects-archive) .inner-page-banner,
body:has(.cpb-projects-archive) .inner-page-banner.bg-common,
body:has(.cpb-projects-archive) .inner-page-top-margin,
body:has(.cpb-projects-archive) .page-header,
body:has(.cpb-projects-archive) .entry-header {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.cpb-projects-template-active #content,
body.cpb-projects-template-active .site-content,
body.cpb-projects-template-active .content-area,
body.cpb-projects-template-active #primary,
body.cpb-projects-template-active .site-main,
body.cpb-projects-template-active article,
body.cpb-projects-template-active .entry-content,
body:has(.cpb-projects-archive) #content,
body:has(.cpb-projects-archive) .site-content,
body:has(.cpb-projects-archive) .content-area,
body:has(.cpb-projects-archive) #primary,
body:has(.cpb-projects-archive) .site-main,
body:has(.cpb-projects-archive) article,
body:has(.cpb-projects-archive) .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Break the archive out of boxed Elementor/theme containers. */
.cpb-projects-archive {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

.elementor-widget-shortcode .cpb-projects-archive,
.elementor-shortcode .cpb-projects-archive,
.elementor-widget-cpb_projects_archive .cpb-projects-archive {
  margin-top: 0 !important;
}

/* Cleaner, single-project-inspired projects hero. */
.cpb-archive-hero {
  min-height: clamp(580px, 72vh, 760px);
  align-items: flex-end;
}

.cpb-archive-hero-no-feature .cpb-archive-hero-inner {
  grid-template-columns: 1fr;
  width: min(1240px, calc(100% - 72px));
  padding: clamp(150px, 18vh, 210px) 0 clamp(70px, 10vh, 105px);
}

.cpb-archive-hero-no-feature .cpb-archive-hero-copy {
  max-width: 900px;
}

.cpb-archive-hero-no-feature .cpb-archive-hero-copy h1 {
  max-width: 900px;
  font-size: clamp(70px, 11vw, 138px);
  letter-spacing: -.075em;
  line-height: .86;
}

.cpb-archive-hero-no-feature .cpb-archive-hero-copy p {
  max-width: 760px;
  font-size: clamp(19px, 2vw, 24px);
}

.cpb-archive-hero-no-feature .cpb-archive-hero-actions {
  margin-top: 32px;
}

.cpb-archive-hero-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.62) 42%, rgba(0,0,0,.30) 100%),
    linear-gradient(180deg, rgba(0,0,0,.26) 0%, rgba(0,0,0,.84) 100%);
}

/* Tighten the first white content section so something useful appears sooner after the hero. */
.cpb-archive-intro-wrap {
  padding-top: 58px;
}

@media (max-width: 860px) {
  .cpb-archive-hero-no-feature .cpb-archive-hero-inner {
    width: min(100%, calc(100% - 40px));
    padding-top: 140px;
  }

  .cpb-archive-hero-no-feature .cpb-archive-hero-copy h1 {
    font-size: clamp(54px, 16vw, 86px);
  }
}

@media (max-width: 640px) {
  .cpb-archive-hero-no-feature .cpb-archive-hero-inner {
    width: min(100%, calc(100% - 28px));
    padding-bottom: 48px;
  }
}

/* v1.2.2 Elementor Projects page support.
   The /capstone-rail-projects/ URL should be a normal Elementor page that contains
   [capstone_projects_archive]. These rules make the shortcode full-width
   and suppress Roofix's automatic page banner when the archive shortcode
   is present. */
body:has(.cpb-projects-archive) {
  overflow-x: clip;
}

body:has(.cpb-projects-archive) .entry-banner,
body:has(.cpb-projects-archive) .entry-banner-after,
body:has(.cpb-projects-archive) .inner-page-banner,
body:has(.cpb-projects-archive) .inner-page-banner.bg-common,
body:has(.cpb-projects-archive) .inner-page-top-margin,
body:has(.cpb-projects-archive) .page-header,
body:has(.cpb-projects-archive) .entry-header,
body:has(.cpb-projects-archive) .elementor-page-title,
body:has(.cpb-projects-archive) .breadcrumb-area,
body:has(.cpb-projects-archive) .breadcrumbs {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body:has(.cpb-projects-archive) #content,
body:has(.cpb-projects-archive) .site-content,
body:has(.cpb-projects-archive) .content-area,
body:has(.cpb-projects-archive) #primary,
body:has(.cpb-projects-archive) .site-main,
body:has(.cpb-projects-archive) article,
body:has(.cpb-projects-archive) .entry-content,
body:has(.cpb-projects-archive) .elementor-widget-shortcode,
body:has(.cpb-projects-archive) .elementor-widget-shortcode .elementor-widget-container,
body:has(.cpb-projects-archive) .elementor-shortcode {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body:has(.cpb-projects-archive) .elementor-widget-shortcode,
body:has(.cpb-projects-archive) .elementor-widget-shortcode .elementor-widget-container,
body:has(.cpb-projects-archive) .elementor-shortcode {
  width: 100% !important;
  max-width: none !important;
}

/* More reliable full-bleed than negative-left positioning inside Elementor. */
.elementor-widget-shortcode .cpb-projects-archive,
.elementor-shortcode .cpb-projects-archive,
.elementor-widget-cpb_projects_archive .cpb-projects-archive,
.cpb-projects-archive {
  box-sizing: border-box;
  left: auto !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* If the shortcode is placed in a boxed Elementor section, remove inherited section padding. */
body:has(.cpb-projects-archive) .elementor-section:has(.cpb-projects-archive),
body:has(.cpb-projects-archive) .elementor-section:has(.cpb-projects-archive) > .elementor-container,
body:has(.cpb-projects-archive) .e-con:has(.cpb-projects-archive) {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Project grid load-more controls */
.cpb-load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 36px 0 0;
  text-align: center;
}

.cpb-load-more-wrap[hidden],
.cpb-grid-empty-state[hidden] {
  display: none !important;
}

.cpb-load-more-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 28px;
  border: 2px solid var(--cpb-red);
  background: var(--cpb-red);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
}

.cpb-load-more-btn:hover,
.cpb-load-more-btn:focus {
  background: var(--cpb-black);
  border-color: var(--cpb-black);
  color: #fff;
  transform: translateY(-1px);
}

.cpb-load-more-btn:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.cpb-load-more-status {
  min-height: 18px;
  margin: 0;
  color: var(--cpb-muted);
  font-size: 13px;
  font-weight: 700;
}

.cpb-grid-empty-state {
  margin: 26px auto 0;
  max-width: 640px;
  border: 1px solid var(--cpb-border);
  background: #fff;
  color: var(--cpb-muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  padding: 22px;
  text-align: center;
}

.cpb-project-grid-section.is-loading-projects .cpb-project-grid {
  opacity: .72;
  transition: opacity .2s ease;
}

/* =========================================================
   Capstone Project Cards - v1.4 design system
   ========================================================= */
.cpb-project-card.cpb-card-style-dark,
.cpb-project-card.cpb-card-style-light,
.cpb-project-card.cpb-card-style-rail {
  border-radius: 22px;
  isolation: isolate;
}

/* Dark Capstone Card */
.cpb-card-style-dark {
  min-height: 390px;
  background: #071522;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
}

.cpb-card-style-dark:before {
  content: '';
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 5px;
  background: var(--cpb-red);
  z-index: 4;
}

.cpb-card-style-dark .cpb-card-frame { display: none; }

.cpb-card-style-dark .cpb-card-shade {
  background:
    linear-gradient(180deg, rgba(7,21,34,.10) 0%, rgba(7,21,34,.56) 52%, rgba(7,21,34,.94) 100%),
    radial-gradient(circle at 78% 18%, rgba(229,53,47,.34), transparent 30%);
}

.cpb-card-style-dark .cpb-card-content {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 34px;
  text-align: left;
}

.cpb-card-style-dark .cpb-card-sector {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(229,53,47,.92);
  color: #fff;
  font-size: 11px;
  letter-spacing: .12em;
}

.cpb-card-style-dark .cpb-card-content h3 {
  max-width: 92%;
  margin-top: 14px;
  font-size: clamp(25px, 2.1vw, 36px);
}

.cpb-card-style-dark .cpb-card-meta {
  justify-content: flex-start;
  color: rgba(255,255,255,.76);
}

.cpb-card-style-dark .cpb-card-button {
  min-height: auto;
  margin-top: 22px;
  padding: 0;
  border: 0;
  color: #fff;
  letter-spacing: .09em;
}

.cpb-card-style-dark .cpb-card-button:after {
  content: ' →';
  color: var(--cpb-red);
  font-size: 18px;
  line-height: 1;
}

.cpb-card-style-dark:hover .cpb-card-button {
  background: transparent;
  color: #fff;
}

/* Light Capstone Card */
.cpb-card-style-light {
  min-height: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(22,22,22,.12);
  box-shadow: 0 18px 44px rgba(0,0,0,.08);
}

.cpb-card-style-light .cpb-card-link {
  position: relative;
  inset: auto;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: var(--cpb-black) !important;
}

.cpb-card-style-light .cpb-card-image,
.cpb-card-style-light .cpb-card-content {
  position: relative;
  inset: auto;
}

.cpb-card-style-light .cpb-card-image {
  height: 255px;
  transform: none;
}

.cpb-card-style-light .cpb-card-shade,
.cpb-card-style-light .cpb-card-frame {
  display: none;
}

.cpb-card-style-light .cpb-card-content {
  display: block;
  flex: 1;
  padding: 26px 26px 28px;
  text-align: left;
}

.cpb-card-style-light .cpb-card-sector {
  color: var(--cpb-red);
  font-size: 11px;
  letter-spacing: .14em;
}

.cpb-card-style-light .cpb-card-content h3 {
  margin: 11px 0 10px;
  color: var(--cpb-black);
  font-size: clamp(24px, 1.8vw, 31px);
  line-height: 1.04;
}

.cpb-card-style-light .cpb-card-meta {
  justify-content: flex-start;
  min-height: auto;
  color: rgba(22,22,22,.64);
  font-size: 13px;
  line-height: 1.45;
}

.cpb-card-style-light .cpb-card-button {
  margin-top: 22px;
  min-height: 40px;
  padding: 0;
  border: 0;
  color: var(--cpb-red);
  font-weight: 900;
}

.cpb-card-style-light .cpb-card-button:before {
  content: '';
  width: 42px;
  height: 2px;
  margin-right: 12px;
  background: var(--cpb-red);
}

.cpb-card-style-light:hover .cpb-card-image {
  transform: scale(1.035);
}

.cpb-card-style-light:hover .cpb-card-button {
  background: transparent;
}

/* Rail Line / Editorial Card */
.cpb-card-style-rail {
  min-height: 330px;
  overflow: hidden;
  background: #101820;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 60px rgba(0,0,0,.16);
}

.cpb-card-style-rail .cpb-card-link {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: 44% 1fr;
  min-height: 330px;
  color: #fff !important;
}

.cpb-card-style-rail .cpb-card-image,
.cpb-card-style-rail .cpb-card-content {
  position: relative;
  inset: auto;
}

.cpb-card-style-rail .cpb-card-image {
  height: 100%;
  min-height: 330px;
  transform: none;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}

.cpb-card-style-rail .cpb-card-shade,
.cpb-card-style-rail .cpb-card-frame {
  display: none;
}

.cpb-card-style-rail .cpb-card-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 30px 34px 18px;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(229,53,47,.13), transparent 32%),
    #101820;
}

.cpb-card-style-rail .cpb-card-content:before {
  content: '';
  position: absolute;
  left: 0;
  top: 34px;
  bottom: 34px;
  width: 3px;
  background: var(--cpb-red);
}

.cpb-card-style-rail .cpb-card-sector {
  color: var(--cpb-red);
  font-size: 11px;
  letter-spacing: .15em;
}

.cpb-card-style-rail .cpb-card-content h3 {
  margin: 12px 0 12px;
  color: #fff;
  font-size: clamp(24px, 1.9vw, 34px);
}

.cpb-card-style-rail .cpb-card-meta {
  justify-content: flex-start;
  color: rgba(255,255,255,.72);
}

.cpb-card-style-rail .cpb-card-button {
  align-self: flex-start;
  margin-top: 24px;
  border: 1px solid rgba(229,53,47,.8);
  background: rgba(229,53,47,.06);
}

.cpb-card-style-rail:hover .cpb-card-button {
  background: var(--cpb-red);
}

.cpb-card-style-rail:hover .cpb-card-image {
  transform: scale(1.035);
}

/* Video From the Job */
.cpb-single-video-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 54px;
}

.cpb-single-video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #101820;
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
}

.cpb-single-video-frame:before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  pointer-events: none;
  z-index: 2;
}

.cpb-single-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 420px;
  max-height: 680px;
  object-fit: cover;
  background: #101820;
}

@media (max-width: 1024px) {
  .cpb-card-style-rail .cpb-card-link {
    grid-template-columns: 1fr;
  }

  .cpb-card-style-rail .cpb-card-image {
    min-height: 250px;
    clip-path: none;
  }

  .cpb-single-video {
    aspect-ratio: 16 / 9;
    min-height: 320px;
  }
}

@media (max-width: 680px) {
  .cpb-card-style-dark,
  .cpb-card-style-rail {
    min-height: 340px;
  }

  .cpb-card-style-dark .cpb-card-content,
  .cpb-card-style-light .cpb-card-content,
  .cpb-card-style-rail .cpb-card-content {
    padding: 24px;
  }

  .cpb-single-video-frame {
    border-radius: 18px;
  }

  .cpb-single-video-frame:before {
    display: none;
  }

  .cpb-single-video {
    min-height: 220px;
  }
}

/* Project Map v1.5: SEO controls, state filters, and selectable Capstone styles */
.cpb-project-map-section.cpb-map-layout-contained {
  width: min(1180px, calc(100% - 40px));
}

.cpb-project-map-section.cpb-map-layout-wide {
  width: min(1520px, calc(100% - 40px));
}

.cpb-project-map-section.cpb-map-layout-full {
  width: 100%;
  max-width: none;
}

.cpb-project-map-section.cpb-map-layout-full .cpb-map-section-head,
.cpb-project-map-section.cpb-map-layout-full .cpb-map-seo-panel,
.cpb-project-map-section.cpb-map-layout-full .cpb-map-state-index,
.cpb-project-map-section.cpb-map-layout-full .cpb-map-admin-front-note {
  width: min(1520px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.cpb-map-workspace {
  --cpb-map-current-height: 650px;
  --cpb-map-base-height: 650px;
  display: grid;
  gap: 0;
  align-items: stretch;
  box-shadow: 0 28px 80px rgba(0,0,0,.16);
}

.cpb-map-workspace-has-sidebar {
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
}

.cpb-map-workspace-no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.cpb-map-controls,
.cpb-map-main,
.cpb-map-shell {
  min-width: 0;
}

.cpb-map-controls {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px;
  border: 1px solid rgba(22,22,22,.12);
  border-right: 0;
  background: #fff;
}

.cpb-map-workspace-has-sidebar .cpb-map-controls {
  max-height: var(--cpb-map-current-height);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cpb-map-controls-head span,
.cpb-map-control-kicker,
.cpb-map-seo-copy span,
.cpb-map-index-head span {
  display: block;
  color: var(--cpb-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cpb-map-controls-head strong {
  display: block;
  margin-top: 8px;
  color: var(--cpb-black);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.cpb-map-control-group {
  display: grid;
  gap: 10px;
}

.cpb-map-state-button {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 1px solid rgba(22,22,22,.12);
  background: #fff;
  color: var(--cpb-black);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  padding: 13px 14px;
  text-align: left;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.cpb-map-state-button em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(229,53,47,.1);
  color: var(--cpb-red);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.cpb-map-state-button:hover,
.cpb-map-state-button.is-active {
  border-color: var(--cpb-red);
  background: var(--cpb-red);
  color: #fff;
  transform: translateX(2px);
}

.cpb-map-state-button:hover em,
.cpb-map-state-button.is-active em {
  background: #fff;
  color: var(--cpb-red);
}

.cpb-map-legend ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cpb-map-legend li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: var(--cpb-charcoal);
  font-size: 13px;
  font-weight: 800;
}

.cpb-map-legend li i {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--cpb-red);
  box-shadow: 0 0 0 4px rgba(229,53,47,.14);
}

.cpb-map-legend li em {
  color: var(--cpb-muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.cpb-map-system-summary {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(22,22,22,.1);
}

.cpb-map-system-summary strong {
  display: block;
  color: var(--cpb-black);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.cpb-map-system-summary p {
  margin: 7px 0 0;
  color: var(--cpb-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.cpb-map-workspace .cpb-map-shell {
  height: var(--cpb-map-current-height);
  min-height: var(--cpb-map-current-height);
  max-height: var(--cpb-map-current-height);
  border: 1px solid rgba(22,22,22,.12);
  box-shadow: none;
}

.cpb-map-workspace-has-sidebar .cpb-map-main,
.cpb-map-workspace-has-sidebar .cpb-map-shell {
  align-self: stretch;
}

.cpb-map-workspace-has-sidebar .cpb-map-shell {
  display: block;
  border-left: 0;
}

.cpb-map-workspace .cpb-project-map-canvas {
  height: var(--cpb-map-current-height);
  min-height: var(--cpb-map-current-height);
  max-height: var(--cpb-map-current-height);
}

.cpb-map-marker-icon {
  background: var(--cpb-red);
  box-shadow: 0 0 0 8px rgba(229,53,47,.18), 0 12px 26px rgba(0,0,0,.26);
}

.cpb-map-marker-icon span {
  inset: 7px;
}

.cpb-map-marker-icon.cpb-marker-state-oh {
  background: #c72128;
}

.cpb-map-marker-icon.cpb-marker-state-ky {
  background: #8d1e24;
}

.cpb-map-marker-icon.cpb-marker-state-il {
  background: #5f6065;
}

.cpb-map-popup-card strong {
  color: var(--cpb-red);
}

.cpb-map-seo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
  gap: 28px;
  align-items: center;
  margin-top: 30px;
  padding: 30px;
  border: 1px solid rgba(22,22,22,.12);
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
}

.cpb-map-seo-copy h3,
.cpb-map-index-head h3 {
  margin: 8px 0 0;
  color: var(--cpb-black);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.cpb-map-seo-copy p,
.cpb-map-index-head p {
  max-width: 940px;
  margin: 12px 0 0;
  color: var(--cpb-muted);
  font-size: 16px;
  line-height: 1.65;
}

.cpb-map-seo-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cpb-map-seo-stats div {
  display: grid;
  gap: 5px;
  min-height: 110px;
  align-content: center;
  border: 1px solid rgba(22,22,22,.12);
  background: #f8f8f6;
  padding: 16px;
  text-align: center;
}

.cpb-map-seo-stats strong {
  color: var(--cpb-red);
  font-size: 32px;
  font-weight: 900;
  line-height: .95;
}

.cpb-map-seo-stats span {
  color: var(--cpb-charcoal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.cpb-map-state-index {
  margin-top: 34px;
}

.cpb-map-index-head {
  margin-bottom: 22px;
}

.cpb-map-state-group {
  margin-top: 24px;
}

.cpb-map-state-group[hidden],
.cpb-map-list-card[hidden] {
  display: none !important;
}

.cpb-map-state-group h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
  padding-bottom: 11px;
  border-bottom: 2px solid rgba(22,22,22,.12);
  color: var(--cpb-black);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.cpb-map-state-group h4 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--cpb-red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.cpb-map-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cpb-map-list-card {
  display: grid;
  gap: 6px;
  min-height: 132px;
  border: 1px solid rgba(22,22,22,.12);
  background: #fff;
  color: var(--cpb-black) !important;
  padding: 18px;
  text-decoration: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.cpb-map-list-card:hover {
  border-color: var(--cpb-red);
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.cpb-map-list-card strong {
  color: var(--cpb-black);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
}

.cpb-map-list-card span {
  color: var(--cpb-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.cpb-map-list-card em {
  align-self: end;
  color: var(--cpb-red);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Capstone Light */
.cpb-map-style-light .cpb-map-workspace,
.cpb-map-style-light .cpb-map-seo-panel,
.cpb-map-style-light .cpb-map-list-card {
  border-radius: 0;
}

.cpb-map-style-light .cpb-map-controls {
  background: #fff;
}

/* Capstone Dark */
.cpb-map-style-dark {
  color: #fff;
}

.cpb-map-style-dark .cpb-section-head h2,
.cpb-map-style-dark .cpb-map-controls-head strong,
.cpb-map-style-dark .cpb-map-seo-copy h3,
.cpb-map-style-dark .cpb-map-index-head h3,
.cpb-map-style-dark .cpb-map-state-group h4,
.cpb-map-style-dark .cpb-map-list-card strong,
.cpb-map-style-dark .cpb-map-system-summary strong {
  color: #fff;
}

.cpb-map-style-dark .cpb-section-head p,
.cpb-map-style-dark .cpb-map-seo-copy p,
.cpb-map-style-dark .cpb-map-index-head p,
.cpb-map-style-dark .cpb-map-list-card span,
.cpb-map-style-dark .cpb-map-system-summary p,
.cpb-map-style-dark .cpb-map-legend li {
  color: rgba(255,255,255,.76);
}

.cpb-map-style-dark .cpb-map-workspace,
.cpb-map-style-dark .cpb-map-seo-panel,
.cpb-map-style-dark .cpb-map-list-card,
.cpb-map-style-dark .cpb-map-controls {
  background: #121212;
  border-color: rgba(255,255,255,.14);
}

.cpb-map-style-dark .cpb-map-controls {
  background: linear-gradient(180deg, #151515 0%, #080808 100%);
}

.cpb-map-style-dark .cpb-map-state-button {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: #fff;
}

.cpb-map-style-dark .cpb-map-state-button:hover,
.cpb-map-style-dark .cpb-map-state-button.is-active {
  border-color: var(--cpb-red);
  background: var(--cpb-red);
}

.cpb-map-style-dark .cpb-map-seo-stats div {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}

.cpb-map-style-dark .cpb-map-seo-stats span {
  color: rgba(255,255,255,.82);
}

.cpb-map-style-dark .cpb-map-state-group h4 {
  border-color: rgba(255,255,255,.16);
}

.cpb-map-style-dark .cpb-map-popup-card,
.cpb-map-style-dark .cpb-map-popup .leaflet-popup-tip {
  background: #161616;
}

.cpb-map-style-dark .cpb-map-popup-card h3 {
  color: #fff;
}

.cpb-map-style-dark .cpb-map-popup-card p,
.cpb-map-style-dark .cpb-map-popup-meta {
  color: rgba(255,255,255,.78);
}

/* Capstone Steel */
.cpb-map-style-steel {
  --cpb-steel: #26313f;
  --cpb-steel-soft: #edf0f2;
}

.cpb-map-style-steel .cpb-section-head span,
.cpb-map-style-steel .cpb-map-controls-head span,
.cpb-map-style-steel .cpb-map-control-kicker,
.cpb-map-style-steel .cpb-map-seo-copy span,
.cpb-map-style-steel .cpb-map-index-head span,
.cpb-map-style-steel .cpb-map-list-card em {
  color: var(--cpb-red);
}

.cpb-map-style-steel .cpb-map-controls,
.cpb-map-style-steel .cpb-map-seo-panel,
.cpb-map-style-steel .cpb-map-list-card {
  background: linear-gradient(180deg, #fff 0%, var(--cpb-steel-soft) 100%);
}

.cpb-map-style-steel .cpb-map-controls-head strong,
.cpb-map-style-steel .cpb-map-seo-copy h3,
.cpb-map-style-steel .cpb-map-index-head h3,
.cpb-map-style-steel .cpb-map-state-group h4,
.cpb-map-style-steel .cpb-map-list-card strong {
  color: var(--cpb-steel);
}

.cpb-map-style-steel .cpb-map-tiles-steel {
  filter: grayscale(.92) contrast(1.04) brightness(.98);
}

.cpb-map-style-steel .cpb-map-marker-icon {
  background: var(--cpb-steel);
  box-shadow: 0 0 0 8px rgba(38,49,63,.18), 0 12px 26px rgba(0,0,0,.24);
}

.cpb-map-style-steel .cpb-map-marker-icon:after {
  border-color: rgba(38,49,63,.34);
}

@media (max-width: 1100px) {
  .cpb-map-workspace-has-sidebar {
    grid-template-columns: 1fr;
  }

  .cpb-map-controls {
    border-right: 1px solid rgba(22,22,22,.12);
    border-bottom: 0;
  }

  .cpb-map-workspace-has-sidebar .cpb-map-controls {
    max-height: none;
    overflow-y: visible;
  }

  .cpb-map-workspace-has-sidebar .cpb-map-shell {
    border-left: 1px solid rgba(22,22,22,.12);
  }

  .cpb-map-state-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cpb-map-control-kicker {
    grid-column: 1 / -1;
  }

  .cpb-map-seo-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .cpb-map-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cpb-map-seo-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cpb-project-map-section.cpb-map-layout-contained,
  .cpb-project-map-section.cpb-map-layout-wide,
  .cpb-project-map-section.cpb-map-layout-full .cpb-map-section-head,
  .cpb-project-map-section.cpb-map-layout-full .cpb-map-seo-panel,
  .cpb-project-map-section.cpb-map-layout-full .cpb-map-state-index,
  .cpb-project-map-section.cpb-map-layout-full .cpb-map-admin-front-note {
    width: min(100%, calc(100% - 24px));
  }

  .cpb-project-map-section.cpb-map-layout-full {
    width: 100%;
  }

  .cpb-map-controls,
  .cpb-map-seo-panel {
    padding: 22px;
  }

  .cpb-map-state-filter {
    grid-template-columns: 1fr;
  }

  .cpb-map-list-grid {
    grid-template-columns: 1fr;
  }

  .cpb-map-state-group h4 {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   Capstone Contact Widgets
   -------------------------------------------------------------------------- */
.cpb-contact-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.cpb-contact-theme-dark {
  --cpb-contact-bg: #060708;
  --cpb-contact-bg-2: #111418;
  --cpb-contact-card: rgba(255,255,255,.075);
  --cpb-contact-card-strong: rgba(255,255,255,.11);
  --cpb-contact-text: #fff;
  --cpb-contact-muted: rgba(255,255,255,.76);
  --cpb-contact-border: rgba(255,255,255,.14);
  --cpb-contact-accent: #ee212b;
  --cpb-contact-accent-dark: #ba1119;
  --cpb-contact-shadow: 0 28px 80px rgba(0,0,0,.36);
  background: var(--cpb-contact-bg);
  color: var(--cpb-contact-text);
}

.cpb-contact-theme-light {
  --cpb-contact-bg: #fff;
  --cpb-contact-bg-2: #f7f7f8;
  --cpb-contact-card: #fff;
  --cpb-contact-card-strong: #f6f6f7;
  --cpb-contact-text: #111214;
  --cpb-contact-muted: #575b63;
  --cpb-contact-border: rgba(17,18,20,.12);
  --cpb-contact-accent: #ee212b;
  --cpb-contact-accent-dark: #c91520;
  --cpb-contact-shadow: 0 24px 70px rgba(17,18,20,.11);
  background: var(--cpb-contact-bg);
  color: var(--cpb-contact-text);
}

.cpb-contact-theme-steel {
  --cpb-contact-bg: #f2f4f6;
  --cpb-contact-bg-2: #e6eaee;
  --cpb-contact-card: rgba(255,255,255,.78);
  --cpb-contact-card-strong: #fff;
  --cpb-contact-text: #14171b;
  --cpb-contact-muted: #4c535d;
  --cpb-contact-border: rgba(20,23,27,.13);
  --cpb-contact-accent: #ee212b;
  --cpb-contact-accent-dark: #c91520;
  --cpb-contact-shadow: 0 26px 76px rgba(31,38,46,.13);
  background: linear-gradient(135deg, var(--cpb-contact-bg), var(--cpb-contact-bg-2));
  color: var(--cpb-contact-text);
}

.cpb-contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cpb-contact-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cpb-contact-eyebrow:before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.cpb-contact-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 8vw, 148px) 0;
  isolation: isolate;
}

.cpb-contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .94;
  background:
    radial-gradient(circle at 12% 20%, rgba(238,33,43,.35), transparent 30%),
    linear-gradient(135deg, rgba(0,0,0,.25), transparent 52%),
    var(--cpb-contact-bg);
}

.cpb-contact-hero:after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -16vw;
  z-index: -1;
  width: 44vw;
  height: 44vw;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238,33,43,.15), transparent 62%);
}

.cpb-contact-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .62fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
}

.cpb-contact-hero-copy h1,
.cpb-contact-section-head h2,
.cpb-contact-cta h2 {
  margin: 14px 0 0;
  color: var(--cpb-contact-text);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .96;
}

.cpb-contact-hero-copy h1 {
  max-width: 900px;
  font-size: clamp(44px, 6.8vw, 92px);
}

.cpb-contact-hero-copy p {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--cpb-contact-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.62;
}

.cpb-contact-hero-actions,
.cpb-contact-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.cpb-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

.cpb-contact-button:hover,
.cpb-contact-info-card:hover {
  transform: translateY(-2px);
}

.cpb-contact-button-primary {
  border: 1px solid var(--cpb-contact-accent);
  background: var(--cpb-contact-accent);
  color: #fff !important;
  box-shadow: 0 16px 38px rgba(238,33,43,.28);
}

.cpb-contact-button-primary:hover {
  background: var(--cpb-contact-accent-dark);
  border-color: var(--cpb-contact-accent-dark);
}

.cpb-contact-button-secondary {
  border: 1px solid var(--cpb-contact-border);
  background: var(--cpb-contact-card);
  color: var(--cpb-contact-text) !important;
}

.cpb-contact-button-secondary:hover {
  border-color: var(--cpb-contact-accent);
}

.cpb-contact-proof-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--cpb-contact-border);
  border-radius: 28px;
  background: linear-gradient(145deg, var(--cpb-contact-card-strong), var(--cpb-contact-card));
  box-shadow: var(--cpb-contact-shadow);
  backdrop-filter: blur(14px);
}

.cpb-contact-proof-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--cpb-contact-accent);
}

.cpb-contact-proof-card span,
.cpb-contact-form-aside span,
.cpb-contact-info-card span,
.cpb-contact-step-card span {
  display: block;
  color: var(--cpb-contact-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cpb-contact-proof-card strong {
  display: block;
  margin-top: 12px;
  color: var(--cpb-contact-text);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.cpb-contact-proof-card ul,
.cpb-contact-form-aside ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.cpb-contact-proof-card li,
.cpb-contact-form-aside li {
  position: relative;
  padding-left: 24px;
  color: var(--cpb-contact-muted);
  font-weight: 750;
  line-height: 1.45;
}

.cpb-contact-proof-card li:before,
.cpb-contact-form-aside li:before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cpb-contact-accent);
  box-shadow: 0 0 0 5px rgba(238,33,43,.12);
}

.cpb-contact-details,
.cpb-contact-form-section,
.cpb-contact-expectations,
.cpb-contact-cta {
  padding: clamp(72px, 7vw, 112px) 0;
}

.cpb-contact-section-head {
  max-width: 880px;
  margin: 0 auto 34px;
  text-align: center;
}

.cpb-contact-section-head-left {
  margin-left: 0;
  text-align: left;
}

.cpb-contact-section-head h2 {
  font-size: clamp(36px, 4.7vw, 64px);
}

.cpb-contact-section-head p,
.cpb-contact-cta p {
  margin: 18px 0 0;
  color: var(--cpb-contact-muted);
  font-size: 17px;
  line-height: 1.72;
}

.cpb-contact-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.cpb-contact-info-card {
  display: flex;
  min-height: 232px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--cpb-contact-border);
  border-radius: 24px;
  background: var(--cpb-contact-card);
  box-shadow: var(--cpb-contact-shadow);
  color: var(--cpb-contact-text) !important;
  text-decoration: none !important;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.cpb-contact-info-card:hover {
  border-color: rgba(238,33,43,.45);
  box-shadow: 0 22px 62px rgba(238,33,43,.12);
}

.cpb-contact-info-card strong {
  display: block;
  margin: 18px 0;
  color: var(--cpb-contact-text);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.cpb-contact-info-card em {
  color: var(--cpb-contact-muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.5;
}

.cpb-contact-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: 26px;
  align-items: start;
}

.cpb-contact-form-panel,
.cpb-contact-form-aside {
  border: 1px solid var(--cpb-contact-border);
  border-radius: 30px;
  background: var(--cpb-contact-card);
  box-shadow: var(--cpb-contact-shadow);
}

.cpb-contact-form-panel {
  padding: clamp(26px, 4vw, 48px);
}

.cpb-contact-form-aside {
  position: sticky;
  top: 110px;
  padding: 34px;
}

.cpb-contact-form-aside h3 {
  margin: 12px 0 0;
  color: var(--cpb-contact-text);
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.cpb-contact-form-aside p {
  margin: 24px 0 0;
  color: var(--cpb-contact-muted);
  line-height: 1.65;
}

.cpb-contact-form-shell {
  margin-top: 28px;
}

.cpb-contact-form-warning {
  padding: 22px;
  border: 1px solid rgba(238,33,43,.35);
  border-radius: 16px;
  background: rgba(238,33,43,.08);
  color: var(--cpb-contact-text);
}

.cpb-cf7-project-form,
.cpb-contact-form-shell form {
  display: grid;
  gap: 18px;
}

.cpb-cf7-row,
.cpb-cf7-two {
  display: grid;
  gap: 18px;
}

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

.cpb-cf7-project-form label,
.cpb-cf7-fieldset legend {
  color: var(--cpb-contact-text);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
}

.cpb-cf7-project-form input:not([type="submit"]):not([type="checkbox"]),
.cpb-cf7-project-form select,
.cpb-cf7-project-form textarea,
.cpb-contact-form-shell .wpcf7 input:not([type="submit"]):not([type="checkbox"]),
.cpb-contact-form-shell .wpcf7 select,
.cpb-contact-form-shell .wpcf7 textarea {
  width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  border: 1px solid var(--cpb-contact-border);
  border-radius: 14px;
  outline: none;
  background: rgba(255,255,255,.86);
  color: #111214;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cpb-contact-theme-dark .cpb-cf7-project-form input:not([type="submit"]):not([type="checkbox"]),
.cpb-contact-theme-dark .cpb-cf7-project-form select,
.cpb-contact-theme-dark .cpb-cf7-project-form textarea,
.cpb-contact-theme-dark .cpb-contact-form-shell .wpcf7 input:not([type="submit"]):not([type="checkbox"]),
.cpb-contact-theme-dark .cpb-contact-form-shell .wpcf7 select,
.cpb-contact-theme-dark .cpb-contact-form-shell .wpcf7 textarea {
  background: rgba(255,255,255,.95);
}

.cpb-cf7-project-form input:focus,
.cpb-cf7-project-form select:focus,
.cpb-cf7-project-form textarea:focus,
.cpb-contact-form-shell .wpcf7 input:focus,
.cpb-contact-form-shell .wpcf7 select:focus,
.cpb-contact-form-shell .wpcf7 textarea:focus {
  border-color: var(--cpb-contact-accent);
  box-shadow: 0 0 0 4px rgba(238,33,43,.12);
}

.cpb-cf7-project-form textarea,
.cpb-contact-form-shell .wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

.cpb-cf7-fieldset {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--cpb-contact-border);
  border-radius: 16px;
}

.cpb-cf7-fieldset .wpcf7-list-item {
  margin: 8px 14px 8px 0;
  color: var(--cpb-contact-muted);
  font-size: 14px;
  font-weight: 700;
}

.cpb-cf7-consent {
  color: var(--cpb-contact-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.cpb-cf7-project-form input[type="submit"],
.cpb-contact-form-shell .wpcf7-submit {
  display: inline-flex;
  width: auto;
  min-height: 52px;
  padding: 16px 26px;
  border: 1px solid var(--cpb-contact-accent);
  border-radius: 999px;
  background: var(--cpb-contact-accent);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 16px 38px rgba(238,33,43,.24);
}

.cpb-cf7-project-form input[type="submit"]:hover,
.cpb-contact-form-shell .wpcf7-submit:hover {
  transform: translateY(-2px);
  background: var(--cpb-contact-accent-dark);
}

.cpb-contact-form-shell .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: var(--cpb-contact-accent);
  font-size: 13px;
  font-weight: 750;
}

.cpb-contact-form-shell .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 14px;
  color: var(--cpb-contact-text);
  font-weight: 750;
}

.cpb-contact-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.cpb-contact-step-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--cpb-contact-border);
  border-radius: 24px;
  background: var(--cpb-contact-card);
  box-shadow: var(--cpb-contact-shadow);
}

.cpb-contact-step-card h3 {
  margin: 30px 0 0;
  color: var(--cpb-contact-text);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.cpb-contact-step-card p {
  margin: 14px 0 0;
  color: var(--cpb-contact-muted);
  line-height: 1.62;
}

.cpb-contact-cta {
  overflow: hidden;
  position: relative;
}

.cpb-contact-cta:before {
  content: "";
  position: absolute;
  inset: auto -10% -44% auto;
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238,33,43,.22), transparent 66%);
  pointer-events: none;
}

.cpb-contact-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid var(--cpb-contact-border);
  border-radius: 30px;
  background: linear-gradient(145deg, var(--cpb-contact-card-strong), var(--cpb-contact-card));
  box-shadow: var(--cpb-contact-shadow);
}

.cpb-contact-cta-card .cpb-contact-cta-inner {
  display: block;
  max-width: 620px;
}

.cpb-contact-cta h2 {
  max-width: 780px;
  font-size: clamp(34px, 4vw, 56px);
}

.cpb-contact-cta p {
  max-width: 760px;
}

.cpb-contact-cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

@media (max-width: 1024px) {
  .cpb-contact-hero-inner,
  .cpb-contact-form-layout,
  .cpb-contact-cta-inner {
    grid-template-columns: 1fr;
  }

  .cpb-contact-card-grid,
  .cpb-contact-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cpb-contact-form-aside {
    position: static;
  }

  .cpb-contact-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .cpb-contact-wrap {
    width: min(100%, calc(100% - 28px));
  }

  .cpb-contact-hero,
  .cpb-contact-details,
  .cpb-contact-form-section,
  .cpb-contact-expectations,
  .cpb-contact-cta {
    padding: 58px 0;
  }

  .cpb-contact-card-grid,
  .cpb-contact-step-grid,
  .cpb-cf7-two {
    grid-template-columns: 1fr;
  }

  .cpb-contact-hero-actions,
  .cpb-contact-cta-actions {
    flex-direction: column;
  }

  .cpb-contact-button,
  .cpb-cf7-project-form input[type="submit"],
  .cpb-contact-form-shell .wpcf7-submit {
    width: 100%;
  }

  .cpb-contact-proof-card,
  .cpb-contact-form-panel,
  .cpb-contact-form-aside,
  .cpb-contact-cta-inner {
    border-radius: 22px;
  }
}

/* =========================================================
   Capstone Contact Builder Widgets (v1.6.0)
   ========================================================= */
.ccb-contact-hero,
.ccb-form-section,
.ccb-info-section,
.ccb-process-section,
.ccb-cta-section {
  --ccb-red: #ee212b;
  --ccb-black: #050505;
  --ccb-charcoal: #101318;
  --ccb-steel: #1e2b35;
  --ccb-line: rgba(255, 255, 255, 0.16);
  --ccb-ink: #101113;
  --ccb-muted: #5f6670;
  --ccb-soft: #f4f5f7;
  --ccb-card: #ffffff;
  --ccb-shadow: 0 28px 90px rgba(0, 0, 0, 0.14);
  font-family: inherit;
  position: relative;
  isolation: isolate;
}

.ccb-wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.ccb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ccb-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ccb-eyebrow:before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--ccb-red);
  border-radius: 99px;
}

.ccb-contact-hero {
  min-height: 600px;
  padding: 108px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(238, 33, 43, 0.34), transparent 24%),
    linear-gradient(135deg, #050505 0%, #11161c 58%, #202a34 100%);
  color: #fff;
}

.ccb-contact-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ccb-hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  z-index: -2;
}

.ccb-contact-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.78)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.035) 1px, transparent 1px, transparent 16px);
  z-index: -1;
}

.ccb-theme-light.ccb-contact-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f5f6f8 70%, #e8ebef 100%);
  color: var(--ccb-ink);
}

.ccb-theme-light .ccb-contact-hero__overlay {
  background:
    radial-gradient(circle at 80% 12%, rgba(238, 33, 43, 0.12), transparent 25%),
    repeating-linear-gradient(135deg, rgba(0,0,0,0.035), rgba(0,0,0,0.035) 1px, transparent 1px, transparent 18px);
}

.ccb-theme-steel.ccb-contact-hero {
  background: linear-gradient(135deg, #16232d 0%, #25313b 55%, #0f1419 100%);
}

.ccb-contact-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: end;
}

.ccb-contact-hero h1 {
  max-width: 870px;
  color: inherit;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 950;
  margin: 0 0 26px;
  text-transform: none;
}

.ccb-contact-hero p {
  max-width: 820px;
  color: rgba(255,255,255,0.82);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.62;
  margin: 0 0 32px;
}

.ccb-theme-light.ccb-contact-hero p {
  color: #434951;
}

.ccb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.ccb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.ccb-button:hover {
  transform: translateY(-2px);
}

.ccb-button-primary {
  background: var(--ccb-red);
  color: #fff !important;
  box-shadow: 0 18px 36px rgba(238, 33, 43, 0.28);
}

.ccb-button-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.22);
}

.ccb-theme-light .ccb-button-secondary {
  background: #fff;
  color: var(--ccb-ink) !important;
  border: 1px solid rgba(16, 17, 19, 0.14);
}

.ccb-hero-proof {
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  box-shadow: var(--ccb-shadow);
}

.ccb-theme-light .ccb-hero-proof {
  background: #fff;
  border-color: rgba(16,17,19,0.1);
}

.ccb-hero-proof strong {
  display: block;
  color: inherit;
  font-size: 20px;
  line-height: 1.28;
  margin-bottom: 22px;
}

.ccb-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ccb-chip-list span {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(238, 33, 43, 0.12);
  color: inherit;
  border: 1px solid rgba(238, 33, 43, 0.34);
  font-size: 12px;
  font-weight: 800;
}

.ccb-form-section,
.ccb-info-section,
.ccb-process-section,
.ccb-cta-section {
  padding: 92px 0;
}

.ccb-theme-light.ccb-form-section,
.ccb-theme-light.ccb-info-section,
.ccb-theme-light.ccb-process-section {
  background: #fff;
  color: var(--ccb-ink);
}

.ccb-theme-dark.ccb-form-section,
.ccb-theme-dark.ccb-info-section,
.ccb-theme-dark.ccb-process-section,
.ccb-theme-dark.ccb-cta-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(238,33,43,0.16), transparent 28%),
    linear-gradient(135deg, #050505, #11161c);
  color: #fff;
}

.ccb-theme-steel.ccb-form-section,
.ccb-theme-steel.ccb-info-section,
.ccb-theme-steel.ccb-process-section,
.ccb-theme-steel.ccb-cta-section {
  background: linear-gradient(135deg, #f1f3f5, #e6eaee);
  color: var(--ccb-ink);
}

.ccb-form-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(360px, 1.18fr);
  gap: 34px;
  align-items: stretch;
}

.ccb-form-copy {
  padding: 42px;
  border-radius: 26px;
  background: linear-gradient(135deg, #08090b, #1c242d);
  color: #fff;
  box-shadow: var(--ccb-shadow);
  overflow: hidden;
  position: relative;
}

.ccb-form-copy:after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  border: 36px solid rgba(238,33,43,0.18);
}

.ccb-form-copy h2,
.ccb-section-head h2,
.ccb-cta-section h2 {
  color: inherit;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
  font-weight: 950;
}

.ccb-form-copy p,
.ccb-section-head p,
.ccb-cta-section p {
  color: rgba(255,255,255,0.74);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 28px;
}

.ccb-theme-light .ccb-section-head p,
.ccb-theme-steel .ccb-section-head p,
.ccb-theme-light.ccb-cta-section p,
.ccb-theme-steel.ccb-cta-section p {
  color: var(--ccb-muted);
}

.ccb-contact-stack {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.ccb-contact-stack a,
.ccb-contact-stack div {
  display: block;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,0.1);
}

.ccb-contact-stack span {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.ccb-contact-stack strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
}

.ccb-form-card,
.ccb-info-card,
.ccb-process-step {
  background: #fff;
  color: var(--ccb-ink);
  border: 1px solid rgba(16,17,19,0.09);
  border-radius: 26px;
  box-shadow: var(--ccb-shadow);
}

.ccb-form-card {
  padding: 42px;
}

.ccb-form-card__head {
  margin-bottom: 26px;
}

.ccb-form-card__head span {
  display: inline-block;
  color: var(--ccb-red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ccb-form-card__head h3 {
  font-size: clamp(26px, 3vw, 38px);
  color: var(--ccb-ink);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
  font-weight: 950;
}

.ccb-form-card__head p {
  color: var(--ccb-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.ccb-cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.ccb-field {
  display: grid;
  gap: 7px;
  color: #2b3036;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.3;
}

.ccb-field-full {
  grid-column: 1 / -1;
}

.ccb-form-card .wpcf7 input[type="text"],
.ccb-form-card .wpcf7 input[type="email"],
.ccb-form-card .wpcf7 input[type="tel"],
.ccb-form-card .wpcf7 input[type="url"],
.ccb-form-card .wpcf7 select,
.ccb-form-card .wpcf7 textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(16,17,19,0.12);
  border-radius: 12px;
  background: #f7f8fa;
  color: var(--ccb-ink);
  font-size: 15px;
  line-height: 1.4;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ccb-form-card .wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

.ccb-form-card .wpcf7 input:focus,
.ccb-form-card .wpcf7 select:focus,
.ccb-form-card .wpcf7 textarea:focus {
  border-color: rgba(238,33,43,0.65);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(238,33,43,0.1);
}

.ccb-form-card .wpcf7 input[type="file"] {
  width: 100%;
  padding: 12px;
  border: 1px dashed rgba(16,17,19,0.22);
  border-radius: 12px;
  background: #fafafa;
  color: #39404a;
}

.ccb-consent {
  color: #5f6670;
  font-weight: 650;
}

.ccb-form-card .wpcf7-submit,
.ccb-form-card .ccb-submit {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 12px;
  background: var(--ccb-red);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(238,33,43,0.24);
}

.ccb-form-card .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: var(--ccb-red);
  font-size: 12px;
  font-weight: 800;
}

.ccb-form-card .wpcf7-response-output {
  margin: 22px 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

.ccb-admin-note {
  border: 1px solid rgba(238,33,43,0.28);
  background: rgba(238,33,43,0.07);
  color: var(--ccb-ink);
  border-radius: 14px;
  padding: 18px;
  line-height: 1.55;
}

.ccb-section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.ccb-section-head-left {
  text-align: left;
}

.ccb-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ccb-info-card {
  display: block;
  padding: 26px;
  text-decoration: none !important;
  color: var(--ccb-ink) !important;
  min-height: 250px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ccb-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(238,33,43,0.38);
}

.ccb-info-card span,
.ccb-process-step span {
  display: inline-block;
  color: var(--ccb-red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ccb-info-card strong {
  display: block;
  color: var(--ccb-ink);
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.ccb-info-card p {
  color: var(--ccb-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.ccb-process-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: start;
}

.ccb-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ccb-process-step {
  padding: 24px;
  min-height: 140px;
}

.ccb-process-step strong {
  display: block;
  color: var(--ccb-ink);
  font-size: 20px;
  line-height: 1.25;
}

.ccb-theme-dark .ccb-section-head p,
.ccb-theme-dark.ccb-cta-section p {
  color: rgba(255,255,255,0.76);
}

.ccb-cta-section {
  padding: 64px 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(238,33,43,0.28), transparent 30%),
    linear-gradient(135deg, #070707, #171d24);
  color: #fff;
}

.ccb-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: 44px;
  border-radius: 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--ccb-shadow);
}

.ccb-cta-layout-card .ccb-cta-inner {
  max-width: 980px;
}

.ccb-cta-section h2 {
  margin-bottom: 12px;
}

.ccb-cta-section p {
  max-width: 720px;
  margin-bottom: 0;
}

.ccb-theme-light.ccb-cta-section {
  background: #fff;
  color: var(--ccb-ink);
}

.ccb-theme-light .ccb-cta-inner {
  background: #fff;
  border-color: rgba(16,17,19,0.1);
}

.ccb-theme-steel.ccb-cta-section {
  background: linear-gradient(135deg, #e9edf1, #f7f8fa);
  color: var(--ccb-ink);
}

.ccb-theme-steel .ccb-cta-inner {
  background: rgba(255,255,255,0.8);
  border-color: rgba(16,17,19,0.08);
}

@media (max-width: 1024px) {
  .ccb-contact-hero__inner,
  .ccb-form-layout,
  .ccb-process-layout,
  .ccb-cta-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .ccb-wrap {
    width: min(100%, calc(100% - 28px));
  }

  .ccb-contact-hero,
  .ccb-form-section,
  .ccb-info-section,
  .ccb-process-section {
    padding: 64px 0;
  }

  .ccb-contact-hero h1,
  .ccb-form-copy h2,
  .ccb-section-head h2,
  .ccb-cta-section h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .ccb-contact-hero p,
  .ccb-form-copy p,
  .ccb-section-head p,
  .ccb-cta-section p {
    font-size: 16px;
  }

  .ccb-hero-proof,
  .ccb-form-copy,
  .ccb-form-card,
  .ccb-cta-inner {
    padding: 24px;
    border-radius: 22px;
  }

  .ccb-cf7-grid,
  .ccb-info-grid,
  .ccb-process-grid {
    grid-template-columns: 1fr;
  }

  .ccb-field-half,
  .ccb-field-full {
    grid-column: 1 / -1;
  }

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

  .ccb-actions {
    align-items: stretch;
  }
}

/* =========================================================
   Capstone Contact Widgets – v1.7.0 visual/photo refinements
   ========================================================= */
.cpb-contact-wrap {
  width: min(1180px, calc(100% - 56px));
}

.cpb-contact-hero,
.cpb-contact-details,
.cpb-contact-form-section,
.cpb-contact-expectations,
.cpb-contact-cta {
  font-family: inherit;
}

.cpb-contact-eyebrow {
  gap: 12px;
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: .18em;
}

.cpb-contact-eyebrow:before {
  width: 24px;
  height: 2px;
}

.cpb-contact-button {
  min-height: 46px;
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: .08em;
}

.cpb-contact-button-secondary {
  background: transparent;
}

.cpb-contact-theme-light .cpb-contact-button-secondary,
.cpb-contact-theme-steel .cpb-contact-button-secondary {
  background: #fff;
}

.cpb-contact-hero {
  min-height: 610px;
  padding: clamp(86px, 9vw, 150px) 0 clamp(76px, 7vw, 116px);
  background: #060708;
}

.cpb-contact-hero-bg {
  opacity: 1;
  background:
    radial-gradient(circle at 82% 18%, rgba(238,33,43,.32), transparent 26%),
    linear-gradient(115deg, rgba(0,0,0,.92), rgba(0,0,0,.72) 48%, rgba(0,0,0,.9)),
    linear-gradient(135deg, #050505, #111821 70%, #050505);
}

.cpb-contact-has-bg-photo .cpb-contact-hero-bg {
  background:
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.72) 48%, rgba(0,0,0,.86) 100%),
    radial-gradient(circle at 78% 14%, rgba(238,33,43,.28), transparent 28%),
    var(--cpb-contact-hero-image),
    #060708;
  background-size: auto, auto, cover, auto;
  background-position: center, center, center, center;
}

.cpb-contact-hero:after {
  display: none;
}

.cpb-contact-hero-inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.cpb-contact-hero-copy h1 {
  max-width: 960px;
  font-size: clamp(48px, 6.15vw, 88px);
  line-height: .92;
  letter-spacing: -.057em;
}

.cpb-contact-hero-copy p {
  max-width: 760px;
  margin-top: 26px;
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.66;
}

.cpb-contact-hero-media {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.cpb-contact-media-wide-photo .cpb-contact-hero-media {
  align-self: stretch;
}

.cpb-contact-photo-card,
.cpb-contact-details-photo,
.cpb-contact-process-photo,
.cpb-contact-aside-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 22px;
  background: #111418;
  box-shadow: var(--cpb-contact-shadow);
}

.cpb-contact-photo-card {
  min-height: 250px;
  border: 1px solid rgba(255,255,255,.14);
}

.cpb-contact-media-wide-photo .cpb-contact-photo-card {
  min-height: 420px;
}

.cpb-contact-photo-card:before,
.cpb-contact-details-photo:before,
.cpb-contact-process-photo:before,
.cpb-contact-aside-photo:before,
.cpb-contact-cta-has-image .cpb-contact-cta-inner:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.66));
  pointer-events: none;
}

.cpb-contact-photo-card img,
.cpb-contact-details-photo img,
.cpb-contact-process-photo img,
.cpb-contact-aside-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.01);
}

.cpb-contact-photo-card figcaption,
.cpb-contact-details-photo figcaption,
.cpb-contact-process-photo figcaption,
.cpb-contact-aside-photo figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.cpb-contact-proof-card {
  border-radius: 22px;
  padding: clamp(24px, 3vw, 34px);
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.06));
}

.cpb-contact-proof-card strong {
  font-size: clamp(22px, 2.1vw, 30px);
}

.cpb-contact-proof-card ul,
.cpb-contact-form-aside ul {
  gap: 10px;
  margin-top: 20px;
}

.cpb-contact-proof-card li,
.cpb-contact-form-aside li {
  font-size: 14px;
  font-weight: 800;
}

.cpb-contact-details,
.cpb-contact-form-section,
.cpb-contact-expectations {
  padding: clamp(74px, 7vw, 104px) 0;
}

.cpb-contact-section-head {
  margin-bottom: 38px;
}

.cpb-contact-section-head h2,
.cpb-contact-cta h2 {
  font-size: clamp(38px, 4.9vw, 68px);
  line-height: .94;
  letter-spacing: -.058em;
}

.cpb-contact-section-head p,
.cpb-contact-cta p {
  max-width: 800px;
  font-size: 16px;
  line-height: 1.68;
}

.cpb-contact-details-split,
.cpb-contact-process-shell {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .7fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  margin-bottom: 36px;
}

.cpb-contact-details-split .cpb-contact-section-head,
.cpb-contact-process-layout-split-photo .cpb-contact-section-head {
  margin-bottom: 0;
}

.cpb-contact-details-photo,
.cpb-contact-process-photo {
  min-height: 360px;
  border: 1px solid var(--cpb-contact-border);
}

.cpb-contact-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cpb-contact-info-card {
  min-height: 210px;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 18px 54px rgba(17,18,20,.08);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.cpb-contact-info-card:hover {
  border-color: rgba(238,33,43,.45);
  box-shadow: 0 24px 70px rgba(17,18,20,.13);
}

.cpb-contact-info-card strong {
  font-size: 22px;
  line-height: 1.16;
}

.cpb-contact-info-card em {
  font-size: 14px;
  line-height: 1.55;
}

.cpb-contact-form-section {
  background: linear-gradient(135deg, #eef1f4, #f8f9fa);
}

.cpb-contact-form-layout {
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.cpb-contact-form-layout-form-left .cpb-contact-form-panel {
  order: -1;
}

.cpb-contact-form-layout-form-left .cpb-contact-form-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
}

.cpb-contact-form-layout-stacked .cpb-contact-form-layout {
  grid-template-columns: 1fr;
}

.cpb-contact-form-panel,
.cpb-contact-form-aside {
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 24px 74px rgba(31,38,46,.11);
}

.cpb-contact-form-panel {
  padding: clamp(24px, 3.5vw, 38px);
}

.cpb-contact-form-aside {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.cpb-contact-aside-photo {
  min-height: 210px;
  margin-bottom: 24px;
  border-radius: 18px;
}

.cpb-contact-form-aside h3 {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: .98;
}

.cpb-contact-form-aside p {
  margin-top: 20px;
  font-size: 14px;
}

.cpb-contact-form-density-compact .cpb-contact-section-head h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.cpb-contact-form-density-compact .cpb-contact-section-head p {
  font-size: 15px;
  line-height: 1.62;
}

.cpb-contact-form-density-compact .cpb-contact-form-shell {
  margin-top: 20px;
}

.cpb-contact-form-shell .wpcf7 p {
  margin: 0;
}

.cpb-contact-form-shell .wpcf7-form-control-wrap {
  display: block;
}

.cpb-cf7-project-form-v2,
.cpb-contact-form-shell form .cpb-cf7-project-form-v2 {
  gap: 12px;
}

.cpb-cf7-project-form-v2 .cpb-cf7-row {
  gap: 12px;
}

.cpb-cf7-project-form-v2 .cpb-cf7-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cpb-cf7-project-form-v2 .cpb-cf7-section-title {
  margin: 10px 0 0;
  padding-top: 4px;
  color: var(--cpb-contact-accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cpb-cf7-project-form-v2 .cpb-cf7-section-title:first-child {
  margin-top: 0;
}

.cpb-cf7-project-form-v2 .cpb-cf7-row label > span:first-child {
  display: block;
  margin-bottom: 6px;
  color: var(--cpb-contact-text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.2;
}

.cpb-cf7-project-form-v2 label,
.cpb-cf7-fieldset legend {
  font-size: 12px;
}

.cpb-cf7-project-form-v2 input:not([type="submit"]):not([type="checkbox"]),
.cpb-cf7-project-form-v2 select,
.cpb-cf7-project-form-v2 textarea,
.cpb-contact-form-shell .wpcf7 .cpb-cf7-project-form-v2 input:not([type="submit"]):not([type="checkbox"]),
.cpb-contact-form-shell .wpcf7 .cpb-cf7-project-form-v2 select,
.cpb-contact-form-shell .wpcf7 .cpb-cf7-project-form-v2 textarea {
  min-height: 44px;
  margin-top: 0;
  padding: 11px 13px;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.cpb-cf7-project-form-v2 textarea,
.cpb-contact-form-shell .wpcf7 .cpb-cf7-project-form-v2 textarea {
  min-height: 112px;
}

.cpb-cf7-project-form-v2 .cpb-cf7-fieldset {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.5);
}

.cpb-cf7-project-form-v2 .cpb-cf7-fieldset legend {
  padding: 0 6px;
}

.cpb-cf7-project-form-v2 .wpcf7-checkbox {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px 12px;
  margin-top: 6px;
}

.cpb-cf7-project-form-v2 .wpcf7-list-item {
  margin: 0;
  color: var(--cpb-contact-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.cpb-cf7-project-form-v2 .wpcf7-list-item label {
  display: inline-flex;
  gap: 7px;
  align-items: flex-start;
}

.cpb-cf7-project-form-v2 input[type="checkbox"] {
  transform: translateY(2px);
}

.cpb-cf7-project-form-v2 .cpb-cf7-consent {
  font-size: 12px;
}

.cpb-cf7-project-form-v2 input[type="submit"],
.cpb-contact-form-shell .wpcf7 .cpb-cf7-project-form-v2 .wpcf7-submit {
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 6px;
  width: auto;
}

.cpb-contact-process-layout-cards .cpb-contact-process-shell {
  display: block;
  margin-bottom: 0;
}

.cpb-contact-process-layout-split-photo .cpb-contact-step-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cpb-contact-step-grid {
  gap: 18px;
  margin-top: 34px;
}

.cpb-contact-step-card {
  min-height: 210px;
  padding: 26px;
  border-radius: 18px;
  box-shadow: 0 18px 54px rgba(17,18,20,.08);
}

.cpb-contact-step-card h3 {
  margin-top: 24px;
  font-size: 24px;
}

.cpb-contact-step-card p {
  font-size: 14px;
}

.cpb-contact-cta {
  padding: clamp(50px, 5vw, 72px) 0;
}

.cpb-contact-cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  padding: clamp(34px, 4.4vw, 50px);
  background: #151515;
}

.cpb-contact-cta-has-image .cpb-contact-cta-inner {
  background:
    linear-gradient(90deg, rgba(9,10,11,.9), rgba(9,10,11,.72)),
    var(--cpb-contact-cta-image),
    #151515;
  background-size: cover;
  background-position: center;
}

.cpb-contact-cta-has-image .cpb-contact-cta-inner:before {
  z-index: 0;
  opacity: var(--cpb-contact-cta-opacity, .34);
  background: linear-gradient(135deg, rgba(238,33,43,.55), transparent 50%);
}

.cpb-contact-cta-inner > * {
  position: relative;
  z-index: 1;
}

.cpb-contact-cta-card .cpb-contact-cta-inner {
  border-radius: 20px;
}

.cpb-contact-cta-image-banner .cpb-contact-cta-inner {
  min-height: 330px;
}

@media (max-width: 1100px) {
  .cpb-contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .cpb-contact-hero-inner,
  .cpb-contact-details-split,
  .cpb-contact-process-shell,
  .cpb-contact-form-layout,
  .cpb-contact-form-layout-form-left .cpb-contact-form-layout {
    grid-template-columns: 1fr;
  }

  .cpb-contact-form-panel,
  .cpb-contact-form-aside {
    order: initial;
  }

  .cpb-contact-form-aside {
    position: relative;
    top: auto;
  }

  .cpb-contact-hero-media {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .cpb-contact-wrap {
    width: min(100%, calc(100% - 28px));
  }

  .cpb-contact-hero {
    min-height: 0;
    padding: 64px 0;
  }

  .cpb-contact-hero-copy h1,
  .cpb-contact-section-head h2,
  .cpb-contact-cta h2 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .cpb-contact-hero-media,
  .cpb-contact-card-grid,
  .cpb-contact-process-layout-split-photo .cpb-contact-step-grid,
  .cpb-contact-step-grid,
  .cpb-cf7-project-form-v2 .cpb-cf7-two {
    grid-template-columns: 1fr;
  }

  .cpb-contact-photo-card,
  .cpb-contact-details-photo,
  .cpb-contact-process-photo,
  .cpb-contact-aside-photo {
    min-height: 230px;
  }

  .cpb-contact-form-panel,
  .cpb-contact-form-aside,
  .cpb-contact-info-card,
  .cpb-contact-step-card {
    border-radius: 18px;
  }

  .cpb-contact-button,
  .cpb-cf7-project-form-v2 input[type="submit"],
  .cpb-contact-form-shell .wpcf7 .cpb-cf7-project-form-v2 .wpcf7-submit {
    width: 100%;
  }
}


/* =========================================================
   v1.7.3 Capstone Contact Hero top-of-page header clearance
   Keeps the contact hero usable under transparent/sticky site headers.
   ========================================================= */
.cpb-contact-hero.cpb-contact-top-safe {
  min-height: clamp(660px, 78vh, 840px);
  padding-top: clamp(158px, 13.5vw, 226px);
  padding-bottom: clamp(78px, 7.5vw, 124px);
}

.admin-bar .cpb-contact-hero.cpb-contact-top-safe {
  padding-top: clamp(176px, 14.5vw, 248px);
}

.cpb-contact-hero.cpb-contact-top-safe .cpb-contact-hero-inner {
  align-items: center;
}

.cpb-contact-hero.cpb-contact-top-safe .cpb-contact-hero-copy h1 {
  max-width: 930px;
  font-size: clamp(42px, 5.35vw, 78px);
  line-height: .96;
  letter-spacing: -.052em;
}

.cpb-contact-hero.cpb-contact-top-safe .cpb-contact-hero-copy p {
  max-width: 760px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.62;
}

.cpb-contact-hero.cpb-contact-top-safe .cpb-contact-proof-card {
  align-self: center;
}

@media (max-width: 1180px) {
  .cpb-contact-hero.cpb-contact-top-safe {
    padding-top: clamp(146px, 15vw, 204px);
  }
}

@media (max-width: 1024px) {
  .cpb-contact-hero.cpb-contact-top-safe {
    min-height: 0;
    padding-top: clamp(132px, 17vw, 184px);
    padding-bottom: clamp(70px, 8vw, 104px);
  }

  .cpb-contact-hero.cpb-contact-top-safe .cpb-contact-hero-copy h1 {
    max-width: 820px;
    font-size: clamp(42px, 7.6vw, 68px);
  }

  .cpb-contact-hero.cpb-contact-top-safe .cpb-contact-hero-media {
    margin-top: 4px;
  }
}

@media (max-width: 760px) {
  .cpb-contact-hero.cpb-contact-top-safe {
    padding-top: calc(116px + env(safe-area-inset-top));
    padding-bottom: 58px;
  }

  .admin-bar .cpb-contact-hero.cpb-contact-top-safe {
    padding-top: calc(130px + env(safe-area-inset-top));
  }

  .cpb-contact-hero.cpb-contact-top-safe .cpb-contact-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(38px, 11.4vw, 52px);
    line-height: .98;
    letter-spacing: -.048em;
  }

  .cpb-contact-hero.cpb-contact-top-safe .cpb-contact-hero-copy p {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.55;
  }

  .cpb-contact-hero.cpb-contact-top-safe .cpb-contact-hero-actions {
    margin-top: 24px;
  }

  .cpb-contact-hero.cpb-contact-top-safe .cpb-contact-proof-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .cpb-contact-hero.cpb-contact-top-safe {
    padding-top: calc(128px + env(safe-area-inset-top));
  }

  .cpb-contact-hero.cpb-contact-top-safe .cpb-contact-hero-copy h1 {
    font-size: clamp(34px, 11.8vw, 46px);
  }

  .cpb-contact-hero.cpb-contact-top-safe .cpb-contact-button {
    width: 100%;
  }
}
