@charset "utf-8";

body, h1, h2, h3, ul, dl, dt, dd, p {
    margin: 0;
    padding: 0;
}
ul, dl {
    list-style: none;
}
a {
    text-decoration: none;
    color: #000;
}

/* =========================================
   portfolio - FRONTEND PROJECTS
========================================= */
#portfolio_fn .portfolio .overview .link a:first-of-type {
    padding: 0 98px 0 25px;
}

#portfolio_fn .portfolio .sub {
    display: none;
    margin-top: 140px;
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f8f8 0%, #eeeeee 100%);
}
#portfolio_fn .portfolio.active .sub {
    display: block;
}
#portfolio_fn .portfolio .sub .inner {
    margin: 0 260px 0 410px;
    width: 1250px;
}

#portfolio_fn .portfolio .sub .tit {
    max-width: 820px;
    margin-bottom: 70px;
}
#portfolio_fn .portfolio .sub .tit span {
    font-size: 60px;
    letter-spacing: -1px;
}

#portfolio_fn .portfolio .finder_window {
    background: #ffffff;
    border-radius: 22px;
    box-shadow:
        0 80px 160px rgba(0,0,0,0.15),
        0 20px 40px rgba(0,0,0,0.08) !important;
    overflow: hidden;
}

#portfolio_fn .portfolio .finder_header {
    background: #f4f4f4;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e6e6e6;
}

#portfolio_fn .portfolio .window_controls {
    display: flex;
    gap: 8px;
}

#portfolio_fn .portfolio .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
#portfolio_fn .portfolio .dot.red { background: #ff5f57; }
#portfolio_fn .portfolio .dot.yellow { background: #febc2e; }
#portfolio_fn .portfolio .dot.green { background: #28c840; }

#portfolio_fn .portfolio .finder_path {
    flex: 1;
    margin-left: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}
/* #portfolio_fn .portfolio .finder_toolbar {
    display: flex;
    gap: 14px;
}
#portfolio_fn .portfolio .finder_toolbar span {
    width: 16px;
    height: 16px;
    background: #ddd;
    border-radius: 4px;
} */
 #portfolio_fn .portfolio .finder_toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
}
#portfolio_fn .portfolio .finder_toolbar span {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}
#portfolio_fn .portfolio .finder_toolbar span:hover {
    background: #e9e9e9;
}
#portfolio_fn .portfolio .finder_toolbar img {
    width: 16px;
    height: 16px;
    opacity: 0.75;
}
#portfolio_fn .portfolio .finder_toolbar span:hover img {
    opacity: 1;
}
#portfolio_fn .portfolio .finder_toolbar span:last-child {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #e3e3e3;
}


#portfolio_fn .portfolio .finder_body {
    display: flex;
    height: 520px;
}

#portfolio_fn .portfolio .finder_sidebar {
    width: 240px;
    background: #f9f9f9;
    padding: 30px 25px;
    border-right: 1px solid #eee;
}
#portfolio_fn .portfolio .sidebar_section {
    margin-bottom: 45px;
}
#portfolio_fn .portfolio .sidebar_section p {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#portfolio_fn .portfolio .finder_sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#portfolio_fn .portfolio .finder_sidebar li {
    margin-bottom: 14px;
    font-size: 14px;
    color: #666;
}
#portfolio_fn .portfolio .finder_sidebar li.active {
    font-weight: 600;
    color: #000;
}

#portfolio_fn .portfolio .finder_content {
    position: relative;
    flex: 1;
    padding: 80px 90px;
    display: flex;
    gap: 90px;
    background: #ffffff;
    align-items: flex-start;
}
#portfolio_fn .portfolio .finder_content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.03), transparent);
    pointer-events: none;
}

#portfolio_fn .portfolio .file_item {
    width: 260px;
    position: relative;
    border-radius: 18px;
    transition: transform 0.3s ease;
}
#portfolio_fn .portfolio .file_item::before {
    content: "";
    position: absolute;
    top: -12px;
    bottom: -12px;
    left: -12px;
    right: -12px;
    border-radius: 22px;
    background: rgba(0, 122, 255, 0.08);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
}
#portfolio_fn .portfolio .file_item:hover::before {
    opacity: 1;
}
#portfolio_fn .portfolio .file_item img,
#portfolio_fn .portfolio .file_item span {
    position: relative;
    z-index: 1;
}
#portfolio_fn .portfolio .file_item img {
    width: 100%;
    height: 180px;
    border-radius: 18px;
    box-shadow: 8px 3px 15px 0px rgba(0, 0, 0, 0.15),
                0 5px 20px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
#portfolio_fn .portfolio .file_item span {
    display: block;
    margin-top: 18px;
    font-size: 14px;
    text-align: center;
    color: #333;
}

#portfolio_fn .portfolio .finder_statusbar {
    height: 48px;
    background: #f4f4f4;
    border-top: 1px solid #e6e6e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    font-size: 13px;
    color: #666;
}


/* =========================================
   portfolio - Wep Publishing
========================================= */
.title {
    text-align: center;
}
.title h2 {
    font-size: 50px;
    font-weight: 300;
}
.title span {
    display: block;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 500;
    color: #777;
}

#portfolio, #portfolio_fn {
    width: 100%; 
    padding-top: 120px;
    background-color: #fff;
    overflow: hidden;
}
#portfolio .inner, #portfolio_fn .inner {
    max-width: 1200px; 
    margin: 0 auto !important; 
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}
#portfolio .title h2, #portfolio_fn .title h2 {
    position: relative;
}
#portfolio .title h2::after, #portfolio_fn .title h2::after {
    content: "";
    position: absolute;
    left: 49.2%;
    top: 70px;
    width: 30px;
    height: 2px;
    background: #000;
}
#portfolio .page3_zone, #portfolio_fn .page3_zone {
    margin-top: 70px
}
#portfolio .portfolio {
    overflow: hidden;
}
.portfolio .main_box {
    min-width: 1250px;
}
.portfolio .main_box .inner {
    margin: 0 260px 0 410px;
    width: 1250px;
}
.portfolio:nth-child(2) .main_box .tit,
.portfolio:last-child .main_box .tit {
    margin-top: 80px;
}
.portfolio .main_box .tit a {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}
.portfolio .main_box .tit a .ico {
    position: static;
}
.portfolio .main_box .tit a .fas.fa-play {
	position: static;
    margin-top: 0;
    width: 55px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    transition: background-color 0.3s;
}
.portfolio.active .main_box .tit a .fas.fa-play {
    background-color: #c69c6d;
}
.portfolio .main_box .tit a:hover .fas.fa-play {
    background-color: #d5b896;
}
.portfolio .main_box .txt {
    color: #000;
}
.portfolio .main_box .tit a:hover .txt {
    color: #d5b896;
}
.portfolio.active .main_box .txt {
    color: #c69c6d;
}
.portfolio .main_box .txt h3 {
    font-size: 48px;
}
.portfolio .main_box .txt span {
    padding: 0 5px;
    font-size: 14px;
    letter-spacing: 7px;
    color: #999898;
}
.portfolio .main_box .content {
    height: 330px;
    border-bottom: 1px solid rgba(23, 22, 26, 0.35);
}
#portfolio .portfolio:last-child .main_box .content {
    margin-bottom: 80px;
    border: none;
}
.portfolio .main_box .content .photo {
    float: left;
    margin-top: 40px;
}
.portfolio .main_box .content .photo img {
    width: 200px;
    height: 200px;
    border: 10px solid #e8e8e8;
    border-radius: 50%;
}
.portfolio .main_box .content .project {
    float: left;
    margin: 80px 0 0 80px;
}
.portfolio .main_box .content .project .piece {
    display: inline-block;
    margin-right: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(23, 22, 26, 0.35);
    width: 180px;
}
.portfolio .main_box .content .project .piece span {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
    color: #777;
}
.portfolio .main_box .content .project .piece .sub_tit {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #000;
}
.portfolio .overview {
    display: none;
    min-width: 1250px;
}
.portfolio.active .overview {
    display: block;
}
.portfolio .overview .inner {
    margin: 0 260px 0 410px;
    width: 1250px;
}
.portfolio .overview .tit span {
    margin: 70px 0 60px 0;
    font-size: 38px;
    font-weight: 500;
    color: #000;
}
.portfolio .overview .piece {
    display: inline-block;
    margin-right: 30px;
}
.portfolio .overview span {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #777;
}
.portfolio .overview .sub_tit {
    padding-bottom: 14px;
    font-size: 17px;
    font-weight: 600;
    color: #000;
    border-bottom: 2px solid #191919;
    margin-bottom: 17px;
    width: 245px;
}
.portfolio .overview .link span {
    margin-top: 70px;
    font-size: 38px;
    font-weight: 500;
    color: #000;
}
.portfolio .overview .link a {
    position: relative;
    display: inline-block;
    margin-top: 20px;
    padding: 0 70px 0 25px;
    width: auto;
    font-size: 16px;
    line-height: 50px;
	box-sizing: border-box;
    color: #fff;
    text-align: center;
    background: #191919;
    transition: background 0.2s;
}
#portfolio .portfolio .overview .link a:last-of-type {
    padding: 0 80px 0 25px;
}
.portfolio .overview .link a::after {
    content: "";
    position: absolute;
    left: 150px;
    top: 20px;
    width: 25px;
    height: 10px;
    background: url(../images/ico/icon-gig.png) no-repeat;
}
.portfolio .overview .link a:hover {
    background: #c69c6d;
}
.portfolio .sub {
    display: none;
    margin-top: 140px;
}
.portfolio.active .sub {
    display: block;
}
.portfolio .sub .tit span {
    font-style: italic;
    font-size: 38px;
    font-weight: 800;
}
.portfolio .sub .tit p {
    margin-top: 20px;
    color: #777;
}
.portfolio .sub .pc {
    background-color: #e8e8e8;
    min-width: 1250px;
}
.portfolio .sub .pc .inner {
    position: relative;
    top: 120px;
    margin: 0 260px 0 410px;
    width: 1250px;
}
#portfolio .portfolio .sub .pc .photo {
    margin-top: 70px;
}
#portfolio .portfolio .sub .pc .photo img {
    width: 90%;
}
#portfolio .portfolio .sub .pc .img,
#portfolio .portfolio .sub .mo .img {
    position: absolute;
    left: 175px;
    top: 200px;
    width: 728px;
    height: 465px;
	overflow: hidden;
}
#portfolio .portfolio .sub .pc .img .view,
#portfolio .portfolio .sub .mo .img .view {
    overflow: hidden;
}
#portfolio .portfolio .sub .pc .img .dim {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 728px;
    height: 465px;
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: opacity 0.5s;
}
#portfolio .portfolio .sub .pc .img .dim:hover {
    opacity: 0;
}
#portfolio .portfolio .sub .pc .img .dim a {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 50px;
    margin-left: -15px;
    border: 2px solid #fff;
    border-radius: 50px;
    box-sizing: border-box;
}
#portfolio .portfolio .sub .pc .img .dim a::after {
    position: absolute;
    top: 10px;
    left: 50%;
    content: '';
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: #c69c6d;
    border-radius: 100%;
    animation: sdb 2s infinite;
    box-sizing: border-box;
}
@keyframes sdb {
    0% { transform: translate(0, 0); opacity: 0; }
    40% { opacity: 1; }
    80% { transform: translate(0, 20px); opacity: 0; }
    100% { opacity: 0; }
}
#portfolio .portfolio .sub .pc .view {
    position: relative;
    height: 505px;
    overflow: hidden;
}
#portfolio .portfolio .sub .pc .view img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    transition: top 0.2s;
}
#portfolio .portfolio .sub .mo {
    margin-top: 200px;
    background-color: #e8e8e8;
}
#portfolio .portfolio .sub .mo .inner {
    position: relative;
    top: 120px;
    margin: 0 260px 0 410px;
    width: 1250px;
    height: 1100px;
}
#portfolio .portfolio .sub .mo .photo {
    margin-top: 70px;
}
#portfolio .portfolio .sub .mo .photo img {
    height: 692px;
    width: 90%;
}
#portfolio .portfolio .sub .mo .img {
    position: absolute;
    left: 424px;
    top: 246px;
    width: 234px;
    height: 520px;
    border-radius: 20px;
    overflow: hidden;
}
#portfolio .portfolio .sub .mo .img .dim {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 234px;
    height: 520px;
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: opacity 0.5s;
}
#portfolio .portfolio .sub .mo .img .dim:hover {
    opacity: 0;
}
#portfolio .portfolio .sub .mo .img .dim a {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 50px;
    margin-left: -15px;
    border: 2px solid #fff;
    border-radius: 50px;
    box-sizing: border-box;
}
#portfolio .portfolio .sub .mo .img .dim a::after {
    position: absolute;
    top: 10px;
    left: 50%;
    content: '';
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: #c69c6d;
    border-radius: 100%;
    animation: sdb 2s infinite;
    box-sizing: border-box;
}
#portfolio .portfolio .sub .mo .view {
    position: relative;
    height: 519px;
    overflow: hidden;
}
#portfolio .portfolio .sub .mo .view img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    transition: top 0.2s;
}

/* --- 두 번째 코드 (index.html 관련 스타일) --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body, html { 
    width: 100%; height: auto; 
    font-family: 'Inter', sans-serif;
    background-color: #f2ede4;
    scroll-behavior: smooth;
}

#header .top {
    position: fixed; top: 0; left: 0; width: 100%; height: 32px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.mac-dots { display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }

#gnb ul { display: flex; list-style: none; gap: 5px; }
#gnb ul li a { 
    text-decoration: none; color: #444; font-size: 13px; font-weight: 500;
    padding: 4px 12px; border-radius: 4px; transition: 0.2s ease;
}
#gnb ul li a:hover { background: rgba(0, 0, 0, 0.08); color: #000; }

.header_inner {
    min-height: 100vh; width: 100%;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    position: relative;
    box-sizing: border-box;
    padding-top: 70px;
}

.folder-wrapper {
    position: relative; 
    width: 340px; height: 240px;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.12));
    z-index: 2;
    perspective: 1000px;
    margin-top: 80px;
    cursor: pointer;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}
.folder-paper {
    position: absolute; top: 10px; left: 10px; right: 10px; bottom: 40px;
    background: #fff; border-radius: 10px;
    transform: translateY(-20px) translateZ(0px); 
    z-index: 1;
    transition: 0.5s ease;
}
.main-title {
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 11rem; font-style: italic; color: #1a1a1a;
    letter-spacing: -2px; z-index: 2;
    top: 35%; left: 50%;
    transform: translate(-50%, -100%) translateZ(10px);
    transition: 0.5s ease;
    white-space: nowrap;
    will-change: transform;
}
.folder-main {
    width: 100%; height: 100%;
    background: linear-gradient(145deg, #8cbdf9, #6da2e2);
    border-radius: 0 20px 20px 20px;
    position: relative; z-index: 3;
    display: flex; align-items: center; justify-content: center;
    transition: 0.5s ease;
    transform-origin: bottom;
    transform: translateZ(20px);
}
.folder-main::before {
    content: ''; position: absolute; top: -18px; left: 0;
    width: 120px; height: 20px; background: #6da2e2; border-radius: 12px 12px 0 0;
}
.folder-welcome-text {
    color: white; font-family: 'Playfair Display', serif;
    font-size: 3rem; font-style: italic; font-weight: 700;
}
.folder-year {
    position: absolute; bottom: 20px; right: 20px;
    color: rgba(255,255,255,0.9); font-size: 1.1rem; font-weight: 600;
}

@media (min-width: 769px) {
    .folder-wrapper:hover .folder-main { transform: rotateX(-25deg) translateZ(20px); }
    .folder-wrapper:hover .folder-paper { transform: translateY(-60px) translateZ(0px); }
    .folder-wrapper:hover .main-title { transform: translate(-50%, -130%) translateZ(10px); }
}

.desc { margin-top: 50px; text-align: center; }
.desc strong { font-family: 'Playfair Display', serif; font-size: 3.2rem; display: block; color: #1a1a1a; }
.desc p { font-size: 1rem; color: #666; letter-spacing: 4px; text-transform: uppercase; margin-top: 5px; }

.controller {
    position: fixed; right: 40px; top: 50%; transform: translateY(-50%);
    z-index: 100;
}
.controller ul { list-style: none; display: flex; flex-direction: column; gap: 25px; }
.controller a {
    writing-mode: vertical-rl; text-decoration: none;
    font-size: 11px; color: #555; font-weight: 600; letter-spacing: 2px;
    transition: 0.3s;
}
.controller a:hover, .controller a.active { color: #007aff; }

.pagedown {
    position: absolute; bottom: 40px;
    font-size: 12px; letter-spacing: 3px; color: #999;
    text-transform: uppercase; animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.wrapper {
    max-width: 100%; min-height: 100vh; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 100px 250px;
    background-color: #fff;
}
.left-side { width: 400px; position: relative; flex-shrink: 0; }
.profile-container { position: relative; width: 300px; height: 300px; margin-bottom: 30px; display: flex; align-items: center; justify-content: center; }
.profile-circle {
    width: 240px; height: 240px; border-radius: 50%; 
    background: #f2ede4; position: relative; z-index: 5; overflow: hidden;
    border: 1px solid #6da2e2; box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.profile-circle img { width: 100%; object-fit: cover; }
.orbit-back { position: absolute; width: 340px; height: 140px; border: 1.5px solid #6da2e2; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-15deg); z-index: 1; opacity: 0.5; }
.orbit-front { position: absolute; width: 340px; height: 140px; border: 1.5px solid #6da2e2; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-15deg); z-index: 6; opacity: 0.7; clip-path: inset(50% 0 0 0); }
.star { position: absolute; font-size: 20px; color: #6da2e2; z-index: 11; }
.star.one { top: 10px; left: 10px; }
.star.two { bottom: 40px; right: 0; font-size: 14px; }
.star.three { bottom: -10px; left: 40%; }
.name-box h1 { font-family: 'Playfair Display', serif; font-size: 3.8rem; font-style: italic; line-height: 1.1; margin-bottom: 20px; text-align: left; }
.contact-info { font-size: 13px; line-height: 2.2; color: #666; text-align: left; }
.contact-info b { color: #1a1a1a; font-weight: 600; width: 70px; display: inline-block; letter-spacing: 0.5px; }

.right-side { flex-grow: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; align-content: start; }
.section-box h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-style: italic; margin-bottom: 20px; color: #1a1a1a; border-bottom: 1px solid #1a1a1a; padding-bottom: 8px; display: flex; justify-content: space-between; align-items: baseline; }
.section-box h3 span { font-family: 'Inter'; font-size: 10px; font-weight: 600; color: #6da2e2; font-style: normal; letter-spacing: 1px; }
.content-list { list-style: none; text-align: left; }
.content-list li { font-size: 13.5px; margin-bottom: 18px; color: #444; line-height: 1.6; }
.content-list b { color: #1a1a1a; font-weight: 600; display: block; margin-bottom: 4px; font-size: 14px; }
.content-list small { color: #888; font-size: 12px; line-height: 1.4; display: block; }
.skill-item { margin-bottom: 16px; text-align: left; }
.skill-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.skill-header span { font-size: 13px; font-weight: 500; color: #1a1a1a; }
.dots-wrap { display: flex; gap: 6px; }
.dot-s { width: 7px; height: 7px; border-radius: 50%; background: #6da2e2; border: 1px solid #6da2e2; }
.dot-s.off { background: transparent; border: 1px solid #ddd; }
.interest-box { grid-column: 1 / -1; background: #f9f9f9; padding: 25px; border-radius: 4px; display: flex; gap: 40px; align-items: center; }
.interest-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-style: italic; color: #1a1a1a; width: 100px; text-align: left; }
.interest-items { display: flex; gap: 30px; flex-wrap: wrap; }
.interest-item { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; color: #555; text-transform: uppercase; letter-spacing: 1px; }
.tag-group { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: 11px; padding: 4px 12px; background: #1a1a1a; color: #fff; border-radius: 2px; }

#contact {
    background-color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.contact-container {
    width: 100%;
    max-width: 1000px;
    padding: 0 40px;
}
.contact-header {
    text-align: center;
    margin-bottom: 80px;
}
.contact-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 5px;
    font-weight: 300;
    margin-bottom: 10px;
}
.contact-header .line {
    width: 30px;
    height: 2px;
    background: #fff;
    margin: 0 auto;
}
.contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}
.thank-you-area {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.thank-you-area img {
    width: 100%;
    max-width: 350px;
    filter: brightness(1.2);
}
.contact-details {
    flex: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
}
.contact-details h3 {
    font-size: 14px;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 30px;
    font-weight: 500;
}
.info-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px 40px;
}
.info-grid b {
    font-size: 12px;
    letter-spacing: 1px;
    color: #aaa;
    font-weight: 600;
    text-transform: uppercase;
}
.info-grid span {
    font-size: 15px;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

/* --- 공통 모바일 반응형 --- */
@media (max-width: 1600px) {
    .wrapper { padding: 100px 80px; }
    .left-side { width: 380px; }
    .right-side { gap: 40px 50px; }
}
@media (max-width: 1000px) {
    #gnb { display: none; }
    .header_inner { padding-top: 60px; }
    .folder-wrapper { width: 280px; height: 200px; margin-top: 120px; }
    .main-title { font-size: 4.5rem; transform: translate(-50%, -170%) translateZ(10px) }
    .folder-wrapper.is-open .folder-paper { transform: translateY(-50px) translateZ(0px); }
    .folder-wrapper.is-open .main-title { transform: translate(-50%, -220%) translateZ(10px) }
    .folder-wrapper.is-open .folder-main { transform: rotateX(-15deg) translateZ(20px); }
    
    .wrapper {
        flex-direction: column; padding: 80px 60px; gap: 50px; align-items: center; text-align: center;
    }
    .left-side { width: 100%; display: flex; flex-direction: column; align-items: center; }
    .name-box h1 { font-size: 3rem; text-align: center; }
    .contact-info { text-align: left; display: inline-block; }
    .right-side { width: 100%; grid-template-columns: 1fr; text-align: left; }
    .interest-box { flex-direction: column; align-items: flex-start; gap: 20px; }
    .interest-title { width: 100%; border-bottom: 1px solid #ddd; padding-bottom: 5px; }
    .controller { right: 10px; }
}
@media (max-width: 768px) {
    .controller {
        right: env(safe-area-inset-right);
        transform: translate(0,-50%);
        padding-right: 20px;
    }
    .contact-content { flex-direction: column; text-align: center; }
    .thank-you-area { justify-content: center; }
    .info-grid { justify-content: center; }
}

/* =========================
   #portfolio 반응형
========================= */

@media (max-width: 1200px){

    /* content 2열 정리 */
    .portfolio .main_box .content{
        display: grid;
        grid-template-columns: 0fr 1fr;
        gap: 100px;
        align-items: center;
        height: auto;
        padding: 60px 0;
    }

    .portfolio .main_box .content .photo,
    .portfolio .main_box .content .project{
        float: none;
        width: 100%;
        margin: 0;
        text-align: left;
    }

    .portfolio .main_box .content .project{
        display: grid;
        grid-template-columns: 0fr 1fr;
        gap: 30px;
    }

    /* overview 2열 */
    .portfolio .overview .desc{
        display: grid;
        grid-template-columns: 0fr  0fr;
        gap: 60px;
    }

    /* fn_portfolio */
    #portfolio_fn .portfolio .sub .inner {
        margin: 0 auto;
        width: 90%;
    }
    #portfolio_fn .portfolio .sub .tit span {
        font-size: 48px;
    }
    #portfolio_fn .portfolio .finder_body {
        height: auto;
    }
    #portfolio_fn .portfolio .finder_content {
        padding: 60px;
        gap: 60px;
    }
    #portfolio_fn .portfolio .file_item {
        width: 220px;
    }
    #portfolio_fn .portfolio .file_item img {
        height: 160px;
    }
}

@media (max-width: 768px){

    #portfolio, #portfolio_fn {
        padding: 80px 0;
    }

    .portfolio .main_box .txt h3{
        font-size: 28px;
    }

    /* content 1열 */
    .portfolio .main_box .content{
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .portfolio .main_box .content .photo img{
        width: 180px;
    }

    /* overview 1열 */
    .portfolio .overview .desc{
        gap: 10px;
    }

    .portfolio .overview .desc .piece{
        margin-bottom: 20px;
    }

    /* sub만 가로 스와이프 */
    .portfolio.active .sub{
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        align-items: stretch;
    }
    .portfolio .sub > div{
        min-height: 100vh;
        flex: 0 0 100%;
        min-width: 100%;
        scroll-snap-align: start;
    }
    .portfolio .sub::-webkit-scrollbar{
        display: none;
    }
    .portfolio .sub .mo{
        background: none;
    }
    .portfolio .sub .mo .inner{
        background-color: #e8e8e8;
        padding-top: 100px;
    }   
    .portfolio .sub .mo .img {
        top: 358px;
    }

    /* fn_portfolio */
    #portfolio_fn .portfolio .sub {
        padding: 80px 0;
    }
    #portfolio_fn .portfolio .sub .inner {
        width: 92%;
    }
    #portfolio_fn .portfolio .sub .tit {
        margin-bottom: 50px;
    }
    #portfolio_fn .portfolio .sub .tit span {
        font-size: 36px;
        line-height: 1.2;
    }
    #portfolio_fn .portfolio .finder_body {
        flex-direction: column;
        height: auto;
    }
    #portfolio_fn .portfolio .finder_sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 25px;
        display: flex;
        gap: 60px;
        align-items: flex-start;
    }
    #portfolio_fn .portfolio .sidebar_section {
        flex: 1;
        margin-bottom: 0;
    }
    #portfolio_fn .portfolio .finder_content {
        padding: 50px;
        gap: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }
    #portfolio_fn .portfolio .file_item {
        width: 45%;
    }
    #portfolio_fn .portfolio .file_item img {
        height: 150px;
    }
}

@media (max-width: 568px){
    /* content 1열 */
    .portfolio .main_box .content .project { 
        gap: 5px;
    }
    .portfolio .main_box .content .project .piece {
        margin-bottom: 20px;
        width: 150px;
    }

    /* overview 1열 */
    .portfolio .overview .desc {
        grid-template-columns: 1fr;
    }
    .portfolio .overview span {
        width: 330px;
    }
    .portfolio .overview .sub_tit {
        width: 330px;
    }

    /* fn_portfolio */
    #portfolio_fn .portfolio .sub {
        padding: 60px 0;
        margin-top: 100px;
    }
    #portfolio_fn .portfolio .sub .tit span {
        font-size: 28px;
    }
    #portfolio_fn .portfolio .finder_header {
        padding: 12px 16px;
    }
    #portfolio_fn .portfolio .finder_path {
        font-size: 12px;
    }
    #portfolio_fn .portfolio .finder_toolbar {
        display: none;
    }
    #portfolio_fn .portfolio .finder_sidebar {
        gap: 30px;
        padding: 30px;
    }
    #portfolio_fn .portfolio .sidebar_section {
        flex: 1;
    }
    #portfolio_fn .portfolio .finder_content {
        padding: 50px;
        gap: 30px;
    }
    #portfolio_fn .portfolio .file_item {
        width: 100%;
    }
    #portfolio_fn .portfolio .file_item img {
        height: 180px;
    }
    #portfolio_fn .portfolio .finder_statusbar {
        font-size: 12px;
        padding: 0 15px;
    }
}


