/* =============================================
   GPLOT IMC — Main Stylesheet v1.0
   Dark #050505 + Gold #C9A44F
   ============================================= */

/* =============================================
   1. VARIABLES
   ============================================= */
:root {
    --bg-primary:   #050505;
    --bg-section:   #111111;
    --bg-card:      #181818;
    --gold:         #C9A44F;
    --gold-light:   #E2C46B;
    --text-primary: #F6F1E7;
    --text-secondary: #A7A7A7;
    --border:       #2B2B2B;

    --font-main:    'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

    --radius-card:  20px;
    --radius-btn:   999px;
    --transition:   0.3s ease;

    --container-max: 1200px;
    --container-pad: clamp(20px, 5vw, 80px);
    --header-h:     72px;
}

/* =============================================
   2. RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }
table { border-collapse: collapse; width: 100%; }

/* Screen reader */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    padding: 12px 24px;
    background: var(--gold);
    color: #050505;
    font-weight: 700;
    z-index: 9999;
    clip: auto;
    border-radius: var(--radius-btn);
}

/* =============================================
   3. LAYOUT
   ============================================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.section {
    padding: clamp(64px, 10vw, 120px) 0;
}
.section-alt {
    background: var(--bg-section);
}
.section-header {
    margin-bottom: clamp(40px, 6vw, 64px);
}
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: center; }

/* =============================================
   4. TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}
p { color: var(--text-secondary); line-height: 1.8; }

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.25;
}
.section-desc {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}
.text-gold { color: var(--gold); }
.text-center { text-align: center; }

/* =============================================
   5. BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-btn);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 1.5px solid transparent;
    text-decoration: none;
}
.btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
.btn-primary {
    background: var(--gold);
    color: #050505;
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: #050505;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201, 164, 79, 0.3);
}
.btn-outline {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold);
}
.btn-outline:hover {
    background: rgba(201, 164, 79, 0.1);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text-secondary);
}
.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.btn-sm  { padding: 10px 20px; font-size: 0.825rem; }
.btn-lg  { padding: 18px 48px; font-size: 1rem; }
.btn.loading { pointer-events: none; opacity: 0.7; }
.btn.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* =============================================
   6. CARDS
   ============================================= */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: clamp(24px, 3vw, 40px);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
    border-color: rgba(201, 164, 79, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}
.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 164, 79, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 1.4rem;
}
.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}
.card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* =============================================
   7. HEADER & NAVIGATION
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(5, 5, 5, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.site-header.scrolled {
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 12px;
    flex-wrap: nowrap;
}
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.site-logo img {
    height: 36px;
    width: auto;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.05em;
    font-family: var(--font-display);
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}
.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 4px 0;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.main-nav a:hover { color: var(--text-primary); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--gold); }
.main-nav .nav-cta {
    background: var(--gold);
    color: #050505 !important;
    padding: 10px 22px;
    border-radius: var(--radius-btn);
    font-weight: 600;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* =============================================
   8. HERO
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 164, 79, 0.09) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content {
    max-width: 740px;
    position: relative;
    z-index: 1;
    padding: 60px 0;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(201, 164, 79, 0.1);
    border: 1px solid rgba(201, 164, 79, 0.3);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--text-primary);
    margin-bottom: 24px;
}
.hero-title span { color: var(--gold); }
.hero-desc {
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.85;
    max-width: 540px;
    margin-bottom: 40px;
}
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(167, 167, 167, 0.5);
    animation: heroScroll 2.4s ease-in-out infinite;
}
.hero-scroll::after {
    content: '';
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(167, 167, 167, 0.4), transparent);
}
@keyframes heroScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* =============================================
   9. SERVICES GRID
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* =============================================
   10. PROCESS STEPS
   ============================================= */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px;
    transition: border-color var(--transition), transform var(--transition);
}
.process-step:hover {
    border-color: rgba(201, 164, 79, 0.3);
    transform: translateY(-3px);
}
.process-step-num {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: rgba(201, 164, 79, 0.18);
    line-height: 1;
    margin-bottom: 16px;
}
.process-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.process-step-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* =============================================
   11. CTA SECTION
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, rgba(201,164,79,0.06) 0%, rgba(201,164,79,0.02) 100%);
    border: 1px solid rgba(201, 164, 79, 0.15);
    border-radius: 28px;
    padding: clamp(48px, 8vw, 80px) clamp(32px, 6vw, 80px);
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}
.cta-section .section-title { margin-bottom: 16px; }
.cta-section > p { margin-bottom: 36px; line-height: 1.9; }
.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   12. PAGE HERO (inner pages)
   ============================================= */
.page-hero {
    padding: calc(var(--header-h) + 64px) 0 72px;
    background: linear-gradient(180deg, rgba(201, 164, 79, 0.06) 0%, transparent 100%);
    border-bottom: 1px solid var(--border);
}
.page-title {
    font-size: clamp(1.9rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.page-desc {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    max-width: 640px;
    color: var(--text-secondary);
    line-height: 1.85;
}

/* =============================================
   13. ABOUT PAGE
   ============================================= */
.about-diagram {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 8px;
}
.diagram-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    min-width: 140px;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: border-color var(--transition);
}
.diagram-item:hover { border-color: rgba(201, 164, 79, 0.3); }
.diagram-item .icon { font-size: 1.8rem; }
.diagram-item .label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}
.diagram-arrow {
    display: flex;
    align-items: center;
    color: var(--gold);
    font-size: 1.3rem;
    padding: 0 6px;
    flex-shrink: 0;
    opacity: 0.6;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}
.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.value-card:hover {
    border-color: rgba(201, 164, 79, 0.3);
    transform: translateY(-4px);
}
.value-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(201, 164, 79, 0.12);
    font-family: var(--font-display);
    margin-bottom: 16px;
    line-height: 1;
}
.value-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

/* =============================================
   14. BENEFITS (influencer page)
   ============================================= */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px;
    text-align: center;
    transition: border-color var(--transition), transform var(--transition);
}
.benefit-card:hover {
    border-color: rgba(201, 164, 79, 0.3);
    transform: translateY(-4px);
}
.benefit-icon  { font-size: 2.4rem; margin-bottom: 16px; }
.benefit-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.benefit-desc  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.75; }

/* =============================================
   15. PORTFOLIO
   ============================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.portfolio-card:hover {
    border-color: rgba(201, 164, 79, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.portfolio-card-thumb {
    aspect-ratio: 16 / 9;
    background: var(--bg-section);
    overflow: hidden;
}
.portfolio-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-card-thumb img { transform: scale(1.06); }
.portfolio-card-body { padding: 24px; }
.portfolio-card-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
}
.portfolio-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}
.portfolio-card-title a:hover { color: var(--gold); }
.portfolio-card-brand { font-size: 0.85rem; color: var(--text-secondary); }

/* Coming Soon */
.coming-soon-box { text-align: center; padding: clamp(60px, 10vw, 120px) 20px; }
.coming-soon-icon  { font-size: 3.5rem; margin-bottom: 20px; opacity: 0.55; }
.coming-soon-title { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 14px; }
.coming-soon-desc  { font-size: 0.95rem; color: var(--text-secondary); max-width: 480px; margin: 0 auto 32px; line-height: 1.8; }

/* =============================================
   16. MAGAZINE
   ============================================= */
.magazine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.magazine-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}
.magazine-card:hover {
    border-color: rgba(201, 164, 79, 0.3);
    transform: translateY(-4px);
}
.magazine-card-thumb { aspect-ratio: 16 / 9; background: var(--bg-section); overflow: hidden; }
.magazine-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.magazine-card:hover .magazine-card-thumb img { transform: scale(1.05); }
.magazine-card-body { padding: 24px; }
.magazine-card-cat {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
}
.magazine-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: 10px;
}
.magazine-card-title a:hover { color: var(--gold); }
.magazine-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.magazine-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* =============================================
   17. FORMS
   ============================================= */
.form-section { max-width: 720px; margin: 0 auto; }
.gplot-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: clamp(28px, 5vw, 56px);
}
.form-group { margin-bottom: 24px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.form-label .required { color: var(--gold); margin-left: 3px; }
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: border-color var(--transition), background var(--transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--gold);
    background: rgba(201, 164, 79, 0.04);
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(167, 167, 167, 0.45);
}
.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A7A7A7' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}
.form-select option { background: #1a1a1a; color: var(--text-primary); }
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
input[type="date"].form-input {
    color-scheme: dark;
}
.checkbox-group, .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}
.checkbox-item, .radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}
.checkbox-item input,
.radio-item input {
    width: 17px;
    height: 17px;
    accent-color: var(--gold);
    cursor: pointer;
    flex-shrink: 0;
}
.checkbox-item span,
.radio-item span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.privacy-box {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}
.privacy-box h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.privacy-box p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 12px;
}
.privacy-agree-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-submit-area { margin-top: 32px; text-align: center; }
.form-message {
    margin-top: 16px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.875rem;
    line-height: 1.5;
    display: none;
}
.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
    display: block;
}
.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    display: block;
}

/* =============================================
   18. CONTACT PAGE
   ============================================= */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 0;
}
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px;
    text-align: center;
}
.contact-info-icon { font-size: 2rem; margin-bottom: 16px; }
.contact-info-label { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.contact-info-value { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.contact-info-value a { color: var(--gold); }
.contact-channels { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-btn);
    font-size: 0.82rem;
    font-weight: 500;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}
.channel-btn:hover { border-color: var(--gold); color: var(--gold); }
.channel-btn.coming-soon { opacity: 0.45; cursor: not-allowed; }

/* =============================================
   19. PRIVACY PAGE
   ============================================= */
.privacy-content { max-width: 780px; margin: 0 auto; }
.privacy-content h2 {
    font-size: 1.25rem;
    color: var(--gold);
    margin: 48px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.privacy-content h3 { font-size: 1rem; color: var(--text-primary); margin: 24px 0 10px; }
.privacy-content p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: 12px; }
.privacy-content ul, .privacy-content ol { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.privacy-content li { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 6px; }
.privacy-content table { margin-bottom: 20px; }
.privacy-content th, .privacy-content td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    font-size: 0.875rem;
    text-align: left;
    vertical-align: top;
}
.privacy-content th { background: var(--bg-card); color: var(--text-primary); font-weight: 600; }
.privacy-content td { color: var(--text-secondary); }

/* =============================================
   20. FOOTER
   ============================================= */
.site-footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 30px; width: auto; }
.footer-logo .logo-text { font-size: 1.3rem; font-weight: 800; color: var(--gold); font-family: var(--font-display); }
.footer-tagline { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; max-width: 260px; }
.footer-nav h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.875rem; color: var(--text-secondary); }
.footer-nav a:hover { color: var(--gold); }
.footer-contact h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.footer-contact p { font-size: 0.875rem; margin-bottom: 6px; }
.footer-contact a { color: var(--text-secondary); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    gap: 16px;
}
.footer-legal a { font-size: 0.8rem; color: var(--text-secondary); }
.footer-legal a:hover { color: var(--gold); }
.footer-copy { font-size: 0.8rem; color: rgba(167, 167, 167, 0.5); }

/* =============================================
   21. 404 PAGE
   ============================================= */
.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}
.error-404-content { max-width: 480px; }
.error-404-num {
    font-size: clamp(6rem, 15vw, 9rem);
    font-weight: 800;
    font-family: var(--font-display);
    color: rgba(201, 164, 79, 0.15);
    line-height: 1;
    margin-bottom: 24px;
}
.error-404-title { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.error-404-desc  { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 36px; }

/* =============================================
   22. UTILITIES
   ============================================= */
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }

/* Fade in animation — JS-enhanced (JS 없으면 항상 보임) */
.fade-in {
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.js-loaded .fade-in {
    opacity: 0;
    transform: translateY(18px);
}
.js-loaded .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pagination */
.nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.page-numbers:hover { border-color: var(--gold); color: var(--gold); }
.page-numbers.current { background: var(--gold); color: #050505; border-color: var(--gold); font-weight: 700; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =============================================
   22b. DUAL ENTRY (it!fluencer 방식)
   ============================================= */
.dual-entry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.dual-entry-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: clamp(32px, 4vw, 52px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}
.dual-entry-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}
.dual-entry-brand::before {
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.dual-entry-influencer::before {
    background: linear-gradient(90deg, rgba(201,164,79,0.4), rgba(201,164,79,0.15));
}
.dual-entry-card:hover {
    border-color: rgba(201,164,79,0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}
.dual-entry-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: rgba(201,164,79,0.1);
    border: 1px solid rgba(201,164,79,0.25);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.06em;
    width: fit-content;
}
.dual-entry-icon { font-size: 2.4rem; }
.dual-entry-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
}
.dual-entry-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}
.dual-entry-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
    flex: 1;
}
.dual-entry-list li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* =============================================
   23. RESPONSIVE — TABLET (≤1024px)
   ============================================= */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* =============================================
   24. RESPONSIVE — MOBILE (≤768px)
   ============================================= */
@media (max-width: 768px) {
    :root {
        --header-h: 60px;
        --container-pad: 20px;
    }

    /* Mobile nav drawer */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 88vw);
        height: 100vh;
        background: #0d0d0d;
        border-left: 1px solid var(--border);
        padding: 80px 28px 32px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
    }
    .main-nav.active { right: 0; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav li { border-bottom: 1px solid var(--border); }
    .main-nav a { display: block; padding: 16px 0; font-size: 1rem; color: var(--text-primary); }
    .main-nav a::after { display: none; }
    .main-nav .nav-cta {
        display: block;
        text-align: center;
        margin-top: 24px;
        padding: 14px 24px;
        border-radius: var(--radius-btn);
        background: var(--gold);
        color: #050505 !important;
        border: none;
    }
    .hamburger { display: flex; }

    /* Grid collapse */
    .grid-2, .grid-3, .grid-4,
    .services-grid, .process-steps,
    .portfolio-grid, .magazine-grid,
    .values-grid, .benefits-grid,
    .contact-info-grid,
    .dual-entry-grid {
        grid-template-columns: 1fr;
    }
    .grid-2-1 { grid-template-columns: 1fr; gap: 32px; }
    .form-row  { grid-template-columns: 1fr; gap: 0; }

    /* Footer */
    .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    /* Hero */
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { justify-content: center; }

    /* About diagram */
    .about-diagram {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .diagram-arrow { display: none; }

    /* CTA section */
    .cta-section { padding: 48px 24px; }
    .btn-group { flex-direction: column; align-items: center; }
}

/* =============================================
   25. RESPONSIVE — SMALL (≤480px)
   ============================================= */
@media (max-width: 480px) {
    .hero-title { font-size: 1.85rem; }
    .btn     { padding: 12px 22px; }
    .btn-lg  { padding: 14px 32px; font-size: 0.95rem; }
    .gplot-form { padding: 24px 18px; }
    .card { padding: 24px; }
}

/* =============================================
   26. MATCHING PLATFORM COMPONENTS
   ============================================= */

/* ---- Hero Stats ---- */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 32px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 12px 28px;
    width: fit-content;
}
.hero-stat { text-align: center; padding: 0 20px; }
.hero-stat-num {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
}
.hero-stat-label {
    display: block;
    font-size: .72rem;
    color: var(--text-secondary);
    margin-top: 3px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
    flex-shrink: 0;
}

/* ---- Matching Process 4-step ---- */
.match-process-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.match-step {
    padding: 28px 20px;
    border: 1px solid var(--border);
    border-right: none;
    background: var(--bg-card);
    position: relative;
    transition: border-color .2s;
}
.match-step:first-child { border-radius: var(--radius-card) 0 0 var(--radius-card); }
.match-step:last-child  { border-right: 1px solid var(--border); border-radius: 0 var(--radius-card) var(--radius-card) 0; }
.match-step:hover { border-color: var(--gold); }
.match-step-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    position: relative;
}
.match-step-num {
    font-size: .72rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: .08em;
    font-family: var(--font-main);
}
.match-step-icon { font-size: 1.4rem; }
.match-step-arrow {
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid var(--gold);
    z-index: 2;
}
.match-step-title {
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.match-step-desc {
    font-size: .82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}
.match-step-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.match-step-tag {
    font-size: .7rem;
    padding: 3px 8px;
    border-radius: 10px;
    background: rgba(201,164,79,.12);
    color: var(--gold-light);
    border: 1px solid rgba(201,164,79,.25);
}

/* ---- Partner Cards (small grid) ---- */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.partner-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition: border-color .2s;
}
.partner-card:hover { border-color: var(--gold); }
.partner-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #050505;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.partner-info { flex: 1; min-width: 0; }
.partner-name { font-size: .9rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.partner-cat  { font-size: .72rem; color: var(--gold); background: rgba(201,164,79,.1); padding: 2px 8px; border-radius: 10px; }
.partner-followers { font-size: .75rem; color: var(--text-secondary); margin-top: 4px; }
.partner-platforms { display: flex; gap: 6px; flex-shrink: 0; }
.partner-platform-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-section);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    cursor: default;
    transition: border-color .15s;
}
.partner-platform-badge:hover { border-color: var(--gold); }
.partner-empty {
    text-align: center;
    color: var(--text-secondary);
    padding: 48px;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius-card);
}

/* ---- Partner Roster (influencer page) ---- */
.partner-roster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.partner-roster-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition: border-color .2s;
}
.partner-roster-card:hover { border-color: rgba(201,164,79,.5); }
.partner-roster-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #050505;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.partner-roster-body { flex: 1; min-width: 0; }
.partner-roster-name { font-size: .88rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.partner-roster-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 3px; }
.partner-cat-badge   { font-size: .7rem; color: var(--gold); background: rgba(201,164,79,.1); padding: 2px 7px; border-radius: 8px; }
.partner-country     { font-size: .72rem; color: var(--text-secondary); }
.partner-follower-count { font-size: .72rem; color: var(--text-secondary); }
.partner-plat-col    { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }

/* ---- Partner Flow (influencer page) ---- */
.partner-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.partner-flow-step {
    padding: 24px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    text-align: center;
    transition: border-color .2s;
}
.partner-flow-step:hover { border-color: var(--gold); }
.partner-flow-icon { font-size: 2rem; margin-bottom: 8px; }
.partner-flow-num  { font-size: .7rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; margin-bottom: 8px; }
.partner-flow-title { font-size: .95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.partner-flow-desc  { font-size: .82rem; color: var(--text-secondary); line-height: 1.6; }

/* ---- Campaign Board (campaign page) ---- */
.campaign-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.campaign-board-card {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition: border-color .2s;
}
.campaign-board-card:hover { border-color: var(--gold); }
.campaign-board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.campaign-board-status {
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
}
.campaign-status-new    { background: rgba(110,180,247,.15); color: #6eb4f7; }
.campaign-status-active { background: rgba(111,207,151,.15); color: #6fcf97; }
.campaign-board-budget  { font-size: .8rem; color: var(--gold); font-weight: 600; }
.campaign-board-type    { font-size: .82rem; color: var(--text-secondary); margin-bottom: 10px; }
.campaign-board-tags    { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.campaign-board-tag {
    font-size: .72rem;
    padding: 3px 8px;
    border-radius: 10px;
    background: var(--bg-section);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.campaign-board-cta {
    display: block;
    font-size: .82rem;
    color: var(--gold);
    text-decoration: none;
    margin-top: auto;
    transition: opacity .15s;
}
.campaign-board-cta:hover { opacity: .75; }

/* ---- Nav Dual CTA ---- */
.nav-match-cta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 20px;
    flex-shrink: 0;
}
.nav-match-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s, box-shadow .18s, background .18s;
    line-height: 1.3;
    border: 1.5px solid transparent;
}
.nav-match-btn:hover { transform: translateY(-1px); }

/* 파트너 등록 — 흰색 텍스트 + 반투명 테두리 */
.nav-match-influencer {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.3);
    color: #ffffff;
}
.nav-match-influencer:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.6);
}

/* 캠페인 의뢰 — 골드 solid, 진한 텍스트 */
.nav-match-brand {
    background: var(--gold);
    border-color: var(--gold);
    color: #0a0a0a;
    box-shadow: 0 2px 8px rgba(201,164,79,.35);
}
.nav-match-brand:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: 0 4px 16px rgba(201,164,79,.5);
}
.nav-match-icon { font-size: .82rem; }

/* ---- Language Switcher ---- */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 12px;
    flex-shrink: 0;
}
.lang-btn {
    display: inline-block;
    padding: 4px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
    line-height: 1.4;
}
.lang-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.07); }
.lang-btn.active { color: var(--gold); }
.lang-btn.active:hover { background: rgba(201,164,79,0.1); }

/* ---- Brand Partner Cards ---- */
.brand-partners-section { background: var(--bg-section); }
.brand-partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.brand-partner-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.brand-partner-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.brand-partner-logo {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
}
.brand-partner-logo img {
    max-height: 64px;
    max-width: 160px;
    object-fit: contain;
}
.brand-partner-logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.brand-partner-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.brand-partner-cat {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}
.brand-partner-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}
.brand-partner-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 4px;
    flex: 1;
}
.brand-partner-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    transition: gap 0.15s;
}
.brand-partner-link:hover { gap: 10px; }
@media (max-width: 768px) {
    .brand-partners-grid { grid-template-columns: 1fr; gap: 16px; }
    .brand-partner-logo { height: 110px; }
}

/* ---- Responsive: Matching Components ---- */
@media (max-width: 1024px) {
    .match-process-flow { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .match-step:first-child { border-radius: var(--radius-card) 0 0 0; }
    .match-step:last-child  { border-right: none; border-radius: 0 0 var(--radius-card) 0; }
    .match-step:nth-child(2) { border-right: 1px solid var(--border); border-radius: 0 var(--radius-card) 0 0; }
    .match-step:nth-child(3) { border-right: none; border-radius: 0 0 0 var(--radius-card); }
    .match-step-arrow { display: none; }
    .partner-grid    { grid-template-columns: repeat(2, 1fr); }
    .partner-roster  { grid-template-columns: repeat(2, 1fr); }
    .campaign-board  { grid-template-columns: repeat(2, 1fr); }
    .partner-flow    { grid-template-columns: repeat(2, 1fr); }
    .hero-stats      { padding: 10px 20px; }
    .hero-stat       { padding: 0 14px; }
}
@media (max-width: 768px) {
    .match-process-flow { grid-template-columns: 1fr; gap: 10px; }
    .match-step, .match-step:first-child, .match-step:last-child,
    .match-step:nth-child(2), .match-step:nth-child(3) {
        border-right: 1px solid var(--border);
        border-radius: var(--radius-card);
    }
    .partner-grid    { grid-template-columns: 1fr; }
    .partner-roster  { grid-template-columns: 1fr; }
    .campaign-board  { grid-template-columns: 1fr; }
    .partner-flow    { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hero-stats      { flex-wrap: wrap; justify-content: center; border-radius: 16px; gap: 8px; padding: 14px 16px; }
    .hero-stat-divider { display: none; }
    .hero-stat       { padding: 0 10px; }
    .nav-match-cta   { display: none; }
    .lang-switcher   { margin-left: 8px; }
}

/* =============================================
   BLOG SIDEBAR LAYOUT
   ============================================= */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}
.blog-main { min-width: 0; }

/* sidebar widget base */
.blog-sidebar { position: sticky; top: 100px; }
.sidebar-widget { margin-bottom: 36px; }
.sidebar-widget-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

/* categories */
.sidebar-cat-list { list-style: none; padding: 0; margin: 0; }
.sidebar-cat-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sidebar-cat-list li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.sidebar-cat-list li a:hover,
.sidebar-cat-list li.current-cat a { color: var(--gold); }
.sidebar-cat-count {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: 2px 7px;
    border-radius: 20px;
    min-width: 24px;
    text-align: center;
}

/* recent posts */
.sidebar-recent-list { list-style: none; padding: 0; margin: 0; }
.sidebar-recent-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sidebar-recent-thumb { flex-shrink: 0; }
.sidebar-recent-thumb img {
    width: 56px; height: 56px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.sidebar-recent-body { flex: 1; min-width: 0; }
.sidebar-recent-title {
    display: block;
    color: var(--text-primary);
    font-size: 0.85rem;
    line-height: 1.4;
    text-decoration: none;
    margin-bottom: 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s;
}
.sidebar-recent-title:hover { color: var(--gold); }
.sidebar-recent-date { font-size: 0.75rem; color: var(--text-secondary); }

/* tags */
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sidebar-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.sidebar-tag:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 1024px) {
    .blog-layout { grid-template-columns: 1fr 260px; gap: 32px; }
}
@media (max-width: 768px) {
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
}

/* =============================================
   DIM HOME BANNER (front-page.php 매거진 섹션)
   ============================================= */
.dim-home-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 40px;
    padding: 36px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    border-left: 4px solid #d72013;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.dim-home-banner:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.dim-home-banner-left {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    min-width: 0;
}
.dim-home-mark {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    background: #d72013;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}
.dim-home-info { min-width: 0; }
.dim-home-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.dim-home-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}
.dim-home-channels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.dim-home-channels span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #d72013;
    background: rgba(215,32,19,0.1);
    border: 1px solid rgba(215,32,19,0.25);
    padding: 3px 10px;
    border-radius: 3px;
}
.dim-home-banner-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}
.dim-home-banner-right .btn {
    white-space: nowrap;
    text-align: center;
}
@media (max-width: 768px) {
    .dim-home-banner { flex-direction: column; align-items: flex-start; padding: 24px; }
    .dim-home-banner-right { flex-direction: row; width: 100%; }
    .dim-home-banner-right .btn { flex: 1; }
}

/* =============================================
   DIM MAGAZINE INTRO PAGE
   ============================================= */

/* ── Hero ── */
.dim-intro-hero {
    position: relative;
    padding: calc(var(--header-h) + 80px) 0 80px;
    overflow: hidden;
    background: var(--bg-primary);
}
.dim-intro-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 80% 40%, rgba(215,32,19,0.08) 0%, transparent 70%),
                radial-gradient(ellipse 50% 50% at 10% 80%, rgba(201,164,79,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.dim-intro-hero-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: center;
}
.dim-intro-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #d72013;
    margin-bottom: 20px;
}
.dim-intro-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.dim-title-accent {
    color: #d72013;
    display: inline-block;
}
.dim-intro-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 36px;
}
.dim-intro-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* DIM CTA 버튼 공통 */
.dim-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-btn);
    transition: opacity 0.2s, transform 0.2s, background 0.2s;
    white-space: nowrap;
    line-height: 1;
}
.dim-cta-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.dim-cta-btn--primary {
    background: #d72013;
    color: #fff;
    border: 2px solid #d72013;
}
.dim-cta-btn--primary:hover { background: #b81b10; border-color: #b81b10; opacity: 1; }
.dim-cta-btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}
.dim-cta-btn--ghost:hover { border-color: var(--text-secondary); opacity: 1; }
.dim-cta-btn--white {
    background: #fff;
    color: #050505;
    border: 2px solid #fff;
}
.dim-cta-btn--white:hover { background: #f0f0f0; border-color: #f0f0f0; opacity: 1; }
.dim-cta-btn--outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}
.dim-cta-btn--outline-white:hover { border-color: #fff; opacity: 1; }

/* Hero 마크 */
.dim-intro-hero-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.dim-hero-mark-inner {
    width: 280px;
    height: 280px;
    background: #d72013;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: 0 24px 60px rgba(215,32,19,0.3);
    flex-shrink: 0;
}
.dim-hero-mark-d {
    font-family: var(--font-display);
    font-size: 9rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.04em;
}
.dim-hero-mark-im {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.45);
    line-height: 1;
    align-self: flex-end;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.dim-hero-mark-sub {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-muted, #555);
    text-align: center;
    line-height: 1.6;
}

/* ── About ── */
.dim-about-section { background: var(--bg-section); }
.dim-about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}
.dim-about-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 36px;
}
.dim-about-meta {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.dim-about-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.dim-about-meta-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: #d72013;
    line-height: 1;
}
.dim-about-meta-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}

/* ── 3채널 ── */
.dim-channels-section { background: var(--bg-primary); }
.dim-channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.dim-channel-card {
    position: relative;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.dim-channel-card:hover {
    border-color: var(--ch-color, #d72013);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.dim-channel-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ch-color, #d72013);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.dim-channel-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--ch-color, #d72013);
    margin-top: 4px;
}
.dim-channel-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}
.dim-channel-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
}
.dim-channel-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ch-color, #d72013);
    margin-top: 8px;
}

/* ── Latest / More CTA ── */
.dim-offline-preview {
    text-align: center;
    padding: 60px 0;
}
.dim-offline-preview-icon {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: #d72013;
    margin-bottom: 16px;
}
.dim-offline-preview-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.dim-more-cta {
    text-align: center;
    margin-top: 48px;
}

/* ── Final CTA Section ── */
.dim-final-cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: #0a0a0a;
}
.dim-final-cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(215,32,19,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.dim-final-cta-inner {
    text-align: center;
    position: relative;
}
.dim-final-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #d72013;
    margin-bottom: 20px;
}
.dim-final-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.dim-final-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.dim-final-btn-group {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.dim-final-domain {
    font-size: 0.75rem;
    color: var(--text-muted, #555);
    letter-spacing: 0.04em;
}

/* ── 반응형 ── */
@media (max-width: 1024px) {
    .dim-channels-grid { grid-template-columns: repeat(2, 1fr); }
    .dim-intro-hero-inner { grid-template-columns: 1fr 260px; gap: 40px; }
    .dim-hero-mark-inner { width: 220px; height: 220px; }
    .dim-hero-mark-d { font-size: 7rem; }
    .dim-hero-mark-im { font-size: 3.8rem; }
}
@media (max-width: 768px) {
    .dim-intro-hero-inner { grid-template-columns: 1fr; }
    .dim-intro-hero-mark { display: none; }
    .dim-about-grid { grid-template-columns: 1fr; gap: 32px; }
    .dim-channels-grid { grid-template-columns: 1fr; }
    .dim-final-btn-group { flex-direction: column; align-items: center; }
}

/* =============================================
   DIM MAGAZINE INTEGRATION
   ============================================= */

/* Powered-by 배너 */
.dim-powered-bar {
    background: rgba(201,164,79,0.07);
    border-top: 1px solid rgba(201,164,79,0.2);
    border-bottom: 1px solid rgba(201,164,79,0.2);
    padding: 16px 0;
}
.dim-powered-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.dim-powered-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.dim-powered-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--gold);
}
.dim-powered-name {
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.dim-powered-name a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
}
.dim-powered-name a:hover { text-decoration: underline; }
.dim-powered-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: var(--gold);
    color: #050505;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.dim-powered-btn:hover { opacity: 0.82; }

/* 카테고리 필터 */
.dim-cat-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* DIM 카드 — 썸네일 비율 고정 */
.dim-card .magazine-card-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.dim-card .magazine-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.dim-card:hover .magazine-card-thumb img { transform: scale(1.04); }

/* 페이지네이션 */
.dim-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.dim-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.dim-page-btn:hover { border-color: var(--gold); color: var(--gold); }
.dim-page-btn.active { background: var(--gold); border-color: var(--gold); color: #050505; font-weight: 700; }

/* API 미연결 상태 */
.dim-offline-box {
    text-align: center;
    padding: 80px 0;
}
.dim-offline-logo {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.dim-offline-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.dim-offline-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .dim-powered-inner { flex-direction: column; align-items: flex-start; }
    .dim-powered-btn { align-self: flex-start; }
}

/* =============================================
   KAKAO CHAT BUTTON
   ============================================= */
.kakao-chat-btn {
    display: inline-block;
    background: #FEE500;
    color: #191919;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: opacity 0.2s;
}
.kakao-chat-btn:hover { opacity: 0.85; }

/* =============================================
   WORDPRESS ADMIN BAR — 고정 헤더 오프셋
   wp-admin bar(32px desktop / 46px mobile) 만큼
   .site-header top 값을 내려 겹침 방지
   ============================================= */
html.admin-bar .site-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    html.admin-bar .site-header {
        top: 46px;
    }
}
/* 모바일 nav drawer도 admin-bar 높이만큼 내림 */
@media screen and (max-width: 1080px) {
    html.admin-bar .main-nav {
        top: 46px;
    }
}
@media screen and (min-width: 783px) and (max-width: 1080px) {
    html.admin-bar .main-nav {
        top: 32px;
    }
}
