/* css/responsive.css */
/* 섹션별로 반응형 코드를 정리한 파일입니다. */

/* ============================================================================
   공통 / 전역 반응형
   ============================================================================ */
@media screen and (max-width: 1380px) {
    :root {
        --font-size-project-tab-title: 1.8rem;
        --font-size-project-tab-number: 2.4rem;
    }
}

@media screen and (max-width: 1280px) {
    :root {
        --font-size-visual-title: 9rem;
        --font-size-project-tab-number: 2.2rem;
    }
}
   
@media screen and (max-width: 1200px) {
    :root {
        --font-size-section-title: 3rem;
        --font-size-panel-title: 2.2rem;
        --font-size-content-title: 1.7rem;
        --font-size-body-large: 1.6rem;

        --font-size-visual-title: 7.2rem;
        --font-size-visual-copy-en: 2.4rem;
        --font-size-visual-copy-ko: 1.8rem;

        --font-size-profile-tab: clamp(1.3rem, 1.45vw, 1.5rem);

        --font-size-project-label: 1.9rem;
        --font-size-project-tab-title: 1.5rem;
        --font-size-project-tab-number: 2rem;

    }
}

@media screen and (max-width: 900px) {
    :root {
        --font-size-section-title: 2.8rem;
        --font-size-panel-title: 2.1rem;

        --font-size-visual-title: 5.6rem;
        --font-size-visual-copy-en: 2rem;
        --font-size-visual-copy-ko: 1.6rem;

        --font-size-project-label: 1.3rem;
    }
}

@media screen and (max-width: 680px) {
    :root {
        --font-size-section-title: 2.6rem;
        --font-size-panel-title: 2rem;
        --font-size-content-title: 1.6rem;
        --font-size-body: 1.4rem;
        --font-size-body-small: 1.3rem;
        --font-size-label: 1.4rem;
        --font-size-caption: 1.1rem;

        --font-size-visual-title: 6.4rem;
        --font-size-visual-copy-en: 2.2rem;
        --font-size-visual-copy-ko: 1.6rem;

        --font-size-profile-tab: 1.2rem;

        --font-size-project-label: 1.2rem;
        --font-size-project-tab-title: 1.3rem;
        --font-size-project-tab-number: 1.7rem;
        --font-size-project-panel-title: 2rem;

        --font-size-footer-title: 3.8rem;
        --font-size-footer-desc: 2.6rem;
    }

    main {
        overflow-x: hidden;
        overflow-y: visible;
    }
}

@media screen and (max-width: 550px) {
    :root {
        --font-size-visual-title: 4.8rem;
        --font-size-visual-copy-en: 1.7rem;
        --font-size-visual-copy-ko: 1.4rem;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --font-size-visual-title: 3.8rem;
        --font-size-visual-copy-en: 1.4rem;
        --font-size-visual-copy-ko: 1.3rem;

        --font-size-profile-tab: 1.1rem;

        --font-size-project-label: 1.1rem;
        --font-size-project-tab-title: 1.2rem;
        --font-size-project-tab-number: 1.6rem;

        --font-size-footer-title: 3.4rem;
        --font-size-footer-desc: 2.2rem;
    }
}

@media screen and (max-width: 390px) {
    :root {
        --font-size-project-label: 1rem;
        --font-size-project-tab-title: 1.1rem;
        --font-size-project-panel-title: 1.9rem;
    }
}

@media screen and (max-width: 360px) {
    :root {
        --font-size-project-tab-number: 1.5rem;
    }
}

/* Project DESIGN responsive */
@media screen and (max-width: 1200px) {
    .project-design {
        margin-top: 90px;
        padding: 76px 0 92px;
    }
    
    .project-design__inner {
        width: calc(100% - 40px);
        top: 171px;
    }
    
    .project-design__header {
        gap: 43px;
    }
    
    .project-design__label {
        height: 36px;
        padding: 0 24px 0 14px;
    }

    .project-design__viewer {
        margin-top: 32px;
    }

    .project-design__slide {
        width: clamp(280px, 32vw, 360px);
    }

    .project-design__card {
        min-height: 440px;
    }

    .project-design__thumb {
        height: auto;
    }
}

@media screen and (max-width: 1024px) {
    .project-design__card-title {
        font-size: 2rem;
    }

    .project-design__period {
        font-size: 1.2rem;
    }

    .project-design__desc {
        font-size: 1.6rem;
    }

    .project-design__tags {
        gap: 6px 14px;
        margin-top: 18px;
        font-family: var(--font-sans);
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 900px) {
    .project-design {
        margin-top: 72px;
        padding: 68px 0 82px;
    }

    .project-design__inner {
        width: calc(100% - 32px);
        top: 70px;
    }

    .project-design__label {
        height: 31px;
        padding: 0 14px;
    }

    .project-design__swiper {
        padding: 42px 0 30px;
    }

    .project-design__slide {
        width: min(320px, 72vw);
    }

    .project-design__card {
        min-height: 420px;
        padding: 16px 16px 22px;
    }

    .project-design__thumb {
        height: auto;
    }

    .project-design__counter {
        font-size: 2rem;
    }
    
    .project-design__nav-panel {
        display: none;
    }
}

@media screen and (max-width: 680px) {
    .project-design {
        margin-top: 30px;
        padding: 0 0 74px;
        background-size: 24px 24px;
    }

    .project-design__inner {
        width: calc(100% - 32px);
        top: 0;
    }
    
    .project-design__header {
        flex-wrap: wrap;
        gap: 33px;
    }

    .project-design__title {
        font-size: 2.4rem;
    }

    .project-design__label {
        height: 28px;
    }

    .project-design__swiper {
        padding: 42px 0 24px;
    }

    .project-design__slide {
        width: min(300px, 82vw);
    }

    .project-design__card {
        min-height: 400px;
        padding: 15px 15px 20px;
    }

    .project-design__tape {
        top: -21px;
        width: 104px;
        height: 32px;
    }

    .project-design__thumb {
        height: auto;
    }

    .project-design__card-title {
        font-size: 1.6rem;
    }

    .project-design__counter {
        font-size: 1.8rem;
    }

    .project-design__nav-button {
        min-width: 140px;
        height: 50px;
        padding: 0 16px;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .project-design__title {
        font-size: 2.1rem;
    }

    .project-design__label {
        padding: 0 10px;
    }

    .project-design__viewer {
        margin-top: 24px;
    }

    .project-design__slide {
        width: min(280px, 82vw);
    }

    .project-design__card {
        min-height: 380px;
        padding: 14px 14px 18px;
    }

    .project-design__thumb {
        height: auto;
    }

    .project-design__body {
        padding-top: 14px;
    }

    .project-design__desc {
        font-size: 1.2rem;
    }

    .project-design__tags {
        gap: 5px 10px;
        margin-top: 13px;
        font-size: 0.9rem;
    }

    .project-design__status {
        margin-top: 0;
    }

    .project-design__nav-panel {
        width: min(100%, 340px);
        margin-top: 14px;
    }

    .project-design__nav-button {
        flex: 1 1 50%;
        min-width: 0;
        height: 48px;
        padding: 0 10px;
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 390px) {
    .project-design__label {
        height: 26px;
        padding: 0 8px;
    }
}

/* ============================================================================
   Header 섹션 반응형
   ============================================================================ */

@media screen and (max-width: 680px) {
    .site-header__inner {
        height: 60px;
    }

    .site-header__nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--color-paper-base);
        border-bottom: 1px solid var(--color-line-form);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        display: none;
    }

    .site-header__nav.is-active {
        display: block;
    }

    .site-header__nav-list {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 20px 0;
    }

    .site-header__nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .site-header__nav-link {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        max-width: 100%;
        margin: 0 auto;
        padding: 15px 0;
        font-size: var(--font-size-mobile-nav);
    }

    .site-header__nav-link--has-depth {
        display: flex;
        justify-content: center;
    }

    .site-header__nav-item--has-depth .site-header__depth-list {
        position: static;
        top: auto;
        left: auto;
        display: none;
        width: 100%;
        min-width: 0;
        max-width: 240px;
        margin: 0 auto 8px;
        padding: 4px 8px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .site-header__nav-item--has-depth:hover .site-header__depth-list,
    .site-header__nav-item--has-depth:focus-within .site-header__depth-list {
        transform: none;
    }

    .site-header__nav-item--has-depth.is-open .site-header__depth-list {
        display: block;
        transform: none;
    }

    .site-header__nav-item--has-depth:hover .site-header__nav-arrow,
    .site-header__nav-item--has-depth:focus-within .site-header__nav-arrow {
        transform: rotate(0deg);
    }

    .site-header__nav-item--has-depth.is-open .site-header__nav-arrow {
        transform: rotate(180deg);
    }

    .site-header__nav-item--has-depth:not(.is-open) > .site-header__nav-link::after {
        transform: scaleX(0);
    }

    .site-header__nav-item--has-depth.is-open > .site-header__nav-link::after {
        transform: scaleX(1);
    }

    .site-header__depth-link {
        padding: 10px 12px;
        font-size: 1.4rem;
    }

    .site-header__menu-button {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        z-index: 11;
        background: transparent;
        border: none;
    }

    .site-header__menu-button span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--color-brand-primary);
        transition: all 0.3s ease;
    }

}

@media screen and (max-width: 480px) {

    .site-header__nav-item--has-depth .site-header__depth-list {
        max-width: 220px;
    }

    .site-header__depth-link {
        padding: 9px 10px;
        font-size: 1.3rem;
    }

}

/* ============================================================================
   Visual 섹션 반응형
   ============================================================================ */

.br-mobile {
    display: none;
}

@media screen and (max-width: 1280px) {

    .visual__text {
        width: 52%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .visual__title {
        white-space: nowrap;
    }

}

@media screen and (max-width: 1200px) {

    .visual {
        min-height: auto;
        padding: 96px 0 40px;
    }

    .visual__object {
        margin-top: 0;
    }

    .visual__line {
        --visual-line-tile-width: 1673px;
        width: 180%;
        height: 92px;
        left: -40%;
        background-size: var(--visual-line-tile-width) 100%;
    }

    .visual__line--main {
        bottom: calc(8% - 10px);
    }

    .visual__line--sub {
        bottom: calc(6% - 10px);
    }

    .visual__text {
        width: 65%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .visual__copy-en {
        margin-bottom: 30px;
    }

    .visual__decoration--polaroid {
        left: 2%;
        width: 28%;
    }

    .visual__decoration--memo {
        right: 2%;
    }

}

@media screen and (max-width: 1024px) {

    .visual__line {
        --visual-line-tile-width: 1564px;
        width: 175%;
        height: 86px;
        left: -37.5%;
        background-size: var(--visual-line-tile-width) 100%;
    }

    .visual__line--main {
        bottom: calc(8% - 12px);
    }

    .visual__line--sub {
        bottom: calc(6% - 12px);
    }

}

@media screen and (max-width: 900px) {

    .visual {
        padding: 88px 0 32px;
    }

    .visual__line {
        --visual-line-tile-width: 1418px;
        width: 170%;
        height: 78px;
        left: -35%;
        background-size: var(--visual-line-tile-width) 100%;
    }

    .visual__line--main {
        bottom: calc(8% - 12px);
    }

    .visual__line--sub {
        bottom: calc(6% - 12px);
    }

    .visual__text {
        width: 75%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .visual__copy-en {
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 680px) {

    .visual__line {
        --visual-line-tile-width: 1200px;
        width: 160%;
        height: 66px;
        left: -30%;
        background-size: var(--visual-line-tile-width) 100%;
        opacity: 0.86;
    }

    .visual__line--main {
        bottom: calc(10% - 12px);
    }

    .visual__line--sub {
        bottom: calc(7% - 12px);
    }

    .visual {
        padding-top: 80px;
        padding-bottom: 28px;
        min-height: auto;
        display: block;
    }

    .visual__title {
        letter-spacing: 0;
        white-space: nowrap;
    }

    .visual__copy-en {
        margin-bottom: 24px;
        white-space: nowrap;
    }

    .visual__text {
        width: 85%;
        left: 50%;
        top: 48%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .visual__divider {
        margin: 15px auto;
        width: 60%;
        max-width: 340px;
    }

    .visual__decoration--polaroid,
    .visual__decoration--case-label {
        opacity: 0.3;
        left: 0%;
        z-index: calc(var(--z-content) - 1);
    }

    .visual__decoration--memo {
        width: 30%;
        right: 2%;
        top: 2%;
    }

    .visual__decoration--stamp-secret {
        width: 35%;
        left: 50%;
        transform: translateX(-50%) rotate(-10deg);
        top: 8%;
        opacity: 0.4;
        z-index: calc(var(--z-content) - 1);
    }

    .visual__paper-note,
    .visual__decoration--portfolio-label {
        display: none;
    }

    .visual__decoration--stamp-evidence {
        bottom: 13%;
        right: 11%;
    }

}

@media screen and (max-width: 550px) {
    .visual__copy-en {
        margin-bottom: 22px;
        letter-spacing: -0.5px;
    }

    .visual__copy-ko {
        line-height: 1.5;
    }

    .br-mobile {
        display: block;
    }

}

@media screen and (max-width: 480px) {

    .visual__line {
        --visual-line-tile-width: 1091px;
        width: 155%;
        height: 60px;
        left: -27.5%;
        background-size: var(--visual-line-tile-width) 100%;
        opacity: 0.8;
    }

    .visual__line--main {
        bottom: calc(12% - 12px);
    }

    .visual__line--sub {
        bottom: calc(9% - 12px);
    }

    .visual {
        padding-top: 72px;
        padding-bottom: 24px;
    }

    .visual__copy-en {
        margin-bottom: 20px;
    }
}

/* ============================================================================
   Profile 섹션 반응형
   ============================================================================ */

@media screen and (max-width: 1200px) {

    .profile {
        padding: 44px 18px;
        align-items: center;
    }

    .profile__file {
        width: 100%;
        height: auto;
        min-height: auto;
        box-sizing: border-box;
        padding: clamp(18px, 2.4vw, 30px) clamp(18px, 2.6vw, 32px) clamp(28px, 3.4vw, 42px);
        background-color: var(--color-paper-folder);
        background-repeat: no-repeat;
        background-size: 120% 120%;
        background-position: center center;
    }

    .profile__paper-layer {
        transform-origin: center center;
    }

    .profile__paper-layer--1 {
        position: absolute;
        z-index: 1;
        width: calc(100% - 67px);
        height: calc(100% - 72px);
        left: 52px;
        top: 21px;
        transform: rotate(3deg) translate(-9px, 10px);
    }

    .profile__paper-layer--2 {
        position: absolute;
        z-index: 2;
        width: calc(100% - 60px);
        height: calc(100% - 70px);
        left: 22px;
        top: 38px;
        transform: rotate(-3.4deg) translate(9px, -4px);
    }

    .profile__paper-layer--3 {
        position: relative;
        width: calc(100% - 0px);
        height: auto;
        min-height: clamp(550px, 52vw, 620px);
        left: 5px;
        top: 0;
    }

    .profile__header {
        flex-direction: row;
        align-items: baseline;
        gap: clamp(12px, 2vw, 20px);
        padding: clamp(24px, 3vw, 32px) clamp(24px, 4vw, 40px) 12px;
    }

    .profile__title {
        font-size: clamp(25px, 3.1vw, 3.2rem);
        white-space: nowrap;
    }

    .profile__file-no {
        font-size: clamp(12px, 1.45vw, 1.5rem);
        white-space: nowrap;
    }

    .profile__tabs {
        margin: 0 clamp(24px, 4vw, 40px);
    }

    .profile__panels {
        padding: 20px clamp(36px, 3.8vw, 46px) 40px;
    }

    .profile-panel,
    .profile__content-inner {
        height: auto;
    }

    .profile__content-inner--profile {
        grid-template-columns: minmax(220px, 0.75fr) minmax(280px, 0.8fr) minmax(300px, 1.25fr);
        grid-template-areas:
            "photo info-main skills"
            "intro intro skills";
        grid-template-rows: auto auto;
        column-gap: clamp(20px, 1.5vw, 26px);
        row-gap: clamp(8px, 1vw, 14px);
        align-items: start;
        align-content: start;
        justify-content: stretch;
        height: auto;
        padding-top: 0;
    }

    .profile__photo {
        grid-area: photo;
        width: 100%;
        max-width: clamp(240px, 23vw, 310px);
        height: auto;
        margin: 0;
        justify-self: start;
        align-self: start;
        box-sizing: border-box;
    }

    .profile__info {
        display: contents;
    }

    .profile__info > .profile-card__title {
        grid-area: info-main;
        align-self: start;
        margin-bottom: 0;
    }

    .profile__info .profile-table {
        grid-area: info-main;
        max-width: 360px;
        margin-top: clamp(40px, 3.8vw, 48px);
        margin-bottom: 0;
        align-self: start;
    }

    .profile__info .profile-table th,
    .profile__info .profile-table td {
        padding: clamp(5px, 0.9vw, 5px) 0;
    }

    .profile-table th {
        width: clamp(64px, 10vw, 86px);
    }

    .profile__intro {
        grid-area: intro;
        width: 100%;
        max-width: none;
        margin-top: 0;
        line-height: 1.65;
        padding-left: 20px;
    }

    .profile__intro br {
        display: none;
    }

    .profile__intro strong {
        font-size: 1.6rem;
    }

    .profile__skills-license {
        grid-area: skills;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: clamp(22px, 2.5vw, 34px);
        width: 100%;
        min-width: 0;
        margin-top: 0;
    }

    .profile-skill {
        position: static;
        width: 100%;
        max-width: none;
    }

    .profile-skill .profile-card__title {
        padding-left: 0;
        margin-bottom: clamp(10px, 1.4vw, 14px);
    }

    .profile-skill .deco-star {
        margin-left: 4px;
    }

    .profile-skill__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px 10px;
    }

    .profile-skill__list li {
        min-inline-size: 0;
        gap: 5px;
        font-size: clamp(12px, 1.1vw, 1.3rem);
        line-height: 1.25;
        word-break: keep-all;
    }

    .profile-skill__list img {
        height: clamp(30px, 3.1vw, 40px);
    }

    .profile-license {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(100%, 245px);
        max-width: 245px;
        margin: clamp(18px, 2.5vw, 30px) auto 0;
    }

    .profile-license::before {
        display: block;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
    }

    .profile-license::after {
        inset: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .profile-license__list {
        margin-left: 0;
    }

    .profile-license__list li {
        font-size: clamp(12px, 1.35vw, 1.4rem);
        line-height: 1.5;
        margin-bottom: 4px;
        padding-left: 20px;
    }

    .profile__content-inner--background::after {
        display: none;
    }

    .profile__content-inner--trait {
        grid-template-columns: minmax(0, 48%) minmax(0, 52%);
        gap: clamp(24px, 3vw, 36px);
        align-items: start;
    }

    .profile__content-inner--trait::before {
        display: block;
        left: calc(48% + 15px);
    }

    .profile__content-inner--trait::after {
        display: block;
        left: calc(48% + 15px);
    }

    .profile__trait-right {
        min-inline-size: 0;
        overflow: visible;
        position: relative;
        padding-bottom: 0;
    }

    .profile__strength-list {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: clamp(12px, 1.8vw, 22px);
        row-gap: 0;
        min-inline-size: 0;
        overflow: visible;
    }

    .profile__strength-item {
        min-inline-size: 0;
        overflow: visible;
        min-height: auto;
        padding-bottom: clamp(6px, 0.8vw, 9px);
        margin-bottom: clamp(6px, 0.8vw, 9px);
    }

    .profile__strength-title {
        margin-bottom: 4px;
    }

    .profile__strength-desc {
        max-width: 100%;
        word-break: keep-all;
        overflow-wrap: break-word;
        line-height: 1.45;
    }

    .stamp-verified {
        height: clamp(38px, 4.5vw, 56px);
        right: clamp(4px, 1.4vw, 16px);
        bottom: clamp(6px, 1vw, 14px);
    }

    .profile__trace-record {
        padding: 18px 110px 16px 0px;
    }

    .profile__timeline-item {
        grid-template-columns: 116px minmax(0, 1fr);
        column-gap: 16px;
    }

    .profile__timeline-item .date {
        font-size: 1.4rem;
    }

    .profile__trace-right {
        top: 105px;
        width: 190px;
    }

}

@media screen and (max-width: 1200px) and (min-width: 1001px) {
    .profile__photo {
        max-width: clamp(200px, 19vw, 220px);
        justify-self: center;
        align-self: center;
    }
}

@media screen and (max-width: 1100px) {

    .profile__file {
        background-size: 120% 120%;
        background-position: center center;
    }

}

@media screen and (max-width: 1024px) {

    .profile__file {
        background-size: 120% 120%;
        background-position: center center;
    }

    .profile__paper-layer--1 {
        width: calc(100% - 58px);
        height: calc(100% - 68px);
        left: 38px;
        top: 19px;
        transform: rotate(2.2deg) translate(-7px, 8px);
    }

    .profile__paper-layer--2 {
        width: calc(100% - 52px);
        height: calc(100% - 66px);
        left: 20px;
        top: 34px;
        transform: rotate(-2.6deg) translate(7px, -3px);
    }

    .profile__paper-layer--3 {
        width: calc(100% - 0px);
        left: 4px;
    }

    .profile__content-inner--profile {
        grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
        grid-template-areas:
            "photo info"
            "skills skills";
        grid-template-rows: auto auto;
        column-gap: clamp(22px, 3vw, 34px);
        row-gap: clamp(18px, 2vw, 26px);
        align-items: start;
        align-content: start;
    }

    .profile__photo {
        grid-area: photo;
        width: 100%;
        max-width: none;
        aspect-ratio: 4 / 5;
        height: auto;
        margin: 0;
        align-self: center;
        justify-self: stretch;
        box-sizing: border-box;
    }

    .profile__info {
        display: block;
        grid-area: info;
        min-inline-size: 0;
        width: 100%;
        padding-left: 0;
    }

    .profile__info > .profile-card__title {
        margin-bottom: 0;
    }

    .profile__info .profile-table {
        max-width: 100%;
        margin-top: clamp(18px, 2.2vw, 24px);
        margin-bottom: 10px;
    }

    .profile__intro {
        width: 100%;
        max-width: none;
        margin-top: 0;
        padding-left: 0;
        line-height: 1.55;
    }

    .profile__intro br {
        display: none;
    }

    .profile__skills-license {
        grid-area: skills;
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1.08fr) minmax(230px, 0.72fr);
        gap: clamp(22px, 3vw, 36px);
        align-items: start;
        margin-top: clamp(10px, 1.8vw, 18px);
    }

    .profile-skill__list {
        gap: clamp(12px, 1.8vw, 16px) clamp(8px, 1.2vw, 12px);
    }

    .profile-skill__list li {
        font-size: clamp(12px, 1.25vw, 1.3rem);
    }

    .profile-license {
        width: min(100%, 270px);
        max-width: 270px;
        margin: 18px auto 0;
        justify-self: center;
    }

    .profile__trace-right {
        top: 210px;
        width: 130px;
    }

}

@media screen and (max-width: 900px) {

    .profile__header {
        padding: 30px 30px 10px;
    }

    .profile__tabs {
        margin: 0 30px;
    }

    .profile__panels {
        padding: 24px 30px;
    }

    .profile__content-inner--trait {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profile__content-inner--trait::before,
    .profile__content-inner--trait::after {
        display: none !important;
    }

    .trait-icon {
        height: clamp(28px, 6vw, 40px);
        margin-bottom: 8px;
    }

    .trait-card:nth-child(4) .trait-icon {
        height: clamp(24px, 5.5vw, 36px);
    }

    .profile__trait-left {
        position: relative;
        padding-bottom: 42px;
        margin-bottom: 34px;
        border-right: 0;
        border-bottom: 0;
    }

    .profile__trait-left::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -16px;
        height: 1px;
        background: linear-gradient(
        to right,
        var(--color-scroll-thumb) 0%,
        var(--color-scroll-thumb) 35%,
        transparent 35%,
        transparent 63%,
        var(--color-scroll-thumb) 63%,
        var(--color-scroll-thumb) 100%
        );
    }

    .profile__trait-left::after {
        content: "ANALYSIS RECORD";
        position: absolute;
        left: 50%;
        bottom: -23px;
        transform: translateX(-50%);
        padding: 0 10px;
        background-color: var(--color-paper-base);
        font-family: var(--font-label);
        font-size: 1rem;
        letter-spacing: 0.08em;
        color: var(--color-line-brown-text);
        white-space: nowrap;
    }

    .profile__trait-right {
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
    }

    .profile__strength-list {
        grid-template-columns: 50% 50%;
        gap: 0;
    }

    .profile__strength-item {
        min-height: 66px;
        padding-bottom: 12px;
        margin-bottom: 0;
    }

    .profile__strength-title {
        margin-bottom: 5px;
    }

    .profile__strength-desc {
        overflow-wrap: normal;
        line-height: 1.55;
    }

    .stamp-verified {
        position: relative;
        height: clamp(48px, 12vw, 68px);
        margin: 20px 0 0 auto;
        right: auto;
        bottom: auto;
        align-self: flex-end;
    }

    .profile__content-inner--trace {
        grid-template-columns: 1fr;
    }

    .profile__trace-left {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .profile__content-inner--background {
        grid-template-columns: 1fr;
    }

    .profile__bg-left {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px dotted rgba(0,0,0,0.1);
        padding-bottom: 30px;
    }

    .profile__bg-right {
        padding-left: 0;
    }

    .profile__trace-card::before {
        background-size: cover;
    }

    .profile__trace-info {
        margin: 0 auto;
    }

    .profile__trace-info::after {
        display: none;
    }

    .profile__trace-photo {
        width: 162px;
        bottom: -1px;
    }

    .profile__trace-right {
        top: 160px;
        width: 160px;
    }

}

@media screen and (max-width: 899px) {

    .profile__file {
        background-size: 120% 120%;
        background-position: center center;
    }

    .profile__paper-layer--1 {
        width: calc(100% - 48px);
        height: calc(100% - 58px);
        left: 24px;
        top: 16px;
        transform: rotate(1.4deg) translate(-4px, 6px);
    }

    .profile__paper-layer--2 {
        width: calc(100% - 42px);
        height: calc(100% - 56px);
        left: 14px;
        top: 28px;
        transform: rotate(-1.7deg) translate(5px, -2px);
    }

    .profile__paper-layer--3 {
        width: calc(100% - 0px);
        left: 3px;
    }

    .profile__tabs {
        margin: 0 clamp(20px, 4vw, 32px);
    }

    .profile__panels {
        padding: 24px 24px 32px;
    }

}

@media screen and (max-width: 768px) {

    .profile__content-inner--profile {
        grid-template-columns: minmax(230px, 0.85fr) minmax(0, 1.15fr);
        grid-template-areas:
            "photo info-main"
            "photo intro"
            "skills skills";
        grid-template-rows: auto auto auto;
        column-gap: clamp(22px, 4vw, 32px);
        row-gap: clamp(8px, 1.6vw, 14px);
        align-items: start;
        align-content: start;
    }

    .profile__photo {
        grid-area: photo;
        width: 100%;
        max-width: none;
        aspect-ratio: 4 / 5;
        height: auto;
        margin: 0;
        align-self: center;
        justify-self: start;
        box-sizing: border-box;
    }

    .profile__info {
        display: contents;
        min-inline-size: 0;
        width: 100%;
    }

    .profile__info > .profile-card__title {
        grid-area: info-main;
        align-self: start;
        margin-bottom: 0;
    }

    .profile__info .profile-table {
        grid-area: info-main;
        max-width: 100%;
        margin-top: clamp(36px, 4.5vw, 44px);
        margin-bottom: 0;
        align-self: start;
    }

    .profile__intro {
        grid-area: intro;
        width: 100%;
        max-width: none;
        margin-top: 8px;
        padding-left: 0;
    }

    .profile__intro-text--pc {
        display: none;
    }

    .profile__intro-text--mobile {
        display: block;
    }

    .profile__skills-license {
        grid-area: skills;
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        gap: clamp(32px, 5vw, 44px);
        width: 100%;
        margin-top: 0;
    }

    .profile-skill {
        width: 100%;
        max-width: none;
    }

    .profile-license {
        width: 100%;
        max-width: 560px;
        margin: 4px auto 44px;
        justify-self: center;
    }

}

@media screen and (max-width: 767px) {

    .profile__file {
        padding: 0;
        background-color: transparent;
        background-size: 1264px;
        background-position: -24px -31px;
    }

    .profile__paper-layer {
        width: calc(100% - 20px);
        height: 100%;
        left: 10px;
        top: 10px;
        transform: none;
    }

    .profile__paper-layer--1 {
        width: calc(100% - 10px);
        height: 100%;
        left: 5px;
        top: 5px;
        transform: none;
    }

    .profile__paper-layer--2 {
        width: calc(100% - 15px);
        height: 100%;
        left: 7px;
        top: 7px;
        transform: none;
    }

    .profile__paper-layer--3 {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 0;
        left: 0;
        top: 0;
        transform: none;
    }

}

@media screen and (max-width: 700px) {

    .profile__content-inner--profile {
        grid-template-columns: minmax(170px, 0.85fr) minmax(0, 1.15fr);
        grid-template-areas:
            "photo info-main"
            "photo intro"
            "skills skills";
        grid-template-rows: auto auto auto;
        column-gap: clamp(16px, 4vw, 24px);
        row-gap: clamp(8px, 2vw, 14px);
        align-items: start;
        align-content: start;
    }

    .profile__photo {
        grid-area: photo;
        width: 100%;
        max-width: clamp(180px, 36vw, 240px);
        aspect-ratio: 4 / 5;
        height: auto;
        margin: 0;
        justify-self: start;
        box-sizing: border-box;
    }

    .profile__info {
        display: contents;
    }

    .profile__info > .profile-card__title {
        grid-area: info-main;
        align-self: start;
        margin-bottom: 0;
    }

    .profile__info .profile-table {
        grid-area: info-main;
        max-width: 100%;
        margin-top: clamp(34px, 5vw, 42px);
        margin-bottom: 0;
        align-self: start;
    }

    .profile__intro {
        grid-area: intro;
        width: 100%;
        max-width: none;
        margin-top: 8px;
        padding-left: 0;
    }

    .profile__skills-license {
        grid-area: skills;
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        gap: clamp(32px, 5vw, 44px);
        width: 100%;
        margin-top: 0;
    }

}

@media screen and (max-width: 680px) {

    .profile__header {
        padding: 25px 20px 10px;
        flex-direction: column;
        gap: 5px;
    }

    .profile__tabs {
        width: calc(100% - 48px);
        margin: 0 24px;
        overflow: visible;
    }

    .profile__tabs::after {
        height: 8px;
        border-top-width: 2px;
    }

    .profile-tab {
        height: 36px;
        padding: 0 8px;
        transform: none;
    }

    .profile-tab:not(.is-active) {
        transform: none;
    }

    .profile-tab:not(.is-active)::before {
        transform: translateY(5px);
    }

    .profile-tab.is-active {
        transform: translateY(-3px);
    }

    .profile-tab::before {
        clip-path: polygon(
            0 0,
            calc(100% - 8px) 0,
            100% 100%,
            0 100%
        );
    }

    .profile-tab__label {
        z-index: 7;
    }

    .profile-tab__label--full {
        display: none;
    }

    .profile-tab__label--short {
        display: inline-flex;
    }

    .profile__content-inner--profile {
        grid-template-columns: minmax(170px, 0.85fr) minmax(0, 1.15fr);
        grid-template-areas:
            "photo info-main"
            "photo intro"
            "skills skills";
        grid-template-rows: auto auto auto;
        column-gap: clamp(16px, 4vw, 24px);
        row-gap: clamp(8px, 2vw, 14px);
        align-items: start;
        align-content: start;
    }

    .profile__photo {
        grid-area: photo;
        width: 100%;
        max-width: clamp(180px, 36vw, 240px);
        height: auto;
        margin: 0;
        justify-self: start;
        box-sizing: border-box;
    }

    .profile__info {
        display: contents;
    }

    .profile__info > .profile-card__title {
        grid-area: info-main;
        align-self: start;
        margin-bottom: 0;
    }

    .profile__info .profile-table {
        grid-area: info-main;
        max-width: 100%;
        margin-top: clamp(34px, 5vw, 42px);
        margin-bottom: 0;
        align-self: start;
    }

    .profile__intro {
        grid-area: intro;
        width: 100%;
        max-width: none;
        margin-top: 4px;
        padding-left: 0;
    }

    .profile__intro-text--mobile,
    .profile__intro-text--mobile strong {
        font-size: 1.3rem;
    }

    .profile__skills-license {
        grid-area: skills;
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        gap: clamp(32px, 5vw, 44px);
        width: 100%;
        margin-top: 0;
    }


    .profile-skill {
        width: 100%;
        max-width: none;
    }

    .profile-skill__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px 8px;
    }

    .profile-skill__list li {
        font-size: 1.2rem;
    }

    .profile-skill__list img {
        height: clamp(28px, 3.7vw, 34px);
    }

    .profile-license {
        width: 100%;
        max-width: 560px;
        margin: 4px auto 44px;
        justify-self: center;
        padding: 14px clamp(18px, 4vw, 28px);
    }

    .profile-license::after {
        inset: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .profile-license__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 18px;
        margin-left: 0;
    }

    .profile-license__list li {
        font-size: 1.3rem;
        margin-bottom: 0;
        line-height: 1.55;
        padding-left: 20px;
    }

    .profile__panels {
        padding: 20px 28px 12px;
        max-height: none;
        overflow: visible;
        scrollbar-gutter: auto;
        position: relative;
    }

    .profile.is-scrolltrigger-ready .profile__panels {
        height: min(680px, 72vh);
        max-height: min(680px, 72vh);
        overflow: hidden;
        position: relative;
    }

    .profile.is-scrolltrigger-ready .profile-panel.is-active {
        animation: none;
    }

    .profile.is-scrolltrigger-ready .profile__content-inner {
        backface-visibility: hidden;
        transform-style: preserve-3d;
    }

    .profile.is-scrolltrigger-ready .profile-panel.is-active .profile__content-inner {
        will-change: transform;
    }

    .trait-icon {
        height: clamp(24px, 7vw, 34px);
        width: auto;
        max-width: clamp(24px, 9vw, 36px);
    }

    .trait-card:nth-child(4) .trait-icon {
        height: clamp(20px, 6vw, 30px);
        max-width: clamp(20px, 8vw, 32px);
    }

    .profile-skill__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 5px;
    }

    .profile__trait-grid,
    .profile__bg-grid {
        grid-template-columns: 1fr;
    }

    .trait-card {
        left: 4%;
        --trait-mid-x: 48%;
        --trait-back-w: 98%;
        --trait-back-x: 53%;
        --trait-back-y: -7px;
    }

    .trait-card:nth-child(1),
    .trait-card:nth-child(2),
    .trait-card:nth-child(3),
    .trait-card:nth-child(4) {
        transform: rotate(0deg);
    }

    .profile__timeline-item {
        flex-direction: column;
        gap: 5px;
    }

    .deco-star {
        display: none;
    }

    .profile-skill .deco-star {
        display: inline-block;
        width: 18px;
        height: auto;
        margin-left: 4px;
        transform: none;
    }

    .profile-license::before {
        display: block;
        width: 80px;
        height: 24px;
        top: -14px;
        left: 50%;
        transform: translateX(-50%);
    }

    .deco-clip-top-right {
        display: block;
        width: 70px;
        height: auto;
        top: -26px;
        right: 8px;
        pointer-events: none;
        z-index: 30;
    }

    .profile__strength-list {
        display: block;
    }

    .profile__strength-item:nth-child(even) {
        border-left: none;
        padding-left: 0;
    }

    .profile__content-inner--trace {
        padding-bottom: 50px;
    }

    .profile__trace-photo {
        width: 130px;
        bottom: 18px;
    }

    .profile__trace-record {
        padding: 18px 90px 16px 0px;
    }

    .profile__timeline::before {
        left: 29px;
    }

    .profile__timeline-item {
        grid-template-columns: 108px minmax(0, 1fr);
    }

    .profile__timeline-item::before {
        left: 25px;
    }

    .profile__trace-right {
        top: 259px;
        right: -7px;
        width: 105px;
    }

}

@media screen and (max-width: 550px) {

    .profile__content-inner--profile {
        grid-template-columns: 1fr;
        grid-template-areas:
            "photo"
            "info"
            "skills";
        gap: clamp(24px, 5vw, 32px);
    }

    .profile__photo {
        grid-area: photo;
        width: min(100%, 340px);
        max-width: 340px;
        aspect-ratio: 4 / 5;
        height: auto;
        justify-self: center;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .profile__info {
        display: block;
        grid-area: info;
        width: 100%;
    }

    .profile__info > .profile-card__title {
        margin-bottom: 3px;
    }

    .profile__info .profile-table {
        max-width: 100%;
        margin-bottom: 12px;
        margin-top: 10px;
    }

    .profile__info .profile-table th,
    .profile__info .profile-table td {
        padding: 8px;
    }

    .profile-table th {
        width: 80px;
    }

    .profile__intro {
        width: 100%;
        max-width: none;
        margin-top: 0;
    }

    .profile__intro-text--mobile,
    .profile__intro-text--mobile strong {
        font-size: 1.5rem;
    }

    .profile__skills-license {
        grid-area: skills;
        grid-column: 1;
        width: 100%;
    }

    .profile__trace-photo,
    .profile__trace-right {
        display: none;
    }

    .profile__trace-record {
        padding: 18px 15px 16px;
    }

    .profile__timeline::before {
        left: 16px;
    }

    .profile__timeline-item {
        grid-template-columns: 83px minmax(0, 1fr);
        gap: 12px;
    }

    .profile__timeline-item::before {
        left: 12.3px;
    }

    .profile__timeline-item .date {
        font-size: 1.2rem;
    }

    .profile__timeline-item .desc {
        font-size: 1.4rem;
    }

}

@media screen and (max-width: 480px) {

    .deco-clip,
    .deco-arrow,
    .deco-pin {
        display: none !important;
    }

    .profile-skill .deco-star {
        width: 16px;
    }

    .profile-license::before {
        width: 72px;
        height: 22px;
        top: -12px;
    }

    .deco-clip-top-right {
        width: 56px;
        top: -20px;
        right: 4px;
    }

    .profile__header {
        padding: 20px 22px 10px;
    }

    .profile__tabs {
        width: calc(100% - 40px);
        margin: 0 20px;
    }

    .profile__tabs::after {
        height: 7px;
    }

    .profile-tab {
        height: 34px;
        padding: 0 5px;
        transform: none;
    }

    .profile-tab:not(.is-active) {
        transform: none;
    }

    .profile-tab:not(.is-active)::before {
        transform: translateY(4px);
    }

    .profile-tab.is-active {
        transform: translateY(-2px);
    }

    .profile__panels {
        padding: 20px 22px 10px;
    }

    .profile-license {
        max-width: 100%;
        margin-bottom: 36px;
        transform: none;
    }

    .profile-license__list {
        grid-template-columns: 1fr;
    }

    .profile__info .profile-table {
        max-width: 100%;
    }

    .profile__info .profile-table th,
    .profile__info .profile-table td {
        padding: 8px 0;
    }

    .profile-license__list li {
        font-size: 1.4rem;
    }

    .profile__timeline::before {
        left: 8px;
    }

    .profile__timeline-item {
        padding-left: 24px;
        display: block;
        margin-bottom: 8px;
    }

    .profile__timeline-item::before {
        left: 4.3px;
    }

    .profile__timeline-item .date {
        text-align: left;
        display: block;
        font-size: 1.1rem;
    }

}

/* Profile BACKGROUND responsive */

@media screen and (max-width: 1115px) {

    .profile__content-inner--background {
        grid-template-columns: minmax(340px, 0.86fr) 18px minmax(0, 1.14fr);
        gap: 8px;
        align-items: center;
        height: auto;
        padding: 8px 0 12px;
    }

    .profile__bg-left,
    .profile__bg-right {
        min-width: 0;
    }

    .profile__bg-left {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .profile__education-stack {
        top: -4px;
        width: calc(100% - 32px);
        max-width: 360px;
        margin: 12px auto 0;
    }

    .profile__education-paper--back {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        bottom: -5px;
        left: 6px;
    }

    .profile__education-wrapper {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 395px;
        margin: 0 auto;
        padding: 20px 18px 22px;
    }

    .profile__education-wrapper .profile-table {
        width: 100%;
        max-width: 100%;
        table-layout: fixed;
    }

    .profile__education-wrapper .profile-table th,
    .profile__education-wrapper .profile-table td {
        padding-right: 8px;
        padding-left: 8px;
    }

    .profile__education-status {
        max-width: 100%;
        padding-left: 10px;
        box-sizing: border-box;
    }

    .profile__education-status .status-label,
    .profile__education-status p {
        font-size: 1.4rem;
    }

    .profile__education-status p {
        overflow-wrap: break-word;
    }

    .profile__education-wrapper .deco-clip {
        height: 90px;
        top: -34px;
    }

    .profile__education-status .deco-arrow {
        left: -42px;
        top: -40px;
        height: 76px;
    }

    .profile__bg-divider {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 395px;
        margin: 0;
        align-self: stretch;
    }

    .profile__bg-divider::before {
        left: 50%;
        right: auto;
        top: 0;
        bottom: 0;
        width: 1px;
        height: auto;
        transform: none;
        background: linear-gradient(
            to bottom,
            var(--color-line-brown-soft) 0%,
            var(--color-line-brown-soft) 33%,
            transparent 33%,
            transparent 66%,
            var(--color-line-brown-soft) 66%,
            var(--color-line-brown-soft) 100%
        );
    }

    .profile__bg-divider::after {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) rotate(-90deg);
        padding: 0 8px;
        background-color: var(--color-paper-base);
    }

    .profile__bg-right {
        width: 100%;
        margin-top: -18px;
        padding: 0;
    }

    .profile__bg-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    .profile__bg-grid > * {
        min-width: 0;
    }

    .background-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 0;
        min-height: 330px;
        height: auto;
        padding: 12px 8px 14px;
        overflow-wrap: break-word;
    }

    .background-card .profile-card__title {
        font-size: 1.6rem;
    }

    .background-card .profile-card__body {
        flex: 1 1 auto;
        margin-bottom: 12px;
        font-size: 1.4rem;
        line-height: 1.55;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .background-card .profile-card__tags {
        position: static;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        margin-top: auto;
        gap: 6px;
    }

    .background-card .tag {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        max-width: 100%;
        min-width: 0;
        font-size: 1.4rem;
        line-height: 1.2;
        white-space: nowrap;
    }

}

@media screen and (max-width: 1024px) {

    .profile__content-inner--background {
        grid-template-columns: minmax(330px, 0.9fr) 18px minmax(0, 1.1fr);
        gap: 6px;
        align-items: center;
        height: auto;
        padding: 8px 0 12px;
    }

    .profile__bg-left {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .profile__education-stack {
        top: -4px;
        width: calc(100% - 32px);
        max-width: 360px;
        margin: 12px auto 0;
    }

    .profile__education-paper--back {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        bottom: -5px;
        left: 6px;
    }

    .profile__education-wrapper {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 395px;
        margin: 0 auto;
        padding: 20px 18px 22px;
    }

    .profile__education-wrapper .profile-table {
        width: 100%;
        max-width: 100%;
    }

    .profile__education-wrapper .profile-table th,
    .profile__education-wrapper .profile-table td {
        padding-right: 8px;
        padding-left: 8px;
    }

    .profile__education-status {
        max-width: 100%;
        padding-left: 10px;
        box-sizing: border-box;
    }

    .profile__education-status p {
        overflow-wrap: break-word;
    }

    .profile__education-wrapper .deco-clip {
        height: 90px;
        top: -34px;
    }

    .profile__education-status .deco-arrow {
        left: -42px;
        top: -40px;
        height: 76px;
    }

    .profile__bg-divider {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 395px;
        margin: 0;
        align-self: stretch;
    }

    .profile__bg-divider::before {
        left: 50%;
        right: auto;
        top: 0;
        bottom: 0;
        width: 1px;
        height: auto;
        transform: none;
        background: linear-gradient(
            to bottom,
            var(--color-line-brown-soft) 0%,
            var(--color-line-brown-soft) 33%,
            transparent 33%,
            transparent 66%,
            var(--color-line-brown-soft) 66%,
            var(--color-line-brown-soft) 100%
        );
    }

    .profile__bg-divider::after {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) rotate(-90deg);
        padding: 0 8px;
        background-color: var(--color-paper-base);
    }

    .profile__bg-right {
        width: 100%;
        min-width: 0;
        margin-top: -18px;
        padding: 0;
    }

    .profile__bg-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
    }

    .profile__bg-grid > * {
        min-width: 0;
    }

    .background-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 0;
        min-height: 330px;
        height: auto;
        padding: 12px 6px 14px;
        overflow-wrap: break-word;
    }

    .background-card .profile-card__body {
        flex: 1 1 auto;
        margin-bottom: 12px;
        line-height: 1.55;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .background-card .profile-card__tags {
        position: static;
        margin-top: auto;
        gap: 6px;
    }

    .background-card .tag {
        white-space: nowrap;
    }

}

@media screen and (max-width: 900px) {

    .profile__content-inner--background {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        align-items: stretch;
        padding: 8px 4px 36px;
    }

    .profile__bg-left {
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
        padding: 0 0 38px;
        border: 0;
    }

    .profile__education-stack {
        width: calc(100% - 32px);
        max-width: 560px;
        margin: 14px auto 0;
    }

    .profile__education-paper--back,
    .profile__education-wrapper {
        max-width: 100%;
    }

    .profile__education-wrapper {
        padding: 22px 26px 24px;
    }

    .profile__bg-divider {
        width: 100%;
        height: 22px;
        min-height: 0;
        margin: 0 0 30px;
    }

    .profile__bg-divider::before {
        left: 0;
        right: 0;
        top: 50%;
        bottom: auto;
        width: auto;
        height: 1px;
        background: linear-gradient(
            to right,
            var(--color-line-brown-soft) 0%,
            var(--color-line-brown-soft) 36%,
            transparent 36%,
            transparent 64%,
            var(--color-line-brown-soft) 64%,
            var(--color-line-brown-soft) 100%
        );
    }

    .profile__bg-divider::after {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 0 10px;
    }

    .profile__bg-right {
        width: 100%;
        margin-top: 0;
        padding: 0 0 20px;
    }

    .profile__bg-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .background-card {
        min-height: 300px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .background-card .profile-card__tags {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

}

@media screen and (max-width: 680px) {

    .profile__content-inner--background {
        padding: 6px 0 48px;
    }

    .profile__bg-left {
        padding-bottom: 30px;
    }

    .profile__education-stack {
        width: calc(100% - 20px);
        margin-top: 12px;
    }

    .profile__education-wrapper {
        min-height: 0;
        padding: 22px 20px 26px;
    }

    .profile__education-paper--back {
        left: 7px;
    }

    .profile__bg-divider {
        margin-bottom: 24px;
    }

    .profile__experience-header {
        margin-bottom: 22px;
    }

    .profile__bg-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .background-card {
        max-width: 340px;
        min-height: 0;
        height: auto;
        margin: 0 auto;
    }

}

@media screen and (max-width: 480px) {

    .profile__content-inner--background {
        padding-bottom: 44px;
    }

    .profile__education-stack {
        width: calc(100% - 14px);
    }

    .profile__education-paper--back {
        left: 4px;
        transform: rotate(1deg);
    }

    .profile__education-wrapper {
        padding: 18px 14px 22px;
        transform: rotate(-1deg);
    }

    .profile__education-wrapper::after {
        right: auto;
        left: 50%;
        bottom: -15px;
        width: 90px;
        height: 28px;
        transform: translateX(-50%);
    }

    .profile__education-wrapper .profile-card__title {
        justify-content: center;
        margin: 0 0 13px;
    }

    .profile__education-wrapper .profile-table {
        margin-bottom: 13px;
        font-size: 1.2rem;
    }

    .profile__education-wrapper .profile-table th,
    .profile__education-wrapper .profile-table td {
        padding: 8px 6px;
    }

    .profile__education-wrapper .profile-table th:first-child,
    .profile__education-wrapper .profile-table td:first-child {
        width: 44px;
    }

    .profile__education-status {
        padding-left: 0;
    }

    .profile__education-status p {
        line-height: 1.55;
    }

    .profile__bg-divider::after {
        padding: 0 7px;
    }

    .background-card {
        max-width: 320px;
        padding-right: 12px;
        padding-left: 12px;
    }

}

@media screen and (max-width: 390px) {

    .profile-tab {
        width: 100%;
        min-inline-size: 0;
        max-width: none;
        padding-right: 5px;
        padding-left: 5px;
    }

    .profile__education-stack {
        width: calc(100% - 12px);
    }

    .profile__education-wrapper {
        padding: 16px 10px 20px;
    }

    .profile__education-wrapper .profile-card__title,
    .profile__experience-header .profile-card__title {
        font-size: 1.8rem;
    }

    .profile__education-wrapper .profile-table th,
    .profile__education-wrapper .profile-table td {
        padding: 7px 4px;
    }

    .profile__education-wrapper .profile-table th:first-child,
    .profile__education-wrapper .profile-table td:first-child {
        width: 40px;
    }

    .profile__bg-divider::after {
        content: "BACKGROUND";
    }

    .background-card {
        max-width: 100%;
    }

}

/* ============================================================================
   Project 섹션 반응형
   ============================================================================ */
@media screen and (max-width: 1380px) {

    .project-uiux__board {
        width: calc(100vw - 80px);
        max-width: 1160px;
    }

    .project-uiux__board .project__inner {
        width: 100%;
    }

    .project-uiux__board .project__inner,
    .project-uiux__content,
    .project-uiux__panel-scroll-area,
    .project-uiux__panel-wrap,
    .project-uiux__panel-track,
    .project-uiux__panel,
    .project-uiux__panel-inner,
    .project-uiux__summary,
    .project-uiux__preview {
        min-width: 0;
    }

    .project-uiux__content {
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 24px;
    }

    .project-uiux__tabs,
    .project-uiux__tab {
        width: 160px;
    }

    .project-uiux__panel-scroll-area,
    .project-uiux__panel-wrap {
        width: 100%;
    }

    .project-uiux__panel-inner {
        grid-template-columns: minmax(0, 1fr) 370px;
        gap: 28px;
        padding-right: 36px;
        padding-left: 36px;
    }

    .project-uiux__desc,
    .project-uiux__meta {
        max-width: 100%;
    }

    .project-uiux__preview {
        height: 484px;
        min-height: 0;
    }

    .project-uiux__panel:nth-child(odd) .project-uiux__preview::after {
        right: 86px;
    }

    .project-uiux__fake-scrollbar {
        right: 18px;
    }

}

@media screen and (max-width: 1280px) {

    .project-uiux__header {
        top: -58px;
        left: 50%;
        right: auto;
        width: 100%;
        transform: translateX(-50%);
        padding-left: 40px;
        gap: 36px;
    }

    .project-uiux__board {
        width: calc(100vw - 64px);
    }

    .project-uiux__content {
        grid-template-columns: 148px minmax(0, 1fr);
        gap: 20px;
    }

    .project-uiux__tabs,
    .project-uiux__tab {
        width: 148px;
    }

    .project-uiux__panel-inner {
        gap: 24px;
        padding-right: 32px;
        padding-left: 32px;
    }

    .project-uiux__preview {
        height: 484px;
        min-height: 0;
    }

    .project-uiux__actions {
        gap: 8px;
    }

    .project-uiux__button {
        min-width: 100px;
        padding: 0 12px;
    }

}

@media screen and (max-width: 1200px) {

    .project__inner {
        width: 100%;
        min-height: 650px;
    }

    .project-uiux {
        min-height: 650px;
    }
    
    .project-uiux__bg {
        height: 964px;
    }

    .project-uiux__bg-folder {
        width: 78%;
    }

    .project-uiux__bg-grid {
        left: 298px;
        width: 1305px;
        height: 831px;
    }

    .project-uiux__bg-paper {
        left: 370px;
        width: 1369px;
        height: 841px;
    }

    .project-uiux__header {
        top: -58px;
        left: 50%;
        right: auto;
        width: 100%;
        transform: translateX(-50%);
        padding-left: 32px;
    }

    .project-uiux__title {
        margin-left: 0;
    }

    .project-uiux__label {
        height: 36px;
        padding: 0 24px 0 14px;
    }

    .project-uiux__board {
        width: min(calc(100% - 48px), 1100px);
        padding: 34px 34px 38px;
    }

    .project-uiux__content {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 24px;
    }

    .project-uiux__tabs {
        width: 142px;
        gap: 10px;
    }

    .project-uiux__tab,
    .project-uiux__tab.is-active {
        width: 142px;
        height: 76px;
    }

    .project-uiux__tab.is-active::before {
        top: 50px;
        right: 67px;
        width: 14px;
        height: 14px;
    }

    .project-uiux__tab-case-label {
        font-size: 1.1rem;
    }

    .project-uiux__panel-scroll-area {
        height: 600px;
    }

    .project-uiux__panel-wrap {
        height: 100%;
        min-height: 0;
    }

    .project-uiux__fake-scrollbar {
        top: 30px;
        right: 12px;
        width: 5px;
        height: calc(100% - 60px);
    }

    .project-uiux__fake-scrollbar-thumb {
        width: 5px;
    }

    .project-uiux__panel-inner {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 28px;
        padding: 60px 34px 32px;
    }

    .project-uiux__meta div {
        grid-template-columns: 88px minmax(0, 1fr);
    }
    
    .project-uiux__meta dd {
        font-size: 1.4rem;
    }

    .project-uiux__button {
        font-size: 1.4rem;
    }

    .project-uiux__preview {
        height: 410px;
        min-height: 0;
    }

    .project-uiux__preview-pc {
        left: 0;
        right: auto;
        width: auto;
        height: 410px;
    }

    .project-uiux__preview-mobile {
        right: 0;
        top: 180px;
        bottom: auto;
        width: auto;
        height: 230px;
    }

    .project-uiux__preview--single .project-uiux__preview-pc {
        width: 288px;
        height: 410px;
    }

    .project-uiux__panel:nth-child(even) .project-uiux__preview::after {
        top: auto;
        bottom: 200px;
        right: 47px;
    }

}

@media screen and (max-width: 1024px) {

    .project-uiux__tabs {
        width: 130px;
    }
    .project-uiux__header {
        top: -50px;
        left: 50%;
        right: auto;
        width: 100%;
        transform: translateX(-50%);
        padding-left: 28px;
    }

    .project-uiux__board {
        width: calc(100% - 36px);
        padding-right: 30px;
        padding-left: 30px;
    }

    .project-uiux__content {
        grid-template-columns: 138px minmax(0, 1fr);
        gap: 20px;
    }

    .project-uiux__tab,
    .project-uiux__tab.is-active {
        width: 130px;
        height: 74px;
    }

    .project-uiux__tab.is-active::before {
        left: 47px;
    }

    .project-uiux__panel-inner {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 24px;
        padding-right: 26px;
        padding-left: 26px;
    }
    
    .project-uiux__meta div {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    .project-uiux__button {
        min-width: 87px;
    }

    .project-uiux__preview {
        height: 380px;
        min-height: 0;
    }

    .project-uiux__preview-pc {
        width: auto;
        height: 380px;
    }

    .project-uiux__preview-mobile {
        right: 0;
        top: 175px;
        bottom: auto;
        width: auto;
        height: 205px;
    }

    .project-uiux__preview--single .project-uiux__preview-pc {
        width: 267px;
        height: 380px;
    }
    
    .project-uiux__panel:nth-child(even) .project-uiux__preview::after {
        right: 44px;
        bottom: 175px;
    }

    .project-uiux__board {
        height: auto;
        min-height: 0;
    }

    .project-uiux__content {
        display: block;
    }

    .project-uiux__tabs {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        width: 100%;
        padding: 0 0 14px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
    }

    .project-uiux__tab,
    .project-uiux__tab.is-active {
        flex: 0 0 130px;
        width: 130px;
    }

    .project-uiux__tab.is-active::after {
        display: none;
    }

    .project-uiux__scroll-cue {
        top: 87px;
    }

    .project-uiux__panel-scroll-area {
        margin-top: 24px;
    }

}

@media screen and (max-width: 900px) {
    .project-uiux__fbg {
        height: 1059px;
    }

    .project-uiux {
        min-height: 920px;
        padding-top: 0;
        margin-top: -36px;
    }

    .project-uiux__bg {
        top: -97px;
        height: 884px;
    }

    .project-uiux__board {
        top: 159px;
        width: calc(100% - 32px);
        height: auto;
        margin-top: 54px;
        min-height: 0;
        padding: 30px 24px 32px;
    }

    .project-uiux__header {
        top: -48px;
        left: 50%;
        right: auto;
        width: 100%;
        transform: translateX(-50%);
        padding-left: 24px;
    }

    .project-uiux__title {
        font-size: 2.4rem;
        margin-left: 0;
    }

    .project-uiux__label {
        height: 31px;
        padding: 0 14px;
    }

    .project-uiux__content {
        display: block;
    }

    .project-uiux__tabs {
        flex-direction: row;
        gap: 8px;
        width: 100%;
        padding: 0 0 14px;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .project-uiux__tab,
    .project-uiux__tab.is-active {
        flex: 0 0 130px;
        width: 130px;
        height: 68px;
        min-height: 68px;
    }

    .project-uiux__tab.is-active::before {
        top: 43px;
    }

    .project-uiux__tab.is-active::after {
        display: none;
    }

    .project-uiux__scroll-cue {
        top: 81px;
        right: -23px;
        font-size: 1.4rem;
    }

    .project-uiux__panel-scroll-area {
        height: 571px;
        margin: 24px 0 0;
    }

    .project-uiux__panel-wrap {
        height: 100%;
        min-height: 0;
    }

    .project-uiux__fake-scrollbar {
        top: 28px;
        right: 10px;
        height: calc(100% - 56px);
    }

    .project-uiux__panel {
        height: 640px;
        min-height: 640px;
    }

    .project-uiux__panel-inner {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 24px;
        padding: 52px 28px 30px;
    }

    .project-uiux__summary {
        max-width: 100%;
    }

    .project-uiux__desc,
    .project-uiux__meta {
        max-width: 100%;
    }

    .project-uiux__button {
        min-width: 77px;
    }

    .project-uiux__preview {
        height: 360px;
        min-height: 0;
    }

    .project-uiux__preview-pc {
        left: 0;
        right: auto;
        width: auto;
        height: 360px;
    }

    .project-uiux__preview-mobile {
        right: 0;
        top: 165px;
        bottom: auto;
        width: auto;
        height: 195px;
    }

    .project-uiux__preview--single .project-uiux__preview-pc {
        width: 253px;
        height: 360px;
    }

    .project-uiux__panel:nth-child(even) .project-uiux__preview::after {
        bottom: 165px;
    }

}

@media screen and (max-width: 680px) {
    .project-uiux__fbg {
        height: 1155px;
    }

    .project-uiux__bg {
        top: -67px;
    }

    .project-uiux__bg-folder {
        top: 44px;
        height: 1096px;
    }

    .project-uiux__bg-paper {
        top: 109px;
        left: 370px;
        width: 1377px;
        height: 980px;
    }

    .project__inner {
        min-height: 0;
    }

    .project-uiux {
        min-height: 1260px;
    }

    .project-uiux__board {
        top: 112px;
        width: calc(100% - 24px);
        height: auto;
        margin-top: 47px;
        padding: 25px 16px 24px;
        min-height: 0;
    }

    .project-uiux__header {
        top: -38px;
        left: 50%;
        right: auto;
        width: 100%;
        transform: translateX(-50%);
        padding-left: 16px;
        gap: 30px;
        flex-wrap: wrap;
    }

    .project-uiux__title {
        font-size: 2.1rem;
        margin-left: 0;
    }

    .project-uiux__label {
        height: 28px;
    }

    .project-uiux__tabs {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        width: 100%;
        padding-bottom: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
    }

    .project-uiux__tab,
    .project-uiux__tab.is-active {
        flex: 0 0 130px;
        width: 130px;
        height: 64px;
        min-height: 64px;
        min-width: 130px;
    }

    .project-uiux__tab.is-active::before {
        top: 40px;
        left: auto;
        right: 62px;
    }

    .project-uiux__tab-case-label {
        font-size: 1rem;
    }

    .project-uiux__scroll-cue {
        top: 72px;
        right: -22px;
        gap: 8px;
        font-size: 1.2rem;
    }

    .project-uiux__panel-scroll-area {
        height: 715px;
        margin-top: 20px;
    }

    .project-uiux__panel-wrap {
        height: 100%;
        min-height: 0;
    }

    .project-uiux__panel {
        height: 860px;
        min-height: 860px;
    }

    .project-uiux__fake-scrollbar {
        top: 24px;
        right: 8px;
        width: 4px;
        height: calc(100% - 48px);
    }

    .project-uiux__fake-scrollbar-thumb {
        width: 4px;
    }

    .project-uiux__panel-inner {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 40px 22px 28px;
    }

    .project-uiux__summary {
        display: contents;
    }

    .project-uiux__case-label {
        order: 1;
        margin-bottom: -16px;
        border: none;
        padding: 0;
    }

    .project-uiux__panel-title {
        order: 2;
        margin-bottom: 0;
    }

    .project-uiux__preview {
        order: 3;
        width: 100%;
        height: auto;
        min-height: 0;
        margin-bottom: 0;
    }

    .project-uiux__desc {
        order: 4;
        margin-bottom: 0;
        font-size: 1.3rem;
    }

    .project-uiux__meta {
        order: 5;
        margin-bottom: 22px;
    }

    .project-uiux__meta div {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .project-uiux__meta dt,
    .project-uiux__meta dd {
        font-size: 1.2rem;
        padding: 7px 6px;
    }

    .project-uiux__actions {
        order: 6;
        gap: 7px;
    }

    .project-uiux__button {
        min-width: 82px;
        height: 44px;
        padding: 0 10px;
        font-size: 1.2rem;
    }

    .project-uiux__preview-pc {
        position: relative;
        left: auto;
        right: auto;
        width: 100%;
        max-width: none;
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .project-uiux__preview-mobile {
        right: 12px;
        top: auto;
        bottom: 0;
        width: clamp(72px, 18vw, 110px);
        max-width: 24%;
        aspect-ratio: 1 / 2;
        height: auto;
        transform: none;
    }

    .project-uiux__preview-pc img {
        object-fit: cover;
    }

    .project-uiux__preview--single {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 8px 0 12px;
    }

    .project-uiux__preview--single .project-uiux__preview-pc {
        width: min(86%, 520px);
        max-width: 520px;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .project-uiux__preview--single .project-uiux__preview-pc img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

    .project-uiux__panel:nth-child(odd) .project-uiux__preview::after {
        display: none;
    }

    .project-uiux__panel:nth-child(even) .project-uiux__preview::after {
        display: none;
    }

}

@media screen and (max-width: 480px) {
    .project-uiux__fbg {
        height: 1060px;
    }

    .project-uiux__bg-folder {
        height: 1032px;
    }
   
    .project-uiux__bg-paper {
        height: 920px;
    }

    .project-uiux {
        min-height: 1136px;
    }

    .project-uiux__board {
        top: 114px;
        width: calc(100% - 16px);
        margin-top: 36px;
        padding: 22px 12px 20px;
    }

    .project-uiux__header {
        top: -34px;
        left: 50%;
        right: auto;
        width: 100%;
        transform: translateX(-50%);
        padding-left: 12px;
    }

    .project-uiux__title {
        font-size: 1.9rem;
        margin-left: 0;
    }

    .project-uiux__label {
        padding: 0 10px;
    }

    .project-uiux__tabs {
        gap: 6px;
    }

    .project-uiux__tab,
    .project-uiux__tab.is-active {
        height: 58px;
        min-height: 58px;
        padding: 7px 8px;
    }

    .project-uiux__tab-case-label {
        font-size: 0.9rem;
    }

    .project-uiux__tab.is-active::before {
        top: 34px;
        right: 57px;
    }

    .project-uiux__scroll-cue {
        top: 66px;
        right: -15px;
    }

    .project-uiux__scroll-cue img {
        width: 25px;
    }

    .project-uiux__panel-scroll-area {
        height: 668px;
        margin-top: 18px;
    }

    .project-uiux__panel-wrap {
        height: 100%;
        min-height: 0;
    }

    .project-uiux__panel {
        height: 770px;
        min-height: 770px;
    }

    .project-uiux__panel-inner {
        padding: 38px 12px 26px;
    }

    .project-uiux__meta div {
        grid-template-columns: 74px minmax(0, 1fr);
    }

    .project-uiux__preview {
        height: auto;
        min-height: 0;
    }

    .project-uiux__preview-pc {
        width: 100%;
        height: auto;
    }

    .project-uiux__preview-mobile {
        right: 8px;
        top: auto;
        bottom: 0;
        width: clamp(68px, 18vw, 80px);
        height: auto;
    }

    .project-uiux__fake-scrollbar {
        right: 6px;
    }

    .project-uiux__preview::after {
        display: none;
    }

}

@media screen and (max-width: 390px) {

    .project-uiux__fbg {
        height: 1018px;
    }

    .project-uiux__bg-folder {
        height: 975px;
    }

    .project-uiux__bg-paper {
        height: 864px;
    }

    .project-uiux {
        min-height: 1170px;
    }

    .project-uiux__board {
        width: calc(100% - 12px);
        margin-top: 32px;
        padding: 20px 10px 18px;
    }

    .project-uiux__header {
        top: -38px;
        left: 50%;
        right: auto;
        width: 100%;
        transform: translateX(-50%);
        padding-left: 10px;
    }

    .project-uiux__label {
        height: 26px;
        padding: 0 8px;
    }

    .project-uiux__tab,
    .project-uiux__tab.is-active {
        height: 56px;
        min-height: 56px;
        padding: 6px 7px;
    }

    .project-uiux__scroll-cue {
        top: 63px;
    }

    .project-uiux__panel-scroll-area {
        height: 630px;
        margin-top: 16px;
    }

    .project-uiux__bg-grid {
        height: 799px;
    }

    .project-uiux__panel {
        height: 710px;
        min-height: 710px;
    }

    .project-uiux__panel-inner {
        padding: 36px 12px 24px;
    }

    .project-uiux__meta div {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .project-uiux__preview {
        height: auto;
        min-height: 0;
    }

    .project-uiux__preview-pc {
        width: 100%;
        height: auto;
    }

    .project-uiux__preview-mobile {
        top: auto;
        bottom: 0;
        width: 72px;
        height: auto;
    }

}

@media screen and (max-width: 360px) {

    .project-uiux__board {
        width: calc(100% - 8px);
        padding-right: 8px;
        padding-left: 8px;
    }

    .project-uiux__header {
        top: -40px;
        left: 50%;
        right: auto;
        width: 100%;
        transform: translateX(-50%);
        padding-left: 8px;
    }

    .project-uiux__title {
        font-size: 1.8rem;
        margin-left: 0;
    }

    .project-uiux__tabs {
        gap: 5px;
    }

    .project-uiux__tab,
    .project-uiux__tab.is-active {
        height: 54px;
        min-height: 54px;
        padding: 6px;
    }

    .project-uiux__tab-case-label {
        font-size: 0.8rem;
    }

    .project-uiux__tab.is-active::before {
        top: 30px;
        right: 52px;
        width: 10px;
    }

    .project-uiux__scroll-cue {
        top: 60px;
        right: -15px;
    }

    .project-uiux__panel-inner {
        padding-right: 10px;
        padding-left: 10px;
    }

    .project-uiux__meta div {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .project-uiux__meta dt,
    .project-uiux__meta dd {
        padding-right: 5px;
        padding-left: 5px;
    }

}

/* Footer / Contact responsive */

@media screen and (max-width: 1200px) {
    .site-footer {
        top: 150px;
    }

    .site-footer__inner,
    .site-footer__bottom-inner {
        width: calc(100% - 48px);
    }

    .site-footer__inner {
        gap: 56px;
    }

    .site-footer__message {
        flex-basis: 42%;
    }

    .site-footer__airplane {
        width: 138px;
        margin-right: 24px;
    }

}

@media screen and (max-width: 900px) {
    .site-footer {
        top: 80px;
    }

    .site-footer__contact {
        padding-bottom: 76px;
    }

    .site-footer__inner {
        flex-direction: column;
        align-items: center;
        gap: 64px;
    }

    .site-footer__message {
        width: 100%;
        max-width: 520px;
        text-align: center;
    }

    .site-footer__desc {
        margin-top: 34px;
    }

    .site-footer__airplane {
        display: none;
    }
    
    .site-footer__email {
        margin-top: 30px;
    }

    .contact-form {
        flex-basis: auto;
        width: 100%;
        max-width: 520px;
    }

}

@media screen and (max-width: 680px) {

    .site-footer__torn {
        height: 40px;
    }

    .site-footer__contact {
        margin-top: -28px;
        padding: 86px 0 64px;
    }

    .site-footer__inner,
    .site-footer__bottom-inner {
        width: calc(100% - 32px);
    }

    .site-footer__inner {
        gap: 48px;
    }

    .site-footer__desc {
        margin-top: 28px;
    }

    .site-footer__email {
        width: 100%;
        min-width: 0;
    }

    .contact-form {
        padding: 28px 24px 30px;
    }

    .contact-form__input,
    .contact-form__textarea,
    .contact-form__button {
        width: 100%;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        justify-content: center;
        min-height: 104px;
        gap: 12px;
        padding: 20px 0;
        text-align: center;
    }

}

@media screen and (max-width: 480px) {
    .site-footer {
        top: 32px;
    }

    .site-footer__torn {
        top: -15px;
        height: 32px;
    }

    .site-footer__contact {
        margin-top: -23px;
    }

    .site-footer__desc {
        margin-top: 22px;
    }

    .site-footer__email {
        padding-right: 16px;
        padding-left: 16px;
        font-size: 1.4rem;
    }

    .contact-form {
        padding: 24px 18px 26px;
    }

    .contact-form__field + .contact-form__field {
        margin-top: 16px;
    }

    .contact-form__textarea {
        height: 112px;
    }

}

@media screen and (max-width: 390px) {
    .site-footer {
        top: -50px;
    }
}

/* ==========================================================================
   Project UI/UX Process Modal - Responsive
   ========================================================================== */
@media screen and (max-width: 1400px) {
    .project-process-modal__dialog {
        width: 80%;
    }
}

@media screen and (max-width: 1200px) {
    .project-process-modal__dialog {
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .project-process-modal__dialog {
        width: calc(100vw - 32px);
        max-height: calc(100vh - 32px);
    }

    .project-process-modal__paper {
        max-height: calc(100vh - 32px);
        padding: 24px 20px 28px;
    }

    .project-process-modal__content {
        grid-template-columns: 1fr;
    }

    .project-process-modal__title {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    .project-process-modal__dialog {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }

    .project-process-modal__paper {
        max-height: calc(100vh - 20px);
        padding: 20px 16px 24px;
    }

    .project-process-modal__title {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 390px) {
    .project-process-modal__eyebrow {
        font-size: 1rem;
    }

    .project-process-modal__title {
        font-size: 1.5rem;
    }
}


/* ============================================================================
   Accessibility / Global Focus
   ============================================================================ */

/* 마우스 클릭 때는 과한 포커스 표시를 숨김 */
:focus {
    outline: none;
}

/* 키보드 Tab 이동 시 전체 웹페이지에서 포커스 위치 표시 */
:focus-visible {
    outline: 3px solid var(--color-accent-yellow) !important;
    outline-offset: 5px;
}

/* 입력 요소는 기존 폼 분위기를 유지하면서 포커스 강조 */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    border-color: var(--color-brand-primary);
    background-color: var(--color-white);
}

/* Project DESIGN Prev / Next 버튼 포커스 보정 */
.project-design__nav-button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    background-color: rgba(252, 199, 0, 0.16);
    color: var(--color-brand-deep);
}

.project-design__nav-button:focus-visible::after {
    content: "";
    position: absolute;
    inset: 6px;
    border: 2px solid var(--color-accent-yellow);
    pointer-events: none;
}
