/* =========================================================
   BRACELET STUDIO 공통 테마 (ABOUT US 페이지 기준)
   - 색상: 블랙 #000000 + 골드 #d6b367
   - 폰트: 영문 제목·메뉴 Antonio / 본문 Pretendard
   모든 페이지가 이 파일을 공유합니다. 공통 스타일은 여기서만 수정하세요.
   ========================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }

:root {
    --gold-primary: #d6b367;
    --gold-light: #d6b367;
    --gold-dark: #8a6a2a;
    --blue-plus: #5b8bf7;
    --border-gold-subtle: rgba(214, 179, 103, 0.2);

    --bg: #000000;
    --bg-card: #111111;
    --bg-card-hover: #161616;
    --line: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text-sub: #aaaaaa;
    --text-muted: #888888;

    --font-display: 'Antonio', 'Pretendard', sans-serif;
    --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    /* 상단 메뉴 줄 높이 (데스크톱). 로고·글씨 크기는 그대로, 위아래 여백만 줄여 얇게 */
    --header-h: 58px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ---------- GNB Header ----------
   높이를 --header-h와 똑같이 맞춰 아래 탭 줄과 틈 없이 붙고, 배경은 불투명하게(뒤 내용이 비치지 않게)
   배경색은 페이지 배경(--bg)과 같은 색 → 메뉴 줄과 본문 사이에 색 경계가 생기지 않음 */
header {
    background-color: var(--bg);
    height: var(--header-h);
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

nav ul { list-style: none; display: flex; align-items: center; gap: 3rem; }
nav li { position: relative; }
nav a {
    font-family: var(--font-display);
    font-weight: 700;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.45rem;
    letter-spacing: 1.5px;
    display: block;
    padding: 6px 0;
    transition: color 0.3s, transform 0.2s;
    text-transform: uppercase;
}
nav a:hover, nav a.active { color: var(--gold-primary); transform: translateY(-1px); }

.lang-switch { display: flex; align-items: center; background: #151515; border: 1px solid rgba(214, 179, 103, 0.3); border-radius: 20px; padding: 3px; font-size: 1rem; font-family: var(--font-display); letter-spacing: 1px; }
.lang-btn { padding: 4px 12px; border-radius: 15px; color: #888; cursor: pointer; text-decoration: none; transition: 0.2s; }
.lang-btn.active { background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); color: #000; font-weight: 700; }

.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #141414; min-width: 200px; width: max-content; box-shadow: 0 12px 35px rgba(0,0,0,0.8); border-radius: 8px; border: 1px solid var(--border-gold-subtle); padding: 10px 0; z-index: 1001; }
.dropdown-menu li { width: 100%; }
.dropdown-menu a { font-weight: 600; padding: 10px 20px; font-size: 1.25rem; color: #bbb; letter-spacing: 1.2px; white-space: nowrap; }
.dropdown-menu a:hover { background-color: #1f1f1f; color: var(--gold-primary); }
nav li.dropdown:hover .dropdown-menu { display: block; }

/* ---------- Footer ----------
   배경은 따로 칠하지 않고 페이지 배경을 그대로 이어서 사용 (위 본문과 색이 끊기지 않게) */
footer { font-family: var(--font-body); background-color: transparent; color: #555; text-align: center; padding: 45px; font-size: 0.85rem; }

/* =========================================================
   서브 페이지 공통 (WHAT WE DO / CULTURE / CAREERS)
   ========================================================= */
body.subpage { padding-top: var(--header-h); }

.page-hero {
    padding: 110px 8% 70px;
    border-bottom: 1px solid var(--line);
    background: radial-gradient(ellipse at 20% 0%, rgba(214, 179, 103, 0.10) 0%, rgba(8, 8, 8, 0) 60%);
}
.page-hero .section-tag { margin-bottom: 18px; }
.page-hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 5.2rem;
    line-height: 0.95;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
}
.page-hero-title span { color: var(--gold-primary); }

.section-tag {
    font-family: var(--font-display);
    font-weight: 600;
    color: #777777;
    font-size: 1.35rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

/* 섹션 이동 탭 (배경 불투명: 뒤 내용이 비치지 않게) */
.tab-wrapper { position: sticky; top: var(--header-h); background: var(--bg); z-index: 999; }
/* CULTURE: 위에 고정되는 제목·탭 줄도 페이지 배경과 같은 색 */
body .sticky-top-header-group { background-color: var(--bg); }
.tab-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; gap: 36px; }
.tab-btn { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: 1.5px; text-transform: uppercase; color: #777; padding: 18px 2px; text-decoration: none; position: relative; transition: color 0.2s; }
.tab-btn:hover { color: #ddd; }
.tab-btn.active { color: var(--gold-primary); }
.tab-btn.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background-color: var(--gold-primary); }

.content-container { max-width: 1200px; margin: 0 auto; padding: 20px 20px 100px; }
.section-block { padding: 100px 0; }
.section-block:last-child { border-bottom: none; }

.sec-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 4.68rem;
    line-height: 1.05;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 18px;
}
.sec-title span { color: var(--gold-primary); }
.sec-sub { font-size: 1.08rem; font-weight: 500; color: var(--text-sub); line-height: 1.85; margin-bottom: 40px; max-width: 850px; }

/* 카드 공통 */
.card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; transition: border-color 0.25s, background 0.25s; min-width: 0; }
.card:hover { border-color: var(--border-gold-subtle); background: var(--bg-card-hover); }

.num-label { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: 1px; color: var(--gold-primary); }

@media (max-width: 900px) {
    :root { --header-h: 72px; }
    header { padding: 0 2rem; }
    nav ul { gap: 1.5rem; }
    nav a { font-size: 1.2rem; }
    .page-hero { padding: 80px 6% 50px; }
    .page-hero-title { font-size: 3.4rem; }
    .sec-title { font-size: 3.38rem; }
    .tab-container { gap: 22px; overflow-x: auto; }
    .tab-btn { font-size: 1.05rem; white-space: nowrap; }
}

/* =========================================================
   한글 줄바꿈 (사이트 전체)
   - 단어 중간에서 끊지 않고 띄어쓰기 단위로 줄바꿈
   - 제목은 줄 길이를 고르게, 문단은 마지막 줄에 한두 글자만 남지 않게
   ========================================================= */
body { word-break: keep-all; overflow-wrap: break-word; line-break: strict; }
h1, h2, h3, h4, h5, h6,
.page-hero-title, .sec-title, .section-eng-title, .dept-lead, .role-lead,
.code-title, .code-sub, .job-title, .category-title, .item-title { text-wrap: balance; }
p, li, dd,
.sec-sub, .tech-stack, .section-desc, .section-kor-title, .merge-desc { text-wrap: pretty; }

/* =========================================================
   공통 푸터 (footer.js가 내용을 채움)
   ========================================================= */
footer.site-footer { text-align: left; padding: 80px 20px 72px; font-size: 1rem; color: var(--text-muted); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(240px, 1fr) auto; gap: 60px; align-items: start; }
.footer-logo { display: block; height: 56px; width: auto; }
.footer-copy { margin-top: 18px; font-size: 0.85rem; color: #6f6f6f; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(130px, auto)); gap: 24px 56px; }
.footer-head { display: inline-block; margin-bottom: 16px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text); text-decoration: none; transition: color 0.2s; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.92rem; color: #8a8a8a; text-decoration: none; transition: color 0.2s; }
.footer-head:hover, .footer-col ul a:hover { color: var(--gold-primary); }

@media (max-width: 900px) {
    footer.site-footer { padding: 60px 24px 56px; }
    .footer-inner { grid-template-columns: 1fr; gap: 44px; }
    .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
    .footer-logo { height: 48px; }
}

/* =========================================================
   한국어·영어 버전에 똑같이 나오는 영어 문구 (사이트 전체)
   - 모두 대문자 + Antonio 글씨체로 통일 (OPERATIONS 같은 제목 글씨)
   - 앞에 body를 붙여 각 페이지 안에 적힌 스타일보다 우선 적용됨
   - 이메일 주소(info@…)는 주소라서 그대로 둠
   ========================================================= */
/* OUR WORK: 직무 아래 기술 키워드 (Discovery · UX/UI · …) */
body .role-stack { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: 1.2px; text-transform: uppercase; }
/* OUR WORK: 팀 사진 설명 / CULTURE: 라이프 사진 설명 */
body .team-slide figcaption { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: 1.2px; text-transform: uppercase; }
body .life-photo figcaption { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: 1.2px; text-transform: uppercase; }
/* OUR WORK: 방송 정보 (Las Vegas, Live · Technical · Post) */
body .bc-info dd { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 1.2px; text-transform: uppercase; }
/* ABOUT US: 연혁 제목, Development/Production, 회사명, 지도 위 주소 배지 (이미 Antonio라 대문자만) */
body .history-col h4,
body .cat-label,
body .company-name,
body .map-badge { text-transform: uppercase; }
/* 공통 푸터: 메뉴 링크 + 저작권 문구 */
body .footer-col ul a { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; }
body .footer-copy { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 1px; text-transform: uppercase; }
/* CULTURE: LIFE IN BRACELET 소제목 — 영어(EN)일 때만 Antonio 대문자 (한국어 "함께 일하고 함께 쉬는 일상"은 그대로) */
html[lang=en] body .life-title { font-family: var(--font-display); font-weight: 700; font-size: 2.9rem; line-height: 1.1; letter-spacing: 1.5px; text-transform: uppercase; }

@media (max-width: 900px) {
    body .team-slide figcaption { font-size: 0.98rem; }
    body .life-photo figcaption { font-size: 1.05rem; }
    html[lang=en] body .life-title { font-size: 2.2rem; }
}

/* =========================================================
   휴대폰 메뉴 (가로 900px 이하): 메뉴를 ☰ 버튼 안으로 접기
   - 버튼을 누르면 화면 아래로 메뉴가 펼쳐지고, 하위 메뉴(WHO WE ARE 등)도 함께 보임
   - 동작은 header.js
   ========================================================= */
.nav-toggle { display: none; }
@media (max-width: 900px) {
    header { padding: 0 16px 0 20px; gap: 8px; }
    .lang-switch { margin-left: auto; }
    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 11px 10px;
        background: none;
        border: 0;
        cursor: pointer;
    }
    .nav-toggle span { display: block; height: 2px; width: 100%; border-radius: 2px; background: #e0e0e0; transition: transform 0.25s ease, opacity 0.2s ease; }
    header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-toggle:focus-visible { outline: 2px solid var(--gold-primary); outline-offset: 2px; border-radius: 6px; }

    #site-nav {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        padding: 8px 24px 48px;
        background: var(--bg);
        border-top: 1px solid var(--line);
        overflow-y: auto;
    }
    header.nav-open #site-nav { display: block; }
    #site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    #site-nav > ul > li { padding: 16px 0; border-bottom: 1px solid var(--line); }
    #site-nav > ul > li > a { font-size: 1.9rem; padding: 4px 0; }
    #site-nav .dropdown-menu { display: block; position: static; min-width: 0; width: auto; padding: 6px 0 0; background: none; border: 0; box-shadow: none; }
    #site-nav .dropdown-menu a { font-size: 1.15rem; padding: 7px 0; color: #9a9a9a; }
    #site-nav .dropdown-menu a:hover { background: none; color: var(--gold-primary); }
    html.nav-lock { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
    .nav-toggle span { transition: none; }
}

/* =========================================================
   검정 통일: 사이트 배경 검정은 모두 --bg(#000000) 하나로 (메인 영상의 검정과 같은 색)
   - OUR WORK 탭 줄·제품 이미지 칸에 따로 적혀 있던 #0d0d0d / #0c0c0c를 덮어씀
   - 카드(#111)·버튼·사진 위 어두운 막은 '표면'이라 그대로
   ========================================================= */
html:root { --bg: #000000; }
body .hero, body .hero-video { background-color: var(--bg); }
body .dept-tab-nav { background-color: var(--bg); }
body .work-media, body .work-media.is-product { background-color: var(--bg); }

/* =========================================================
   금색 통일: 사이트 금색은 #d6b367 하나 (CULTURE 부제 금색)
   - --gold-primary = --gold-light = #d6b367 (제목 강조·버튼·테두리·번호·작은 금색 글씨 모두)
   - --gold-dark #8a6a2a: 버튼 그라데이션 끝, 밝은(베이지) 바탕 위 금색 글씨(밝은 바탕에서 읽히도록)
   - 각 페이지에 직접 적혀 있던 옛 금색(반투명 테두리·빛 등)도 여기서 덮어씀
   ========================================================= */
html:root { --gold-primary: #d6b367; --gold-light: #d6b367; }
body .faq-bar { background: rgba(214, 179, 103, 0.05); }
body .flow::after { background: repeating-linear-gradient(90deg, rgba(214, 179, 103, 0.75) 0 18px, transparent 18px 34px); }
body .flow-num { background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 55%, var(--gold-dark) 100%); }
body .flow-step::after { box-shadow: 0 0 0 4px rgba(214, 179, 103, 0.22); }
body .flow-step:last-child::before { background: linear-gradient(180deg, var(--gold-light), var(--gold-primary) 30%, #5a4723); }
/* OUR WORK */
body .gallery-btn { border-color: rgba(214, 179, 103, 0.6); }
body .bc-play { border-color: rgba(214, 179, 103, 0.8); }
body .bc-lb-btn { border-color: rgba(214, 179, 103, 0.6); }
body .pc-card:hover { border-color: rgba(214, 179, 103, 0.5); }
body .wd-group-head::after { background: rgba(214, 179, 103, 0.3); }
body .work-media.is-product { background-image: radial-gradient(circle at 50% 55%, rgba(214, 179, 103, 0.18) 0%, rgba(12, 12, 12, 0) 65%); }
/* CULTURE */
body .check-list { background: rgba(214, 179, 103, 0.06); }
html.js-code body .code-stage .code-item.is-active { border-color: rgba(214, 179, 103, 0.4); }
/* 메인 */
body .section-item { border-bottom-color: rgba(214, 179, 103, 0.12); }
body .bg-number { color: rgba(214, 179, 103, 0.06); }
/* ABOUT: PRODUCTION 글자 뒤 빛, 연락처 구역(밝은 금색 바탕이라 글자는 검정) */
body .merge-word.prod::before { background: radial-gradient(circle, rgba(214, 179, 103, 0.20) 0%, rgba(214, 179, 103, 0.06) 40%, rgba(0, 0, 0, 0) 68%); }
body .contact-section,
body .contact-info .contact-tag,
body .contact-info .company-name { color: #111111; }
@media (max-width: 900px) {
    body .flow::after { background: repeating-linear-gradient(180deg, rgba(214, 179, 103, 0.75) 0 14px, transparent 14px 26px); }
}

/* =========================================================
   휴대폰(가로 600px 이하): 배치는 그대로, 글씨·여백을 한 단계 작게 해서 한 화면에 더 많이 보이게
   - 본문은 약 14.5px, 큰 제목은 데스크톱 비율에 가깝게 줄임
   ========================================================= */
@media (max-width: 600px) {
    /* 페이지 큰 제목 */
    body .sec-title,
    body #benefits .sec-title { font-size: 2.2rem; }
    body .hero-main-title { font-size: 2.5rem; }
    body .who-title,
    body .careers-hero-text .hero-title { font-size: 2.1rem; }
    body .page-hero-title-main { font-size: 1.6rem; }
    body .section-eng-title { font-size: 1.85rem; }
    body .history-year { font-size: 2.1rem; }
    body .company-name { font-size: 2rem; }
    body .paths-title { font-size: 1.9rem; }
    body .section-tag { font-size: 1.05rem; margin-bottom: 14px; }

    /* 카드·항목 제목 */
    body .work-card h3,
    body .prod-head h3,
    body .role-title { font-size: 1.35rem; }
    body .wd-group-head h2 { font-size: 1.5rem; }
    body .bc-title { font-size: 1.3rem; }
    body .code-title { font-size: 1.35rem; }
    body .job-title { font-size: 1.25rem; }
    body .life-title { font-size: 1.35rem; }
    html[lang=en] body .life-title { font-size: 1.6rem; }
    body .history-col h4 { font-size: 1.15rem; }
    body .category-title { font-size: 1.1rem; }
    body #benefits .item-title { font-size: 1.02rem; }
    body .work-sub { font-size: 0.95rem; }
    body .highlight-box h3 { font-size: 1.5rem; }
    body .highlight-box .hl-sub { font-size: 1.2rem; }
    body .dept-lead { font-size: 1rem; }
    body .role-lead { font-size: 0.98rem; }
    body .flow-name, body .flow-step:last-child .flow-name { font-size: 1.02rem; }
    body .process-head h3 { font-size: 1.15rem; }
    body .tab-btn { font-size: 0.95rem; }

    /* 본문 (약 14.5px) */
    body .hero-sub,
    body .who-desc,
    body .section-desc,
    body .sec-sub,
    body .dept-intro,
    body .life-desc,
    body .category-sub,
    body .work-card p,
    body .prod-head p,
    body .prod-intro p,
    body .highlight-box p,
    body .code-desc,
    body .role-desc,
    body #benefits .item-desc,
    body .process-list li,
    body .history-col p { font-size: 0.91rem; }
    body .work-card .tech-stack,
    body .prod-intro .tech-stack,
    body .code-sub { font-size: 0.95rem; }

    /* 여백 줄이기 */
    body .section-block { padding: 60px 0; }
    body .container,
    body .who-we-are,
    body .history-section { padding-top: 64px; padding-bottom: 64px; }
    body .contact-section { padding: 56px 20px; }
    body .work-body { padding: 22px; }
    body .prod-card { padding: 22px 16px; }
    body .role-row { padding: 22px 18px; gap: 10px; }
    body .job-card { padding: 18px 20px; }
    body .code-item { padding: 22px; }
    body .highlight-box { padding: 22px 20px; margin-bottom: 32px; }
    body #benefits.is-accordion .benefit-item { padding: 14px 18px; }
    body .benefit-section { padding: 40px 0; }
}

/* CULTURE · LIFE IN BRACELET: 휴대폰에서도 사진을 한 줄에 두 장씩 */
@media (max-width: 600px) {
    body .life-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
    body .life-photo img { border-radius: 8px; }
    body .life-photo figcaption { margin-top: 8px; font-size: 0.82rem; letter-spacing: 0.8px; line-height: 1.3; }
}

/* CAREERS · 채용 단계 (휴대폰·태블릿 900px 이하)
   - 위의 '길 + 표지판'과 아래 단계별 설명을 하나로 합쳐 한 번에 보이게 (뿅뿅 나타나는 효과 없음)
   - 왼쪽 금색 점선 길 위에 번호 표지판, 오른쪽에 단계 이름과 설명 */
@media (max-width: 900px) {
    body .flow { display: none; }
    body .process-table { position: relative; border-top: 0; margin-top: 8px; }
    body .process-table::before {
        content: '';
        position: absolute;
        left: 20px;
        top: 22px;
        bottom: 26px;
        width: 2px;
        background: repeating-linear-gradient(180deg, rgba(214, 179, 103, 0.6) 0 10px, transparent 10px 18px);
    }
    body .process-row {
        position: relative;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 6px;
        align-items: start;
        padding: 12px 0;
        border-bottom: 0;
    }
    body .process-head { display: contents; }
    body .process-head .num-label {
        grid-column: 1;
        grid-row: 1 / span 2;
        position: relative;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 26px;
        border-radius: 5px;
        background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 55%, var(--gold-dark) 100%);
        color: #0b0b0b;
        font-size: 0.95rem;
        font-weight: 700;
        transform: none;
        box-shadow: 0 0 0 4px var(--bg);
    }
    body .process-head h3 { grid-column: 2; font-size: 1.1rem; line-height: 26px; }
    body .process-row:last-child .process-head h3 { color: var(--gold-primary); }
    body .process-list { grid-column: 2; margin-left: 0; width: 100%; gap: 3px; }
    body .process-list li { font-size: 0.9rem; line-height: 1.55; }
}

/* 메인 · 첫 화면 영상 (세로 화면 휴대폰·태블릿)
   - 세로 영상(bg-video-mobile.mp4)을 화면 가득 보여주고, 아래로 스크롤하면 소개 내용
   - 어떤 영상을 틀지는 index.html의 영상 바로 아래 짧은 스크립트가 정함 */
@media (max-width: 900px) and (orientation: portrait) {
    body .hero { height: 100vh; height: 100svh; min-height: 0; margin-top: 0; }
    body .hero .hero-video { object-fit: cover; }
    body .content-area { min-height: 0; padding-top: 40px; }
}

/* ABOUT · HISTORY (휴대폰 600px 이하): 연표처럼 컴팩트하게
   - 왼쪽에 연도, 오른쪽에 금색 세로줄과 점, 그 옆에 그해의 일들
   - 빈 칸과 Development/Production 구분 줄(한 줄 배치에서는 의미가 없음)은 숨김 */
@media (max-width: 600px) {
    body .history-section { padding-top: 48px; padding-bottom: 48px; }
    body .history-section > .section-tag { margin-bottom: 20px !important; }
    body .history-table { gap: 0; }
    body .history-row {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 0 14px;
        padding: 0;
        border-bottom: 0;
    }
    body .history-year { font-size: 1.25rem; line-height: 1; padding-top: 2px; color: var(--gold-primary); opacity: 1; letter-spacing: 1px; }
    body .history-row > :last-child {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 0 0 26px 18px;
        border-left: 1px solid rgba(214, 179, 103, 0.35);
    }
    body .history-row > :last-child::before {
        content: '';
        position: absolute;
        left: -5px;
        top: 4px;
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--gold-primary);
        box-shadow: 0 0 0 3px var(--bg);
    }
    body .history-row:last-child > :last-child { padding-bottom: 0; }
    body .history-content-grid { display: flex; flex-direction: column; gap: 14px; margin-top: 0 !important; }
    body .history-content-grid > div:empty,
    body .category-header-row { display: none; }
    body .history-col { gap: 2px; }
    body .date-label { font-size: 0.82rem; }
    body .date-label .upcoming { font-size: 0.68rem; padding: 1px 7px; }
    body .history-col h4 { font-size: 1.02rem; margin-bottom: 0; }
    body .history-col p { font-size: 0.84rem; line-height: 1.55; }
}

/* ABOUT · CONTACT (휴대폰 600px 이하): 회사명·주소·지도를 한 단계 작게 */
@media (max-width: 600px) {
    body .contact-container { gap: 28px; }
    body .contact-info .contact-tag { font-size: 0.95rem; margin-bottom: 8px; }
    body .contact-info .company-name { font-size: 1.9rem; margin-bottom: 18px; }
    body .contact-details { font-size: 0.88rem; gap: 8px; margin-bottom: 22px; }
    body .contact-row { gap: 12px; }
    body .contact-row .label { width: 62px; flex-shrink: 0; font-size: 0.85rem; }
    body .btn-map { font-size: 0.82rem; padding: 9px 16px; }
    body .map-wrapper { height: 220px; border-radius: 12px; }
    body .map-badge { font-size: 0.72rem; padding: 4px 10px; bottom: 10px; right: 10px; }
}

/* CAREERS · 채용 단계 마지막(07 최종 합격) 휴대폰: 데스크톱처럼 깃대에 꽂힌 깃발 */
@media (max-width: 900px) {
    body .process-row:last-child::before {
        content: '';
        position: absolute;
        left: 0;
        top: 4px;
        width: 3px;
        height: 40px;
        border-radius: 2px;
        background: linear-gradient(180deg, var(--gold-light), var(--gold-primary) 30%, #5a4723);
        z-index: 2;
    }
    body .process-row:last-child .process-head .num-label {
        width: 50px;
        margin-left: 3px;
        padding-right: 8px;
        border-radius: 0;
        clip-path: polygon(0 0, 100% 0, 82% 50%, 100% 100%, 0 100%);
        box-shadow: none;
        transform-origin: left center;
        animation: flagWave 2.6s ease-in-out infinite;
    }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
    body .process-row:last-child .process-head .num-label { animation: none; }
}

/* CAREERS · BENEFITS 숫자 요약 (휴대폰 600px 이하): 한 줄에 하나씩 '아이콘 · 이름 · 숫자' 목록 카드 */
@media (max-width: 600px) {
    body #benefits .benefit-highlights {
        display: flex;
        flex-direction: column;
        margin: 0 0 40px;
        padding: 4px 16px;
        border: 1px solid var(--bn-gold-line);
        border-radius: 14px;
        background: var(--bn-card);
    }
    body #benefits .benefit-highlights .bh-item {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr) 118px;
        grid-template-areas: "icon label value";
        align-items: center;
        column-gap: 12px;
        padding: 14px 0;
        border: 0;
    }
    body #benefits .benefit-highlights .bh-item + .bh-item { border-top: 1px solid var(--bn-line); }
    body #benefits .benefit-highlights .bh-icon { grid-area: icon; width: 34px; height: 34px; }
    body #benefits .benefit-highlights .bh-icon svg { width: 17px; height: 17px; }
    body #benefits .benefit-highlights .bh-label { grid-area: label; margin-top: 0; font-size: 0.92rem; }
    /* 숫자 칸은 폭을 고정하고 가운데 맞춤 → 연 2회·연 250만 원·최소 10분 등이 한 줄로 가지런히 */
    body #benefits .benefit-highlights .bh-value { grid-area: value; justify-self: stretch; justify-content: center; text-align: center; gap: 3px; }
    body #benefits .benefit-highlights .bh-value .num { font-size: 1.6rem; }
    body #benefits .benefit-highlights .bh-value .unit { font-size: 0.72rem; }
}

/* =========================================================
   휴대폰·태블릿(900px 이하) ABOUT 스크롤 안정화
   - DEVELOPMENT + PRODUCTION 합쳐지는 연출은 그대로 두고,
     휴대폰 주소창이 나왔다 들어갈 때 화면 높이(vh)가 바뀌며 화면이 덜컹거리던 것을
     높이가 변하지 않는 단위(svh)로 바꿔서 막음
   ========================================================= */
@media (max-width: 900px) {
    body .hero-about { height: 85vh; height: 85svh; }
    html.js-merge body .merge-stage { height: 120vh; height: 120svh; }
    html.js-merge body .merge-sticky {
        height: calc(100vh - var(--header-h) - var(--tabs-h));
        height: calc(100svh - var(--header-h) - var(--tabs-h));
    }
}

/* OUR WORK · OUR TEAMS (휴대폰·태블릿 900px 이하)
   - DEVELOPMENT / PRODUCTION 탭 버튼 없이 두 부서 내용을 차례로 쭉 보여줌 (각 부서 이름을 제목으로)
   - 직무 카드는 번호를 작게 해서 제목 옆에 붙이고, 카드 여백을 줄여 위아래 길이를 줄임 */
@media (max-width: 900px) {
    body .dept-tab-nav { display: none; }
    body .dept-content-panel { display: block; animation: none; }
    body #prod-panel { margin-top: 56px; }
    body .dept-content-panel::before {
        display: block;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1.6rem;
        letter-spacing: 2px;
        line-height: 1;
        color: var(--gold-primary);
        padding-bottom: 12px;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(214, 179, 103, 0.3);
    }
    body #dev-panel::before { content: 'DEVELOPMENT'; }
    body #prod-panel::before { content: 'PRODUCTION'; }
    body .dept-intro { margin-bottom: 22px; }
    body .roles-list { gap: 12px; }
    body .role-row {
        grid-template-columns: 30px minmax(0, 1fr);
        align-items: start;
        column-gap: 10px;
        row-gap: 8px;
        padding: 16px;
    }
    body .role-row .num-label { font-size: 1.15rem; line-height: 1.55; }
    body .role-row .role-meta { gap: 2px; }
    body .role-row .role-title { font-size: 1.25rem; }
    body .role-row .role-stack { font-size: 0.82rem; }
    body .role-row .role-info { grid-column: 1 / -1; padding-top: 10px; gap: 4px; }
}

/* CAREERS · BENEFITS 숫자 요약 (휴대폰 600px 이하) 글자 정리
   - 숫자와 앞뒤 글자(연·회·만 원·KRW 등)를 같은 글씨체·같은 크기로
   - 숫자 칸 글자를 모두 같은 왼쪽 줄에서 시작해서 위아래가 가지런하게 */
@media (max-width: 600px) {
    body #benefits .benefit-highlights .bh-item { grid-template-columns: 34px minmax(0, 1fr) 112px; }
    body #benefits .benefit-highlights .bh-value {
        justify-self: stretch;
        justify-content: flex-start;
        align-items: baseline;
        text-align: left;
        gap: 0.3em;
        line-height: 1.3;
    }
    body #benefits .benefit-highlights .bh-value .num,
    body #benefits .benefit-highlights .bh-value .unit,
    html[lang=en] body #benefits .benefit-highlights .bh-value .num {
        font-family: var(--font-body);
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0;
        color: var(--bn-gold);
    }
    /* 한국어: '연 2회', '연 250만 원', '최소 10분'처럼 숫자 뒤 단위는 붙여 쓰기 */
    html[lang=ko] body #benefits .benefit-highlights .bh-value { gap: 0; }
    html[lang=ko] body #benefits .benefit-highlights .bh-value .unit:first-child { margin-right: 0.3em; }
    /* 영어는 'KRW 2.5M / Year'처럼 길어서 숫자 칸을 조금 넓게 (한 줄에 들어가도록) */
    html[lang=en] body #benefits .benefit-highlights .bh-item { grid-template-columns: 34px minmax(0, 1fr) 128px; column-gap: 10px; }
    html[lang=en] body #benefits .benefit-highlights .bh-value .num,
    html[lang=en] body #benefits .benefit-highlights .bh-value .unit { font-size: 0.92rem; }
}

/* 페이지 위 작은 메뉴(WHO WE ARE·HISTORY·CONTACT / OPEN POSITIONS·… 등) 휴대폰 600px 이하
   - 글자가 화면 폭보다 조금 넘쳐서 손가락으로 만지면 좌우로 밀리던 것을, 한 화면에 다 들어가게 줄이고
     좌우로 밀리지 않게 고정 */
@media (max-width: 600px) {
    body .tab-container { overflow-x: visible; overflow-y: visible; gap: 18px; padding: 0 20px; touch-action: pan-y; }
    body .tab-btn { font-size: 0.86rem; letter-spacing: 1px; padding: 15px 0; }
}

/* OUR WORK · 방송 대회 정보 (휴대폰·태블릿 900px 이하)
   - YEAR / REGION / SCOPE는 참고 정보라 작게
   - WATCH ON YOUTUBE 버튼은 아래 크리에이터 프로그램 카드의 버튼과 같은 크기 */
@media (max-width: 900px) {
    body .bc-info { gap: 14px; padding: 20px 0; }
    body .bc-info dl { grid-template-columns: 64px 1fr; }
    body .bc-info dt,
    body .bc-info dd { padding: 4px 0; line-height: 1.5; }
    body .bc-info dt { font-size: 0.72rem; letter-spacing: 1.5px; }
    body .bc-info dd,
    body .bc-info dl dd { font-size: 0.78rem; letter-spacing: 1px; }
    body .bc-yt { height: 34px; padding: 0 16px; gap: 5px; font-size: 0.85rem; letter-spacing: 1.2px; }
}

/* CAREERS · BENEFITS 24개 (휴대폰·태블릿 900px 이하): 누르지 않아도 설명이 모두 펼쳐진 상태로 */
@media (max-width: 900px) {
    body #benefits.is-accordion .benefit-item { cursor: default; }
    body #benefits.is-accordion .benefit-item .item-title::after { display: none; }
    body #benefits.is-accordion .benefit-item .item-desc {
        max-height: none;
        overflow: visible;
        opacity: 1;
        margin-top: 8px;
        transition: none;
    }
}

/* 공통 푸터 (휴대폰 600px 이하): 세부 메뉴는 빼고 큰 메뉴 4개만 한 줄로, 로고는 상단 메뉴 로고와 같은 크기 */
@media (max-width: 600px) {
    footer.site-footer { padding: 36px 20px 40px; }
    body .footer-inner { gap: 22px; }
    body .footer-logo { height: 40px; }
    body .footer-copy { margin-top: 12px; font-size: 0.72rem; }
    body .footer-nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
    body .footer-col ul { display: none; }
    body .footer-head { margin-bottom: 0; font-size: 0.95rem; }
}

/* CAREERS · BENEFITS 펼치기/접기 (데스크톱): 높이 제한값(max-height) 방식 대신 실제 높이만큼 부드럽게 열리고 닫히게
   - 접을 때 잠깐 멈췄다가 닫히던(버벅이던) 느낌 없이 같은 속도로 깔끔하게 */
body #benefits.is-accordion .benefit-item {
    display: grid;
    grid-template-rows: auto 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s, border-color 0.25s;
}
body #benefits.is-accordion .benefit-item.open { grid-template-rows: auto 1fr; }
body #benefits.is-accordion .benefit-item .item-desc {
    max-height: none;
    min-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    opacity: 0;
    transition: opacity 0.25s ease, padding-top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
body #benefits.is-accordion .benefit-item.open .item-desc { opacity: 1; padding-top: 14px; }
/* 휴대폰·태블릿은 처음부터 모두 펼친 상태 그대로 */
@media (max-width: 900px) {
    body #benefits.is-accordion .benefit-item { grid-template-rows: auto 1fr; transition: none; }
    body #benefits.is-accordion .benefit-item .item-desc { opacity: 1; padding-top: 8px; overflow: visible; transition: none; }
}

/* ABOUT · CONTACT: 항목 이름(ADDRESS·MAIL·TEL·FAX)과 내용 사이에 가는 세로줄을 두어 한 줄로 반듯하게,
   이름과 내용의 글자 밑선도 맞춤 */
body .contact-details { --lbl-w: 84px; position: relative; }
body .contact-details::before {
    content: '';
    position: absolute;
    left: var(--lbl-w);
    top: 5px;
    bottom: 5px;
    width: 1px;
    background: rgba(17, 17, 17, 0.25);
}
body .contact-row { align-items: baseline; gap: 0; }
body .contact-row .label { width: var(--lbl-w); flex-shrink: 0; }
body .contact-row .value { padding-left: 20px; }
@media (max-width: 600px) {
    body .contact-details { --lbl-w: 66px; }
    body .contact-row { gap: 0; }
    body .contact-row .label { width: var(--lbl-w); }
    body .contact-row .value { padding-left: 14px; }
}

/* CAREERS · BENEFITS (데스크톱): 마우스를 올리면 펼쳐지고, 떼면 접힘
   - 더 부드러운 움직임: 조금 더 길게(0.5초), 끝에서 천천히 멈추는 곡선, 글자는 살짝 늦게 서서히 나타남
   - 마우스로 여러 칸을 빠르게 지나갈 때 마구 열리지 않도록 아주 짧게(0.08초) 머문 뒤 열림
   - 키보드(Tab)로 이동해도 같은 방식으로 열림 / 마우스가 없는 태블릿 등은 지금처럼 눌러서 열고 닫기 */
@media (min-width: 901px) {
    body #benefits.is-accordion .benefit-item {
        transition: grid-template-rows 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), background-color 0.25s, border-color 0.25s;
    }
    body #benefits.is-accordion .benefit-item .item-desc {
        transform: translateY(-4px);
        transition: opacity 0.2s ease, padding-top 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    }
    body #benefits.is-accordion .benefit-item.open .item-desc { transform: none; transition: opacity 0.35s ease 0.12s, padding-top 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1); }
}
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
    /* 눌러서 열린 상태는 쓰지 않고, 마우스·키보드 위치로만 열고 닫음 */
    body #benefits.is-accordion .benefit-item.open { grid-template-rows: auto 0fr; }
    body #benefits.is-accordion .benefit-item.open .item-desc { opacity: 0; padding-top: 0; transform: translateY(-4px); }
    body #benefits.is-accordion .benefit-item.open .item-title::after { transform: rotate(45deg); margin-top: -6px; }

    body #benefits.is-accordion .benefit-item:hover,
    body #benefits.is-accordion .benefit-item:focus-within {
        grid-template-rows: auto 1fr;
        transition-delay: 0.08s;
    }
    body #benefits.is-accordion .benefit-item:hover .item-desc,
    body #benefits.is-accordion .benefit-item:focus-within .item-desc {
        opacity: 1;
        padding-top: 14px;
        transform: none;
        transition: opacity 0.35s ease 0.2s, padding-top 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) 0.08s, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) 0.08s;
    }
    body #benefits.is-accordion .benefit-item:hover .item-title::after,
    body #benefits.is-accordion .benefit-item:focus-within .item-title::after { transform: rotate(-135deg); margin-top: 6px; }
}
/* 눌러서 열 때 CAREERS 페이지에 따로 적힌 위쪽 여백(14px)이 한 번 더 붙어 칸이 툭 커지던 것 방지 (간격은 위의 padding으로만) */
body #benefits.is-accordion .benefit-item.open .item-desc { margin-top: 0; }
@media (max-width: 900px) {
    body #benefits.is-accordion .benefit-item.open .item-desc { margin-top: 0; padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    body #benefits.is-accordion .benefit-item,
    body #benefits.is-accordion .benefit-item .item-desc { transition: none !important; }
}

/* CAREERS · BENEFITS (휴대폰·태블릿 = 마우스가 없는 화면): 처음에는 접혀 있고, 카드를 터치하면 펼쳐지고 다시 터치하면 접힘
   - 데스크톱과 같은 부드러운 움직임(끝에서 천천히 멈추는 곡선, 글자는 살짝 늦게 나타남) */
@media (max-width: 900px), (hover: none), (pointer: coarse) {
    body #benefits.is-accordion .benefit-item {
        grid-template-rows: auto 0fr;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: grid-template-rows 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), background-color 0.25s, border-color 0.25s;
    }
    body #benefits.is-accordion .benefit-item.open { grid-template-rows: auto 1fr; }
    body #benefits.is-accordion .benefit-item .item-desc {
        opacity: 0;
        padding-top: 0;
        margin-top: 0;
        overflow: hidden;
        transform: translateY(-4px);
        transition: opacity 0.2s ease, padding-top 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    }
    body #benefits.is-accordion .benefit-item.open .item-desc {
        opacity: 1;
        padding-top: 10px;
        margin-top: 0;
        transform: none;
        transition: opacity 0.3s ease 0.1s, padding-top 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    }
    /* 펼침 화살표 다시 보이기 (열리면 위로 돌아감) */
    body #benefits.is-accordion .benefit-item .item-title::after { display: block; transform: rotate(45deg); margin-top: -6px; transition: transform 0.3s ease, margin-top 0.3s ease; }
    body #benefits.is-accordion .benefit-item.open .item-title::after { transform: rotate(-135deg); margin-top: 6px; }
}

/* CAREERS · BENEFITS (데스크톱 마우스): 올리면 미리 보기, 누르면 열린 채로 고정
   - 고정된 카드는 다시 누를 때까지 닫히지 않고, 여러 개를 동시에 열어 둘 수 있음 (고정된 카드는 금색 테두리)
   - 고정을 풀면(다시 누르면) 마우스를 올려 둔 상태여도 바로 접힘 → 마우스를 뗐다가 다시 올리면 미리 보기 */
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
    body #benefits.is-accordion .benefit-item.open { grid-template-rows: auto 1fr; box-shadow: 0 0 0 1px var(--bn-gold-line); }
    body #benefits.is-accordion .benefit-item.open .item-desc {
        opacity: 1;
        padding-top: 14px;
        transform: none;
        transition: opacity 0.35s ease 0.12s, padding-top 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    }
    body #benefits.is-accordion .benefit-item.open .item-title::after { transform: rotate(-135deg); margin-top: 6px; }

    /* 마우스로 누를 때 생기는 포커스로는 열려 있지 않게 (키보드 Tab 이동일 때만 포커스로 열림) */
    body #benefits.is-accordion .benefit-item:focus-within:not(.open):not(:hover):not(:has(.item-title:focus-visible)) { grid-template-rows: auto 0fr; }
    body #benefits.is-accordion .benefit-item:focus-within:not(.open):not(:hover):not(:has(.item-title:focus-visible)) .item-desc { opacity: 0; padding-top: 0; transform: translateY(-4px); }
    body #benefits.is-accordion .benefit-item:focus-within:not(.open):not(:hover):not(:has(.item-title:focus-visible)) .item-title::after { transform: rotate(45deg); margin-top: -6px; }

    /* 고정을 푼 직후: 마우스를 뗄 때까지는 미리 보기도 닫아 둠 (header.js가 hover-off 표시를 붙였다 뗌) */
    body #benefits.is-accordion .benefit-item.hover-off:not(.open) { grid-template-rows: auto 0fr; transition-delay: 0s; }
    body #benefits.is-accordion .benefit-item.hover-off:not(.open) .item-desc { opacity: 0; padding-top: 0; transform: translateY(-4px); transition: opacity 0.2s ease, padding-top 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1); }
    body #benefits.is-accordion .benefit-item.hover-off:not(.open) .item-title::after { transform: rotate(45deg); margin-top: -6px; }
}

/* 데스크톱: 상단 메뉴 바로 아래 작은 탭 줄(WHAT WE DO · OUR TEAMS 등)도 위아래 여백을 줄여 얇게 (글씨 크기는 그대로)
   - ABOUT의 고정 화면이 탭 줄 높이(--tabs-h)를 기준으로 붙으므로 같이 맞춤 */
@media (min-width: 901px) {
    body .tab-btn { padding-top: 12px; padding-bottom: 12px; }
    html:root { --tabs-h: 57px; }
}

/* =========================================================
   휴대폰 최적화 (600px 이하)
   1) 손가락으로 누르기 쉽게: 보이는 모양은 그대로, 누르는 영역만 넓힘
   2) 12px보다 작던 글씨를 읽기 좋게 한 단계 키움
   3) 탭·항목 이름이 두 줄로 쪼개지지 않게
   4) OUR WORK 방송 현장 사진은 6장까지만 보여서 페이지 길이 줄임 (사진을 누르면 크게 보기에서 전체 사진 넘겨 보기 가능)
   ========================================================= */
@media (max-width: 600px) {
    /* 1) 누르는 영역 */
    body .footer-nav { gap: 2px 22px; }
    body .footer-head { padding: 9px 0; }
    body .contact-row .value a { display: inline-block; padding: 9px 0; margin: -9px 0; }
    body .bc-dots button { height: 34px; }
    body .bc-dots { bottom: 0; }
    body .gallery-bars { margin-top: 10px; }
    body .gallery-bars button { height: 34px; }

    /* 2) 작은 글씨 */
    body .date-label .upcoming { font-size: 0.75rem; }
    body .map-badge { font-size: 0.78rem; }
    body .bc-info dt { font-size: 0.78rem; }
    body .bc-info dd,
    body .bc-info dl dd { font-size: 0.84rem; }
    body .footer-copy { font-size: 0.78rem; }

    /* 3) 줄바꿈 방지 */
    body .tab-container-custom { gap: 22px; }
    body .tab-btn-custom { white-space: nowrap; font-size: 0.95rem; }
    body .contact-details { --lbl-w: 72px; }
    body .contact-row .label { white-space: nowrap; }

    /* 4) 방송 현장 사진 6장까지 */
    body .bc-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    body .bc-gallery > :nth-child(n+7) { display: none; }
}

/* =========================================================
   휴대폰 글자 숨 쉴 공간 (600px 이하)
   - 본문 글씨를 조금 키우고(약 14.5 → 15px) 줄 간격을 넉넉하게
   - 화면 양옆 여백, 카드 안 여백, 문단·카드 사이 간격을 조금씩 늘려 빽빽해 보이지 않게
   ========================================================= */
@media (max-width: 600px) {
    /* 본문 글씨·줄 간격 */
    body .hero-sub,
    body .who-desc,
    body .section-desc,
    body .sec-sub,
    body .dept-intro,
    body .life-desc,
    body .category-sub,
    body .work-card p,
    body .prod-head p,
    body .prod-intro p,
    body .highlight-box p,
    body .code-desc,
    body .role-desc,
    body #benefits .item-desc { font-size: 0.94rem; line-height: 1.8; }
    body .process-list li { font-size: 0.92rem; line-height: 1.7; }
    body .process-list { gap: 6px; }
    body .history-col p { font-size: 0.88rem; line-height: 1.7; }
    body .role-lead,
    body .dept-lead { line-height: 1.6; }
    body .who-desc + .who-desc { margin-top: 16px; }

    /* 화면 양옆 여백 20 → 24px */
    body .content-container,
    body .container,
    body .who-we-are,
    body .history-section,
    body .tab-container { padding-left: 24px; padding-right: 24px; }

    /* 섹션 위아래 여백 */
    body .section-block { padding: 72px 0; }

    /* 카드 안 여백과 카드 사이 간격 */
    body .work-body { padding: 24px 22px; }
    body .prod-card { padding: 24px 20px; }
    body .code-item { padding: 24px 22px; }
    body .role-row { padding: 20px 18px; row-gap: 10px; }
    body .role-row .role-info { padding-top: 14px; gap: 8px; }
    body .roles-list { gap: 16px; }
    body .job-card { padding: 20px 22px; }
    body #benefits.is-accordion .benefit-item { padding: 16px 20px; }
    body .history-row > :last-child { gap: 18px; padding-bottom: 30px; }
    body .history-content-grid { gap: 18px; }
    body .history-col { gap: 4px; }
}

/* =========================================================
   CULTURE · BRACELET CODE 원칙 카드 꾸미기 (휴대폰·태블릿 900px 이하)
   - 카드: 은은한 그라데이션 바탕 + 위쪽 금색 선 + 오른쪽 위 큰 테두리 숫자(01·02·03)
   - 번호 표시는 'CODE 01 ─' 모양의 작은 금색 라벨로
   - 체크리스트는 왼쪽 금색 선으로 강조
   - 지원하는 브라우저에서는 카드가 화면에 들어올 때 아래에서 살짝 떠오름
   ========================================================= */
@media (max-width: 900px) {
    body .code-list { counter-reset: code; display: flex; flex-direction: column; gap: 18px; }
    body .code-item {
        counter-increment: code;
        position: relative;
        overflow: hidden;
        padding: 30px 24px 28px;
        border-radius: 16px;
        border: 1px solid rgba(214, 179, 103, 0.18);
        background:
            radial-gradient(120% 80% at 100% 0%, rgba(214, 179, 103, 0.10) 0%, rgba(214, 179, 103, 0) 55%),
            linear-gradient(160deg, #1a1a1a 0%, #0c0c0c 75%);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    }
    /* 위쪽 금색 선 */
    body .code-item::before {
        content: '';
        position: absolute;
        left: 24px;
        right: 24px;
        top: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--gold-primary) 0%, rgba(214, 179, 103, 0) 85%);
    }
    /* 오른쪽 위 큰 테두리 숫자 */
    body .code-item::after {
        content: '0' counter(code);
        position: absolute;
        right: -4px;
        top: -14px;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 7.5rem;
        line-height: 1;
        letter-spacing: 2px;
        color: transparent;
        -webkit-text-stroke: 1px rgba(214, 179, 103, 0.28);
        pointer-events: none;
    }
    body .code-item > * { position: relative; z-index: 1; }

    /* 'CODE 01 ─' 라벨 */
    body .code-item .num-label {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 16px;
        font-size: 0.85rem;
        letter-spacing: 3px;
        color: var(--gold-primary);
    }
    body .code-item .num-label::before { content: 'CODE'; }
    body .code-item .num-label::after { content: ''; width: 28px; height: 1px; background: var(--gold-primary); opacity: 0.7; }

    body .code-item .code-title { margin-bottom: 8px; }
    body .code-item .code-sub { margin-bottom: 14px; }

    /* 체크리스트: 왼쪽 금색 선 */
    body .code-item .check-list {
        border: 0;
        border-left: 2px solid var(--gold-primary);
        border-radius: 0 10px 10px 0;
        background: rgba(214, 179, 103, 0.07);
        padding: 18px 20px;
    }
}
/* 화면에 들어올 때 살짝 떠오르기 (지원하는 브라우저만, 움직임 줄이기 설정이면 끔) */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        body .code-item {
            animation: codeRise linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 70%;
        }
        @keyframes codeRise {
            from { opacity: 0; transform: translateY(36px) scale(0.97); }
            to { opacity: 1; transform: none; }
        }
    }
}

/* CULTURE · BRACELET CODE (휴대폰·태블릿 900px 이하): 데스크톱처럼 카드 뒤에 지구본
   - 지구본 그림판을 화면에 붙여(스크롤해도 제자리) 카드가 그 위로 지나가게
   - 카드 바탕을 반투명하게 해서 지구본 점이 은은하게 비쳐 보이게 (지구본 그리기는 globe.js 그대로) */
@media (max-width: 900px) {
    /* 지구본은 BRACELET CODE 구간 안에서만 보이게: 구간을 화면 양끝까지 넓히고, 구간이 끝나는 아래쪽에서 부드럽게 사라지게 */
    body .code-sticky {
        position: relative;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding-left: calc(50vw - 50%);
        padding-right: calc(50vw - 50%);
        -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 9svh), transparent);
        mask-image: linear-gradient(to bottom, #000 calc(100% - 9svh), transparent);
    }
    body .code-globe {
        position: sticky;
        top: calc(var(--header-h) + 4svh);
        display: block;
        height: 78vh;
        height: 78svh;
        margin-left: calc(50% - 50vw);
        margin-bottom: -78vh;
        margin-bottom: -78svh;
        z-index: 0;
        filter: brightness(2.1);
    }
    /* 카드 목록 앞에 빈 공간을 두어 지구본이 먼저 온전히 보이고, 이어서 카드가 그 위로 올라오게 */
    body .code-list { position: relative; z-index: 1; padding: 56vh 0 10vh; padding: 56svh 0 10svh; }
    body .code-item {
        background:
            radial-gradient(120% 80% at 100% 0%, rgba(214, 179, 103, 0.10) 0%, rgba(214, 179, 103, 0) 55%),
            linear-gradient(160deg, rgba(26, 26, 26, 0.55) 0%, rgba(10, 10, 10, 0.72) 75%);
        -webkit-backdrop-filter: blur(1.5px);
        backdrop-filter: blur(1.5px);
    }
}

/* CULTURE (휴대폰·태블릿 900px 이하)
   1) 맨 위 제목: 'THINK BIGGER. BUILD BETTER.'를 한 줄로, 'GLOBAL NO. 1'은 다음 줄
   2) 'BRACELET CODE' 제목이 원칙 카드 01·02·03이 올라오는 동안에도 메뉴 바로 아래에 계속 보이게 (지구본은 그 아래) */
@media (max-width: 900px) {
    body .page-hero-title-main { white-space: nowrap; text-wrap: nowrap; font-size: min(2.2rem, 7.4vw); letter-spacing: 1px; line-height: 1.12; }
    body .page-hero-title-main span { display: block; }

    body #bracelet-code .mobile-only-title {
        position: sticky;
        top: var(--header-h);
        z-index: 5;
        margin: 0;
        padding: 14px 0 18px;
        background: linear-gradient(180deg, #000 0%, #000 78%, rgba(0, 0, 0, 0) 100%);
    }
    body .code-globe { top: calc(var(--header-h) + 64px); }
}

/* 휴대폰·태블릿(900px 이하) 줄바꿈 다듬기
   - 짧은 소제목·요약 문장은 줄 길이를 고르게 나눠서 마지막 줄에 한두 단어만 남지 않게
   - 메인 큰 제목의 금색 줄(예: COLLABORATION WITH PURPOSE)도 따로 고르게 나눔 */
@media (max-width: 900px) {
    body .section-eng-title span { display: inline-block; text-wrap: balance; }
    body .hero-sub,
    body .work-sub,
    body .category-sub,
    body .merge-desc,
    body .history-col h4,
    body .bc-title,
    body .prod-head h3,
    body .job-title { text-wrap: balance; }
}
