:root {
    --primary-color: #000;
    --secondary-color: #fff;
    --nav-height: 100px;
    --container-width: 1100px;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans KR', sans-serif; background: #fff; color: #000; -webkit-font-smoothing: antialiased; line-height: 1.7; }

/* Wide Container for Portfolio */
.container-wide { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 5%; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 40px; width: 100%; }

header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(30px); height: var(--nav-height); width: 100%; position: fixed; top: 0; z-index: 1000; display: flex; align-items: center; border-bottom: 1px solid rgba(0,0,0,0.02); }
header nav { max-width: 1400px; margin: 0 auto; width: 100%; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { height: 32px; width: auto; mix-blend-mode: darken; filter: contrast(1.3); }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 3rem; }
nav ul li a { color: #000; text-decoration: none; font-size: 0.8rem; font-weight: 300; letter-spacing: 2px; text-transform: uppercase; opacity: 0.4; transition: var(--transition); }
nav ul li a:hover, nav ul li a.active { opacity: 1; color: #000; }

/* Sub Page Common */
.sub-page { padding-top: 200px; padding-bottom: 120px; }
.page-title { font-size: 3.5rem; font-weight: 700; margin-bottom: 6rem; letter-spacing: -2px; }

/* Portfolio Section - Horizontal Scroll */
.portfolio-section { margin-bottom: 8rem; }
.section-label { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 4px; color: #888; margin-bottom: 2.5rem; border-left: 3px solid #000; padding-left: 1.5rem; }

.horizontal-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    cursor: grab;
    padding-bottom: 20px;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}
.horizontal-scroll::-webkit-scrollbar { display: none; /* Chrome/Safari */ }

.scroll-track { display: flex; gap: 3rem; }

.portfolio-card {
    min-width: 450px;
    flex-shrink: 0;
    transition: var(--transition);
    cursor: pointer;
}
.thumb-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f9f9f9;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-weight: 100;
    letter-spacing: 3px;
    transition: var(--transition);
}
.portfolio-card:hover .thumb-placeholder {
    background: #000;
    color: #fff;
    transform: translateY(-10px);
}
.card-info { margin-top: 1.5rem; opacity: 0.6; transition: var(--transition); }
.portfolio-card:hover .card-info { opacity: 1; }
.card-info h3 { font-size: 1.1rem; font-weight: 400; margin-bottom: 0.3rem; letter-spacing: 0.5px; }
.card-info p { font-size: 0.8rem; color: #888; font-weight: 300; text-transform: uppercase; letter-spacing: 1.5px; }

/* Director & Services Styles */
.director-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; margin-bottom: 12rem; }
.director-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(1); transition: var(--transition); }
.director-image img:hover { filter: grayscale(0); }
.image-placeholder { width: 100%; aspect-ratio: 4/5; background: #f9f9f9; display: flex; align-items: center; justify-content: center; color: #ccc; font-weight: 100; letter-spacing: 2px; font-size: 0.8rem; border: 1px solid #f0f0f0; }

.director-header { margin-bottom: 3.5rem; }
.director-header h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.director-header .en-name { font-weight: 100; font-size: 1.3rem; margin-left: 0.8rem; color: #888; }
.director-header .role { color: #888; text-transform: uppercase; letter-spacing: 4px; font-weight: 700; font-size: 0.85rem; }

.career-section { margin-bottom: 3.5rem; }
.career-section h3 { font-size: 1.1rem; font-weight: 700; color: #000; letter-spacing: 2px; margin-bottom: 1.5rem; }
.career-list { list-style: none; }
.career-list li { font-size: 1.05rem; font-weight: 300; color: #444; margin-bottom: 0.8rem; word-break: keep-all; }

footer { padding: 8rem 0; text-align: center; background: #fff; border-top: 1px solid #f5f5f5; }
footer p { font-size: 0.75rem; color: #aaa; letter-spacing: 1px; }

@media (max-width: 900px) { 
    .portfolio-card { min-width: 300px; }
    .page-title { font-size: 2.8rem; } 
    nav ul { display: none; } 
}

/* Home Page Hero Section */
.home { overflow: hidden; }
.home header { background: transparent; border-bottom: none; backdrop-filter: none; }
.home nav ul li a { color: #fff; opacity: 0.7; }
.home nav ul li a:hover { opacity: 1; color: #fff; }
.home .nav-logo { filter: brightness(0) invert(1); mix-blend-mode: normal; }

#hero-main {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}
.main-logo-big {
    width: 180px;
    height: auto;
    margin-bottom: 2.5rem;
    filter: brightness(0) invert(1);
}
.main-slogan {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.8rem;
    text-indent: calc(0.8rem + 10px);
    text-transform: uppercase;
    margin-bottom: 3.5rem;
    opacity: 0.9;
    color: #fff;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}
.social-icon {
    color: #fff;
    font-size: 1.3rem;
    opacity: 0.5;
    transition: var(--transition);
}
.social-icon:hover {
    opacity: 1;
    transform: translateY(-3px);
}
.home-footer {
    position: absolute;
    bottom: 50px;
    width: 100%;
    z-index: 3;
    text-align: center;
    color: rgba(255,255,255,0.3);
    border: none;
    background: transparent;
    padding: 0;
}
.home-footer p { font-size: 0.65rem; letter-spacing: 2px; }

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    margin-top: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.contact-info p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 4rem;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 4rem;
}

.contact-item {
    margin-bottom: 2.5rem;
}

.contact-item label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #bbb;
    margin-bottom: 0.8rem;
}

.contact-item a, .contact-item span {
    font-size: 1.2rem;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: #888;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 1.2rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #eee;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 300;
    outline: none;
    transition: var(--transition);
}

#contact-form input:focus, #contact-form textarea:focus {
    border-bottom-color: #000;
}

#contact-form button {
    align-self: flex-start;
    margin-top: 2rem;
    padding: 1.2rem 3.5rem;
    background: #000;
    color: #fff;
    border: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: var(--transition);
}

#contact-form button:hover {
    background: #333;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
}

/* Contact Quick Links Style */
.contact-big-links {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.big-link-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-decoration: none;
    color: #000;
    transition: var(--transition);
    padding: 1.5rem;
    border: 1px solid transparent;
    border-radius: 10px;
}

.big-link-item:hover {
    background: #f9f9f9;
    border-color: #eee;
    transform: translateX(10px);
}

.big-link-item i {
    font-size: 2.5rem;
    width: 60px;
    text-align: center;
}

.big-link-text {
    display: flex;
    flex-direction: column;
}

.big-link-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #bbb;
    margin-bottom: 0.3rem;
}

.big-link-value {
    font-size: 1.4rem;
    font-weight: 400;
}

@media (max-width: 600px) {
    .big-link-value { font-size: 1.1rem; }
    .big-link-item i { font-size: 2rem; }
}

/* About Page Refined Styles */
.about-intro {
    margin-bottom: 10rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 4rem;
}

.about-intro h2 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 0;
    flex: 1;
}

.magazine-visual-card {
    width: 280px;
    height: 380px;
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
}

.card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/portfolio/yooyoungwoong_interview.png');
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
    color: #fff;
}

.card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    opacity: 0.8;
}

.card-desc {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    word-break: keep-all;
}

.card-link-btn {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-bottom: 1px solid #fff;
    align-self: flex-start;
    padding-bottom: 5px;
    margin-top: 0.5rem;
}

.magazine-visual-card:hover .card-bg-img {
    transform: scale(1.1);
}

.magazine-visual-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    transform: translateY(-10px);
}

.about-intro h2 span {
    display: block;
    color: #eee;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.about-vision {
    position: sticky;
    top: 150px;
}

.vision-number {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: #000;
    display: block;
    margin-bottom: 1.5rem;
}

.vision-title {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.4;
    word-break: keep-all;
}

.about-description {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.desc-item p {
    font-size: 1.15rem;
    font-weight: 300;
    color: #444;
    line-height: 2;
    word-break: keep-all;
}

.desc-item .highlight-text {
    font-weight: 700;
    color: #000;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
}

@media (max-width: 900px) {
    .about-intro h2 { font-size: 2.5rem; }
    .about-grid { grid-template-columns: 1fr; gap: 4rem; }
    .about-vision { position: static; }
}

/* Portfolio Grid System */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.portfolio-item {
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-item .thumb-box {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f5f5f5;
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
}

.portfolio-item .thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.custom-zoom img {
    transform: scale(1.15);
}

.portfolio-item:hover .thumb-box img {
    transform: scale(1.05);
}

.custom-zoom:hover img {
    transform: scale(1.25);
}

.portfolio-item .item-info {
    margin-top: 1.2rem;
}

.portfolio-item .item-info h3 {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.portfolio-item .item-info p {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    overflow-y: auto;
    padding: 100px 0;
}

.modal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.modal-close {
    position: fixed;
    top: 40px;
    right: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition);
}

.modal-close:hover { transform: rotate(90deg); }

.modal-image {
    width: 100%;
    margin-bottom: 4rem;
    border: 1px solid #f0f0f0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}

.modal-title-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.modal-title-box span {
    color: #888;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
}

.modal-meta {
    text-align: right;
}

.modal-meta label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-meta p {
    font-size: 1.1rem;
    color: #000;
}

.modal-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    font-weight: 300;
    margin-bottom: 4rem;
    word-break: keep-all;
}

.modal-link {
    display: inline-block;
    padding: 1rem 3rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

.modal-link:hover { background: #333; transform: translateY(-3px); }

@media (max-width: 900px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .modal-header { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .modal-meta { text-align: left; }
}

/* Services Page Refined Styles */
.services-intro {
    margin-bottom: 8rem;
}

.services-intro p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
    color: #666;
    max-width: 700px;
    word-break: keep-all;
}

.service-steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.service-step-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    border-top: 1px solid #eee;
    padding-top: 4rem;
    padding-bottom: 4rem;
    transition: var(--transition);
}

.service-step-item:hover {
    border-top-color: #000;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #bbb;
}

.step-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.step-tags span {
    padding: 0.5rem 1.2rem;
    border: 1px solid #eee;
    font-size: 0.85rem;
    font-weight: 300;
    border-radius: 30px;
    color: #888;
}

.step-description {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: #444;
    word-break: keep-all;
}

@media (max-width: 900px) {
    .service-step-item { grid-template-columns: 1fr; gap: 2rem; }
    .step-content h3 { font-size: 1.8rem; }
}

/* Horizontal Service Flow Styles */
.service-flow-container {
    margin-top: 6rem;
    position: relative;
}

.service-horizontal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.flow-item {
    position: relative;
    padding: 2rem;
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.flow-item:hover {
    background: #fff;
    border-color: #000;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.flow-step-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: #bbb;
    display: block;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.flow-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.flow-tags {
    font-size: 0.9rem;
    color: #888;
    line-height: 2;
    font-weight: 300;
}

/* Connector Line (Desktop Only) */
@media (min-width: 901px) {
    .flow-item:not(:last-child)::after {
        content: '\2192';
        position: absolute;
        right: -2.5rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.2rem;
        color: #eee;
    }
}

@media (max-width: 900px) {
    .service-horizontal-grid { grid-template-columns: 1fr; gap: 2rem; }
    .flow-item:not(:last-child)::after {
        content: '\2193';
        position: absolute;
        bottom: -1.5rem;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.2rem;
        color: #eee;
    }
}
/* Contact Form */
.contact-form { margin-top: 5rem; }
.form-group { margin-bottom: 2rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; color: #888; }
.form-group input, .form-group textarea { width: 100%; padding: 1.5rem; border: 1px solid #eee; font-family: inherit; font-size: 1rem; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #000; }
.submit-btn { background: #000; color: #fff; border: none; padding: 1.5rem 4rem; font-size: 0.9rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: opacity 0.3s; }
.submit-btn:hover { opacity: 0.8; }
/* Contact Page Refined */
.contact-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10rem; margin-top: 4rem; }
.contact-info-side { display: flex; flex-direction: column; justify-content: space-between; }
.contact-heading h2 { font-size: 2.8rem; font-weight: 700; line-height: 1.2; margin-bottom: 2rem; word-break: keep-all; }
.contact-heading p { font-size: 1.1rem; color: #666; line-height: 1.8; margin-bottom: 4rem; word-break: keep-all; }

.contact-links-minimal { list-style: none; }
.contact-link-item-min { display: flex; align-items: center; margin-bottom: 2.5rem; text-decoration: none; color: #000; transition: opacity 0.3s; }
.contact-link-item-min:hover { opacity: 0.6; }
.contact-link-item-min i { font-size: 1.2rem; width: 30px; margin-right: 1.5rem; color: #888; }
.contact-link-item-min span { font-size: 0.95rem; font-weight: 400; letter-spacing: 0.5px; }

.contact-form-side { background: #fcfcfc; padding: 4rem; border: 1px solid #f0f0f0; }
.form-group { margin-bottom: 3rem; position: relative; }
.form-group label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #aaa; margin-bottom: 1rem; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem 0; border: none; border-bottom: 1px solid #ddd; background: transparent; font-family: inherit; font-size: 1.05rem; transition: border-color 0.3s; border-radius: 0; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #000; }
.submit-btn-refined { background: #000; color: #fff; border: none; width: 100%; padding: 1.8rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; cursor: pointer; transition: background 0.3s; margin-top: 1rem; }
.submit-btn-refined:hover { background: #333; }
.submit-btn-refined:disabled { background: #ccc; cursor: not-allowed; }

@media (max-width: 1100px) {
    .contact-container { grid-template-columns: 1fr; gap: 6rem; }
    .contact-form-side { padding: 3rem; }
}