/* ============================================================
   FONT FACE
============================================================ */
@font-face { font-family:'Paperozi'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2'); font-weight:100; font-display:swap }
@font-face { font-family:'Paperozi'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2'); font-weight:200; font-display:swap }
@font-face { font-family:'Paperozi'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2'); font-weight:300; font-display:swap }
@font-face { font-family:'Paperozi'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2'); font-weight:400; font-display:swap }
@font-face { font-family:'Paperozi'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2'); font-weight:500; font-display:swap }
@font-face { font-family:'Paperozi'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2'); font-weight:600; font-display:swap }
@font-face { font-family:'Paperozi'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2'); font-weight:700; font-display:swap }
@font-face { font-family:'Paperozi'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2'); font-weight:800; font-display:swap }
@font-face { font-family:'Paperozi'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2'); font-weight:900; font-display:swap }


/* ============================================================
   CSS VARIABLES & RESET
============================================================ */
:root {
    --beige-light:   #f5f0eb;
    --beige-mid:     #ede5da;
    --beige-warm:    #e8ddd2;
    --pink-light:    #e8cfc4;
    --pink-mid:      #d4a896;
    --pink-warm:     #c9917a;
    --brown-text:    #4a2e1e;
    --brown-mid:     #6b4c3b;
    --brown-dark:    #3d2418;
    --dark-section:  #3c2b1f;
    --content-width: 1280px;
}

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

html { scroll-behavior: smooth }

body {
    font-family: 'Paperozi', sans-serif;
    background: var(--beige-light);
    color: var(--brown-text);
    overflow-x: hidden;
}

/* BR 유틸리티 */
br.pc-only { display: block }
br.mo-only { display: none }

/* 섹션 앵커 오프셋 */
section[id] { scroll-margin-top: 90px }

main { padding-top: 90px }


/* ============================================================
   GLOBAL TYPOGRAPHY
============================================================ */
.section-label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--pink-warm);
    margin-bottom: 10px;
}

.section-title {
    font-size: 45px;
    font-weight: 700;
    color: var(--brown-text);
    line-height: 1.25;
    margin-bottom: 50px;
}

.section-title span { color: var(--pink-warm) }


/* ============================================================
   REVEAL 애니메이션
============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   HEADER
============================================================ */
#header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1090;
    background: var(--beige-light);
    border-bottom: 1px solid rgba(74,46,30,0.1);
    height: 90px;
    display: flex;
    align-items: center;
}

.header-inner {
    max-width: var(--content-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrap a { display: block; line-height: 0 }

.header-logo-img {
    height: 43px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* GNB */
.gnb { display: flex; gap: 50px; list-style: none }

.gnb li a {
    text-decoration: none;
    font-size: 19px;
    font-weight: 500;
    color: var(--brown-text);
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s;
}

.gnb li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--pink-warm);
    transition: width 0.3s;
}

.gnb li a:hover { color: var(--pink-warm) }
.gnb li a:hover::after { width: 100% }
.gnb li a.active { color: var(--pink-warm); font-weight: 700 }
.gnb li a.active::after { width: 100% }


/* ============================================================
   HAMBURGER
============================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px; height: 44px;
    background: var(--beige-warm);
    border: 1.5px solid rgba(74,46,30,0.25);
    border-radius: 10px;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
    position: relative;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--brown-text);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    transform-origin: center;
    width: 100%;
}

.hamburger.open { background: var(--brown-text); border-color: var(--brown-text) }
.hamburger.open span { background: #fff }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg) }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0) }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg) }


/* ============================================================
   MOBILE MENU
============================================================ */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--beige-light);
    z-index: 1050;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.open { display: flex; opacity: 1 }

.mobile-menu a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 22px 0;
    font-size: 22px;
    font-weight: 500;
    color: var(--brown-text);
    text-decoration: none;
    border-bottom: 1px solid rgba(74,46,30,0.08);
    letter-spacing: 1px;
}

.mobile-menu a:first-child { border-top: 1px solid rgba(74,46,30,0.08) }


/* ============================================================
   FIXED NAV (우측 플로팅 퀵메뉴)
============================================================ */
#fixed-nav {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fnav-btn {
    width: 65px; height: 65px;
    border-radius: 50%;
    background: var(--brown-mid);
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background 0.25s, transform 0.25s;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(74,46,30,0.25);
}

.fnav-btn:hover { background: var(--brown-dark); transform: scale(1.08) }

.fnav-icon { display: flex; align-items: center; justify-content: center }
.fnav-icon svg { width: 22px; height: 22px; fill: #fff; display: block }

.fnav-label {
    font-size: 12px;
    color: rgba(255,255,255,0.88);
    font-weight: 500;
    letter-spacing: 0px;
    white-space: nowrap;
}


/* ============================================================
   BREADCRUMB
============================================================ */
.breadcrumb-bar {
    background: var(--beige-mid);
    padding: 16px 0;
    border-bottom: 1px solid rgba(74,46,30,0.08);
}

.breadcrumb-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--brown-mid);
}

.breadcrumb-inner a { color: var(--brown-mid); text-decoration: none }
.breadcrumb-inner a:hover { color: var(--pink-warm) }
.breadcrumb-sep { opacity: 0.5 }
.breadcrumb-current { color: var(--brown-text); font-weight: 600 }


/* ============================================================
   FOOTER
============================================================ */
footer {
    background: var(--dark-section);
    padding: 40px 0;
}

.footer-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo { display: flex; align-items: center }

.footer-logo-img {
    height: 40px; width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer-logo-text { font-size: 20px; color: #fff; letter-spacing: 3px; opacity: 0.8 }

.footer-text {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    line-height: 1.8;
    text-align: right;
}


/* ============================================================
   SCROLL TOP 버튼
============================================================ */
#scroll-top {
    position: fixed;
    bottom: 90px; right: 40px;
    width: 46px; height: 46px;
    background: var(--brown-mid);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 800;
    transition: all 0.3s;
}

#scroll-top.show { display: flex }
#scroll-top:hover { background: var(--brown-dark) }


/* ============================================================
   RESPONSIVE — 태블릿 (max-width: 1024px)
============================================================ */
@media (max-width: 1024px) {
    .gnb { gap: 28px }
    .gnb li a { font-size: 14px }
}


/* ============================================================
   RESPONSIVE — 모바일 (max-width: 768px)
============================================================ */
@media (max-width: 768px) {
    br.pc-only { display: none }
    br.mo-only { display: block }

    section[id] { scroll-margin-top: 64px }
    .section-title { font-size: 26px }

    #header { height: 64px }
    .header-inner { padding: 0 20px }
    .header-logo-img { height: 40px }
    .gnb { display: none }
    .hamburger { display: flex }
    main { padding-top: 64px }

    #fixed-nav { right: 12px; gap: 8px }
    .fnav-btn { width: 52px; height: 52px }
    .fnav-icon svg { width: 18px; height: 18px }
    .fnav-label { font-size: 8px }

    #scroll-top { right: auto; left: 20px; bottom: 20px }

    .breadcrumb-inner { padding: 0 20px }

    .footer-inner { flex-direction: column; gap: 16px; text-align: center }
    .footer-text { text-align: center }
}
