@charset "UTF-8";

/* =========================================
   Base / Theme
   기존 사이트 폰트 상속
========================================= */
.odh-home {
    --odh-text: #242529;
    --odh-muted: #686b72;
    --odh-line: #e2e3e5;
    --odh-panel: #ffffff;
    --odh-soft: #eff0f2;
    --odh-button: #242529;
    --odh-button-text: #ffffff;
    --odh-shadow: 0 16px 45px rgba(20, 24, 35, 0.06);

    color: var(--odh-text);
    line-height: 1.7;
}

body.dark-mode .odh-home {
    --odh-text: #f1f2f4;
    --odh-muted: #b2b5bd;
    --odh-line: #373a40;
    --odh-panel: #202226;
    --odh-soft: #292c32;
    --odh-button: #f1f2f4;
    --odh-button-text: #202226;
    --odh-shadow: 0 16px 45px rgba(0, 0, 0, 0.12);
}

.odh-home,
.odh-home *,
.odh-home *::before,
.odh-home *::after {
    box-sizing: border-box;
}

.odh-home .odh-shell {
    width: min(1180px, calc(100% - 64px));
    margin-inline: auto;
    padding: 80px 0;
}

.odh-home h1,
.odh-home h2,
.odh-home h3,
.odh-home p,
.odh-home ul,
.odh-home dl,
.odh-home dd,
.odh-home figure {
    margin: 0;
}

.odh-home ul {
    padding: 0;
    list-style: none;
}

.odh-home li {
    list-style: none;
}

.odh-home a {
    color: inherit;
    text-decoration: none;
}

.odh-home img {
    display: block;
    max-width: 100%;
}

.odh-home h1,
.odh-home h2,
.odh-home h3 {
    color: var(--odh-text);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.odh-home h2 {
    font-size: clamp(32px, 3.2vw, 44px);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.045em;
}

.odh-home h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.035em;
}

.odh-home .odh-label {
    color: var(--odh-muted);
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.11em;
}

.odh-home .odh-badge {
    display: inline-block;
    padding: 7px 15px;
    border: 1px solid var(--odh-line);
    border-radius: 30px;
    color: var(--odh-muted);
    font-size: 13px;
    letter-spacing: 0.06em;
}

/* =========================================
   Buttons
========================================= */
.odh-home .odh-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.odh-home .odh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    min-height: 54px;
    padding: 13px 23px;
    border: 1px solid var(--odh-line);
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.odh-home .odh-button--primary {
    border-color: var(--odh-button);
    background: var(--odh-button);
    color: var(--odh-button-text);
}

.odh-home .odh-button--secondary {
    background: var(--odh-panel);
    color: var(--odh-text);
    box-shadow: 0 4px 12px rgba(20, 24, 35, 0.03);
}

.odh-home .odh-button span {
    display: inline-block;
    transition: transform 0.25s ease;
}

.odh-home a:focus-visible {
    outline: 2px solid var(--odh-text);
    outline-offset: 5px;
}

/* =========================================
   Hero
========================================= */
.odh-home .odh-hero {
    padding-top: 110px;
    padding-bottom: 40px;
    text-align: center;
}

.odh-home .odh-hero-content {
    max-width: 900px;
    margin-inline: auto;
}

.odh-home .odh-hero h1 {
    margin-top: 25px;
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.055em;
}

.odh-home .odh-hero h1 span {
    color: inherit;
}

.odh-home .odh-hero-description {
    margin-top: 25px;
    color: var(--odh-muted);
    font-size: 20px;
    line-height: 1.85;
    word-break: keep-all;
}

.odh-home .odh-hero-caption {
    margin-top: 24px;
    color: var(--odh-muted);
    font-size: 15px;
}

/* Hero 제목 타이핑 */
.odh-home #odh-home-title > .odh-type-line:first-child {
    color: inherit;
}

.odh-home #odh-home-title .odh-type-char {
    position: relative;
    display: inline-block;
    white-space: pre;
    color: inherit;
}

.odh-home #odh-home-title.is-typing .odh-type-char {
    visibility: hidden;
}

.odh-home #odh-home-title.is-typing .odh-type-char.is-visible {
    visibility: visible;
}

/* 현재 입력 위치의 커서 */
.odh-home #odh-home-title .odh-type-char.is-caret::after {
    content: "";
    position: absolute;
    top: .16em;
    right: -.06em;
    width: 2px;
    height: .9em;
    background: currentColor;
    animation: odh-typing-caret .65s step-end infinite;
}

@keyframes odh-typing-caret {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .odh-home #odh-home-title.is-typing .odh-type-char {
        visibility: visible;
    }

    .odh-home #odh-home-title .odh-type-char.is-caret::after {
        display: none;
    }
}




/* =========================================
   Showcase
========================================= */
.odh-home .odh-showcase {
    margin-top: 58px;
    padding: 20px;
    border: 1px solid var(--odh-line);
    border-radius: 28px;
    background: var(--odh-panel);
    box-shadow: var(--odh-shadow);
}

.odh-home .odh-showcase-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 20px;
    padding: 0 3px 17px;
    color: var(--odh-muted);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.odh-home .odh-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 24px;
    border-radius: 16px;
    background: var(--odh-soft);
}

.odh-home .odh-screen {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--odh-line);
    border-radius: 12px;
    background: var(--odh-panel);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.odh-home .odh-screen-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 36px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--odh-line);
    color: var(--odh-muted);
    font-size: 11px;
    text-align: left;
}

.odh-home .odh-screen-dots {
    display: flex;
    gap: 4px;
}

.odh-home .odh-screen-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--odh-muted);
    opacity: 0.35;
}

.odh-home .odh-screen img,
.odh-home .odh-screen video{
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
}
.odh-screen .odh-showcase-video {
    display: block;
    width: 100%;
    height: auto;
}






/* =========================================
   Shared Section Heading
========================================= */
.odh-home .odh-section-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.odh-home .odh-section-heading h2 {
    margin-top: 12px;
}

.odh-home .odh-section-heading > p:last-child:not(.odh-label) {
    margin-top: 16px;
    color: var(--odh-muted);
    font-size: 18px;
    word-break: keep-all;
}

.odh-home .odh-section-action {
    margin-top: 35px;
    text-align: center;
}

/* =========================================
   About
========================================= */
.odh-home .odh-about {
    max-width: 850px;
    text-align: center;
}

.odh-home .odh-about h2 {
    margin-top: 20px;
}

.odh-home .odh-about-description {
    max-width: 670px;
    margin: 24px auto 0;
    color: var(--odh-muted);
    font-size: 19px;
    line-height: 1.95;
    word-break: keep-all;
}

.odh-home .odh-skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.odh-home .odh-skill-list li {
    padding: 8px 15px;
    border: 1px solid var(--odh-line);
    border-radius: 30px;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================
   Projects
========================================= */
.odh-home .odh-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.odh-home .odh-project {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--odh-line);
    border-radius: 22px;
    background: var(--odh-panel);
    text-align: left;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.odh-home .odh-project-image {
    position: relative;
    display: block;
    margin: 12px 12px 0;
    overflow: hidden;
    border-radius: 13px;
    background: var(--odh-soft);
}

.odh-home .odh-project-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.odh-home .odh-project-arrow {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--odh-line);
    border-radius: 50%;
    background: var(--odh-panel);
    color: var(--odh-text);
    font-size: 22px;
}

.odh-home .odh-project-content {
    padding: 27px;
}

.odh-home .odh-project-category {
    margin-bottom: 10px;
    color: var(--odh-muted);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.odh-home .odh-project-description {
    margin-top: 12px;
    color: var(--odh-muted);
    font-size: 17px;
    line-height: 1.85;
    word-break: keep-all;
}

.odh-home .odh-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.odh-home .odh-tags li {
    padding: 5px 10px;
    border: 1px solid var(--odh-line);
    border-radius: 7px;
    color: var(--odh-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* =========================================
   Capabilities
========================================= */

/* 카드 배치 */
.odh-home .odh-capability-grid {
    display: flex;
    gap: 20px;
    height: 360px;
}

.odh-home .odh-capability-grid > .odh-capability {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    width: auto;
    height: auto;
    padding: 30px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid var(--odh-line);
    border-radius: 22px;
    background: var(--odh-panel);
    text-align: left;
    cursor: pointer;

    transition:
        flex-grow .8s cubic-bezier(.22, 1, .36, 1),
        color .4s ease,
        border-color .4s ease;
}

/* 선택 카드 : 나머지 카드 = 4 : 1 : 1 */
.odh-home .odh-capability-grid.has-expanded
> .odh-capability.is-expanded {
    flex-grow: 4;
}

/* 카드 상단 */
.odh-home .odh-capability-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 38px;
}

.odh-home .odh-number {
    color: var(--odh-muted);
    font-size: 14px;
}

.odh-home .odh-capability-symbol {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--odh-line);
    border-radius: 14px;
    background: var(--odh-soft);
    font-size: 25px;
    line-height: 1;
}

/* 카드 텍스트 */
.odh-home .odh-capability h3 {
    font-size: 23px;
}

.odh-home .odh-capability p {
    margin-top: 1px;
    color: var(--odh-muted);
    font-size: 17px;
    line-height: 1.9;
    word-break: keep-all;
}

.odh-home .odh-capability-footer {
    display: block;
    margin-top: auto;
    padding-top: 32px;
    color: var(--odh-muted);
    font-size: 11px;
    letter-spacing: .06em;
}

.odh-home .odh-capability h3,
.odh-home .odh-capability p,
.odh-home .odh-capability-footer,
.odh-home .odh-capability-symbol {
    transition:
        opacity .4s ease,
        filter .4s ease,
        color .4s ease;
}

/* 카드 전체 배경 이미지 */
.odh-home .odh-capability::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--capability-bg, none);
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.06);
    transition:
        opacity .6s ease,
        transform 1s ease;
    pointer-events: none;
}

/* 배경 이미지 위의 어두운 막 */
.odh-home .odh-capability::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(8, 14, 24, .88),
        rgba(8, 14, 24, .48)
    );
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
}

.odh-home .odh-capability.is-expanded::before {
    opacity: 1;
    transform: scale(1);
}

.odh-home .odh-capability.is-expanded::after {
    opacity: 1;
}

/* 선택 카드의 글자와 아이콘 */
.odh-home .odh-capability.is-expanded,
.odh-home .odh-capability.is-expanded h3,
.odh-home .odh-capability.is-expanded p,
.odh-home .odh-capability.is-expanded .odh-number,
.odh-home .odh-capability.is-expanded .odh-capability-footer {
    color: #fff;
}

.odh-home .odh-capability.is-expanded .odh-capability-symbol {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .2);
}

/* 키보드 포커스 */
.odh-home .odh-capability:focus-visible {
    outline: 2px solid #6688ad;
    outline-offset: 4px;
}

/* PC: 좁아진 카드의 텍스트 흐림 */
@media (min-width: 769px) {
    .odh-home .odh-capability-grid.has-expanded
    > .odh-capability:not(.is-expanded) h3,
    .odh-home .odh-capability-grid.has-expanded
    > .odh-capability:not(.is-expanded) p,
    .odh-home .odh-capability-grid.has-expanded
    > .odh-capability:not(.is-expanded) .odh-capability-footer {
        opacity: .22;
        filter: blur(4px);
        white-space: nowrap;
        pointer-events: none;
        user-select: none;
    }

    .odh-home .odh-capability-grid.has-expanded
    > .odh-capability:not(.is-expanded) .odh-capability-symbol {
        opacity: 0;
    }
}

/* 모바일: 세로 방향으로 확장 */
@media (max-width: 768px) {
    .odh-home .odh-capability-grid {
        flex-direction: column;
        height: 780px;
        gap: 12px;
    }

    .odh-home .odh-capability-grid > .odh-capability {
        min-height: 0;
        padding: 22px;
    }

    .odh-home .odh-capability-top {
        margin-bottom: 14px;
    }

    .odh-home .odh-capability h3 {
        margin-top: 0;
        margin-bottom: 12px;
    }

    /* 좁아진 카드는 숫자와 제목만 표시 */
    .odh-home .odh-capability-grid.has-expanded
    > .odh-capability:not(.is-expanded) p,
    .odh-home .odh-capability-grid.has-expanded
    > .odh-capability:not(.is-expanded) .odh-capability-footer,
    .odh-home .odh-capability-grid.has-expanded
    > .odh-capability:not(.is-expanded) .odh-capability-symbol {
        display: none;
    }

    .odh-home .odh-capability-grid.has-expanded
    > .odh-capability:not(.is-expanded) h3 {
        margin-bottom: 0;
        font-size: 18px;
        line-height: 1.4;
    }
}

/* 움직임 최소화 설정 */
@media (prefers-reduced-motion: reduce) {
    .odh-home .odh-capability-grid > .odh-capability,
    .odh-home .odh-capability::before,
    .odh-home .odh-capability::after,
    .odh-home .odh-capability h3,
    .odh-home .odh-capability p,
    .odh-home .odh-capability-footer,
    .odh-home .odh-capability-symbol {
        transition: none;
    }
}








/* =========================================
   Experience
========================================= */
.odh-home .odh-experience-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 65px;
    padding: 55px;
    border: 1px solid var(--odh-line);
    border-radius: 26px;
    background: var(--odh-panel);
    text-align: left;
}

.odh-home .odh-experience-title h2 {
    margin-top: 14px;
}

.odh-home .odh-experience-title > p:last-child {
    margin-top: 20px;
    color: var(--odh-muted);
    font-size: 17px;
    line-height: 1.9;
    word-break: keep-all;
}

.odh-home .odh-experience-list > div {
    padding: 24px 0;
    border-bottom: 1px solid var(--odh-line);
}

.odh-home .odh-experience-list > div:first-child {
    padding-top: 0;
}

.odh-home .odh-experience-list > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.odh-home .odh-experience-list dt {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: -0.03em;
}

.odh-home .odh-experience-list dd {
    margin-top: 7px;
    color: var(--odh-muted);
    font-size: 16px;
    word-break: keep-all;
}

/* =========================================
   Closing
========================================= */
.odh-home .odh-closing {
    padding-top: 30px;
    padding-bottom: 70px;
}

.odh-home .odh-closing-panel {
    padding: 65px 28px;
    border: 1px solid var(--odh-line);
    border-radius: 26px;
    background: var(--odh-soft);
    text-align: center;
}

.odh-home .odh-closing h2 {
    margin-top: 18px;
}

.odh-home .odh-closing-panel > p:not(.odh-label) {
    margin-top: 20px;
    color: var(--odh-muted);
    font-size: 18px;
    word-break: keep-all;
}

/* =========================================
   Hover: mouse / trackpad
========================================= */
@media (hover: hover) and (pointer: fine) {
    .odh-home .odh-button:hover {
        transform: translateY(-3px);
        box-shadow: var(--odh-shadow);
    }

    .odh-home .odh-button:hover span {
        transform: translateX(3px);
    }

    .odh-home .odh-project:hover {
        transform: translateY(-5px);
        box-shadow: var(--odh-shadow);
    }

    .odh-home .odh-project-image:hover img {
        transform: scale(1.035);
    }
}

/* =========================================
   Tablet
========================================= */
@media (max-width: 1000px) {
    .odh-home .odh-shell {
        width: calc(100% - 48px);
        padding-block: 150px 60px;
    }

    .odh-home .odh-capability-grid {
        gap: 14px;
    }

    .odh-home .odh-capability {
        padding: 23px;
    }

    .odh-home .odh-capability h3 {
        font-size: 21px;
    }

    .odh-home .odh-experience-panel {
        padding: 36px;
        gap: 35px;
    }
}

/* =========================================
   Mobile
========================================= */
@media (max-width: 700px) {
    .odh-home .odh-shell {
        width: calc(100% - 36px);
        padding-block: 48px;
    }

    .odh-home .odh-hero {
        padding-top: 140px;
        padding-bottom: 25px;
    }

    .odh-home .odh-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .odh-home .odh-hero h1 {
        margin-top: 23px;
        font-size: clamp(32px, 7.8vw, 48px);
        letter-spacing: -0.05em;
        line-height: 1.4;
    }

    .odh-home .odh-hero-description {
        margin-top: 20px;
        font-size: 17px;
        line-height: 1.85;
    }

    .odh-home .odh-hero-description br {
        display: none;
    }

    .odh-home .odh-actions {
        gap: 10px;
        margin-top: 25px;
    }

    .odh-home .odh-button {
        min-height: 50px;
        gap: 18px;
        padding: 12px 17px;
        font-size: 15px;
        border-radius: 12px;
    }

    .odh-home .odh-hero-caption {
        font-size: 13px;
        margin-top: 20px;
    }

    .odh-home .odh-showcase {
        margin-top: 35px;
        padding: 10px;
        border-radius: 20px;
    }

    .odh-home .odh-showcase-top {
        padding: 4px 3px 12px;
        font-size: 9px;
    }

    .odh-home .odh-showcase-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
        border-radius: 12px;
    }

    .odh-home .odh-screen-bar {
        min-height: 30px;
        font-size: 10px;
    }

    .odh-home h2 {
        font-size: 30px;
        line-height: 1.45;
    }

    .odh-home .odh-about-description {
        font-size: 17px;
        line-height: 1.9;
    }

    .odh-home .odh-skill-list {
        gap: 8px;
    }

    .odh-home .odh-skill-list li {
        font-size: 12px;
        padding: 7px 12px;
    }

    .odh-home .odh-section-heading {
        margin-bottom: 28px;
    }

    .odh-home .odh-section-heading > p:last-child:not(.odh-label) {
        font-size: 16px;
    }

    .odh-home .odh-project-grid,
    .odh-home .odh-capability-grid,
    .odh-home .odh-experience-panel {
        grid-template-columns: 1fr;
    }

    .odh-home .odh-project-grid {
        gap: 22px;
    }

    .odh-home .odh-project-content {
        padding: 23px;
    }

    .odh-home .odh-project-description {
        font-size: 16px;
    }

    .odh-home .odh-capability-grid {
        gap: 16px;
    }

    .odh-home .odh-capability {
        padding: 26px;
    }

    .odh-home .odh-capability-top {
        margin-bottom: 4px;
    }

    .odh-home .odh-capability h3 {
        font-size: 23px;
    }

    .odh-home .odh-capability p {
        font-size: 16px;
        line-height:1.4
    }

    .odh-home .odh-capability-footer {
        padding-top: 25px;
    }

    .odh-home .odh-experience-panel {
        padding: 28px 24px;
        gap: 30px;
        border-radius: 22px;
    }

    .odh-home .odh-experience-title > p:last-child {
        font-size: 16px;
    }

    .odh-home .odh-experience-list dt {
        font-size: 19px;
    }

    .odh-home .odh-experience-list dd {
        font-size: 15px;
    }

    .odh-home .odh-closing {
        padding-top: 15px;
        padding-bottom: 45px;
    }

    .odh-home .odh-closing-panel {
        padding: 45px 20px;
        border-radius: 22px;
    }

    .odh-home .odh-closing-panel > p:not(.odh-label) {
        font-size: 16px;
    }
}

/* =========================================
   Reduced Motion
========================================= */
@media (prefers-reduced-motion: reduce) {
    .odh-home *,
    .odh-home *::before,
    .odh-home *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}




/* =========================================
   Closing: 섹션 조립 + 배경 드로잉
========================================= */
.odh-home .odh-closing-panel {
    position: relative; isolation: isolate; overflow: hidden;
    --closing-radius: 26px;
}
.odh-home .odh-closing-panel > :not(.odh-closing-frame):not(.odh-closing-blueprint) {
    position: relative; z-index: 2;
}
.odh-home .odh-closing-title-line { display: block; }
.odh-home .odh-closing-frame {
    position: absolute; inset: 0; z-index: 1;
    overflow: hidden; pointer-events: none; border-radius: inherit;
}
.odh-home .odh-closing-frame > span { position: absolute; background: var(--odh-line); }
.odh-home .odh-frame-top, .odh-home .odh-frame-bottom { left: 0; width: 100%; height: 1px; }
.odh-home .odh-frame-top { top: 0; transform-origin: left; }
.odh-home .odh-frame-bottom { bottom: 0; transform-origin: right; }
.odh-home .odh-frame-right, .odh-home .odh-frame-left { top: 0; width: 1px; height: 100%; }
.odh-home .odh-frame-right { right: 0; transform-origin: top; }
.odh-home .odh-frame-left { left: 0; transform-origin: bottom; }
.odh-home .odh-closing-blueprint {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; color: var(--odh-muted);
    -webkit-mask-image: linear-gradient(to right, #000 15%, transparent 43%, transparent 57%, #000 85%);
    mask-image: linear-gradient(to right, #000 15%, transparent 43%, transparent 57%, #000 85%);
}
.odh-home .odh-closing-blueprint svg { display: block; width: 100%; height: 100%; }
.odh-home .odh-wire {
    stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round;
    vector-effect: non-scaling-stroke; opacity: .3;
}
.odh-home .odh-closing-panel.is-build-ready {
    border-color: transparent; border-radius: 0; background: transparent;
}
.odh-home .is-build-ready .odh-closing-frame { border-radius: 0; }
.odh-home .is-build-ready .odh-frame-top,
.odh-home .is-build-ready .odh-frame-bottom { transform: scaleX(0); }
.odh-home .is-build-ready .odh-frame-right,
.odh-home .is-build-ready .odh-frame-left { transform: scaleY(0); }
.odh-home .is-build-ready .odh-closing-label,
.odh-home .is-build-ready .odh-closing-title-line,
.odh-home .is-build-ready .odh-closing-description,
.odh-home .is-build-ready .odh-closing-button-text,
.odh-home .is-build-ready .odh-closing-button-arrow,
.odh-home .is-build-ready .odh-closing-blueprint { opacity: 0; }
/* Clip the actual button: original theme colors and hover styles stay live. */
.odh-home .is-build-ready:not(.is-build-complete) .odh-closing-button {
    clip-path: inset(0 100% 0 0); border-radius: 0; pointer-events: none;
}
.odh-home .is-building { animation: odh-panel-build .7s ease 1.4s both; }
.odh-home .is-building .odh-frame-top { animation: odh-frame-x .45s ease both; }
.odh-home .is-building .odh-frame-right { animation: odh-frame-y .3s ease .45s both; }
.odh-home .is-building .odh-frame-bottom { animation: odh-frame-x .45s ease .75s both; }
.odh-home .is-building .odh-frame-left { animation: odh-frame-y .3s ease 1.2s both; }
.odh-home .is-building .odh-closing-frame {
    animation: odh-frame-round .7s ease 1.4s forwards;
}
.odh-home .is-building .odh-closing-label { animation: odh-content-in .6s ease 1.9s both; }
.odh-home .is-building .odh-closing-title-line:nth-child(1) { animation: odh-content-in .7s ease 2.15s both; }
.odh-home .is-building .odh-closing-title-line:nth-child(2) { animation: odh-content-in .7s ease 2.4s both; }
.odh-home .is-building .odh-closing-description { animation: odh-content-in .6s ease 2.75s both; }
.odh-home .is-building:not(.is-build-complete) .odh-closing-button {
    animation: odh-button-build .9s ease 3.05s both;
}
.odh-home .is-building .odh-closing-button-text { animation: odh-content-in .5s ease 3.65s both; }
.odh-home .is-building .odh-closing-button-arrow { animation: odh-content-in .5s ease 3.9s both; }
/* Limit the old '.odh-button:hover span' behavior to the arrow here. */
.odh-home .odh-closing-button:hover .odh-closing-button-text { transform: none; }
.odh-home .is-building .odh-closing-blueprint { animation: odh-background-in 1s ease 4.4s both; }
.odh-home .is-building .odh-wire-screen { animation: odh-wire-cycle 8s linear 4.4s infinite both; }
/* One shared clock avoids staggered resets flashing after a repeat. */
.odh-home .is-building .odh-wire {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: odh-wire-draw 8s linear 4.4s infinite both;
}
@keyframes odh-frame-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes odh-frame-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes odh-panel-build {
    from { border-radius: 0; background: transparent; }
    to { border-radius: var(--closing-radius); background: var(--odh-soft); }
}
@keyframes odh-frame-round {
    from {
        border-radius: 0;
        box-shadow: inset 0 0 0 3px var(--odh-muted);
    }

    to {
        border-radius: var(--closing-radius);
        box-shadow: inset 0 0 0 1px var(--odh-line);
    }
}
@keyframes odh-content-in {
    from { opacity: 0; translate: 0 10px; }
    to { opacity: 1; translate: 0 0; }
}
@keyframes odh-button-build {
    0% { clip-path: inset(0 100% 0 0); border-radius: 0; }
    50% { clip-path: inset(0); border-radius: 0; }
    100% { clip-path: inset(0); border-radius: var(--closing-button-radius, 12px); }
}
@keyframes odh-background-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes odh-wire-cycle { 0%, 85% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes odh-wire-draw {
    0% { opacity: 0; stroke-dashoffset: 1; }
    /* Each SVG element has its own step; all share the same repeat boundary. */
    1% { opacity: .3; stroke-dashoffset: 1; }
    65%, 100% { opacity: .3; stroke-dashoffset: 0; }
}
@media (max-width: 700px) {
    .odh-home .odh-closing-panel { --closing-radius: 22px; padding-top: 235px; }
    .odh-home .odh-closing-blueprint {
        inset: 20px 20px auto; height: 190px;
        -webkit-mask-image: none; mask-image: none;
    }
    /* SVG width is 3x its visible web frame. Center x=215 in the slot. */
    .odh-home .odh-closing-blueprint svg {
        position: absolute; top: -28px; left: 50%;
        width: 720px; height: 276px; max-width: none;
        transform: translateX(-129px);
    }
    .odh-home .odh-wire-screen--app { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .odh-home .odh-closing-panel.is-build-ready {
        animation: none; border-color: var(--odh-line);
        border-radius: var(--closing-radius); background: var(--odh-soft);
    }
    .odh-home .is-build-ready .odh-closing-frame { display: none; }
    .odh-home .is-build-ready .odh-closing-label,
    .odh-home .is-build-ready .odh-closing-title-line,
    .odh-home .is-build-ready .odh-closing-description,
    .odh-home .is-build-ready .odh-closing-button-text,
    .odh-home .is-build-ready .odh-closing-button-arrow,
    .odh-home .is-build-ready .odh-closing-blueprint {
        animation: none; opacity: 1; translate: none;
    }
    .odh-home .is-build-ready .odh-closing-button {
        animation: none !important; clip-path: none !important;
        border-radius: var(--closing-button-radius, 12px) !important; pointer-events: auto !important;
    }
    .odh-home .odh-wire-screen { animation: none !important; }
    .odh-home .odh-wire { animation: none !important; opacity: .22 !important; stroke-dashoffset: 0 !important; }
}

.odh-home .is-building .odh-wire[style*="--wire-step: 0;"],
.odh-home .is-building .odh-wire[style="--wire-step: 0"] { animation-name: odh-wire-step-0; }
@keyframes odh-wire-step-0 { 0% { opacity: 0; stroke-dashoffset: 1; } 15%, 100% { opacity: .3; stroke-dashoffset: 0; } }

.odh-home .is-building .odh-wire[style*="--wire-step: 1;"],
.odh-home .is-building .odh-wire[style="--wire-step: 1"] { animation-name: odh-wire-step-1; }
@keyframes odh-wire-step-1 { 0%, 3.125% { opacity: 0; stroke-dashoffset: 1; } 18.125%, 100% { opacity: .3; stroke-dashoffset: 0; } }

.odh-home .is-building .odh-wire[style*="--wire-step: 2;"],
.odh-home .is-building .odh-wire[style="--wire-step: 2"] { animation-name: odh-wire-step-2; }
@keyframes odh-wire-step-2 { 0%, 6.25% { opacity: 0; stroke-dashoffset: 1; } 21.25%, 100% { opacity: .3; stroke-dashoffset: 0; } }

.odh-home .is-building .odh-wire[style*="--wire-step: 3;"],
.odh-home .is-building .odh-wire[style="--wire-step: 3"] { animation-name: odh-wire-step-3; }
@keyframes odh-wire-step-3 { 0%, 9.375% { opacity: 0; stroke-dashoffset: 1; } 24.375%, 100% { opacity: .3; stroke-dashoffset: 0; } }

.odh-home .is-building .odh-wire[style*="--wire-step: 4;"],
.odh-home .is-building .odh-wire[style="--wire-step: 4"] { animation-name: odh-wire-step-4; }
@keyframes odh-wire-step-4 { 0%, 12.5% { opacity: 0; stroke-dashoffset: 1; } 27.5%, 100% { opacity: .3; stroke-dashoffset: 0; } }

.odh-home .is-building .odh-wire[style*="--wire-step: 5;"],
.odh-home .is-building .odh-wire[style="--wire-step: 5"] { animation-name: odh-wire-step-5; }
@keyframes odh-wire-step-5 { 0%, 15.625% { opacity: 0; stroke-dashoffset: 1; } 30.625%, 100% { opacity: .3; stroke-dashoffset: 0; } }

.odh-home .is-building .odh-wire[style*="--wire-step: 6;"],
.odh-home .is-building .odh-wire[style="--wire-step: 6"] { animation-name: odh-wire-step-6; }
@keyframes odh-wire-step-6 { 0%, 18.75% { opacity: 0; stroke-dashoffset: 1; } 33.75%, 100% { opacity: .3; stroke-dashoffset: 0; } }

.odh-home .is-building .odh-wire[style*="--wire-step: 7;"],
.odh-home .is-building .odh-wire[style="--wire-step: 7"] { animation-name: odh-wire-step-7; }
@keyframes odh-wire-step-7 { 0%, 21.875% { opacity: 0; stroke-dashoffset: 1; } 36.875%, 100% { opacity: .3; stroke-dashoffset: 0; } }

.odh-home .is-building .odh-wire[style*="--wire-step: 8;"],
.odh-home .is-building .odh-wire[style="--wire-step: 8"] { animation-name: odh-wire-step-8; }
@keyframes odh-wire-step-8 { 0%, 25.0% { opacity: 0; stroke-dashoffset: 1; } 40.0%, 100% { opacity: .3; stroke-dashoffset: 0; } }

.odh-home .is-building .odh-wire[style*="--wire-step: 9;"],
.odh-home .is-building .odh-wire[style="--wire-step: 9"] { animation-name: odh-wire-step-9; }
@keyframes odh-wire-step-9 { 0%, 28.125% { opacity: 0; stroke-dashoffset: 1; } 43.125%, 100% { opacity: .3; stroke-dashoffset: 0; } }

.odh-home .is-building .odh-wire[style*="--wire-step: 10;"],
.odh-home .is-building .odh-wire[style="--wire-step: 10"] { animation-name: odh-wire-step-10; }
@keyframes odh-wire-step-10 { 0%, 31.25% { opacity: 0; stroke-dashoffset: 1; } 46.25%, 100% { opacity: .3; stroke-dashoffset: 0; } }



/* 조립 중에는 진하고 굵은 선 */
.odh-home .is-build-ready .odh-closing-frame {
    color: var(--odh-muted);
}

.odh-home .is-build-ready .odh-closing-frame > span {
    background: currentColor;
}

.odh-home .is-build-ready .odh-frame-top,
.odh-home .is-build-ready .odh-frame-bottom {
    height: 3px;
}

.odh-home .is-build-ready .odh-frame-right,
.odh-home .is-build-ready .odh-frame-left {
    width: 3px;
}

/* 선 그리기 + 완성 후 직선 숨기기 */
.odh-home .is-building .odh-frame-top {
    animation:
        odh-frame-x .45s ease 0s both,
        odh-frame-hide .2s ease 1.5s forwards;
}

.odh-home .is-building .odh-frame-right {
    animation:
        odh-frame-y .3s ease .45s both,
        odh-frame-hide .2s ease 1.5s forwards;
}

.odh-home .is-building .odh-frame-bottom {
    animation:
        odh-frame-x .45s ease .75s both,
        odh-frame-hide .2s ease 1.5s forwards;
}

.odh-home .is-building .odh-frame-left {
    animation:
        odh-frame-y .3s ease 1.2s both,
        odh-frame-hide .2s ease 1.5s forwards;
}

/* 마지막 선까지 완성된 후 모서리 변형 시작 */
.odh-home .is-building .odh-closing-frame {
    animation: odh-frame-round .7s ease 1.5s forwards;
}

.odh-home .odh-closing-panel.is-building {
    animation: odh-panel-build .7s ease 1.5s both;
}

/* 굵은 직선만 숨김 — 둥근 테두리는 유지 */
@keyframes odh-frame-hide {
    from { opacity: 1; }
    to   { opacity: 0; }
}