/* Hide the homepage header logo while preserving menu alignment. */
body.home .yg-header .yg-brand { visibility: hidden; }

.yg-orbit {
    background: var(--e-global-color-1274a76a, #f7f7f6);
    color: var(--e-global-color-012ff055, #111111);
    font-family: "Instrument Sans", "Pretendard Variable", system-ui, sans-serif;
}

.yg-orbit-stage {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 0;
    overflow: hidden;
    isolation: isolate;
}

.yg-orbit-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.yg-orbit-canvas.is-dragging { cursor: grabbing; }

.yg-orbit-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1.5rem;
    min-height: 64px;
    padding: .5rem max(0.875rem, 1vw);
    color: var(--e-global-color-53549bc4, #555555);
    font-size: 13px;
    line-height: 1.5;
}

.yg-orbit .yg-orbit-controls p { margin: 0; }
.yg-orbit .yg-orbit-controls a,
.yg-orbit .yg-orbit-controls button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .5rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--e-global-color-012ff055, #111111);
    font: 600 13px/1.3 "Instrument Sans", "Pretendard Variable", system-ui, sans-serif;
    cursor: pointer;
}
.yg-orbit .yg-orbit-controls a:hover,
.yg-orbit .yg-orbit-controls button:hover {
    background: transparent;
    color: var(--e-global-color-012ff055, #111111);
    text-decoration: underline;
    text-underline-offset: .25em;
}
.yg-orbit .yg-orbit-controls a:focus-visible,
.yg-orbit .yg-orbit-controls button:focus-visible {
    outline: 2px solid var(--e-global-color-012ff055, #111111);
    outline-offset: 4px;
}

.yg-orbit-fallback {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    min-height: 100%;
    padding: 2rem max(0.875rem, 3vw);
    text-align: center;
    background: var(--e-global-color-1274a76a, #f7f7f6);
}
.yg-orbit-fallback strong {
    color: var(--e-global-color-012ff055, #111111);
    font-size: clamp(32px, 5vw, 72px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1;
}
.yg-orbit-fallback > div {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
    gap: 1.5rem 3vw;
    max-width: 1040px;
    width: 100%;
    margin-inline: auto;
}
.yg-orbit-fallback a { display: block; }
.yg-orbit-fallback img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: contain;
}

/* The work links remain in the accessibility tree when the canvas succeeds. */
.yg-orbit.has-orbit .yg-orbit-fallback {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.yg-orbit.has-orbit .yg-orbit-fallback:focus-within {
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 2rem max(0.875rem, 3vw);
    overflow: auto;
    clip: auto;
    clip-path: none;
    white-space: normal;
}
body.home #jet-theme-core-document > .jet-theme-core-document__inner {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 0;
}
body.home .jet-theme-core-document__inner > .elementor { flex: 0 0 auto; }
body.home .jet-theme-core-document__inner > .elementor-7 { flex: 1 1 0; min-height: 0; }
body.home .elementor-7 > .yg-hero,
body.home .yg-hero > .elementor-widget-shortcode,
body.home .yg-hero > .elementor-widget-shortcode > .elementor-widget-container,
body.home .yg-hero .elementor-shortcode,
body.home .yg-hero .yg-orbit { height: 100%; min-height: 0; }
body.home .yg-orbit-stage { height: 100% !important; min-height: 0; }
.yg-orbit-fallback strong small { display: block; font-size: .35em; margin-top: .5em; }
.yg-home-footer { min-height: 1.75rem; padding: 0; background: var(--e-global-color-1274a76a, #f7f7f6); color: var(--e-global-color-53549bc4, #555555); font: 12px/1.4 var(--yg-sans); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.yg-home-footer nav { display: flex; gap: 20px; }
.yg-home-footer a { color: var(--e-global-color-012ff055, #111111); }
.yg-home-footer a:hover { text-decoration: underline; }
.yg-orbit-fallback a:focus-visible {
    outline: 2px solid var(--e-global-color-012ff055, #111111);
    outline-offset: 5px;
}
.yg-orbit.is-fallback .yg-orbit-controls p,
.yg-orbit.is-fallback [data-yg-orbit-toggle] { display: none; }
.yg-orbit.is-fallback .yg-orbit-controls { justify-content: flex-end; }

@media (max-width: 767px) {
    .yg-orbit-stage {
        height: 85vh;
    }
    .yg-orbit-controls { gap: 0 1rem; }
    .yg-orbit-controls p { flex-basis: 100%; }
    .yg-orbit-fallback { gap: 1.5rem; }
    .yg-orbit-fallback > div {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
    .yg-orbit-fallback img { height: 105px; }
}

/* The homepage has no document scroll; fixed tweak panels keep their own scroll. */
html:has(body.home), body.home {overflow:hidden;overscroll-behavior:none;}
.yg-orbit-error[hidden] {display:none;}
.yg-orbit-error {position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;padding:2rem;text-align:center;}
.yg-orbit-error strong {font-family:var(--yg-sans);font-size:clamp(2rem,5vw,4.5rem);font-weight:700;letter-spacing:-.055em;line-height:1.1;}
.yg-orbit-error small {display:block;font-size:.35em;letter-spacing:-.02em;line-height:1.3;margin-top:.5em;}
.yg-orbit-error a {font-family:var(--yg-sans);font-size:var(--e-global-typography-eea56f6c-font-size,.875rem);text-decoration:underline;text-underline-offset:.25em;}
