/* 언어 전환 스크립트가 적용되기 전 한국어 원본이 잠깐 노출되는 깜빡임 방지.
   applyLang()이 documentElement에 data-lang-ready를 세팅하면 즉시 해제됨. */
html:not([data-lang-ready]) body { visibility: hidden; }
:root {
    --bg: #080d16;
    --bg-2: #0d1422;
    --panel: #111a2b;
    --panel-2: #152033;
    --line: rgba(255,255,255,0.1);
    --text: #f7fafc;
    --muted: #9aa8bd;
    --dim: #6d7a8f;
    --blue: #3b82f6;
    --teal: #14b8a6;
    --amber: #f59e0b;
    --green: #22c55e;
    --red: #ef4444;
    --cream: #fff2c2;
    --shadow: 0 24px 70px rgba(0,0,0,0.38);
    --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 18% 6%, rgba(20,184,166,0.16), transparent 28%),
        radial-gradient(circle at 78% 10%, rgba(245,158,11,0.14), transparent 24%),
        linear-gradient(180deg, #070b12 0%, var(--bg) 36%, #050810 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section.tight { padding: 68px 0; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--amber);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--amber); }
.serif { font-family: "Playfair Display", Georgia, serif; }
.accent { color: var(--cream); }
.blue { color: #9bc2ff; }
.teal { color: #7ee7da; }
.muted { color: var(--muted); }
.lead {
    max-width: 780px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.85;
}
.section-head {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
    align-items: end;
    margin-bottom: 38px;
}
.section-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: 0;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-size: 0.9rem;
    font-weight: 800;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.24); }
.btn.primary { background: linear-gradient(135deg, var(--amber), #ffd56a); color: #09111f; border-color: transparent; }
.btn.bluebtn { background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; border-color: transparent; }
.btn.ghost { background: rgba(255,255,255,0.04); color: var(--text); }
.btn.lang-btn { background: rgba(255,255,255,0.04); color: var(--text); }

.topline {
    background: rgba(5,8,16,0.76);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.78rem;
}
.topline-inner {
    height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.topline strong { color: var(--cream); }
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(8,13,22,0.82);
    backdrop-filter: blur(18px);
}
.nav-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.brand img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(59,130,246,0.25)); }
.brand-name { font-family: Outfit, sans-serif; font-size: 1.05rem; font-weight: 900; letter-spacing: 0; }
.brand-sub { font-size: 0.68rem; color: var(--amber); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; color: var(--muted); font-size: 0.86rem; font-weight: 700; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: transparent; color: #fff; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; font-weight: 900; }

.hero { min-height: calc(100vh - 110px); display: flex; align-items: center; padding: 74px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    margin-bottom: 24px;
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: 999px;
    background: rgba(245,158,11,0.08);
    color: var(--cream);
    font-size: 0.8rem;
    font-weight: 800;
}
.hero-kicker .kicker-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px rgba(34,197,94,0.8); }
.hero-kicker .kicker-text { white-space: nowrap; }
@media (max-width: 680px) { .hero-kicker .kicker-text { white-space: normal; } }
.hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3rem, 7vw, 6.2rem);
    line-height: 0.98;
    letter-spacing: 0;
    margin-bottom: 26px;
}
.hero-desc {
    max-width: 720px;
    color: #c4cedd;
    font-size: 1.08rem;
    line-height: 1.85;
    margin-bottom: 30px;
}
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.hero-stat {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.045);
    padding: 16px;
}
.hero-stat b { display: block; color: #fff; font-size: 1.45rem; line-height: 1; font-family: Outfit, sans-serif; }
.hero-stat span { display: block; color: var(--muted); font-size: 0.74rem; margin-top: 8px; }
.hero-visual {
    position: relative;
    min-height: 560px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow);
    background: #111827;
}
.hero-visual img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; opacity: 0.86; }
.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,13,22,0.08), rgba(8,13,22,0.68));
}
.visual-note {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    background: rgba(8,13,22,0.78);
    backdrop-filter: blur(14px);
}
.visual-note h3 { font-size: 1.05rem; margin-bottom: 4px; }
.visual-note p { color: var(--muted); font-size: 0.88rem; }

.band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,0.035);
}
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.band-item { background: rgba(13,20,34,0.96); padding: 24px; min-height: 126px; }
.band-item small { color: var(--amber); font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.68rem; }
.band-item strong { display: block; margin-top: 8px; color: #fff; font-size: 1.12rem; }
.band-item p { margin-top: 8px; color: var(--muted); font-size: 0.84rem; line-height: 1.55; }

.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: start; }
.story-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(21,32,51,0.96), rgba(13,20,34,0.96));
    padding: 28px;
    box-shadow: var(--shadow);
}
.story-card h3 { font-family: "Playfair Display", Georgia, serif; font-size: 2rem; line-height: 1.12; margin-bottom: 18px; }
.story-card p { color: var(--muted); line-height: 1.85; }
.timeline { display: grid; gap: 14px; }
.timeline-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,0.035);
}
.timeline-item b { color: var(--cream); font-family: Outfit, sans-serif; }
.timeline-item h4 { font-size: 1rem; margin-bottom: 5px; }
.timeline-item p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(21,32,51,0.96), rgba(9,15,26,0.96));
    overflow: hidden;
    box-shadow: var(--shadow);
}
.product-card .shot { aspect-ratio: 16/9; overflow: hidden; border-bottom: 1px solid var(--line); background: #0b1220; }
.product-card .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .shot img { transform: scale(1.035); }
.product-body { padding: 26px; }
.product-label { color: var(--amber); font-size: 0.74rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.product-body h3 { margin-top: 10px; font-family: Outfit, sans-serif; font-size: 1.8rem; line-height: 1.1; }
.product-body p { margin-top: 14px; color: var(--muted); line-height: 1.75; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.13);
    background: rgba(255,255,255,0.045);
    color: #d7deeb;
    font-size: 0.74rem;
    font-weight: 800;
}
.product-actions { margin-top: 22px; }

.matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.matrix-card {
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
}
.matrix-card .num { color: var(--amber); font-family: Outfit, sans-serif; font-size: 0.88rem; font-weight: 900; letter-spacing: 0.14em; }
.matrix-card h3 { margin-top: 14px; font-size: 1.18rem; line-height: 1.35; }
.matrix-card p { margin-top: 12px; color: var(--muted); font-size: 0.92rem; line-height: 1.75; }

.rd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rd-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(20,184,166,0.12), rgba(21,32,51,0.86));
    padding: 28px;
}
.rd-card:nth-child(2) { background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(21,32,51,0.86)); }
.rd-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.rd-card p { color: var(--muted); line-height: 1.8; }
.status {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--line);
    color: var(--cream);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.detail-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 34px; align-items: start; }
.detail-nav {
    position: sticky;
    top: 94px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(13,20,34,0.86);
    padding: 18px;
}
.detail-nav h3 { font-size: 1rem; margin-bottom: 12px; }
.detail-nav a {
    display: block;
    padding: 11px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 750;
}
.detail-nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.feature-stack { display: grid; gap: 18px; }
.feature-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    overflow: hidden;
}
.feature-card img { width: 100%; aspect-ratio: 16/8.5; object-fit: cover; border-bottom: 1px solid var(--line); }
.feature-text { padding: 24px; }
.feature-text h3 { font-size: 1.35rem; margin-bottom: 10px; }
.feature-text p { color: var(--muted); line-height: 1.75; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
}
.gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gallery figcaption { padding: 10px 12px; }
.gallery figcaption h5 { color: var(--text); font-size: 0.82rem; font-weight: 800; }
.gallery figcaption p { margin-top: 4px; color: var(--muted); font-size: 0.74rem; line-height: 1.5; }

.vision {
    background:
        linear-gradient(135deg, rgba(59,130,246,0.16), rgba(245,158,11,0.12)),
        #0b1220;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote {
    padding: 34px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    background: rgba(5,8,16,0.45);
}
.quote h2 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.12; }
.quote p { margin-top: 18px; color: #d5deeb; line-height: 1.8; }
.principles { display: grid; gap: 12px; }
.principle {
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    background: rgba(5,8,16,0.45);
}
.principle b { color: var(--cream); }
.principle p { color: var(--muted); margin-top: 6px; font-size: 0.92rem; }

.cta {
    padding: 84px 0;
    background: #050810;
}
.cta-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: center;
    padding: 34px;
    border: 1px solid rgba(245,158,11,0.28);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(20,184,166,0.08));
}
.cta-box h2 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; }
.cta-box p { color: var(--muted); margin-top: 12px; line-height: 1.8; }
.footer {
    border-top: 1px solid var(--line);
    background: #050810;
    padding: 40px 0;
    color: var(--muted);
}
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.86rem; font-weight: 750; }
.footer-links a:hover { color: #fff; }
.footer-links a.staff-link { color: var(--dim); font-size: 0.78rem; font-weight: 600; margin-left: auto; }
.footer-links a.staff-link:hover { color: var(--muted); }


.serve-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.serve-card { padding: 20px 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.04); text-align: center; }
.serve-card .ico { font-size: 1.5rem; margin-bottom: 10px; }
.serve-card h4 { font-size: 0.98rem; }
.serve-card p { margin-top: 6px; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.section.accent {
    background:
        radial-gradient(circle at 12% 0%, rgba(20,184,166,0.14), transparent 32%),
        radial-gradient(circle at 90% 100%, rgba(59,130,246,0.14), transparent 32%),
        #0c1424;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.04); }
.step-card .step-num { color: var(--amber); font-family: Outfit, sans-serif; font-size: 0.88rem; font-weight: 900; letter-spacing: 0.14em; }
.step-card h3 { margin-top: 14px; font-size: 1.05rem; line-height: 1.35; }
.step-card p { margin-top: 10px; color: var(--muted); font-size: 0.86rem; line-height: 1.7; }

@media (max-width: 980px) {
    .serve-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
    .nav-cta a.ghost { display: none; }
    .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .hero-grid, .section-head, .story-grid, .detail-grid, .vision-grid, .cta-box { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .hero-visual, .hero-visual img { min-height: 420px; }
    .hero-stats, .band-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
    .matrix { grid-template-columns: 1fr 1fr; }
    .detail-nav { position: static; }
}

@media (max-width: 680px) {
    .container { width: min(100% - 28px, 1180px); }
    .section { padding: 70px 0; }
    .nav-cta a.primary { display: none; }
    .brand { min-width: 0; }
    .topline-inner { height: auto; min-height: 38px; padding: 8px 0; align-items: flex-start; flex-direction: column; gap: 4px; }
    .hero { padding-top: 48px; }
    .hero h1 { font-size: 3.05rem; }
    .hero-desc { font-size: 1rem; }
    .hero-stats, .band-grid, .product-grid, .matrix, .rd-grid, .gallery, .serve-grid, .steps-grid { grid-template-columns: 1fr; }
    .timeline-item { grid-template-columns: 1fr; gap: 8px; }
    .brand-sub { display: none; }
    .hero-visual, .hero-visual img { min-height: 340px; }
    .cta-box { padding: 24px; }
}
