@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@300;400;500;700&family=Noto+Sans+KR:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap");

/*
 * 개발자 주석:
 * 신규 메인 페이지 전용 스타일.
 * AS-IS의 common.css / layout.css / home.css는 함께 불러오지 않는다.
 */
:root {
    --ink: #111111;
    --muted: #888880;
    --line: #e2e0db;
    --serif: "Playfair Display", "Noto Serif KR", serif;
    --korean-serif: "Noto Serif KR", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "Noto Sans KR", sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.is-inquiry-open { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button, input, textarea { border-radius: 0; }
img { display: block; max-width: 100%; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #888880; outline-offset: 5px; }

.content-wrap {
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 40px;
}
.section-space { padding-block: 80px; }
.section-border, .split-section { border-top: 1px solid var(--line); }
.section-label {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.display-title {
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
}
.korean-title {
    font-family: var(--korean-serif);
    font-size: 30px;
    font-weight: 300;
    line-height: 1.45;
}
.body-copy { font-size: 15px; color: #555; line-height: 1.8; }
.eyebrow {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .2em;
}
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    transition: gap .2s;
}
.arrow-link:hover { gap: 10px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    padding: 12px 24px;
    border: 1px solid transparent;
    background: transparent;
    font-size: 10px;
    letter-spacing: .15em;
    line-height: 1.5;
    transition: background .3s, color .3s, border-color .3s;
}
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #333; }
.button-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.button-outline:hover { color: #111; background: #fff; }
.button-light { background: #fff; color: #0e0e0c; }
.button-light:hover { background: #ddd; }
.mobile-link { display: none; }

/* HEADER */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    border-bottom: 1px solid transparent;
    color: #fff;
    transition: background .3s, color .3s, border-color .3s;
}
.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 40px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter .3s;
}
.brand-text { display: flex; flex-direction: column; width: 72px; }
.brand-text strong {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 1.1;
}
.brand-text small {
    display: block;
    margin-top: 2px;
    font-size: 8px;
    letter-spacing: .12em;
    opacity: .6;
}
.desktop-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 32px;
}
.desktop-nav a {
    color: rgba(255,255,255,.8);
    font-size: 11px;
    letter-spacing: .12em;
    transition: color .3s;
}
.desktop-nav a:hover { color: #fff; }
.header-inquiry { padding: 10px 20px; border-color: rgba(255,255,255,.7); }
.header-inquiry:hover { color: #111; background: #fff; }

.site-header.is-scrolled {
    color: #111;
    background: #fff;
    border-color: var(--line);
}
.site-header.is-scrolled .brand img { filter: brightness(0); }
.site-header.is-scrolled .desktop-nav a { color: #111; }
.site-header.is-scrolled .desktop-nav a:hover { color: var(--muted); }
.site-header.is-scrolled .header-inquiry {
    background: #111;
    color: #fff;
    border-color: #111;
}
.site-header.is-scrolled .header-inquiry:hover { background: #333; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
    border: 0;
    background: transparent;
}
.menu-toggle span { width: 20px; height: 1px; background: currentColor; }
.mobile-nav {
    padding: 24px;
    background: #fff;
    border-top: 1px solid var(--line);
    color: #111;
}
.mobile-nav a { font-size: 12px; letter-spacing: .15em; }

/* HERO */
.home-hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    overflow: hidden;
    background: #262622;
}
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity .9s ease-in-out, transform .9s ease-in-out;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.hero-copy { position: absolute; inset: auto 56px 56px; color: #fff; }
.hero-copy h1 {
    margin-bottom: 16px;
    font-family: var(--korean-serif);
    font-size: 72px;
    font-weight: 300;
    line-height: 1.25;
}
.hero-copy > p {
    margin-bottom: 8px;
    color: rgba(255,255,255,.8);
    font-size: 24px;
    font-weight: 300;
}
.hero-copy > small { color: rgba(255,255,255,.6); font-size: 17px; letter-spacing: .2em; }
.hero-controls {
    position: absolute;
    right: 56px;
    bottom: 56px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    color: #fff;
}
.hero-caption { text-align: right; }
.hero-subtitle { margin-bottom: 4px; color: rgba(255,255,255,.4); font-size: 10px; letter-spacing: .2em; }
.hero-title { color: rgba(255,255,255,.8); font-size: 14px; letter-spacing: .1em; }
.hero-dots { display: flex; align-items: center; gap: 8px; }
.hero-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.4);
    transition: width .3s, background .3s;
}
.hero-dot.is-active { width: 24px; background: #fff; }

/* SELECTED WORKS */
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.section-heading .section-label { margin-bottom: 8px; }
.project-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.image-frame { overflow: hidden; }
.project-card .image-frame { aspect-ratio: 3 / 2; margin-bottom: 12px; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover img, .journal-card:hover img { transform: scale(1.05); }
.project-card h3 { margin-bottom: 4px; font-size: 14px; font-weight: 500; letter-spacing: .1em; }
.project-location { color: var(--muted); font-size: 13px; }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; color: #aaa; font-size: 12px; }
.card-arrow { color: var(--muted); font-size: 20px; transition: transform .3s; }
.project-card:hover .card-arrow { transform: translateX(4px); }

/* PHILOSOPHY / LAND */
.split-section { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.split-image { min-width: 0; }
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 80px; }
.philosophy-section .split-image { min-height: 600px; }
.split-copy .section-label { margin-bottom: 24px; }
.philosophy-title { margin-bottom: 24px; font-size: 60px; }
.split-copy .korean-title { margin-bottom: 24px; }
.split-copy .body-copy { max-width: 384px; margin-bottom: 12px; }
.philosophy-motto { font-size: 15px; font-weight: 500; }

/* ARCHITECT */
.architect-label { margin-bottom: 40px; }
.architect-grid { display: grid; grid-template-columns: 480px minmax(0,1fr) minmax(0,1fr); gap: 56px; }
.architect-image { align-self: start; aspect-ratio: 4 / 3; overflow: hidden; }
.architect-image img { width: 100%; height: 100%; object-fit: cover; }
.architect-grid .eyebrow { margin-bottom: 12px; }
.architect-name { margin-bottom: 8px; font-family: var(--serif); font-size: 36px; font-weight: 400; }
.architect-korean-name { margin-bottom: 24px; font-family: var(--korean-serif); font-size: 24px; font-weight: 500; }
.architect-grid .body-copy { margin-bottom: 16px; }
.architect-career { color: var(--muted); font-size: 14px; line-height: 1.8; }
.architect-note { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; border-left: 1px solid var(--line); padding-left: 40px; }
.architect-note > p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.architect-note .arrow-link { margin-block: 24px; }

/* APPROACH */
.approach-section { background: #f9f8f6; }
.approach-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 56px; }
.approach-title { margin-top: 24px; font-size: 36px; }
.approach-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; }
.approach-step { margin-bottom: 12px; font-weight: 500; overflow-wrap: anywhere; }
.approach-card h3 { margin-bottom: 8px; font-family: var(--korean-serif); font-size: 16px; font-weight: 500; }
.approach-description { margin-bottom: 16px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.approach-image { aspect-ratio: 4 / 3; overflow: hidden; }
.approach-image img { width: 100%; height: 100%; object-fit: cover; }

/* SERVICES */
.services-section { padding-top: 56px; padding-bottom: 64px; }
.services-title { margin-top: 24px; margin-bottom: 12px; font-size: 48px; }
.services-intro { margin-bottom: 48px; color: var(--muted); font-size: 15px; }
.services-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); border-top: 1px solid var(--line); }
.service-card { padding: 32px 20px 24px; border-right: 1px solid var(--line); transition: background .3s; }
.service-card:last-child { border-right: 0; }
.service-card:hover { background: #f9f8f6; }
.service-card svg { width: 40px; height: 40px; margin-bottom: 20px; fill: none; stroke: #555; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 8px; font-size: 17px; font-weight: 500; }
.service-card:hover h3 { text-decoration: underline; text-underline-offset: 2px; }
.service-card p { color: #999; font-size: 13px; line-height: 1.7; }

/* FEATURED */
.featured-section { position: relative; height: 500px; color: #fff; }
.cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-shade { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.featured-copy { position: absolute; inset: auto 56px 48px; }
.featured-copy .eyebrow { margin-bottom: 16px; color: rgba(255,255,255,.5); font-size: 10px; }
.featured-copy h2 { margin-bottom: 8px; font-size: 60px; }
.featured-subtitle { margin-bottom: 24px; color: rgba(255,255,255,.7); font-family: var(--korean-serif); font-size: 16px; }

/* LAND REVIEW */
.land-section { grid-template-columns: 2fr 3fr; }
.land-image { padding-top: 64px; overflow: hidden; }
.land-image img { filter: grayscale(1); }
.land-section .section-label { margin-bottom: 32px; }
.land-title { font-size: 48px; }
.land-tags { margin-block: 12px 32px; color: #555; font-size: 13px; line-height: 1.8; }

/* JOURNAL */
.journal-heading { font-size: 36px; }
.journal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.journal-image { position: relative; aspect-ratio: 16 / 9; margin-bottom: 16px; }
.journal-date { position: absolute; bottom: 12px; left: 12px; padding: 4px 8px; background: rgba(255,255,255,.9); font-size: 9px; letter-spacing: .15em; }
.journal-category { margin-bottom: 8px; color: var(--muted); font-size: 12px; letter-spacing: .15em; }
.journal-card h3 { font-size: 16px; font-weight: 500; line-height: 1.5; }
.journal-card:hover h3 { text-decoration: underline; }

/* CTA / FOOTER */
.cta-section { position: relative; overflow: hidden; color: #fff; }
.cta-shade { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.cta-content { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; padding-block: 112px; }
.cta-content h2 { margin-bottom: 24px; }
.cta-content p { color: rgba(255,255,255,.6); font-family: var(--korean-serif); font-size: 16px; line-height: 1.7; }
.cta-content p + p { margin-top: 8px; }
.cta-content > .button { justify-self: end; padding: 16px 32px; font-size: 11px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; padding-block: 40px; }
.footer-info { padding-left: 24px; border-left: 1px solid rgba(17,17,17,.1); }
.footer-info p { font-size: 13px; color: rgba(17,17,17,.7); }
.footer-info small { font-size: 12px; color: rgba(17,17,17,.5); }
.footer-social { display: flex; gap: 20px; font-size: 13px; color: rgba(17,17,17,.7); }
.footer-copyright { margin-left: auto; text-align: right; }
.footer-copyright p { color: rgba(17,17,17,.5); font-size: 15px; }
.footer-copyright small { color: rgba(17,17,17,.3); font-size: 11px; }

/* INQUIRY PANEL */
.inquiry-modal { position: fixed; inset: 0; z-index: 100; opacity: 0; transition: opacity .4s; }
.inquiry-modal.is-open { opacity: 1; }
.inquiry-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.8); backdrop-filter: blur(4px); }
.inquiry-panel { position: absolute; inset: 0 0 0 auto; display: flex; flex-direction: column; width: 640px; max-width: 100%; background: #0e0e0c; color: #fff; transform: translateX(100%); transition: transform .4s; }
.inquiry-modal.is-open .inquiry-panel { transform: translateX(0); }
.inquiry-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.inquiry-header .eyebrow { margin-bottom: 4px; color: rgba(255,255,255,.4); font-size: 10px; }
.inquiry-header h2 { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.inquiry-close { width: 36px; height: 36px; flex-shrink: 0; border: 1px solid rgba(255,255,255,.2); background: transparent; color: rgba(255,255,255,.5); font-size: 20px; }
.inquiry-close:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.inquiry-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 40px 48px; }
#inquiry-form { display: flex; flex-direction: column; gap: 28px; }
.inquiry-intro { color: rgba(255,255,255,.4); font-size: 13px; line-height: 1.8; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
#inquiry-form label:not(.type-option) { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
#inquiry-form label > span, #inquiry-form legend { color: rgba(255,255,255,.4); font-size: 10px; letter-spacing: .15em; }
#inquiry-form input:not([type="radio"]) { width: 100%; min-width: 0; padding: 0 0 8px; border: 0; border-bottom: 1px solid rgba(255,255,255,.2); outline: none; background: transparent; color: #fff; font-size: 14px; }
#inquiry-form input:not([type="radio"]):focus { border-color: rgba(255,255,255,.6); }
#inquiry-form input::placeholder, #inquiry-form textarea::placeholder { color: rgba(255,255,255,.2); }
#inquiry-form textarea { width: 100%; padding: 12px; border: 1px solid rgba(255,255,255,.15); background: transparent; color: #fff; font-size: 13px; line-height: 1.7; resize: vertical; }
#inquiry-form fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
#inquiry-form legend { padding: 0; margin-bottom: 12px; }
.type-options { display: flex; flex-wrap: wrap; gap: 8px; }
.type-option { position: relative; cursor: pointer; }
.type-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
#inquiry-form .type-option > span { display: block; padding: 6px 12px; border: 1px solid rgba(255,255,255,.2); font-size: 11px; letter-spacing: .08em; }
#inquiry-form .type-option input:checked + span { border-color: #fff; color: #fff; }
.type-option input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.radio-options { display: flex; flex-direction: column; gap: 6px; }
#inquiry-form .radio-options label { flex-direction: row; align-items: center; gap: 6px; cursor: pointer; }
.radio-options input { margin: 0; accent-color: #fff; }
#inquiry-form .radio-options span { font-size: 12px; letter-spacing: 0; }
#inquiry-form .radio-options input:checked + span { color: #fff; }
.form-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.form-submit-row p { color: rgba(255,255,255,.25); font-size: 11px; line-height: 1.7; }
.form-submit-row button { flex-shrink: 0; }
.form-submit-row button:disabled { cursor: wait; opacity: .5; }
.inquiry-error { color: #ffb4a8; font-size: 13px; line-height: 1.7; }
.inquiry-success { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 400px; }
.success-rule { width: 40px; height: 1px; margin-bottom: 32px; background: rgba(255,255,255,.3); }
.inquiry-success h3 { margin-bottom: 16px; font-family: var(--serif); font-size: 36px; font-weight: 400; line-height: 1.3; }
.inquiry-success p { color: rgba(255,255,255,.5); font-size: 14px; line-height: 1.8; }
.inquiry-success small { margin-block: 40px 32px; color: rgba(255,255,255,.3); font-size: 12px; letter-spacing: .15em; }

@media (min-width: 768px) and (max-width: 1199px) {
    /* 개발자 주석: 원본의 고정 480px 열로 발생할 수 있는 태블릿 넘침 방지. */
    .desktop-nav { gap: 18px; }
    .header-inquiry { padding-inline: 12px; font-size: 9px; }
    .architect-grid { grid-template-columns: 1.2fr 1fr; gap: 40px; }
    .architect-note { grid-column: 2; }
    .approach-layout { grid-template-columns: 220px minmax(0,1fr); gap: 32px; }
    .approach-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
    .split-copy { padding: 64px; }
    .philosophy-title, .land-title { font-size: 42px; }
    .services-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .service-card { border-bottom: 1px solid var(--line); }
    .service-card:nth-child(3n) { border-right: 0; }
    .hero-copy h1 { font-size: 60px; }
}

@media (max-width: 767px) {
    .content-wrap { padding-inline: 24px; }
    .section-space { padding-block: 64px; }
    .display-title { font-size: 36px; }
    .header-inner { padding-inline: 24px; }
    .desktop-nav, .header-inquiry { display: none; }
    .menu-toggle { display: flex; }
    .mobile-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

    .hero-copy { inset: auto 32px 56px; }
    .hero-copy h1 { font-size: 36px; }
    .hero-copy > p { font-size: 20px; }
    .hero-copy > small { font-size: 17px; }
    .hero-controls { right: auto; left: 32px; bottom: 32px; }
    .hero-caption { display: none; }
    .hero-dot { width: 4px; height: 4px; }
    .hero-dot.is-active { width: 20px; }

    .desktop-link { display: none; }
    .mobile-link { display: inline-flex; margin-top: 24px; }
    .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 8px; }
    .project-card h3 { font-size: 12px; }
    .project-location { font-size: 12px; }
    .project-meta { font-size: 11px; }

    .split-section { grid-template-columns: 1fr; }
    .philosophy-section .split-image { min-height: 0; aspect-ratio: 4 / 5; }
    .split-copy { padding: 64px 32px; }
    .philosophy-title { font-size: 36px; }
    .korean-title { font-size: 24px; }
    .architect-grid { grid-template-columns: 1fr; gap: 40px; }
    .architect-name { font-size: 30px; }
    .architect-korean-name { font-size: 20px; }
    .architect-note { display: none; }
    .approach-layout { grid-template-columns: 1fr; gap: 40px; }
    .approach-title { font-size: 30px; }
    .approach-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }

    .services-section { padding-top: 56px; padding-bottom: 64px; }
    .services-title { font-size: 30px; }
    .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .service-card { border-bottom: 1px solid var(--line); }
    .service-card:nth-child(2n) { border-right: 0; }

    .featured-section { height: 400px; }
    .featured-copy { inset: auto 32px 48px; }
    .featured-copy h2 { font-size: 36px; }
    .land-image { padding-top: 40px; aspect-ratio: 16 / 9; }
    .land-title { font-size: 30px; }
    .journal-grid { grid-template-columns: 1fr; gap: 32px; }
    .journal-heading { font-size: 30px; }

    .cta-content { grid-template-columns: 1fr; padding-block: 80px; }
    .cta-content h2 { font-size: 30px; }
    .cta-content > .button { justify-self: start; }
    .footer-inner { gap: 20px; }
    .footer-info { border: 0; padding-left: 0; }
    .footer-copyright { width: 100%; margin-left: 0; text-align: left; }

    .inquiry-header { padding: 28px 32px; }
    .inquiry-body { padding: 40px 32px; }
    .form-submit-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}