.skyrise-project-single,
.skyrise-project-grid,
.skyrise-lightbox {
  --skyrise-navy: #101b3d;
  --skyrise-gold: #b58a4e;
  --skyrise-ink: #242936;
  --skyrise-muted: #667085;
  --skyrise-surface: #f5f5f3;
  --skyrise-white: #fff;
}

.skyrise-project-single,
.skyrise-project-grid {
  font-family: inherit;
}

.skyrise-project-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skyrise-project-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: var(--skyrise-white);
  background: var(--skyrise-navy) var(--skyrise-hero-image, none) center/cover no-repeat;
}

.skyrise-project-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 14, 34, .2), rgba(7, 14, 34, .92));
}

.skyrise-project-hero__content {
  position: relative;
  z-index: 1;
  padding: 54px 0 68px;
}

.skyrise-project-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
  font-size: 14px;
  color: rgba(255,255,255,.78);
}

.skyrise-project-breadcrumb a { color: inherit; }
.skyrise-project-breadcrumb a:hover { color: var(--skyrise-white); }

.skyrise-project-eyebrow,
.skyrise-project-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--skyrise-gold);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
}

.skyrise-project-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--skyrise-white);
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.02;
}

.skyrise-project-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 16px;
  line-height: 1.65;
}

.skyrise-project-section { padding: 96px 0; }
.skyrise-project-section--tinted { background: var(--skyrise-surface); }

.skyrise-project-section h2,
.skyrise-project-cta h2 {
  margin: 0 0 22px;
  color: var(--skyrise-navy);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
}

.skyrise-project-overview-grid,
.skyrise-project-scope-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.skyrise-project-richtext,
.skyrise-project-scope-grid p {
  color: var(--skyrise-muted);
  font-size: 16px;
  line-height: 1.8;
}

.skyrise-project-facts {
  padding: 34px;
  border-radius: 18px;
  background: var(--skyrise-navy);
  color: var(--skyrise-white);
}

.skyrise-project-facts h2 {
  color: var(--skyrise-white);
  font-size: 28px;
}

.skyrise-project-facts > div {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}

.skyrise-project-facts span { color: rgba(255,255,255,.64); font-size: 14px; }
.skyrise-project-facts strong { font-size: 17px; }

.skyrise-project-services {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.skyrise-project-services li {
  position: relative;
  padding: 16px 18px 16px 46px;
  background: var(--skyrise-white);
  border-radius: 10px;
  color: var(--skyrise-ink);
  font-weight: 600;
}

.skyrise-project-services li::before {
  content: '\2713';
  position: absolute;
  left: 18px;
  color: var(--skyrise-gold);
}

.skyrise-project-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 38px;
}

.skyrise-project-gallery a {
  grid-column: span 4;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: var(--skyrise-surface);
}

.skyrise-project-gallery a:first-child { grid-column: span 8; grid-row: span 2; }

.skyrise-project-gallery img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform .35s ease;
}

.skyrise-project-gallery a:hover img { transform: scale(1.035); }

.skyrise-project-cta {
  padding: 86px 0;
  text-align: center;
  color: var(--skyrise-white);
  background: var(--skyrise-navy);
}

.skyrise-project-cta h2 { color: var(--skyrise-white); }
.skyrise-project-cta p { max-width: 720px; margin: 0 auto 30px; color: rgba(255,255,255,.76); font-size: 16px; }

.skyrise-project-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 28px;
  border-radius: 999px;
  background: var(--skyrise-gold);
  color: var(--skyrise-white);
  font-weight: 700;
}

.skyrise-project-button:hover { color: var(--skyrise-white); transform: translateY(-2px); }

.skyrise-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.skyrise-project-card {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--skyrise-navy) var(--skyrise-card-image, none) center/cover no-repeat;
}

.skyrise-project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,17,40,.06) 25%, rgba(9,17,40,.96) 100%);
}

.skyrise-project-card__link {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: flex-end;
  color: var(--skyrise-white);
}

.skyrise-project-card__link:hover { color: var(--skyrise-white); }

.skyrise-project-card__content {
  position: relative;
  width: 100%;
  padding: 32px 92px 32px 32px;
}

.skyrise-project-card__location { color: #e7c690; font-size: 14px; font-weight: 700; }
.skyrise-project-card h3 { margin: 10px 0 12px; color: var(--skyrise-white); font-size: 30px; line-height: 1.12; }
.skyrise-project-card p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.6; }

.skyrise-project-card__arrow {
  position: absolute;
  right: 28px;
  bottom: 30px;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--skyrise-gold);
  font-size: 28px;
  transition: transform .25s ease;
}

.skyrise-project-card:hover .skyrise-project-card__arrow { transform: translate(3px, -3px); }

.skyrise-related-projects {
  overflow: hidden;
  background: var(--skyrise-surface);
}

.skyrise-related-projects__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.skyrise-related-projects__heading h2 { margin-bottom: 0; }

.skyrise-related-carousel { margin-top: 38px; }

.skyrise-related-carousel__controls {
  display: flex;
  gap: 12px;
  padding-bottom: 4px;
}
.skyrise-related-carousel__controls[hidden] { display: none; }

.skyrise-related-carousel__controls button {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(16, 27, 61, .15);
  border-radius: 50%;
  background: var(--skyrise-white);
  color: var(--skyrise-navy);
  font-size: 24px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.skyrise-related-carousel__controls button:hover:not(:disabled) {
  border-color: var(--skyrise-gold);
  background: var(--skyrise-gold);
  color: var(--skyrise-white);
}

.skyrise-related-carousel__controls button:disabled {
  opacity: .36;
  cursor: default;
}

.skyrise-related-projects--static .skyrise-related-carousel__controls { display: none; }

.skyrise-related-carousel__viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.skyrise-related-carousel__viewport::-webkit-scrollbar { display: none; }

.skyrise-related-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 56px) / 3);
  gap: 28px;
}

.skyrise-related-carousel .skyrise-project-card {
  min-height: 460px;
  scroll-snap-align: start;
}

/* Scoped ID wins over theme/Elementor element rules; no site-wide overrides. */
#skyrise-project-page {
  --skyrise-navy: #1c2541;
  --skyrise-gold: var(--e-global-color-primary, #a5824e);
  --sr-theme-heading: var(--e-global-typography-primary-font-family, inherit);
  --sr-theme-body: var(--e-global-typography-text-font-family, inherit);
  color: var(--e-global-color-text, #505a6d);
  background: #fff;
  overflow-wrap: anywhere;
}
#skyrise-project-page *,
#skyrise-project-page *::before,
#skyrise-project-page *::after { box-sizing: border-box; }
#skyrise-project-page .skyrise-project-overview-grid > *,
#skyrise-project-page .skyrise-project-scope-grid > * { min-width: 0; }
#skyrise-project-page .skyrise-project-hero h1 {
  font-family: var(--sr-title-family, var(--sr-theme-heading));
  font-size: min(var(--sr-title-size, 82px), clamp(32px, 7vw, 120px));
  font-weight: var(--sr-title-weight, var(--e-global-typography-primary-font-weight, 700));
  color: var(--sr-title-color, #fff);
  line-height: 1.12;
}
#skyrise-project-page .skyrise-project-section h2 {
  font-family: var(--sr-heading-family, var(--sr-theme-heading));
  font-size: min(var(--sr-heading-size, 30px), clamp(28px, 4vw, 120px));
  font-weight: var(--sr-heading-weight, var(--e-global-typography-primary-font-weight, 700));
  color: var(--sr-heading-color, var(--e-global-color-secondary, #1c2541));
  line-height: 1.2;
}
#skyrise-project-page .skyrise-project-richtext,
#skyrise-project-page .skyrise-project-richtext p,
#skyrise-project-page .skyrise-project-richtext li,
#skyrise-project-page .skyrise-project-scope-grid p,
#skyrise-project-page .skyrise-project-services li,
#skyrise-project-page .skyrise-project-lead,
#skyrise-project-page .skyrise-project-card p {
  font-family: var(--sr-body-family, var(--sr-theme-body));
  font-size: var(--sr-body-size, 16px);
  font-weight: var(--sr-body-weight, 400);
  color: var(--sr-body-color, var(--e-global-color-text, #505a6d));
  line-height: 1.7;
}
#skyrise-project-page .skyrise-project-richtext p { margin: 0 0 1.2em; }
#skyrise-project-page .skyrise-project-lead,
#skyrise-project-page .skyrise-project-card p { color: #f1f3f7; }
#skyrise-project-page .skyrise-project-facts h2 {
  font-family: var(--sr-facts-family, var(--sr-heading-family, var(--sr-theme-heading)));
  font-size: min(var(--sr-facts-size, 28px), clamp(24px, 4vw, 120px));
  font-weight: var(--sr-facts-weight, 600);
  color: var(--sr-facts-color, #fff);
}
#skyrise-project-page .skyrise-project-facts > div { gap: 7px; padding: 16px 0; }
#skyrise-project-page .skyrise-project-facts span {
  font-family: var(--sr-label-family, var(--sr-theme-body));
  font-size: var(--sr-label-size, 14px);
  font-weight: var(--sr-label-weight, 400);
  color: var(--sr-label-color, #cdd3df);
  line-height: 1.5;
}
#skyrise-project-page .skyrise-project-facts strong {
  font-family: var(--sr-value-family, var(--sr-theme-body));
  font-size: var(--sr-value-size, 16px);
  font-weight: var(--sr-value-weight, 600);
  color: var(--sr-value-color, #fff);
  line-height: 1.5;
}
#skyrise-project-page .skyrise-related-projects h2 {
  font-family: var(--sr-related-family, var(--sr-heading-family, var(--sr-theme-heading)));
  font-size: min(var(--sr-related-size, var(--sr-heading-size, 30px)), clamp(28px, 4vw, 120px));
  font-weight: var(--sr-related-weight, var(--sr-heading-weight, 700));
  color: var(--sr-related-color, var(--sr-heading-color, var(--e-global-color-secondary, #1c2541)));
}
#skyrise-project-page .skyrise-project-cta h2 {
  font-family: var(--sr-cta-title-family, var(--sr-theme-heading));
  font-size: min(var(--sr-cta-title-size, 30px), clamp(28px, 4vw, 120px));
  font-weight: var(--sr-cta-title-weight, 700);
  color: var(--sr-cta-title-color, #fff);
  line-height: 1.2;
}
#skyrise-project-page .skyrise-project-cta p {
  font-family: var(--sr-cta-body-family, var(--sr-body-family, var(--sr-theme-body)));
  font-size: var(--sr-cta-body-size, var(--sr-body-size, 16px));
  font-weight: var(--sr-cta-body-weight, 400);
  color: var(--sr-cta-body-color, #e4e8f0);
  line-height: 1.7;
}
#skyrise-project-page .skyrise-project-card h3 { color: #fff; }
#skyrise-project-page .skyrise-project-button { color: #fff; text-decoration: none; }
#skyrise-project-page .skyrise-project-card__link { text-decoration: none; }
#skyrise-project-page a:focus-visible,
#skyrise-project-page button:focus-visible,
#skyrise-project-page [tabindex]:focus-visible { outline: 3px solid #b58a4e; outline-offset: -4px; }
#skyrise-project-page .skyrise-related-carousel__track { min-width: 0; }
#skyrise-project-page .skyrise-related-carousel__controls { flex-shrink: 0; }
#skyrise-project-page .skyrise-project-card__content { padding: 24px 24px 94px; }
#skyrise-project-page .skyrise-project-card__arrow { width: 48px; height: 48px; bottom: 24px; right: 24px; }
#skyrise-project-page .skyrise-project-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 420px) {
  #skyrise-project-page .skyrise-related-projects__heading { flex-wrap: wrap; gap: 14px; }
  #skyrise-project-page .skyrise-project-facts { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  #skyrise-project-page .skyrise-related-carousel__viewport { scroll-behavior: auto; }
  #skyrise-project-page * { transition: none; }
}

.skyrise-projects-empty { padding: 20px; background: #fff8e8; border-left: 4px solid var(--skyrise-gold); }

.skyrise-lightbox {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: none;
  place-items: center;
  padding: 30px;
  background: rgba(5,10,24,.94);
}

.skyrise-lightbox[aria-hidden='false'] { display: grid; }
.skyrise-lightbox img { max-width: min(1400px, 94vw); max-height: 88vh; object-fit: contain; }
.skyrise-lightbox__close { position: absolute; top: 18px; right: 24px; border: 0; background: transparent; color: #fff; font-size: 48px; cursor: pointer; }
.skyrise-lightbox-open { overflow: hidden; }

@media (max-width: 900px) {
  .skyrise-project-overview-grid,
  .skyrise-project-scope-grid { grid-template-columns: 1fr; }
  .skyrise-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skyrise-related-carousel__track { grid-auto-columns: calc((100% - 24px) / 2); gap: 24px; }
  .skyrise-project-gallery a,
  .skyrise-project-gallery a:first-child { grid-column: span 6; grid-row: auto; }
}

@media (max-width: 620px) {
  .skyrise-project-container { width: min(100% - 28px, 1180px); }
  .skyrise-project-hero { min-height: 480px; }
  .skyrise-project-hero__content { padding-bottom: 48px; }
  .skyrise-project-section { padding: 68px 0; }
  .skyrise-project-grid { grid-template-columns: 1fr; }
  .skyrise-project-card { min-height: 460px; }
  .skyrise-related-projects__heading { align-items: center; }
  .skyrise-related-projects__heading h2 { font-size: 34px; }
  .skyrise-related-carousel__controls button { width: 46px; height: 46px; }
  .skyrise-related-carousel__track { grid-auto-columns: 88%; gap: 16px; }
  .skyrise-related-carousel .skyrise-project-card { min-height: 420px; }
  .skyrise-project-gallery { gap: 12px; }
  .skyrise-project-gallery a,
  .skyrise-project-gallery a:first-child { grid-column: span 12; }
}
