/* Elementor owns the content and style controls. These rules only supply
   interaction states and small structural details, with low specificity. */
body.jd-native-page,body.jd-native-template{margin:0;padding:0;width:100%;max-width:none;min-height:100vh;background-color:var(--jd-paper,#151a1e);font-family:Arial,Helvetica,sans-serif}
:where(body.jd-native-page,body.jd-native-template,.jd-native,.jd-panel){--jd-ink:#f0f0ea;--jd-line:#39444b;--jd-muted:#b2bec3;--jd-soft:#202a31;--jd-accent:#b0cce0;--jd-card-width:calc((100% - 40px)/3);color:var(--jd-ink);font-family:Arial,Helvetica,sans-serif}
.jd-native .elementor-heading-title,.jd-native-dialog .elementor-heading-title{margin:0;font-weight:400;text-transform:none;text-decoration:none}
.jd-native .elementor-heading-title a,.jd-native-dialog .elementor-heading-title a{font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit}
.jd-native .elementor-widget-text-editor,.jd-native-dialog .elementor-widget-text-editor{font-family:Arial,Helvetica,sans-serif}
:where(.jd-feature-title .elementor-heading-title,.jd-work-heading .elementor-heading-title,.jd-panel-title .elementor-heading-title){font-family:Georgia,'Times New Roman',serif}
:where(.jd-native .elementor-widget-text-editor p){margin:0}
.jd-native .elementor-widget-text-editor p,.jd-native-dialog .elementor-widget-text-editor p{margin:0}
.jd-native .elementor-widget-text-editor p,.jd-panel .elementor-widget-text-editor p{font:inherit;letter-spacing:inherit;color:inherit;text-transform:inherit;text-align:inherit;margin:0}
:where(.jd-panel){background-color:var(--jd-paper,#151a1e)}
.jd-native .jd-feature-description.elementor-widget{max-width:340px}
.jd-native .jd-about-biography-text.elementor-widget{max-width:640px}
.jd-card-image a{display:block;line-height:0}
:where(.jd-native .elementor-heading-title a){color:inherit;text-decoration:none}
:where(.jd-native .elementor-heading-title a:hover){text-decoration:underline;text-underline-offset:4px}
:where(.jd-card-image img){width:100%;aspect-ratio:1;object-fit:cover;transition:transform .3s ease}
:where(.jd-card-image){overflow:hidden}
.jd-card-visual{position:relative}
.jd-card-badge{position:absolute;left:14px;bottom:14px;width:auto}
:where(.jd-card:hover .jd-card-image img,.jd-card:focus-within .jd-card-image img){transform:scale(1.025)}
:where(.jd-card-meta){text-transform:uppercase;letter-spacing:1.2px}
:where(.jd-card){min-width:0}
:where(.jd-slide){position:relative}
:where(.jd-running .jd-slide){touch-action:pan-y}
.jd-running .jd-slide:not(.is-active){display:none!important}
.jd-card[hidden]{display:none!important}
:where(.jd-hero-kind){text-transform:uppercase;letter-spacing:1.4px}
:where(.jd-feature-description){max-width:340px}
:where(.jd-about-biography-text){max-width:640px}
:where(.jd-slide-number){text-align:right}
:where(.jd-slider-arrows){justify-content:flex-end}
:where(.jd-slide-prev .elementor-button,.jd-slide-next .elementor-button){width:40px;height:40px;display:grid;place-items:center;border:1px solid #81929b;border-radius:50%;padding:0;font-size:24px}
:where(.jd-about-photo img){width:124px;height:124px;object-fit:cover;object-position:center 30%}
:where(.jd-about-photo figure){margin:0;width:100%}
:where(.jd-about-photo .widget-image-caption){position:relative;text-align:left;color:var(--jd-muted);font:10px/1.5 Arial,Helvetica,sans-serif;margin-block-start:8px}
.jd-about-photo .widget-image-caption a{display:block;box-sizing:border-box;width:100%;padding-right:22px;color:inherit;text-decoration:none}
.jd-about-photo .widget-image-caption a:hover{text-decoration:underline;text-underline-offset:3px}
.jd-about-photo .widget-image-caption::after{content:'';position:absolute;right:0;top:50%;transform:translateY(-50%);width:18px;height:18px;pointer-events:none;background-color:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M7 7h10v10' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M7 7h10v10' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
:where(.jd-about,.jd-footer){border-top:1px solid #39444b}
:where(.jd-filter.is-active .elementor-button){text-decoration:underline;text-underline-offset:8px}
:where(.jd-native a:focus-visible,.jd-native button:focus-visible){outline:2px solid var(--jd-accent);outline-offset:4px}
:where(.jd-native-dialog){width:min(800px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;margin:auto;box-sizing:border-box;border:1px solid var(--jd-line);border-radius:12px;background:var(--jd-paper,#151a1e);color:var(--jd-ink);box-shadow:0 24px 100px rgba(0,0,0,.35);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;font:14px/1.6 Arial,Helvetica,sans-serif}
.jd-native-dialog[data-layout="wide"]{width:min(1100px,calc(100% - 32px))}
.jd-native-dialog[data-layout="photos"]{width:min(920px,calc(100% - 32px))}
.jd-native-dialog:not([open]){display:none}
.jd-native-dialog::backdrop{background:#08131bbe;backdrop-filter:blur(6px)}
:where(.jd-dialog-toolbar){position:sticky;top:0;z-index:5;display:flex;justify-content:flex-end;gap:10px;background:var(--jd-paper,#151a1e);padding:13px 18px 10px}
:where(.jd-dialog-close,.jd-gallery-navigation button){border:1px solid #39444b;border-radius:24px;background:transparent;color:var(--jd-ink);padding:8px 14px;font:12px/1.5 Arial,sans-serif;cursor:pointer;min-height:40px}
:where(.jd-dialog-close:hover,.jd-gallery-navigation button:hover){background:#202a31}
.jd-native-dialog .jd-dialog-close,.jd-native-dialog .jd-gallery-navigation button{border:1px solid var(--jd-line);border-radius:22px;background:var(--jd-paper,#151a1e);color:var(--jd-ink);padding:6px 10px;font:12px/1.5 Arial,sans-serif;cursor:pointer;min-height:38px;text-transform:none;letter-spacing:0}
:where(.jd-dialog-loading){padding:30px;margin:0}
:where(.jd-panel .elementor-widget-text-editor p){margin:0}
:where(.jd-panel-videos,.jd-panel-links){min-width:0}
.jd-native-dialog .jd-panel-videos:not(.has-active-video){display:none}
:where(.jd-native-dialog .jd-film-description){display:none}
:where(.jd-native-dialog .jd-native-video){width:100%}
.jd-native-dialog .jd-native-video:not(.is-active){display:none!important}
:where(.jd-native-video iframe){display:block;width:100%;height:100%;border:0;aspect-ratio:16/9}
:where(.jd-native-video .elementor-wrapper){aspect-ratio:16/9;background:#000;border-radius:6px;overflow:hidden}
:where(.jd-portrait-video .elementor-wrapper,.jd-portrait-video iframe){aspect-ratio:9/16;max-width:250px;margin-inline:auto}
:where(.jd-panel-links .elementor-button){width:100%;text-align:left;justify-content:flex-start;white-space:normal}
.jd-panel-links .elementor-button-content-wrapper{width:100%;justify-content:flex-start;align-items:center}
.jd-panel-links .elementor-button-text{display:flex;align-items:center;gap:11px;width:100%;min-height:34px;white-space:normal;text-align:left}
:where(.jd-service-icon){width:20px;height:20px;display:grid;place-items:center;flex-shrink:0;font-size:16px;font-weight:600}
:where(.jd-service-icon img){display:block;width:18px;height:18px;object-fit:contain}
:where(.jd-service-copy){display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
:where(.jd-service-name){font-size:13px;line-height:1.4}
:where(.jd-service-detail){font-size:11px;line-height:1.45;color:var(--jd-muted)}
:where(.jd-service-play){font-size:11px;line-height:1.4;white-space:nowrap;color:var(--jd-accent)}
:where(.jd-player-name){font:11px/1.6 Arial,Helvetica,sans-serif;color:var(--jd-muted);margin:0 0 10px}
.jd-native .jd-native-dialog .jd-native-video>.jd-player-name{font:11px/1.6 Arial,Helvetica,sans-serif;color:var(--jd-muted);margin:0 0 10px;text-transform:none;letter-spacing:0}
.jd-native-dialog .jd-service-copy{min-width:0;flex:1}
.jd-native-dialog .jd-service-action{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;white-space:nowrap;font:11px/1.4 Arial,Helvetica,sans-serif;color:var(--jd-accent)}
.jd-native .jd-action-label{display:inline-flex;align-items:center;justify-content:inherit;gap:6px}
.jd-native .jd-action-icon,.jd-native-dialog .jd-action-icon{display:inline-block;width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
:where(.jd-video-choice.is-active .elementor-button){background:#202a31;border-color:#b0cce0}
.jd-native .jd-native-dialog .jd-video-choice.is-active .elementor-button{background:var(--jd-soft);border-color:var(--jd-accent)}
.jd-native-dialog .jd-panel-links .elementor-widget-button .elementor-button:hover{background:var(--jd-soft)}
.jd-native-dialog .jd-gallery-navigation button{width:44px;height:44px;padding:0;border-radius:50%;display:grid;place-items:center;font-size:19px}
:where(.jd-gallery-photo img){width:100%;height:min(60dvh,650px);object-fit:contain;background:#111b23}
.jd-native-dialog .jd-gallery-item:not(.is-active){display:none!important}
:where(.jd-gallery-navigation){display:flex;align-items:center;justify-content:center;gap:20px;padding:10px 20px 20px}
:where(.jd-gallery-status){margin:0;min-width:45px;text-align:center}
:where(.jd-gallery-thumbs){display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding:0 20px 24px}
:where(.jd-gallery-thumbs button){padding:3px;background:transparent;border:1px solid transparent;border-radius:4px;cursor:pointer}
.jd-native-dialog .jd-gallery-thumbs button{padding:3px;background:transparent;border:1px solid transparent;border-radius:4px;cursor:pointer;line-height:1}
:where(.jd-gallery-thumbs img){width:48px;height:48px;object-fit:cover;display:block;border-radius:3px}
.jd-native-dialog .jd-gallery-thumbs button[aria-pressed="true"]{border-color:#b0cce0}
.elementor-editor-active .jd-slide{display:flex!important}
@media(max-width:767px){
 :where(.jd-native-dialog){max-height:calc(100dvh - 20px)}
 :where(.jd-panel-intro){flex-wrap:wrap}
 :where(.jd-panel-columns){flex-direction:column}
 :where(.jd-panel-columns>.e-con){width:100%}
 :where(.jd-panel-cover){max-width:96px}
 :where(.jd-gallery-photo img){height:min(54dvh,500px)}
 :where(.jd-header){flex-wrap:wrap}
 :where(.jd-filters){width:100%}
}
@media(max-width:650px){
 :where(.jd-native){--jd-card-width:calc((100% - 16px)/2)}
 .jd-native .jd-project-grid{gap:24px 16px}
}
@media(max-width:390px){:where(.jd-native){--jd-card-width:100%}}
@media(max-width:600px){
 .jd-native-dialog,.jd-native-dialog[data-layout]{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:10px}
 :where(.jd-dialog-toolbar){padding:10px 12px 8px}
}
@media(prefers-reduced-motion:reduce){:where(.jd-card-image img){transition:none}}

/* The Elementor portfolio uses the reference's dark palette on every device.
   Widget foreground/background colors remain native Elementor settings. */
html:has(body.jd-native-page),html:has(body.jd-native-template){color-scheme:dark;background-color:var(--jd-page-background,#151a1e)}
:where(body.jd-native-page,body.jd-native-template,.jd-native,.jd-panel){color-scheme:dark}
.jd-native .jd-filter .elementor-button,.jd-native .jd-filter .elementor-button-text{text-decoration:none}
.jd-native .jd-filter.is-active .elementor-button{color:var(--jd-ink)!important}
.jd-native .jd-filter.is-active .elementor-button-text{text-decoration:underline!important;text-decoration-thickness:1px;text-underline-offset:6px}
.jd-native:not(.jd-running) .jd-filter a[href="#jd-filter-all"]{color:var(--jd-ink)!important}
.jd-native:not(.jd-running) .jd-filter a[href="#jd-filter-all"] .elementor-button-text{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
.jd-native-dialog .jd-service-icon img{filter:invert(1)}
.jd-native-dialog .jd-dialog-close:hover,.jd-native-dialog .jd-gallery-navigation button:hover{background:var(--jd-soft)}
.jd-native-dialog .jd-gallery-thumbs button[aria-pressed="true"]{background:var(--jd-soft);border-color:var(--jd-accent)}
.jd-native-dialog .jd-gallery-status{color:var(--jd-muted)}
@media(min-width:801px){
 .jd-native-dialog .jd-panel-links{max-height:390px;overflow-y:auto;padding:2px 8px 3px 3px;scrollbar-gutter:stable;overscroll-behavior:contain;scrollbar-color:var(--jd-muted) var(--jd-paper,#151a1e)}
 .jd-native-dialog .jd-panel-links>.elementor-element{flex-shrink:0}
}
