/* YMK 2026 corporate home */
/* 01. Design tokens */
:root {
    --ymk-ink: #171717;
    --ymk-ivory: #f4f1eb;
    --ymk-burgundy: #842e32;
    --ymk-line: #d8d5cf;
    --ymk-white: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ymk-ink);
    font-family: 'Noto Sans KR',sans-serif;
}

.ymk-header *,.ymk-home *,.ymk-footer *,.ymk-mobile-cta * {
    box-sizing: border-box;
}

/* 02. Header and navigation */
.ymk-header {
    position: relative;
    z-index: 100;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(23,23,23,.12);
}

.ymk-header__inner {
    width: min(1320px,calc(100% - 64px));
    height: 84px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 54px;
}

.ymk-header__logo {
    color: var(--ymk-ink);
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 9px;
    letter-spacing: -.04em;
}

.ymk-header__logo span {
    font: 800 28px/1 Inter,sans-serif;
}

.ymk-header__logo small {
    font: 600 9px/1 Inter,sans-serif;
    letter-spacing: .22em;
}

.ymk-nav {
    margin-left: auto;
    height: 100%;
    display: flex;
    align-items: stretch;
    gap: 42px;
}

.ymk-nav__item {
    position: relative;
    display: flex;
    align-items: center;
}

.ymk-nav__item>a {
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--ymk-ink);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.ymk-nav__item--primary>a {
    color: var(--ymk-burgundy);
}

.ymk-nav__item>a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -1px;
    height: 2px;
    background: var(--ymk-burgundy);
    transition: right .25s;
}

.ymk-nav__item:hover>a:after,.ymk-nav__item:focus-within>a:after {
    right: 0;
}

.ymk-nav__dropdown {
    position: absolute;
    top: calc(100% + 1px);
    left: -22px;
    width: 190px;
    padding: 14px 0;
    background: #fff;
    border: 1px solid var(--ymk-line);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s;
}

.ymk-nav__item:hover .ymk-nav__dropdown,.ymk-nav__item:focus-within .ymk-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.ymk-nav__dropdown a {
    display: block;
    padding: 10px 20px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
}

.ymk-nav__dropdown a:hover {
    color: var(--ymk-burgundy);
    background: var(--ymk-ivory);
}

.ymk-header__cta {
    padding: 13px 20px;
    color: #fff;
    background: var(--ymk-burgundy);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.ymk-menu-toggle,.ymk-mobile-nav {
    display: none;
}

/* 03. Home */
.ymk-eyebrow {
    margin: 0 0 24px;
    color: var(--ymk-burgundy);
    font: 700 12px/1 Inter,sans-serif;
    letter-spacing: .2em;
}

.ymk-hero {
    position: relative;
    height: calc(100vh - 84px);
    min-height: 650px;
    overflow: hidden;
    background: #111;
    color: #fff;
}

.ymk-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .82;
}

.ymk-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(8,8,8,.76) 0%,rgba(8,8,8,.25) 58%,rgba(8,8,8,.1) 100%);
}

.ymk-hero__content {
    position: absolute;
    left: max(40px,calc((100% - 1320px)/2));
    top: 50%;
    width: min(720px,calc(100% - 80px));
    transform: translateY(-48%);
}

.ymk-hero .ymk-eyebrow {
    color: #e2b8ba;
}

.ymk-hero h1 {
    margin: 0;
    font-size: clamp(52px,6vw,94px);
    line-height: 1.08;
    letter-spacing: -.065em;
    font-weight: 800;
}

.ymk-hero__description {
    max-width: 580px;
    margin: 32px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.8;
    word-break: keep-all;
}

.ymk-hero__actions {
    display: flex;
    gap: 12px;
    margin-top: 42px;
}

.ymk-button {
    min-width: 190px;
    padding: 17px 22px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.ymk-button--light {
    background: #fff;
    color: #171717;
}

.ymk-button--line {
    border: 1px solid rgba(255,255,255,.55);
    color: #fff;
}

.ymk-hero__scroll {
    position: absolute;
    right: max(40px,calc((100% - 1320px)/2));
    bottom: 38px;
    color: #fff;
    text-decoration: none;
    font: 600 10px/1 Inter,sans-serif;
    letter-spacing: .16em;
}

.ymk-hero__scroll span {
    margin-left: 12px;
    font-size: 16px;
}

.ymk-intro,.ymk-trust {
    width: min(1320px,calc(100% - 80px));
    margin: auto;
    padding: 150px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.ymk-section-heading h2 {
    margin: 0;
    font-size: clamp(38px,4.2vw,66px);
    line-height: 1.22;
    letter-spacing: -.055em;
}

.ymk-intro__copy,.ymk-trust__body {
    align-self: end;
    max-width: 570px;
    color: #555;
    font-size: 17px;
    line-height: 1.9;
    word-break: keep-all;
}

.ymk-intro__copy p,.ymk-trust__body p {
    margin: 0 0 18px;
}

.ymk-trust__body a {
    display: inline-block;
    margin-top: 18px;
    color: var(--ymk-ink);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid;
}

.ymk-core-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--ymk-ink);
}

.ymk-core-card {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

.ymk-core-card__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .7s;
}

.ymk-core-card:hover .ymk-core-card__image {
    transform: scale(1.035);
}

.ymk-core-card--academy .ymk-core-card__image {
    background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.58)),url('/img/youme/youme_bannere.jpg');
}

.ymk-core-card--center .ymk-core-card__image {
    background-image: linear-gradient(rgba(24,8,9,.04),rgba(24,8,9,.68)),url('/img/youme/gangnam_3.jpg');
}

.ymk-core-card__content {
    position: absolute;
    left: 9%;
    right: 9%;
    bottom: 8%;
    z-index: 1;
}

.ymk-core-card__content>span {
    color: #f0c8ca;
    font: 700 11px/1 Inter,sans-serif;
    letter-spacing: .18em;
}

.ymk-core-card__content h2 {
    margin: 18px 0;
    font-size: clamp(40px,4.4vw,68px);
    line-height: 1.12;
    letter-spacing: -.055em;
}

.ymk-core-card__content p {
    max-width: 520px;
    margin: 0 0 28px;
    color: rgba(255,255,255,.83);
    font-size: 16px;
    line-height: 1.8;
    word-break: keep-all;
}

.ymk-core-card__locations {
    margin: -10px 0 26px;
    color: rgba(255,255,255,.62);
    font: 600 10px/1 Inter,sans-serif;
    letter-spacing: .12em;
}

.ymk-core-card__content strong,.ymk-core-card__content a {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.ymk-path {
    padding: 150px max(40px,calc((100% - 1320px)/2));
    background: var(--ymk-ink);
    color: #fff;
}

.ymk-section-heading--light .ymk-eyebrow {
    color: #d59da0;
}

.ymk-path__list {
    list-style: none;
    margin: 90px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-top: 1px solid rgba(255,255,255,.2);
}

.ymk-path__list li {
    min-height: 220px;
    padding: 28px 24px 30px 0;
    border-right: 1px solid rgba(255,255,255,.2);
}

.ymk-path__list li+li {
    padding-left: 28px;
}

.ymk-path__list span {
    display: block;
    color: #bd767a;
    font: 600 12px/1 Inter,sans-serif;
}

.ymk-path__list strong {
    display: block;
    margin: 46px 0 16px;
    font: 700 20px/1 Inter,sans-serif;
    letter-spacing: .05em;
}

.ymk-path__list p {
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 14px;
}

.ymk-path__message {
    margin-top: 70px;
    padding: 38px 42px;
    background: var(--ymk-burgundy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ymk-path__message p,.ymk-path__message strong {
    margin: 0;
}

.ymk-path__message strong {
    font-size: 19px;
}

.ymk-trust {
    padding-bottom: 80px;
    grid-template-rows: auto auto;
}

.ymk-brand-strip {
    grid-column: 1/-1;
    margin-top: 50px;
    padding: 32px 0;
    border-top: 1px solid var(--ymk-line);
    border-bottom: 1px solid var(--ymk-line);
    display: flex;
    justify-content: space-between;
    gap: 28px;
    overflow: hidden;
}

.ymk-brand-strip span {
    color: #777;
    font: 600 12px/1 Inter,sans-serif;
    letter-spacing: .1em;
    white-space: nowrap;
}

.ymk-consult {
    padding: 130px max(40px,calc((100% - 1320px)/2));
    background: var(--ymk-ivory);
}

.ymk-consult>h2 {
    margin: 0;
    font-size: clamp(42px,5vw,72px);
    line-height: 1.18;
    letter-spacing: -.06em;
}

.ymk-consult__choices {
    margin-top: 72px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border-top: 1px solid var(--ymk-ink);
}

.ymk-consult__choices a {
    min-height: 180px;
    padding: 34px 28px;
    color: var(--ymk-ink);
    text-decoration: none;
    border-right: 1px solid var(--ymk-line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: .25s;
}

.ymk-consult__choices a:first-child {
    padding-left: 0;
}

.ymk-consult__choices a:last-child {
    border: 0;
}

.ymk-consult__choices a:hover {
    padding-left: 36px;
    background: #fff;
}

.ymk-consult__choices span {
    color: #777;
    font-size: 13px;
}

.ymk-consult__choices strong {
    font-size: 21px;
}

/* 04. Footer */
.ymk-footer {
    background: #111;
    color: #fff;
}

.ymk-footer__lead {
    width: min(1320px,calc(100% - 80px));
    margin: auto;
    padding: 120px 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
}

.ymk-footer__lead>p {
    margin: 0 0 28px;
    color: #c88b8f;
    font: 700 11px/1 Inter,sans-serif;
    letter-spacing: .2em;
}

.ymk-footer__lead h2 {
    margin: 0;
    font-size: clamp(38px,4.5vw,68px);
    line-height: 1.2;
    letter-spacing: -.055em;
}

.ymk-footer__actions {
    display: flex;
    gap: 12px;
    margin-top: 48px;
}

.ymk-footer__actions a {
    min-width: 180px;
    padding: 16px 22px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.45);
    font-size: 13px;
    font-weight: 700;
}

.ymk-footer__actions a:first-child {
    background: var(--ymk-burgundy);
    border-color: var(--ymk-burgundy);
}

.ymk-footer__bottom {
    width: min(1320px,calc(100% - 80px));
    margin: auto;
    padding: 48px 0 54px;
    display: grid;
    grid-template-columns: 240px 1fr auto;
    gap: 50px;
    align-items: start;
}

.ymk-footer__logo {
    color: #fff;
    text-decoration: none;
    font: 800 28px/1 Inter,sans-serif;
}

.ymk-footer__logo span {
    font-size: 8px;
    letter-spacing: .18em;
}

.ymk-footer__info p {
    margin: 0 0 8px;
    color: rgba(255,255,255,.58);
    font-size: 12px;
    line-height: 1.6;
}

.ymk-footer__info .ymk-footer__copy {
    margin-top: 24px;
    color: rgba(255,255,255,.32);
}

.ymk-footer__top {
    color: #fff;
    text-decoration: none;
    font: 600 10px/1 Inter,sans-serif;
    letter-spacing: .14em;
}

.ymk-mobile-cta {
    display: none;
}

/* 05. Mobile */
@media(max-width:900px) {
    .ymk-header__inner {
        width: calc(100% - 36px);
        height: 68px;
    }

    .ymk-nav,.ymk-header__cta {
        display: none;
    }

    .ymk-menu-toggle {
        display: flex;
        margin-left: auto;
        width: 36px;
        height: 36px;
        padding: 8px 3px;
        border: 0;
        background: none;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .ymk-menu-toggle span {
        display: block;
        width: 100%;
        height: 1px;
        background: #171717;
        transition: .2s;
    }

    .ymk-menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .ymk-menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .ymk-menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .ymk-mobile-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        height: 0;
        padding: 0 24px;
        background: #fff;
        display: flex;
        overflow: hidden;
        flex-direction: column;
        transition: .3s;
    }

    .ymk-mobile-nav.is-open {
        height: calc(100vh - 68px);
        padding-top: 24px;
    }

    .ymk-mobile-nav a {
        padding: 15px 0;
        color: #171717;
        text-decoration: none;
        border-bottom: 1px solid #e5e2dd;
        font-size: 18px;
        font-weight: 700;
    }

    .ymk-mobile-nav .ymk-mobile-nav__cta {
        margin-top: 16px;
        padding: 17px;
        background: var(--ymk-burgundy);
        color: #fff;
        text-align: center;
        border: 0;
        font-size: 14px;
    }

    .ymk-hero {
        height: calc(100svh - 68px);
        min-height: 590px;
    }

    .ymk-hero__content {
        left: 24px;
        width: calc(100% - 48px);
    }

    .ymk-hero h1 {
        font-size: clamp(44px,12vw,64px);
    }

    .ymk-hero__description {
        font-size: 15px;
        line-height: 1.7;
    }

    .ymk-hero__actions {
        flex-direction: column;
        width: 210px;
    }

    .ymk-hero__scroll {
        display: none;
    }

    .ymk-intro,.ymk-trust {
        width: calc(100% - 48px);
        padding: 90px 0;
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .ymk-intro__copy,.ymk-trust__body {
        font-size: 15px;
    }

    .ymk-core-grid {
        grid-template-columns: 1fr;
    }

    .ymk-core-card {
        min-height: 600px;
    }

    .ymk-core-card__content {
        left: 24px;
        right: 24px;
        bottom: 38px;
    }

    .ymk-path {
        padding: 90px 24px;
    }

    .ymk-path__list {
        margin-top: 55px;
        grid-template-columns: 1fr 1fr;
    }

    .ymk-path__list li {
        min-height: 165px;
        padding: 22px 16px 20px 0;
        border-bottom: 1px solid rgba(255,255,255,.2);
    }

    .ymk-path__list li+li {
        padding-left: 18px;
    }

    .ymk-path__list strong {
        margin-top: 28px;
        font-size: 16px;
    }

    .ymk-path__message {
        margin-top: 45px;
        padding: 28px 24px;
        display: block;
    }

    .ymk-path__message p {
        margin-bottom: 10px;
    }

    .ymk-path__message strong {
        font-size: 16px;
        line-height: 1.6;
    }

    .ymk-brand-strip {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .ymk-consult {
        padding: 90px 24px 120px;
    }

    .ymk-consult__choices {
        margin-top: 48px;
        grid-template-columns: 1fr;
    }

    .ymk-consult__choices a,.ymk-consult__choices a:first-child {
        min-height: 125px;
        padding: 24px 0;
        border-right: 0;
        border-bottom: 1px solid var(--ymk-line);
    }

    .ymk-consult__choices a:hover {
        padding-left: 12px;
    }

    .ymk-footer__lead,.ymk-footer__bottom {
        width: calc(100% - 48px);
    }

    .ymk-footer__lead {
        padding: 80px 0;
    }

    .ymk-footer__actions {
        flex-direction: column;
    }

    .ymk-footer__bottom {
        padding: 38px 0 110px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ymk-footer__top {
        display: none;
    }

    .ymk-mobile-cta {
        position: fixed;
        z-index: 120;
        left: 0;
        right: 0;
        bottom: 0;
        height: 64px;
        display: grid;
        grid-template-columns: 1fr 1.35fr;
        background: #fff;
        box-shadow: 0 -8px 25px rgba(0,0,0,.12);
    }

    .ymk-mobile-cta a {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #171717;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
    }

    .ymk-mobile-cta a:last-child {
        background: var(--ymk-burgundy);
        color: #fff;
    }

}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    .ymk-core-card__image,.ymk-nav__dropdown {
        transition: none;
    }

}
