/* Mobile portfolio copy sits below the preview; original desktop overlays remain intact. */
@layer vp-mobile-portfolio-copy {
 html body.homepage-study .vp-part102-copy > .vp-part102-mobile-status {
  display: none !important;
 }

 html body #portfolio .vp-mobile-sector-field {
  display: none !important;
 }

 html body #portfolio #vp-portfolio-title > .vp-portfolio-mobile-title {
  display:none!important;
 }

 html body #portfolio #vp-portfolio-title > .vp-portfolio-desktop-lead {
  display:contents!important;
  color:inherit!important;
 }

 @media (max-width:760px) {
  html body #portfolio #vp-portfolio-title > :is(.vp-portfolio-desktop-lead,.vp-portfolio-desktop-break,.vp-portfolio-desktop-tail),
  html body #portfolio .vp-portfolio-invitation > p {
   display:none!important;
  }

  html body #portfolio #vp-portfolio-title > .vp-portfolio-mobile-title {
   display:inline!important;
   color:inherit!important;
  }

  html body #portfolio #vp-portfolio-title {
   margin:0!important;
  }

  html body #portfolio .vp-portfolio-invitation {
   padding:0!important;
   margin:0 0 12px!important;
  }

  html body #portfolio .vp-tabbed-layout > .vp-project-tabs {
   padding-top:0!important;
  }

  html:has(body.homepage-study) {
   overflow-x:hidden!important;max-width:100%!important;overscroll-behavior-x:none!important;
  }
  html body.homepage-study {
   width:100%!important;max-width:100%!important;min-width:0!important;
   overflow-x:clip!important;overscroll-behavior-x:none!important;
  }
  html body.homepage-study #main {min-width:0!important;max-width:100%!important;}

  html body.homepage-study .vp-part102-banner {
   grid-template-columns: 104px minmax(0, 1fr) !important;
   grid-template-rows: auto !important;
   align-items: center !important;
   gap: 16px !important;
   padding: 16px !important;
   min-height: 0 !important;
   height: auto !important;
  }

  html body.homepage-study .vp-part102-copy {
   display: block !important;
   grid-area: 1 / 2 !important;
   width: auto !important;
   max-width: none !important;
   padding: 0 !important;
   margin: 0 !important;
  }

  html body.homepage-study .vp-part102-copy > .vp-part102-eyebrow {
   font-size: 18px !important;
   line-height: 24px !important;
   margin: 0 !important;
   padding: 0 !important;
  }

  html body.homepage-study .vp-part102-mark:not(.vp-part102-mark-white-text) {
   grid-area: 1 / 1 !important;
   width: 104px !important;
   height: auto !important;
   max-height: 64px !important;
   object-fit: contain !important;
   box-sizing: border-box !important;
   background: transparent !important;
   padding: 0 !important;
   border-radius: 0 !important;
   content: normal !important;
  }

  html body.homepage-study .vp-part102-copy > .vp-part102-mobile-status {
   display: block !important;
   color: #e1e6ea !important;
   font: 500 13px/18px Manrope, Arial, sans-serif !important;
   margin: 4px 0 0 !important;
   padding: 0 !important;
  }

  html body.homepage-study .vp-part102-copy > p:not(.vp-part102-eyebrow,.vp-part102-mobile-status),
  html body.homepage-study .vp-part102-banner .vp-part102-drone {
   display: none !important;
  }

  html body.homepage-study #main .vp-purpose-motion {display:none!important;}
  html body.homepage-study,
  html body #main > .vp-portfolio-band {background:#f8f7f4!important;}
  html body #portfolio .vp-mobile-sector-field {
   display:block!important;
   position:relative;
   margin:0 0 12px;
  }

  html body #portfolio .vp-mobile-sector-picker {
   -webkit-appearance:none;
   appearance:none;
   box-sizing:border-box!important;
   width:100%!important;
   height:52px!important;
   min-height:52px!important;
   margin:0!important;
   padding:5px 54px 5px 20px!important;
   background:var(--vp-home-menu-gradient),#3b464f!important;
   border:.5px solid #707070!important;
   border-radius:999px!important;
   color:#f5f7f9!important;
   font:500 17px/24px Manrope,Arial,sans-serif!important;
  }

  html body #portfolio .vp-mobile-sector-picker:focus-visible {
   outline:2px solid #ffa600;
   outline-offset:3px;
  }

  html body #portfolio .vp-mobile-sector-field::before,
  html body #portfolio .vp-mobile-sector-field::after {
   content:"";
   position:absolute;
   top:50%;
   pointer-events:none;
  }

  html body #portfolio .vp-mobile-sector-field::before {
   right:5px;
   width:36px;
   height:36px;
   border-radius:50%;
   background:#ffa600;
   transform:translateY(-50%);
  }

  html body #portfolio .vp-mobile-sector-field::after {
   right:19px;
   width:8px;
   height:8px;
   box-sizing:border-box;
   border-right:1.5px solid #242b30;
   border-bottom:1.5px solid #242b30;
   transform:translateY(-70%) rotate(45deg);
  }
  html body #portfolio.vp-single-tour-showcase :is(.vp-sector-group, .vp-direct-tour-choices, .vp-portfolio-expand),
  html body #portfolio.vp-single-tour-showcase .vp-gallery-card .vp-rayglass-slider-controls {
   display: none !important;
  }
  html body #portfolio .vp-gallery-card[hidden] {display:none!important;}
  html body #portfolio .vp-gallery-card:not([hidden]) {
   height:auto!important;min-height:0!important;max-height:none!important;
   aspect-ratio:auto!important;overflow:visible!important;
  }
  html body #portfolio .vp-gallery-open,
  html body #portfolio .vp-gallery-photo {
   display:block!important;position:relative!important;width:100%!important;
   height:auto!important;min-height:0!important;max-height:none!important;
   aspect-ratio:16/10!important;overflow:hidden!important;
  }
  html body #portfolio .vp-gallery-photo::before,
  html body #portfolio .vp-gallery-photo::after {display:none!important;}
  html body #portfolio .vp-gallery-photo .vp-project-visual-cta,
  html body #portfolio .vp-gallery-photo .vp-project-cta,
  html body #portfolio .vp-preview-tour-hints,
  html body #portfolio .vp-mobile-touch-help {display:none!important;}
  html body #portfolio .vp-gallery-card:has(> .vp-mobile-project-copy:not([hidden])) {
   border:1px solid #ddd9d0!important;
   border-radius:14px!important;
   background:#fffdf9!important;
   box-shadow:0 8px 24px rgb(36 43 48 / .06)!important;
  }

  html body #portfolio .vp-gallery-card:has(> .vp-mobile-project-copy:not([hidden])) > :is(.vp-gallery-open,.vp-mobile-tour-frame),
  html body #portfolio .vp-gallery-card:has(> .vp-mobile-project-copy:not([hidden])) > .vp-gallery-open > .vp-gallery-photo {
   border-radius:13px 13px 0 0!important;
   box-shadow:none!important;
  }

  /* A swipe cue inside the open tour. The player receives all pointer input. */
  html body.homepage-study #portfolio .vp-mobile-tour-frame::after {
   content:"";
   position:absolute;
   z-index:1;
   inset:12px 12px auto auto;
   box-sizing:border-box;
   width:42px;
   height:42px;
   border:1px solid rgb(255 255 255 / .35);
   border-radius:50%;
   background:rgb(36 43 48 / .88) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%206h22M8%203%205%206l3%203m16-6%203%203-3%203%22%2F%3E%3Cpath%20d%3D%22M13%2021v-8a2%202%200%200%201%204%200v5h3.5a4%204%200%200%201%204%204v1.5a6.5%206.5%200%200%201-6.5%206.5h-1.5a5%205%200%200%201-4.3-2.5l-3-5a1.8%201.8%200%200%201%202.8-2.2l1%200.7Z%22%2F%3E%3C%2Fsvg%3E") center / 26px no-repeat;
   pointer-events:none;
  }

  html body #portfolio .vp-gallery-card:has(> .vp-mobile-project-copy:not([hidden])) > .vp-mobile-tour-toolbar {
   padding-inline:18px!important;
   border-bottom:1px solid #e7e2da!important;
  }

  html body #portfolio .vp-mobile-project-copy:not([hidden]) {
   display:block!important;
   position:relative!important;
   margin:0!important;
   padding:16px 18px 18px!important;
   color:#242b30!important;
   text-align:left!important;
  }

  html body #portfolio .vp-mobile-project-heading {
   display:block!important;
   margin:0 0 6px!important;
   padding:0!important;
   font:650 22px/28px Manrope,Arial,sans-serif!important;
   letter-spacing:-.4px!important;
   text-transform:none!important;
   color:#242b30!important;
  }

  html body #portfolio .vp-mobile-project-description {
   margin:0!important;
   padding:0!important;
   font:400 15px/23px Manrope,Arial,sans-serif!important;
   color:#4b5359!important;
  }
  html body #portfolio .vp-mobile-project-actions {
   display:flex!important;flex-wrap:wrap!important;align-items:center!important;
   justify-content:space-between!important;gap:16px!important;margin-top:20px!important;
  }
  html body #portfolio .vp-mobile-project-actions[hidden] {display:none!important;}
  html body #portfolio .vp-mobile-project-explore {
   display:inline-flex!important;align-items:center!important;position:relative!important;
   min-height:48px!important;max-width:100%!important;margin:0!important;
   border:1px solid #242b30!important;border-radius:999px!important;
   background:#242b30!important;color:#fff!important;
   font:500 15px/20px Manrope,Arial,sans-serif!important;text-align:left!important;
  }
  html body #portfolio .vp-mobile-project-explore:hover {background:#414a50!important;}
  html body #portfolio .vp-mobile-project-explore:focus-visible {outline:2px solid #416b7a!important;outline-offset:3px!important;}
  html body #portfolio .vp-mobile-project-actions .vp-rayglass-slider-controls {
   position:static!important;inset:auto!important;transform:none!important;
   display:flex!important;align-items:center!important;justify-content:flex-end!important;
   gap:8px!important;margin:0!important;padding:0!important;width:auto!important;
   height:48px!important;min-height:48px!important;flex:0 0 auto!important;
   border:0!important;background:transparent!important;box-shadow:none!important;filter:none!important;
  }
  html body #portfolio .vp-mobile-project-actions .vp-rayglass-model-count {
   color:#4b5359!important;font:500 13px/20px Manrope,Arial,sans-serif!important;
   margin:0!important;padding:0!important;text-shadow:none!important;
  }
  html body #portfolio .vp-rayglass-credit-inline {color:#4b5359!important;font-size:12px!important;line-height:18px!important;margin-top:12px!important;text-shadow:none!important;}
  html body.homepage-study #portfolio #rayglass-portfolio > .vp-rayglass-credit-inline {display:none!important;}
  html body #portfolio .vp-mobile-project-actions .vp-rayglass-slider-controls .vp-unified-motion-control {display:none!important;}
 }
}
.vp-mobile-project-copy[hidden] {display:none!important;}
