/* =========================================================
   1. COMMON & RESET
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: #111;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: #111;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

section {
    padding: 100px 64px;
}

.container {
    max-width: 1280px;
    width: 100%;
    margin: auto;
}


/* =========================================================
   2. HEADER & NAVIGATION
========================================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    overflow: visible;
    padding: 34px 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    transition:
        background .35s ease,
        backdrop-filter .35s ease,
        -webkit-backdrop-filter .35s ease,
        border-color .35s ease;
}

header.active {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

header.active::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    pointer-events: none;
    z-index: -1;
}

.logo {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

nav {
    display: flex;
    gap: 44px;
}

nav a {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

nav a:hover {
    opacity: .45;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #111;
    margin: 5px auto;
    transition: .3s;
}


/* =========================================================
   3. HERO SECTION & 3D / LIGHT EFFECTS
========================================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    padding: 0;
    isolation: isolate;
}

.hero-inner {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.hero-light {
    position: absolute;
    z-index: 0;
    width: 72vw;
    height: 78vh;
    right: -14vw;
    top: 8vh;
    pointer-events: none;
    opacity: .82;
    filter: blur(52px);
    transform: translate3d(4%, 0, 0) scale(1);
    background:
        radial-gradient(
            ellipse 30% 36% at 70% 44%,
            rgba(63,84,72,.095) 0%,
            rgba(63,84,72,.065) 25%,
            rgba(63,84,72,.025) 48%,
            rgba(63,84,72,0) 72%
        ),
        radial-gradient(
            ellipse 60% 54% at 62% 48%,
            rgba(125,130,128,.095) 0%,
            rgba(145,148,146,.065) 30%,
            rgba(170,173,171,.035) 50%,
            rgba(255,255,255,0) 76%
        );
    animation: heroLightFlow 8s ease-in-out infinite alternate;
}

.hero-light::after {
    content: "";
    position: absolute;
    inset: -18%;
    background:
        radial-gradient(
            ellipse 30% 42% at 76% 52%,
            rgba(255,255,255,.36) 0%,
            rgba(255,255,255,.15) 30%,
            rgba(255,255,255,0) 70%
        );
    filter: blur(28px);
    animation: heroLightPulse 6s ease-in-out infinite alternate;
}

.hero-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    will-change: transform;
    animation: hero3dFloat 7s ease-in-out infinite alternate;
}

.hero-3d canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    opacity: .78;
}

.hero h1 {
    position: absolute;
    z-index: 4;
    left: 2.5%;
    top: 26%;
    width: 95%;
    margin: 0;
    font-size: clamp(72px, 7vw, 118px);
    font-weight: 900;
    line-height: .90;
    letter-spacing: -0.045em;
    color: #111;
    opacity: 0;
    transform: translateY(40px);
    animation: fade .8s .15s forwards;
}

.hero h1 .title-line-1 {
    display: block;
    text-align: left;
}

.hero h1 .title-line-2 {
    display: block;
    position: relative;
    left: -245px;
    top: 26px;
    width: max-content;
    text-align: left;
    margin-left: 48%;
    font-weight: 900;
}

.hero-message {
    position: absolute;
    z-index: 4;
    margin: 0;
    color: #111;
}

.hero-message h2 {
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.04em;
}

.hero-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #777;
    letter-spacing: -.025em;
}

.hero-message-ux {
    position: absolute;
    z-index: 10;
    left: 4%;
    top: 58%;
    width: 430px;
    display: block !important;
    visibility: visible !important;
    opacity: 0;
    transform: translateY(30px);
    animation: fade .8s .35s forwards;
}

.hero-action {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin-top: 30px !important;
    margin-left: 0 !important;
    padding: 0 !important;
}

.hero-action .hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: 46px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    border: 1px solid #111 !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.hero-action .hero-btn:hover {
    transform: translateY(-2px);
}

.hero-action .hero-btn span {
    margin-left: 7px !important;
    font-size: 15px !important;
    line-height: 1 !important;
}

.hero-action .hero-btn-primary {
    background: #111 !important;
    color: #fff !important;
}

.hero-action .hero-btn-primary:hover {
    background: #333 !important;
}

.hero-action .hero-btn-secondary {
    background: #fff !important;
    color: #111 !important;
}

.hero-action .hero-btn-secondary:hover {
    background: #111 !important;
    color: #fff !important;
}

.scroll {
    display: none !important;
}


/* =========================================================
   4. EXPERIENCE (DESKTOP)
========================================================= */
#experience {
    position: relative;
    padding: 300px 64px 120px;
    overflow: visible;
}

.experience-wrap {
    position: relative;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.experience-desktop {
    display: block;
}

.experience-mobile {
    display: none;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 110px;
}

.experience-heading h2 {
    margin: 0 0 36px;
    font-size: 64px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.055em;
    color: #111;
}

.experience-heading p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    letter-spacing: -.025em;
}

.experience-years {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 2px;
    color: #111;
}

.experience-years strong {
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.035em;
}

.experience-years span {
    margin-top: 4px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -.035em;
}

.experience-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
}

.experience-item {
    position: relative;
    min-width: 0;
    padding: 0 40px;
}

.experience-item:first-child {
    padding-left: 0;
}

.experience-item:last-child {
    padding-right: 0;
}

.experience-item + .experience-item {
    border-left: 1px solid #dcdcdc;
}

.experience-number {
    margin-bottom: 22px;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .02em;
    color: #777;
}

.experience-item h3 {
    margin: 0;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.055em;
    color: #111;
}

.experience-line {
    width: 48px;
    height: 1px;
    margin: 28px 0 30px;
    background: #111;
}

.experience-keywords {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 34px;
}

.experience-keywords span {
    font-size: 16px;
    line-height: 1.45;
    color: #222;
    letter-spacing: -.03em;
}

.experience-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #777;
    letter-spacing: -.03em;
}

/* DESKTOP 3D OBJECT */
#experience-object {
    position: absolute !important;
    left: 66.66% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 280px;
    height: 280px;
    z-index: 20 !important;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#experience-object.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0) !important;
}

.experience-career {
    display: flex;
    justify-content: flex-end;
    margin-top: 110px;
    padding-top: 34px;
    border-top: 1px solid #e5e5e5;
}

.experience-career a {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 9px;
    border-bottom: 1px solid #111;
    font-size: 17px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -.025em;
    color: #111;
}

.career-arrow {
    font-size: 24px;
    line-height: 1;
}


/* =========================================================
   5. PORTFOLIO / SELECTED WORK
========================================================= */
#portfolio {
    padding: 120px 64px;
    position: relative;
}

#portfolio .container {
    max-width: 1280px;
    width: 100%;
    margin: auto;
}

#portfolio-w-container {
    position: absolute;
    top: 100px;
    right: 64px;
    width: 380px;
    height: 380px;
    pointer-events: none;
    z-index: 2;
}

#portfolio-object {
    position: absolute;
    top: 220px;
    right: 60px;
    width: 420px;
    height: 320px;
    pointer-events: none;
    z-index: 2;
}

#portfolio .portfolio-heading h2 {
    margin: 0 0 36px;
    font-size: 64px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.055em;
    color: #111;
}

#portfolio .portfolio-heading p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    letter-spacing: -.025em;
}

#portfolio .portfolio-grid {
    margin-top: 110px;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.project {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    max-width: 1120px;
    min-height: 150px;
    padding: 34px 0;
    color: #111;
    transition: padding .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease;
}

.project + .project {
    margin-top: 18px;
}

.project-category {
    position: absolute;
    left: 0;
    top: 34px;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    color: #888;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: color .35s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}

.project h2 {
    margin: 28px 0 0;
    font-size: 48px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.055em;
    color: #111;
    transition: transform .5s cubic-bezier(.2,.7,.2,1), letter-spacing .5s ease;
}

.project p {
    grid-column: 1;
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: #777;
    letter-spacing: -.025em;
    transition: color .35s ease, transform .45s cubic-bezier(.2,.7,.2,1);
}

.project .arrow {
    position: absolute;
    right: 0;
    bottom: 34px;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    color: #111;
    opacity: .75;
    transition: opacity .3s ease, transform .45s cubic-bezier(.2,.7,.2,1);
}

.portfolio-grid:hover .project:not(:hover) {
    opacity: .38;
}

.project:hover {
    padding-left: 22px;
    padding-right: 22px;
}

.project:hover h2 {
    transform: translateX(10px);
    letter-spacing: -.06em;
}

.project:hover .project-category {
    color: #111;
    transform: translateX(10px);
}

.project:hover p {
    color: #444;
    transform: translateX(10px);
}

.project:hover .arrow {
    opacity: 1;
    transform: translateX(8px);
}


/* =========================================================
   6. PROJECT ARCHIVE STYLING
========================================================= */
.project-archive {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 60px;
    padding: 20px 0;
    color: #111;
    text-decoration: none;
    text-align: center;
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
}

.archive-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.archive-content h3 {
    margin: 0;
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.045em;
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
}

.archive-content p {
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: #888;
    letter-spacing: -.02em;
    transition: color .35s ease, transform .45s cubic-bezier(.2,.7,.2,1);
}

.archive-arrow {
    position: absolute;
    left: calc(50% + 155px);
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    font-weight: 400;
    color: #111;
    transform: translateY(-18px);
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
}

.project-archive:hover {
    transform: translateY(-4px);
}

.project-archive:hover .archive-content h3 {
    transform: translateY(-2px);
}

.project-archive:hover .archive-content p {
    color: #555;
    transform: translateY(-1px);
}

.project-archive:hover .archive-arrow {
    transform: translate(6px, -24px);
}


/* =========================================================
   7. ABOUT & FOOTER
========================================================= */
#about {
    position: relative;
    overflow: hidden;
    padding: 120px 64px;
}

#about .about-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 80px;
    width: 100%;
    max-width: 1280px;
    min-height: 0;
    margin: 0 auto;
    padding: 0;
}

#about .section-title {
    position: sticky;
    top: 140px;
    align-self: start;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .14em;
    color: #777;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-transform: uppercase;
}

#about .about-main {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: 80px;
    align-items: start;
    padding: 0;
}

#about .about-copy {
    max-width: 720px;
}

#about .about-copy h2 {
    margin: 0;
    max-width: 680px;
    font-size: clamp(46px, 4.6vw, 72px);
    font-weight: 650;
    line-height: .98;
    letter-spacing: -.055em;
    color: #111;
}

#about .about-copy h2 span,
#about .about-copy h3 span {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
}

#about .about-copy h3 {
    margin: 14px 0 0;
    max-width: 620px;
    font-size: clamp(42px, 4vw, 62px);
    font-weight: 650;
    line-height: 1;
    letter-spacing: -.05em;
    color: #111;
}

#about .about-copy p {
    margin: 54px 0 0;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.8;
    font-weight: 400;
    color: #666;
    letter-spacing: -.025em;
}

#about .about-timeline {
    position: relative;
    align-self: end;
    width: 100%;
    margin-top: 150px;
    padding-top: 4px;
}

#about .about-timeline-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

#about .about-timeline-label span {
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .18em;
    color: #888;
}

#about .about-timeline-line {
    position: relative;
    width: 100%;
    height: 1px;
    background: #d8d8d8;
}

#about .about-timeline-point {
    position: absolute;
    top: 50%;
    left: 80%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #111;
    transform: translate(-50%, -50%);
    transition: transform .35s ease;
}

#about .about-timeline-line::before,
#about .about-timeline-line::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d8d8d8;
    transform: translateY(-50%);
}

#about .about-timeline-line::before {
    left: 25%;
}

#about .about-timeline-line::after {
    right: 25%;
}

#about .about-statement {
    margin: 28px 0 0;
    text-align: left;
    font-size: 14px;
    line-height: 1.7;
    color: #777;
}

#about .about-timeline:hover .about-timeline-point {
    transform: translate(-50%, -50%) scale(1.45);
}

#about .about-bottom {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin: 120px 0 0;
    padding: 34px 0 0;
    border-top: 1px solid #e5e5e5;
}

#about .about-meta strong {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -.02em;
    color: #111;
}

#about .about-meta p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #888;
    letter-spacing: .01em;
}

#about .about-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

#about .about-links a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #111;
    color: #111;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    text-decoration: none;
    transition: transform .3s ease, opacity .3s ease;
}

#about .about-links a span {
    display: inline-block;
    transition: transform .3s ease;
}

#about .about-links a:hover {
    transform: translateX(5px);
}

#about .about-links a:hover span {
    transform: translate(4px, -4px);
}

footer {
    padding: 40px 64px;
    border-top: 1px solid #ececec;
}

.footer-inner {
    max-width: 1280px;
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #888;
}


/* =========================================================
   8. ANIMATIONS & HOVER PREVIEW
========================================================= */
@keyframes fade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroLightFlow {
    0% { transform: translate3d(5%, -2%, 0) scale(1); }
    50% { transform: translate3d(-2%, 3%, 0) scale(1.055); }
    100% { transform: translate3d(-7%, -1%, 0) scale(1.02); }
}

@keyframes heroLightPulse {
    0% { transform: translate3d(5%, -2%, 0) scale(.92); opacity: .48; }
    50% { transform: translate3d(-2%, 2%, 0) scale(1.04); opacity: .72; }
    100% { transform: translate3d(-7%, -1%, 0) scale(.96); opacity: .42; }
}

@keyframes hero3dFloat {
    0% { transform: translate3d(-3px, 2px, 0); }
    50% { transform: translate3d(4px, -5px, 0); }
    100% { transform: translate3d(-2px, 4px, 0); }
}

.portfolio-preview {
    position: absolute;
    width: 170px;
    height: 107px;
    overflow: hidden;
    background: #eee;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-420px) translateY(-50%) translateY(27px);
    z-index: 1;
    transition: opacity .3s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}

.portfolio-preview.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-420px) translateY(-50%) translateY(45px);
}

.portfolio-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-grid .project {
    position: relative;
    z-index: 2;
}

/* PROJECT별 HOVER THUMBNAIL 위치 */
.portfolio-grid:has(.project:nth-child(1):hover) .portfolio-preview.is-visible { margin-left: 210px; } 
.portfolio-grid:has(.project:nth-child(2):hover) .portfolio-preview.is-visible { margin-left: -50px; }
.portfolio-grid:has(.project:nth-child(3):hover) .portfolio-preview.is-visible { margin-left: -30px; }
.portfolio-grid:has(.project:nth-child(4):hover) .portfolio-preview.is-visible { margin-left: 10px; }
.portfolio-grid:has(.project:nth-child(5):hover) .portfolio-preview.is-visible { margin-left: -150px; }
.portfolio-grid:has(.project:nth-child(6):hover) .portfolio-preview.is-visible { margin-left: 120px; }


/* =========================================================
   9. TABLET (MAX-WIDTH: 980PX)
========================================================= */
@media (max-width: 980px) {
    .hero-light {
        width: 120vw;
        height: 72vh;
        right: -48vw;
        top: 10vh;
        opacity: .58;
        filter: blur(48px);
    }

    header { padding: 26px; }

    nav {
        display: none;
        position: fixed;
        top: 92px;
        left: 0;
        width: 100%;
        background: rgba(248, 248, 248, .72);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
        padding: 24px 26px;
        flex-direction: column;
        gap: 20px;
        border-top: 1px solid rgba(0, 0, 0, .05);
        z-index: 998;
    }

    nav.open { display: flex; }
    .menu-toggle { display: block; }

    .hero { padding: 0 26px; min-height: 720px; }
    .hero h1 { left: 26px; top: 28%; font-size: clamp(52px, 13vw, 72px); line-height: .95; letter-spacing: -0.04em; }
    .hero-message-ux { left: 26px; top: 58%; width: calc(100% - 52px); }
    .hero-message h2 { font-size: 20px; }
    .hero-message p { font-size: 14px; }
    .hero-action { flex-direction: column !important; align-items: flex-start !important; gap: 18px !important; margin-top: 36px !important; }
    .scroll { left: 26px; }
    .hero-3d { inset: 0; width: 100%; height: 100%; right: auto; top: auto; transform: none; }

    section { padding: 120px 26px; }
    #portfolio { padding: 120px 26px; }
    #portfolio .section-title { font-size: 48px; margin-bottom: 32px; }
    .project { max-width: 100%; }
    .portfolio-preview { display: none !important; }

    #about { padding: 120px 26px; }
    #about .about-wrap { grid-template-columns: 1fr; gap: 50px; min-height: auto; }
    #about .section-title { margin: 0 0 60px; }
    #about .about-main { grid-template-columns: 1fr; row-gap: 80px; }
    #about .about-copy { max-width: 720px; }
    #about .about-copy h2 { font-size: clamp(44px, 8vw, 68px); }
    #about .about-copy h3 { font-size: clamp(40px, 7vw, 58px); }
    #about .about-timeline { width: min(100%, 560px); margin-top: 0; }
    #about .about-bottom { grid-column: auto; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 90px; }

    footer { padding: 30px 26px; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}


/* =========================================================
   10. MOBILE (MAX-WIDTH: 767PX) - CLEANED & FIXED
========================================================= */
@media (max-width: 767px) {
    /* HERO MOBILE */
    .hero { height: 100svh; min-height: 680px; padding: 0; }
    .hero-inner { width: 100%; height: 100%; }
    .hero h1 { left: 26px; top: 23%; width: calc(100% - 52px); font-size: clamp(48px, 13vw, 64px); line-height: .94; letter-spacing: -0.045em; z-index: 4; }
    .hero h1 .title-line-1 { display: block; position: relative; left: 0; margin: 0; width: 100%; text-align: left; }
    .hero h1 .title-line-2 { display: block; position: relative; left: 36%; top: 16px; margin-left: 0; width: calc(100% - 36%); text-align: left; font-weight: 900; }
    .hero-3d { position: absolute; inset: 0; width: 100%; height: 100%; transform: scale(.40); transform-origin: center center; z-index: 2; overflow: visible; }
    .hero-3d canvas { width: 100% !important; height: 100% !important; opacity: .72; }
    .hero-message-ux { left: 26px; top: 53%; width: calc(100% - 52px); }
    .hero-message h2 { font-size: 20px; margin-bottom: 12px; }
    .hero-message p { font-size: 14px; line-height: 1.65; }
    .hero-message-ux .hero-action { margin-top: 90px; display: flex; flex-direction: column !important; align-items: flex-start !important; gap: 18px !important; }
    .hero-light { width: 120vw; height: 70vh; right: -45vw; top: 15vh; opacity: .45; filter: blur(45px); }

    /* EXPERIENCE MOBILE LAYOUT */
    #experience { padding: 110px 26px 40px; overflow: hidden; }
    .experience-wrap { width: 100%; max-width: none; }
    .experience-desktop { display: none !important; }
    .experience-mobile { display: block !important; padding: 0; width: 100%; text-align: left; }
    .experience-mobile > * { display: block; }

    .experience-mobile-intro { width: 100%; margin-bottom: 42px; margin-left: 0; }
    .experience-mobile-label {
     margin: 0 0 10px;
     font-size: 44px;
     line-height: 1;
     font-weight: 800;
     letter-spacing: -.055em;
     color: #111;
     }
    .experience-mobile-years { font-size: 28px; font-weight: 600; color: #111; line-height: 1.1; }
    .experience-mobile-years strong { display: block; font-size: 30px; }
    .experience-mobile-years span { display: block; font-size: 20px; margin-top: 5px; }

    /* 리스트 및 카드를 중앙 정렬로 변경 */
    .experience-mobile-list {
        display: flex;
        flex-direction: column;
        align-items: center; /* 텍스트 중앙 정렬 */
        gap: 90px;
        margin-bottom: 70px;
        position: relative !important; /* 3D Absolute 기준점 유지 */
        width: 100%;
    }

    /* 모바일 Experience 항목 레이아웃만 수정 */
      .experience-mobile-item {
          text-align: left;
          padding: 0;
          border: none !important;
      }
      
      /* 01 / 03 → 오른쪽으로 이동 */
      .experience-mobile-item:nth-of-type(1),
      .experience-mobile-item:nth-of-type(3) {
          align-self: flex-start;
          margin-left: 135px;
      }
      
      /* 02 → 왼쪽 배치 */
      .experience-mobile-item:nth-of-type(2) {
         align-self: flex-start; 
         margin-left: 36px;
      }
      
      /* 항목 제목 */
      .experience-mobile-item h3 {
          font-size: 28px;
          font-weight: 800;
          line-height: 1.2;
          letter-spacing: -0.02em;
          margin: 0 0 10px 0;
          display: block;
      }
      
      /* 번호 */
      .experience-mobile-num {
          font-weight: 800;
      }
      
      /* 키워드 */
      .experience-mobile-keywords {
          display: flex;
          flex-direction: column;
          gap: 4px;
          font-size: 20px;
          font-weight: 500;
          color: #111111;
          line-height: 1.45;
      }
    .experience-mobile-keywords span { font-size: 13px; color: #555; line-height: 1.45; }

    /* 💡 MOBILE 3D BACKGROUND OBJECT (원본 코드 100% 동일 유지) */
    #experience-object-mobile {
        position: absolute !important;
        left: 50% !important;
        top: 65% !important; /* 화면 높이에 맞춰 미세조정 하세요 */
        transform: translate(-50%, -50%) !important;
        width: 300px !important;
        height: 300px !important;
        margin: 0 !important;
        z-index: 1 !important; /* 카드(z-index:2) 뒤로 배치 */
        pointer-events: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    #experience-object-mobile canvas {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* 하단 버튼 알약형 스타일 및 중앙 정렬 */
    .experience-mobile-career { display: flex; justify-content: center; margin-top: 40px; padding-top: 0; }
    .experience-mobile-career a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 24px;
        border: 1px solid #111;
        border-radius: 25px;
        font-size: 13px;
        font-weight: 600;
        color: #111;
        text-decoration: none;
    }
    /* PORTFOLIO MOBILE */
    #portfolio { width: 100%; max-width: none; box-sizing: border-box; padding: 50px 16px 100px; }
    #portfolio .portfolio-wrap { position: relative; width: 100%; margin: 0; padding: 0; }
    #portfolio .portfolio-heading h2 { font-size: 48px; line-height: .94; font-weight: 800; margin: 0 0 10px; }
    #portfolio .portfolio-heading p { margin: 0; line-height: 1.6; }
    #portfolio-w-container { display: none; }

    #portfolio .portfolio-grid { position: relative; display: flex; flex-direction: column; width: 100%; margin-top: 28px !important; padding: 0 !important; }
    #portfolio .project { display: block; width: 100%; min-height: auto; padding: 32px 24px; background: #f7f7f7; border: 1px solid #eeeeee; border-radius: 18px; }
    #portfolio .project + .project { margin-top: 16px; }
    #portfolio .project-category { position: static; display: block; margin-bottom: 16px; font-size: 11px; text-align: left; }
    #portfolio .project h2 { margin: 0; font-size: 28px; line-height: 1.05; letter-spacing: -.055em; text-align: left; }
    #portfolio .project p { margin-top: 14px; font-size: 14px; line-height: 1.5; text-align: left; }
    #portfolio .project .arrow { position: static; display: inline-block; margin-top: 22px; font-size: 13px; text-align: left; }

    #portfolio .project:hover { padding-left: 26px; padding-right: 26px; }
    #portfolio .project:hover h2, #portfolio .project:hover .project-category, #portfolio .project:hover p { transform: none; }
    #portfolio .portfolio-grid:hover .project:not(:hover) { opacity: 1; }

    #portfolio .project-archive { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 60px; padding: 10px 0; }
    #portfolio .archive-content h3 { font-size: 24px; }
    #portfolio .archive-content p { margin-top: 12px; font-size: 13px; }
    #portfolio .archive-arrow { left: calc(50% + 105px); top: 45%; font-size: 20px; transform: translateY(-15px); }
    #portfolio .project-archive:hover .archive-arrow { transform: translate(5px, -15px); font-size: 24px; }

    /* ABOUT MOBILE */
    #about { padding: 50px 26px 100px; }
    #about .about-wrap { position: relative; display: block; width: 100%; margin: 0; padding: 0; }
    #about .section-title { position: absolute; top: -50px; left: 0; transform: translateX(-25px); margin: 0; font-size: 13px; line-height: 1; writing-mode: vertical-rl; }
    #about .about-main { width: 100%; max-width: 460px; margin: 0 auto; display: grid; grid-template-columns: 1fr; row-gap: 64px; }
    #about .about-copy { width: 100%; }
    #about .about-copy h2 { font-size: clamp(40px, 11vw, 58px); line-height: 1; }
    #about .about-copy h3 { margin-top: 12px; font-size: clamp(36px, 10vw, 52px); }
    #about .about-copy p { margin-top: 42px; font-size: 15px; line-height: 1.75; }
    #about .about-timeline { width: 100%; margin-top: 0; }
    #about .about-timeline-label { margin-bottom: 15px; }
    #about .about-timeline-label span { font-size: 10px; }
    #about .about-statement { margin-top: 22px; font-size: 13px; }
    #about .about-bottom { display: grid; grid-template-columns: 1fr; gap: 42px; margin-top: 70px; padding-top: 28px; }
    #about .about-links { gap: 18px; }
    #about .about-links a { font-size: 15px; }
}


/* =========================================================
   11. REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
    .hero-light, .hero-light::after, .hero-3d {
        animation: none;
    }
}
