/* The desktop presentation keeps its full-page chapters. On phones, the
   premium follows the hero and the project information reads down the page. */
.yh-mobile-slogan, .yh-mobile-hero-kicker, .yh-mobile-hero-summary, .yh-mobile-project, .yh-premium-mobile-heading {
  display: none;
}

@media (max-width: 991px) {
  html:has(.cjgp33) { scroll-padding-top: var(--header-height, 68px); }
  .cjgp33 {
    --gp-campaign33: 400 clamp(66px, 20vw, 90px)/1 YHHand, cursive;
    --yh-phone-heading: 800 34px/1.12 var(--font);
    --yh-phone-title: 600 18px/1.3 var(--font);
    --yh-phone-banner: 800 27px/1.2 var(--font);
    --yh-phone-location: 500 32px/1.08 var(--font);
    --yh-phone-caption: 700 9px/1.25 var(--font);
    --yh-phone-detail: 500 10.5px/1.6 var(--font);
    --yh-phone-link: 600 12px/1.45 var(--font);
    --yh-phone-premium-heading: 500 27px/1.16 var(--font);
    --yh-phone-edge: clamp(18px, 5vw, 36px);
    --yh-night: #172c37;
  }
  .cjgp33 .cjfp-hero { height: 100svh; min-height: 500px; background: #587f90; }
  .cjgp33 .cjfp-hero-images { background: linear-gradient(175deg, #2c515f, #6d92a3 48%, #c7d8df); }
  .cjgp33 .cjfp-hero-image {
    top: auto;
    bottom: 0;
    height: 76%;
    object-position: center bottom;
    mask-image: linear-gradient(to bottom, transparent, #000 25%);
  }
  .cjgp33 .cjfp-hero-shade { background: linear-gradient(180deg, #10273540, #183b5410 55%, #15233055); }
  .cjgp33 .cjfp-hero-copy {
    inset: max(92px, 19svh) var(--yh-phone-edge) auto;
    width: auto;
    text-shadow: 0 2px 16px #10202e38;
  }
  .cjgp33 .cjfp-hero-copy :is(.cjfp-hero-kicker,.cj-hero-confirmed-logo,.cjfp-lead),
  .cjgp33 .cjfp-hero-bottom { display: none; }
  .cjgp33 .yh-script-word { margin-bottom: 8px; }
  .cjgp33 .cjfp-hero-copy h1 { margin: 0; }
  .cjgp33 .yh-mobile-hero-kicker {
    display: block;
    margin: 0 0 13px;
    font: 650 13px/1.45 var(--font);
  }
  .cjgp33 .yh-mobile-slogan {
    display: block;
    font: 700 clamp(35px, 10vw, 46px)/1.08 var(--font);
    letter-spacing: -.07em;
    text-wrap: balance;
    color: #fff;
  }
  .cjgp33 .yh-mobile-slogan > .yh-hero-title-line { display: block; }
  .cjgp33 .yh-mobile-slogan > .yh-hero-title-line:first-child { margin-bottom: 3px; font-size: .94em; line-height: 1.28; }
  .cjgp33 .yh-mobile-slogan strong { font-weight: 850; color: #f6e2c4; }
  .cjgp33 .yh-mobile-hero-summary {
    display: block;
    margin-top: 19px;
    font: 500 13.5px/1.76 var(--font);
    color: #fff;
  }
  .cjgp33 .yh-hero-expand { bottom: calc(env(safe-area-inset-bottom) + 88px); left: var(--yh-phone-edge); background: #172c37ae; }

  .cjgp33 .gp-intro33 { height: auto; background: #f7f4ef; }
  .cjgp33 .gp-intro33 > .gp-morph33 { display: none; }
  .yh-mobile-project { display: block; }
  .yh-project-banner {
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
    min-height: clamp(320px, 65svh, 560px);
    padding: 44px var(--yh-phone-edge);
    overflow: hidden;
    background: var(--yh-night);
    color: #fff;
    text-align: center;
  }
  .yh-project-banner img, .yh-project-banner::after { position: absolute; inset: 0; width: 100%; height: 100%; }
  .yh-project-banner img { z-index: -2; object-fit: cover; object-position: 54% center; }
  .yh-project-banner::after { content: ""; z-index: -1; background: linear-gradient(165deg, #1024344d, #14263599 52%, #132a35cf); }
  .yh-project-facts > h2 {
    font: var(--yh-phone-heading);
    letter-spacing: -.045em;
  }
  .yh-project-banner h2 { font: var(--yh-phone-banner); letter-spacing: -.035em; }
  .cjgp33 .gp-location-heading33 .yh-mobile-location-title { font: var(--yh-phone-location); letter-spacing: -.045em; }
  .yh-project-facts { margin: auto; max-width: 760px; padding: 52px var(--yh-phone-edge) 56px; }
  .yh-project-facts > h2 { margin-bottom: 23px; }
  .yh-project-facts article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 38%);
    min-height: 154px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5ded2;
  }
  .yh-project-facts article + article { margin-top: 12px; }
  .yh-project-facts article > div { padding: 18px 12px 9px 16px; align-self: center; }
  .yh-project-facts article > figure { position: relative; min-width: 0; min-height: 0; margin: 0; }
  .yh-project-facts figure img { width: 100%; height: 100%; object-fit: cover; }
  .yh-project-facts figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 5px 8px;
    background: #132a35d9;
    color: #fff;
    font: var(--yh-phone-caption);
  }
  .yh-project-facts .yh-fact-label { font: var(--yh-phone-caption); color: #715533; }
  .yh-project-facts h3 { margin: 6px 0; font: var(--yh-phone-title); letter-spacing: -.055em; }
  .yh-project-facts h3 + p { font: var(--yh-phone-detail); color: #45515a; }
  .yh-project-facts article a { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; color: #1e3745; font: var(--yh-phone-link); }
  .cjgp33 .gp-location33 { min-height: auto; padding: 54px 0; }
  .cjgp33 .gp-location-heading33 { margin-bottom: 22px; }
  .cjgp33 .gp-location-heading33 > p { margin-top: 12px; font: var(--yh-phone-detail); }
  .cjgp33 .gp-location-heading33 .gp-english-section33 { display: none; }
  .cjgp33 .gp-location-heading33 .yh-mobile-location-title { display: inline; }
  .cjgp33 .gp-map-grid33 { gap: 18px; }
  .cjgp33 .gp-map-image33 { height: auto; }
  .cjgp33 .gp-map-image33 img { height: auto; }
  .cjgp33 .gp-address33 h3 { font: 700 18px/1.3 var(--font); }
  .cjgp33 .gp-address33 p { font: 500 11.5px/1.5 var(--font); }
  .cjgp33 .gp-map-links33 a, .cjgp33 .gp-map-image33 > span { font: var(--yh-phone-link); }
}
@media (max-width: 390px) {
  .cjgp33 {
    --yh-phone-banner: 800 26px/1.2 var(--font);
    --yh-phone-premium-heading: 500 25px/1.16 var(--font);
  }
}
@media (max-width: 991px) and (min-aspect-ratio: 4/3) and (max-height: 550px) {
  .cjgp33 { --gp-campaign33: 400 48px/1 YHHand, cursive; }
  .cjgp33 .cjfp-hero { min-height: 390px; }
  .cjgp33 .cjfp-hero-copy { top: 87px; }
  .cjgp33 .yh-script-word { margin-bottom: 0; }
  .cjgp33 .cjfp-hero-image { height: 100%; object-position: center 65%; }
  .cjgp33 .yh-mobile-slogan { font-size: 32px; }
  .cjgp33 .yh-mobile-hero-summary { margin-top: 8px; }
}
@media (min-width: 992px) { .yh-mobile-location-title { display: none; } }
