*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --ink:    #1c1c1c;
    --muted:  #888;
    --border: #e2e2e2;
    --bg:     #fafafa;
    --red:    #8b1a1a;
}

html { scroll-behavior: smooth; }

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;

    font-family: 'Noto Sans KR', 'Inter', sans-serif;
    background: #fff;
    color: var(--ink);
    font-weight: 300;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── TOP NAV ── */
.topnav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 60px;
}
.topnav-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: .15em;
    color: var(--ink);
}
.topnav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.topnav-links a {
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color .2s;
}
.topnav-links a:hover,
.topnav-links a.active { color: var(--ink); }
.topnav-contact { font-size: .72rem; color: var(--muted); }

/* ── NOTICE POPUP ── */
.notice-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.55);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
}
.notice-overlay.hidden { display: none; }
.notice-popup {
    background: #fff;
    max-width: 360px;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    position: relative;
}
.notice-popup-header {
    background: var(--red);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.notice-popup-header h4 {
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.notice-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.7);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    padding: 8px;
    margin: -8px;
    touch-action: manipulation;
}
.notice-popup-footer button {
    touch-action: manipulation;
}
.notice-close:hover { color: #fff; }
.notice-popup-body {
    padding: 28px 24px;
    font-size: .88rem;
    color: var(--ink);
    line-height: 1.9;
}
.notice-popup-footer {
    padding: 0 24px 20px;
    display: flex;
    justify-content: flex-end;
}
.notice-popup-footer button {
    background: var(--ink);
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-size: .75rem;
    letter-spacing: .1em;
    cursor: pointer;
    font-family: inherit;
}
.notice-popup-footer button:hover { background: var(--red); }


/* ── FOOTER ── */
footer {
    background: #111;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: .15em;
    color: rgba(255,255,255,.5);
}
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.25); letter-spacing: .1em; }

/* ── HAMBURGER ── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 300;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .topnav { padding: 0 20px; }
    .topnav-contact { display: none; }

    .nav-toggle { display: flex; }

    .topnav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0; right: 0;
        background: rgba(255,255,255,.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 8px 0;
        border-bottom: 1px solid var(--border);
        gap: 0;
    }
    .topnav-links.open { display: flex; }
    .topnav-links li { border-bottom: 1px solid var(--border); }
    .topnav-links li:last-child { border-bottom: none; }
    .topnav-links a {
        display: block;
        padding: 16px 24px;
        font-size: .75rem;
    }

    footer { flex-direction: column; gap: 16px; text-align: center; padding: 28px 20px; }
}
