/* JCC unique Singapore architectural-detail hero system - 23 July 2026. */
body {
  font-family: "Hanken Grotesk", Arial, sans-serif;
}

.jcc-architecture-hero {
  --jcc-hero-current: var(--jcc-hero-desktop);
  --hero-image: var(--jcc-hero-current);
  --hero-position: center center;
  --hero-mobile-position: center center;
}

.jcc-architecture-hero.image-hero {
  --hero-image: var(--jcc-hero-current) !important;
}

.jcc-architecture-hero [data-jcc-hero-media] {
  background-color: #171717 !important;
  background-image: var(--jcc-hero-current) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.jcc-architecture-hero.jcc-architecture-hero--single-layer [data-jcc-hero-media] {
  background-image:
    linear-gradient(90deg, rgba(16, 16, 16, .93) 0%, rgba(16, 16, 16, .74) 54%, rgba(16, 16, 16, .30) 100%),
    var(--jcc-hero-current) !important;
}

.jcc-architecture-hero.readiness-hero {
  background-color: #171717 !important;
  background-image:
    linear-gradient(90deg, rgba(16, 16, 16, .92) 0%, rgba(16, 16, 16, .72) 58%, rgba(16, 16, 16, .30) 100%),
    var(--jcc-hero-current) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.jcc-architecture-hero .jcc-rw-hero-visual,
.jcc-architecture-hero .jcc-home-hero-visual,
.jcc-architecture-hero .jcc-al-hero-visual {
  background-color: #222 !important;
  background-image: var(--jcc-hero-current) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.jcc-architecture-hero [data-jcc-hero-placeholder] {
  opacity: 0 !important;
  pointer-events: none !important;
  user-select: none !important;
}

.jcc-architecture-hero .jcc-rw-hero-visual > [data-jcc-hero-placeholder] {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.jcc-architecture-hero .jcc-home-hero-visual {
  border: 1px solid rgba(195, 195, 195, .34);
  box-shadow: 26px 26px 0 rgba(164, 164, 164, .12);
}

.jcc-architecture-hero .jcc-home-hero-visual > [data-jcc-hero-placeholder] {
  transform: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

@media (min-width: 1041px) {
  .jcc-architecture-hero {
    min-height: min(78svh, 760px);
  }
}

@media (max-width: 640px) {
  .jcc-architecture-hero {
    --jcc-hero-current: var(--jcc-hero-mobile);
  }

  .jcc-architecture-hero .jcc-home-hero-visual {
    box-shadow: 14px 14px 0 rgba(164, 164, 164, .10);
  }
}

/* Homepage uses the About page's full-width image-hero composition. */
body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background-color: #171717 !important;
  background-image:
    linear-gradient(90deg, rgba(11, 20, 18, .80) 0%, rgba(11, 20, 18, .58) 45%, rgba(11, 20, 18, .14) 76%, rgba(11, 20, 18, .04) 100%),
    var(--jcc-hero-current) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 720px);
  align-items: center;
  width: min(1180px, calc(100% - 64px));
  min-height: min(78svh, 760px);
  margin: 0 auto;
  padding: clamp(92px, 11vw, 148px) 0 clamp(76px, 8vw, 112px);
}

body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0;
  color: #fff;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-copy > p,
body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-copy h1,
body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-attribution strong,
body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-attribution span,
body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-attribution a {
  color: #fff;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-visual {
  position: absolute;
  z-index: 2;
  inset: 0;
  min-height: 0;
  margin: 0;
  border: 0;
  box-shadow: none;
  background: none !important;
  pointer-events: none;
}

body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-visual > [data-jcc-hero-placeholder] {
  display: none !important;
}

body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-visual figcaption {
  position: absolute;
  right: max(32px, calc((100vw - 1180px) / 2));
  bottom: 36px;
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  width: min(520px, calc(100vw - 64px));
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(11, 20, 18, .86);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .36);
  pointer-events: auto;
}

body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-visual figcaption img {
  display: block;
  width: 156px;
  max-width: 100%;
  height: auto;
}

body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-visual figcaption span {
  color: #f2f2f0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.48;
}

@media (max-width: 720px) {
  body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout {
    background-image:
      linear-gradient(180deg, rgba(11, 20, 18, .74) 0%, rgba(11, 20, 18, .54) 58%, rgba(11, 20, 18, .68) 100%),
      var(--jcc-hero-current) !important;
    background-position: center center !important;
  }

  body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-hero-grid {
    display: block;
    width: min(100% - 40px, 620px);
    min-height: 0;
    padding: 104px 0 46px;
  }

  body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-visual {
    position: relative;
    inset: auto;
    margin-top: 28px;
  }

  body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-visual figcaption {
    position: static;
    width: auto;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-visual figcaption img {
    width: 112px;
  }

  body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-visual figcaption span {
    font-size: 13px;
    line-height: 1.42;
  }
}

/* Final cascade guard against the legacy homepage experience layer. */
@media (min-width: 721px) {
  body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 720px) !important;
    align-items: center !important;
    width: min(1180px, calc(100% - 64px)) !important;
    min-height: min(78svh, 760px) !important;
    margin: 0 auto !important;
    padding: clamp(92px, 11vw, 148px) 0 clamp(76px, 8vw, 112px) !important;
  }
  body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-copy {
    max-width: 720px !important;
    padding: 0 !important;
  }
  body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-visual figcaption {
    position: absolute !important;
    right: max(32px, calc((100vw - 1180px) / 2)) !important;
    bottom: 36px !important;
    width: min(520px, calc(100vw - 64px)) !important;
    padding: 22px 24px !important;
  }
}
@media (max-width: 720px) {
  body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-hero-grid {
    display: block !important;
    width: min(100% - 40px, 620px) !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 104px 0 46px !important;
  }
  body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-copy {
    max-width: none !important;
    padding: 0 !important;
  }
  body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-visual {
    position: relative !important;
    inset: auto !important;
    margin: 28px 0 0 !important;
  }
  body.jcc-page-home .jcc-home-redesign-hero.jcc-home-hero--about-layout .jcc-home-hero-visual figcaption {
    position: static !important;
    width: auto !important;
    padding: 16px !important;
  }
}

/* Shared full-bleed hero contract: layout reference approved 23 July 2026. */
.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero):not(.jcc-home-hero--about-layout) {
  position: relative !important;
  isolation: isolate;
  display: flex !important;
  align-items: center !important;
  width: 100%;
  min-height: min(78svh, 760px) !important;
  padding: clamp(76px, 9vw, 124px) max(32px, calc((100vw - 1180px) / 2)) !important;
  overflow: hidden;
  box-sizing: border-box;
  color: #f6f6f6 !important;
  -webkit-text-fill-color: #f6f6f6 !important;
  text-align: left !important;
  background-color: #171717 !important;
  background-image:
    linear-gradient(90deg, rgba(12, 12, 12, .80) 0%, rgba(12, 12, 12, .58) 46%, rgba(12, 12, 12, .14) 78%, rgba(12, 12, 12, .04) 100%),
    var(--jcc-hero-current) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
/*
 * One-overlay contract for every full-bleed hero except About. Older route
 * sheets add ::before/::after image treatments, fades and screen-blended
 * sheen. The shared background gradient above is the sole contrast layer.
 */
.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero)::before,
.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero)::after {
  content: none !important;
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}


.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero):not(.jcc-home-hero--about-layout) > [data-jcc-hero-media],
.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero):not(.jcc-home-hero--about-layout) > img[data-jcc-hero-placeholder],
.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero):not(.jcc-home-hero--about-layout) .jcc-rw-hero-visual,
.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero):not(.jcc-home-hero--about-layout) .jcc-al-hero-visual,
.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero):not(.jcc-home-hero--about-layout) > figure {
  display: none !important;
}

.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero):not(.jcc-home-hero--about-layout) > div:not([data-jcc-hero-media]),
.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero):not(.jcc-home-hero--about-layout) .jcc-rw-hero-grid,
.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero):not(.jcc-home-hero--about-layout) .hero-grid {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  max-width: 1180px !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) .jcc-architecture-hero__content {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  max-width: 820px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #f6f6f6 !important;
  -webkit-text-fill-color: #f6f6f6 !important;
  text-align: left !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) h1 {
  max-width: 820px !important;
  margin: 0 !important;
  font-family: "Libre Caslon Text", Georgia, serif !important;
  font-size: clamp(44px, 5.5vw, 78px) !important;
  font-weight: 400 !important;
  line-height: 1.03 !important;
  letter-spacing: -.012em !important;
  color: #f7f7f7 !important;
  -webkit-text-fill-color: #f7f7f7 !important;
  text-align: left !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) :is(.eyebrow, .jcc-rw-label, .jcc-al-kicker, .readiness-kicker, .section-kicker) {
  margin: 0 0 18px !important;
  font-family: "Hanken Grotesk", Arial, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: .20em !important;
  text-transform: uppercase !important;
  color: #d0d0d0 !important;
  -webkit-text-fill-color: #d0d0d0 !important;
  text-align: left !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) :is(.lead, .jcc-rw-hero-lead, .jcc-al-intro, .readiness-answer),
.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) .jcc-architecture-hero__content > p:not(.eyebrow):not(.jcc-rw-label):not(.jcc-al-kicker):not(.readiness-kicker) {
  max-width: 66ch !important;
  margin: 24px 0 0 !important;
  font-family: "Hanken Grotesk", Arial, sans-serif !important;
  font-size: clamp(17px, 1.55vw, 20px) !important;
  font-weight: 400 !important;
  line-height: 1.62 !important;
  color: #e0e0e0 !important;
  -webkit-text-fill-color: #e0e0e0 !important;
  text-align: left !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) :is(.hero-actions, .jcc-al-hero-actions, .jcc-architecture-hero__actions) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 30px 0 0 !important;
}

.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) .jcc-architecture-hero__primary-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  margin: 30px 0 0 !important;
  padding: 16px 30px !important;
  border: 1px solid #f2f2f2 !important;
  border-radius: 2px !important;
  background: #f2f2f2 !important;
  color: #202020 !important;
  -webkit-text-fill-color: #202020 !important;
  font-family: "Hanken Grotesk", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: .13em !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  mix-blend-mode: normal !important;
  box-sizing: border-box !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) :is(.hero-actions, .jcc-al-hero-actions, .jcc-architecture-hero__actions) .jcc-architecture-hero__primary-cta {
  margin-top: 0 !important;
}

.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) .jcc-architecture-hero__primary-cta:hover,
.jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) .jcc-architecture-hero__primary-cta:focus-visible {
  border-color: #d2d2d2 !important;
  background: #d2d2d2 !important;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
}

@media (max-width: 720px) {
  .jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero):not(.jcc-home-hero--about-layout) {
    min-height: min(76svh, 700px) !important;
    padding: 72px 20px 64px !important;
    background-image:
      linear-gradient(180deg, rgba(12, 12, 12, .74) 0%, rgba(12, 12, 12, .54) 54%, rgba(12, 12, 12, .68) 100%),
      var(--jcc-hero-current) !important;
  }

  .jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) h1 {
    font-size: clamp(38px, 11vw, 54px) !important;
    line-height: 1.05 !important;
  }

  .jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) .jcc-architecture-hero__primary-cta {
    min-height: 50px !important;
    padding: 15px 24px !important;
    font-size: 12.5px !important;
  }
}
/*
 * Final cascade guard for the shared hero contract. Legacy route sheets use
 * high-specificity !important selectors, so the common hero must win at the
 * component boundary to keep every non-About route visually consistent.
 */
html body main .jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) [class].jcc-architecture-hero__content h1 {
  max-width: 820px !important;
  margin: 0 !important;
  font-family: "Libre Caslon Text", Georgia, serif !important;
  font-size: clamp(44px, 5.5vw, 78px) !important;
  font-weight: 400 !important;
  line-height: 1.03 !important;
  letter-spacing: -.012em !important;
  color: #f7f7f7 !important;
  -webkit-text-fill-color: #f7f7f7 !important;
  text-align: left !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

html body main .jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) [class].jcc-architecture-hero__content {
  color: #f6f6f6 !important;
  -webkit-text-fill-color: #f6f6f6 !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

html body main .jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) [class].jcc-architecture-hero__content :is(.eyebrow, .jcc-rw-label, .jcc-al-kicker, .readiness-kicker, .section-kicker) {
  color: #d0d0d0 !important;
  -webkit-text-fill-color: #d0d0d0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

html body main .jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) [class].jcc-architecture-hero__content :is(.lead, .jcc-rw-hero-lead, .jcc-al-intro, .readiness-answer),
html body main .jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) [class].jcc-architecture-hero__content > p:not(.eyebrow):not(.jcc-rw-label):not(.jcc-al-kicker):not(.readiness-kicker) {
  color: #e0e0e0 !important;
  -webkit-text-fill-color: #e0e0e0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}
html body main .jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) a.jcc-architecture-hero__primary-cta[data-jcc-hero-primary-cta="true"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 16px 30px !important;
  border: 1px solid #f2f2f2 !important;
  border-radius: 2px !important;
  background: #f2f2f2 !important;
  color: #202020 !important;
  -webkit-text-fill-color: #202020 !important;
  font-family: "Hanken Grotesk", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: .13em !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  mix-blend-mode: normal !important;
  box-sizing: border-box !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

@media (max-width: 720px) {
  html body main .jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) [class].jcc-architecture-hero__content h1 {
    font-size: clamp(38px, 11vw, 54px) !important;
    line-height: 1.05 !important;
  }

  html body main .jcc-architecture-hero--full-bleed:not(.jcc-about-architecture-hero) a.jcc-architecture-hero__primary-cta[data-jcc-hero-primary-cta="true"] {
    min-height: 50px !important;
    padding: 15px 24px !important;
    font-size: 12.5px !important;
  }
}
