/* ============================================================
   ABOUT PAGE – Warm Editorial Light
   ============================================================ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

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

:root {
    --bg: #09090B;
    --bg-elevated: #111113;
    --bg-card: #1C1C1E;
    --text: #F4F4F5;
    --text-sub: #A1A1AA;
    --accent: #FFB81C;
    --accent-dim: rgba(255, 184, 28, 0.10);
    --accent-border: rgba(255, 184, 28, 0.25);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    --warm-gray-light: #F2F0ED;
    --warm-gray-mid: #C8C4BD;
    --warm-gray-dark: #88878F;
    --radius: 4px;
    --spring: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont,
        'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

html { scrollbar-color: rgba(255,255,255,0.15) var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Navigation ── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0;
    background: rgba(9, 9, 11, 0.88);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: padding 0.3s var(--spring), background 0.3s ease;
}
.navbar.scrolled { padding: 14px 0; background: rgba(9, 9, 11, 0.96); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-brand { text-decoration: none; display: flex; align-items: center; transition: opacity 0.3s ease; }
.nav-brand:hover { opacity: 0.7; }
.nav-brand .logo { height: 38px; width: auto; display: block; }
.nav-menu { display: flex; list-style: none; gap: 48px; }
.nav-link {
    text-decoration: none; color: var(--text-sub);
    font-weight: 500; font-size: 15px;
    transition: color 0.25s ease; position: relative;
}
.nav-link::before {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: width 0.3s var(--spring);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::before, .nav-link.active::before { width: 100%; }
/* Dropdown */
.nav-item { position: relative; }
.nav-item.has-dropdown > .nav-link::after {
    content: ''; display: inline-block;
    width: 4px; height: 4px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg); margin-left: 5px; margin-bottom: 2px;
    transition: transform 0.2s ease;
}
.nav-item.has-dropdown:hover > .nav-link::after {
    transform: rotate(-135deg); margin-bottom: -1px;
}
.nav-dropdown {
    position: absolute; top: 100%; left: 50%;
    min-width: 160px; padding-top: 16px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateX(-50%) translateY(6px);
    z-index: 100;
}
.nav-dropdown-inner {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 8px 0;
    box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
    display: block; padding: 10px 24px;
    font-size: 13px; font-weight: 500; color: var(--text-sub);
    text-decoration: none; transition: all 0.15s ease; white-space: nowrap;
    position: relative;
}
.nav-dropdown a:hover {
    color: var(--accent); background: rgba(255,184,28,0.06);
    padding-left: 28px;
}
.nav-dropdown a:hover::before {
    content: ''; position: absolute; left: 12px; top: 50%;
    width: 4px; height: 4px; background: var(--accent); border-radius: 50%;
    transform: translateY(-50%);
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s var(--spring); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── About Hero ── */
.about-hero {
    padding: 180px 0 120px;
    background: var(--bg);
    position: relative; overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute; top: 0; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(ellipse, rgba(255,184,28,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.about-hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
    display: block;
    font-size: 13px; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 16px;
    animation: lightFadeUp 0.9s var(--spring) both;
}
.about-hero h1 {
    font-size: 64px; font-weight: 900;
    line-height: 1.1; letter-spacing: -3px;
    color: var(--text); margin-bottom: 36px;
    animation: lightFadeUp 0.9s var(--spring) 0.1s both;
}
.hero-description { animation: lightFadeUp 0.9s var(--spring) 0.2s both; }
.hero-description p { font-size: 17px; line-height: 2; color: var(--text-sub); max-width: 560px; }

@keyframes lightFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Section Title ── */
.section-title {
    font-size: 40px; font-weight: 900;
    letter-spacing: -1.5px; color: var(--text);
    margin-bottom: 60px; position: relative; padding-bottom: 20px;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 48px; height: 4px; background: var(--accent); border-radius: 2px;
}

/* ── Company Map Section ── */
.company-map-section {
    padding: 120px 0; background: var(--bg);
    border-top: 1px solid var(--border);
}
.company-map-section .section-eyebrow {
    display: block; font-size: 13px; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 16px;
}
.company-map-section .section-title { margin-bottom: 16px; }
.company-map-desc {
    font-size: 17px; line-height: 1.8; color: var(--text-sub);
    margin-bottom: 72px;
}
.company-map-desc strong { color: var(--text); font-weight: 700; }
.company-map {
    display: grid; grid-template-columns: 1fr auto 1fr;
    gap: 0; align-items: center;
}
.map-node { text-align: center; }
.map-logo-circle {
    width: 140px; height: 140px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
}
.map-logo-yellow { background: var(--accent); }
.map-logo-yellow img { height: 52px; filter: brightness(0); }
.map-logo-eco {
    background: #FFFFFF;
}
.map-logo-eco img {
    width: 96px; height: auto; display: block;
    filter: brightness(0);
}
.map-node h4 {
    font-size: 20px; font-weight: 800; color: var(--text);
    margin-bottom: 6px; letter-spacing: -0.5px;
}
.map-node-sub {
    font-size: 13px; font-weight: 600; color: var(--accent);
    margin-bottom: 20px;
}
.map-node ul {
    list-style: none; display: flex; flex-direction: column;
    gap: 4px; text-align: center;
}
.map-node ul li {
    font-size: 14px; color: var(--text-sub); line-height: 1.7;
}
.map-node ul li::before {
    content: '· '; color: var(--text-sub);
}
.map-connector {
    display: flex; align-items: center;
    gap: 0; padding: 0 8px;
}
.connector-line {
    width: 48px; height: 1px;
    background: rgba(255, 184, 28, 0.4);
    position: relative;
}
.connector-line::after {
    content: ''; position: absolute;
    right: 0; top: -3px;
    border: 3px solid transparent;
    border-left: 5px solid var(--accent);
}
.map-node-left ~ .map-connector .connector-line:first-child::after {
    right: auto; left: 0;
    border-left: none;
    border-right: 5px solid var(--accent);
}
.map-center-circle {
    width: 160px; height: 160px; border-radius: 50%;
    border: 2px solid var(--accent);
    display: flex; align-items: center; justify-content: center;
    position: relative; flex-shrink: 0;
    background: rgba(255, 184, 28, 0.06);
}
.map-center-circle::before {
    content: ''; position: absolute;
    width: 180px; height: 180px; border-radius: 50%;
    border: 1px solid rgba(255, 184, 28, 0.3);
}
.map-center-circle span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px; font-weight: 400; color: var(--text);
    letter-spacing: 1px;
    line-height: 1.05;
    text-align: center;
}

/* ── Mission Section ── */
.mission-section { padding: 120px 0; background: var(--bg-elevated); }
.mission-content {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.mission-text h3 {
    font-size: 13px; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}
.mission-quote {
    font-size: 38px; font-weight: 900;
    line-height: 1.3; letter-spacing: -1.5px;
    color: var(--text); margin-bottom: 24px;
    padding-left: 24px;
    border-left: 4px solid var(--accent);
}
.mission-lead {
    font-size: 20px; font-weight: 700;
    line-height: 1.6; color: var(--text);
    margin-bottom: 28px;
}
.mission-text p { font-size: 16px; line-height: 2; color: var(--text-sub); }
.mission-text p + p { margin-top: 20px; }
.mission-text p strong { color: var(--text); font-weight: 700; }
.mission-image {
    border-radius: 0; overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.10); aspect-ratio: 4/3;
}
.mission-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--spring); }
.mission-image:hover img { transform: scale(1.04); }

/* ── Values Section ── */
.values-section { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--border); }
.values-section .section-eyebrow {
    display: block; font-size: 13px; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 48px;
}
.values-list { display: flex; flex-direction: column; }
.value-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 40px; align-items: center;
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.value-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.value-keyword {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 400; letter-spacing: 2px;
    color: var(--text); line-height: 1;
}
.value-desc p {
    font-size: 17px; line-height: 1.9;
    color: var(--text-sub);
}

/* ── History / Timeline ── */
.history-section { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--border); }
.timeline {
    display: flex; flex-direction: column;
    max-width: 800px;
    position: relative;
}
/* 전체를 관통하는 수직선 */
.timeline::before {
    content: ''; position: absolute;
    left: 136px; top: 0; bottom: 0;
    width: 1px; background: var(--border);
}
.timeline-year {
    display: grid; grid-template-columns: 120px 1fr;
    gap: 0;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.timeline-year:last-child { border-bottom: none; }
.year-label {
    font-size: 30px; font-weight: 900;
    letter-spacing: -1.5px; color: var(--text);
    line-height: 1;
}
.year-events {
    padding-left: 44px;
    display: flex; flex-direction: column; gap: 12px;
    position: relative;
}
/* 수직선 위의 연도 점 */
.year-events::before {
    content: ''; position: absolute;
    left: 12px; top: 4px;
    width: 8px; height: 8px;
    background: var(--accent); border-radius: 50%;
    border: 2px solid var(--bg-elevated);
}
.event-item { display: flex; align-items: baseline; gap: 20px; }
.event-month {
    font-size: 12px; font-weight: 600;
    color: var(--text-sub);
    flex-shrink: 0; min-width: 20px;
    letter-spacing: 0.01em;
}
.event-text { font-size: 15px; color: var(--text); line-height: 1.7; }

/* ── Partners Section ── */
.partners-section { padding: 120px 0; background: var(--bg); }
.section-subtitle {
    font-size: 17px; color: var(--text-sub);
    margin-top: -40px; margin-bottom: 56px; line-height: 1.7;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.partner-logo {
    background: transparent; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0; padding: 28px 24px;
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 3/2; transition: all 0.4s ease;
}
.partner-logo:hover {
    border-color: var(--accent);
    background: rgba(255, 184, 28, 0.06);
    transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.partner-logo img {
    max-width: 100%; max-height: 64px; object-fit: contain;
    filter: grayscale(100%) brightness(0.7) invert(1);
    opacity: 0.5;
    transition: all 0.4s ease;
}
.partner-logo:hover img {
    filter: grayscale(0%) brightness(1) invert(0);
    opacity: 1;
}

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--spring), transform 0.8s var(--spring); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Footer ── */
.footer { background: #0D0D0F; color: #F4F4F5; padding: 80px 0 40px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-content { margin-bottom: 40px; }
.footer-info { display: flex; flex-direction: column; gap: 12px; }
.footer-company-name { font-size: 18px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.footer-info p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.45); margin: 0; }
.footer-links { display: flex; gap: 20px; margin-top: 16px; }
.footer-link { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 13px; transition: color 0.3s ease; }
.footer-link:hover { color: var(--accent); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background: rgba(255,255,255,0.07);
    border-radius: 50%; color: rgba(255,255,255,0.65); text-decoration: none;
    transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.08);
}
.social-link:hover { background: var(--accent); color: #09090B; border-color: var(--accent); transform: translateY(-3px); }
.footer-bottom { padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-copyright { font-size: 12px; color: rgba(255,255,255,0.28); margin: 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    .about-hero h1 { font-size: 52px; }
    .mission-content { grid-template-columns: 1fr; gap: 48px; }
    .value-row { grid-template-columns: 1fr; gap: 16px; }
    .value-keyword { font-size: 48px; }
    .partners-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .section-title { font-size: 32px; }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: 72px; left: -100%;
        flex-direction: column; background: rgba(9, 9, 11, 0.98);
        width: 100%; padding: 32px 0;
        border-top: 1px solid var(--border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        transition: left 0.3s var(--spring); gap: 0;
    }
    .nav-menu li { padding: 15px 40px; border-bottom: 1px solid var(--border); }
    .nav-menu.active { left: 0; }
    .hamburger { display: flex; min-width: 32px; min-height: 28px; align-items: center; justify-content: center; z-index: 1001; }
    .nav-dropdown { display: none; }
    .nav-item.has-dropdown > .nav-link::after { display: none; }
    .about-hero { padding: 140px 0 80px; }
    .about-hero h1 { font-size: 38px; letter-spacing: -1.5px; }
    .value-keyword { font-size: 36px; }

    /* Company Map - vertical stack on mobile */
    .company-map {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .map-connector { flex-direction: column; padding: 8px 0; }
    .connector-line { width: 1px; height: 32px; }
    .connector-line::after {
        right: 50%; top: auto; bottom: -3px;
        transform: translateX(50%);
        border-left: 3px solid transparent;
        border-right: 3px solid transparent;
        border-top: 5px solid var(--accent);
        border-bottom: none;
    }
    .map-node-left ~ .map-connector .connector-line:first-child::after {
        right: 50%; left: auto; top: -3px; bottom: auto;
        transform: translateX(50%);
        border-left: 3px solid transparent;
        border-right: 3px solid transparent;
        border-top: none;
        border-bottom: 5px solid var(--accent);
    }
    .map-center-circle { width: 140px; height: 140px; }
    .map-center-circle::before { width: 158px; height: 158px; }
    .map-center-circle span { font-size: 22px; }

    /* Partners — compact auto-fill grid on mobile */
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
        gap: 8px;
    }
    .partner-logo {
        padding: 14px 10px;
        aspect-ratio: 1 / 1;
        min-width: 0;
    }
    .partner-logo img { max-height: 44px; }
    .timeline::before { left: 96px; }
    .timeline-year { grid-template-columns: 80px 1fr; padding: 22px 0; }
    .year-label { font-size: 22px; letter-spacing: -1px; }
    .year-events { padding-left: 36px; }
    .year-events::before { left: 10px; }
    .footer-links { flex-direction: column; gap: 10px; }
}
@media (max-width: 576px) {
    .container { padding: 0 20px; }
    .about-hero h1 { font-size: 30px; letter-spacing: -1px; }
    .section-title { font-size: 26px; }
    .partner-logo { padding: 12px 8px; }
    .partner-logo img { max-height: 38px; }
    .mission-text h2 { font-size: 26px; }
}
