/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gnb-h: 88px;
    --anchor-gap: 28px;
    --color-primary: #F36F21;
    --color-primary-light: #f58a4a;
    --color-dark: #2C2C2C;
    --color-dark-light: #4A4A4A;
    --color-gray: #F5F5F5;
    --color-gray-dark: #E0E0E0;
    --color-white: #FFFFFF;
    --color-text: #333333;
    --color-text-light: #666666;
    --transition: all 0.3s ease;
    /* 전역 폰트: Pretendard 우선, apple-system 단독 사용 중단 */
    --font-stack: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    /* 폰트 웨이트: 타이틀 700, 섹션/핵심 600, 본문 400, 보조/캡션 500 */
    --font-weight-title: 700;
    --font-weight-heading: 600;
    --font-weight-body: 400;
    --font-weight-caption: 500;
    /* 행간: 타이틀 1.2~1.3, 본문 1.6~1.7, 작은 텍스트 최소 1.5 */
    --line-height-title: 1.25;
    --line-height-body: 1.65;
    --line-height-small: 1.5;
}
@media (max-width: 768px) {
    :root { --gnb-h: 64px; --anchor-gap: 20px; }
}

body,
button,
input,
textarea,
select,
nav,
footer {
    font-family: var(--font-stack);
    color: var(--color-text);
    line-height: var(--line-height-body);
    font-weight: var(--font-weight-body);
    overflow-x: hidden;
    background: #f8f8f8;
}

/* 전역 타이포그래피: 폰트 웨이트·행간·자간 통일 (Pretendard 기준) */
.company-hero-title,
.hero-title,
.page-title,
h1.hero-title {
    font-weight: var(--font-weight-title);
    line-height: var(--line-height-title);
    letter-spacing: 0.03em;
}
.company-section-title,
.section-title,
h2.company-section-title {
    font-weight: var(--font-weight-heading);
    line-height: var(--line-height-title);
    letter-spacing: 0.02em;
}
p,
.history-entry-content,
.ideology-ceo-body,
.company-hero-lead,
.ci-hero-desc,
.ci-colorsystem-desc,
.section-description {
    line-height: var(--line-height-body);
    font-weight: var(--font-weight-body);
}
.company-hero-desc,
.history-intro-lead,
.history-intro-sub,
.ci-swatch-meta,
.caption,
small,
.footer small {
    font-weight: var(--font-weight-caption);
    line-height: var(--line-height-small);
}

/* CSR 구멍(hole)용: index/CSR 페이지에서 페이지 레벨 고정 배경 (구멍 섹션에서만 드러남) */
body.page-index::after,
body.page-csr::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/static/img/csr_01.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    pointer-events: none;
}

/* Mobile: smooth scroll only (no forced snap) */
@media (max-width: 991.98px) {
    html {
        scroll-behavior: smooth;
    }
    /* 모바일에서는 CSR 고정 배경 이미지 비노출 (구멍 효과 없음) */
    body.page-index::after,
    body.page-csr::after {
        display: none;
    }
}

/* Header */
.site-header,
#main-header {
    background: transparent;
    transition: var(--transition);
    padding: 1.5rem 0;
    z-index: 2000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
@media (max-width: 991.98px) {
  #main-header { padding: 0.5rem 0; }
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative; /* For mobile menu absolute positioning */
}

/* 3-area flex layout: left / center / right */
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 1.8vw, 28px);
    flex-wrap: nowrap;
    width: 100%;
}

.header-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.header-center {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#main-header.scrolled .navbar-brand,
#main-header.scrolled .nav-link {
    color: var(--color-text) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    padding: 0;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
    filter: none !important;
    box-shadow: none !important;
    transition: var(--transition);
}

/* Hamburger -> X animation */
.navbar-toggler {
    border: 0;
    padding: 0.25rem 0.25rem;
}

.hamburger {
    width: 44px;
    height: 44px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: transparent;
    z-index: 2100;
    pointer-events: auto;
}

/* Ensure hamburger stays in header when menu is open */
@media (max-width: 991.98px) {
    .header-right {
        position: relative;
        z-index: 2100;
    }
}

.hamburger:focus {
    outline: none;
    box-shadow: none;
}

.hamburger:focus-visible {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.hamburger span,
.hamburger .hamburger-line {
    position: absolute;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 2px;
    transition: transform 240ms ease, opacity 180ms ease, top 240ms ease, background 240ms ease;
    left: 50%;
    margin-left: -11px; /* half of width */
}

#main-header.scrolled .hamburger span,
#main-header.scrolled .hamburger .hamburger-line {
    background: rgba(0, 0, 0, 0.75);
}

.hamburger span:nth-child(1),
.hamburger .hamburger-line:nth-child(1) { 
    top: 15px; 
    transform: translateX(0);
}
.hamburger span:nth-child(2),
.hamburger .hamburger-line:nth-child(2) { 
    top: 21px; 
    transform: translateX(0);
}
.hamburger span:nth-child(3),
.hamburger .hamburger-line:nth-child(3) { 
    top: 27px; 
    transform: translateX(0);
}

.hamburger.is-open span:nth-child(1),
.hamburger.is-open .hamburger-line:nth-child(1) { 
    top: 21px; 
    transform: translateX(0) rotate(45deg); 
}
.hamburger.is-open span:nth-child(2),
.hamburger.is-open .hamburger-line:nth-child(2) { 
    opacity: 0; 
    transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3),
.hamburger.is-open .hamburger-line:nth-child(3) { 
    top: 21px; 
    transform: translateX(0) rotate(-45deg); 
}

/* Language dropdown (pill + panel) */
.lang-dropdown {
    position: relative;
}

.lang-btn {
    height: 34px;
    min-width: 64px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 0 0 auto;
}

#main-header.scrolled .lang-btn {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.75);
}

.lang-btn:focus {
    outline: none;
    box-shadow: none;
}

.lang-btn:focus-visible {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.lang-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.6);
    transform: translateY(1px);
    transition: transform 200ms ease;
}

#main-header.scrolled .lang-caret {
    border-top-color: rgba(0, 0, 0, 0.6);
}

.lang-dropdown.is-open .lang-caret {
    transform: translateY(1px) rotate(180deg);
}

.lang-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 100%;
    border-radius: 16px;
    padding: 8px;
    background: #f8f8f8;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
    z-index: 1100;
}

.lang-dropdown.is-open .lang-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-item {
    width: 100%;
    height: 36px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease;
}

.lang-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.lang-item:focus {
    outline: none;
    box-shadow: none;
}

.lang-item:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.10);
}

.lang-item.is-active {
    background: rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

.nav-link {
    color: var(--color-white);
    font-weight: 500;
    margin: 0;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .header-center .navbar-nav {
        display: flex;
        flex-wrap: nowrap;
        gap: clamp(12px, 1.8vw, 28px);
        white-space: nowrap;
    }
    
    .header-center .navbar-nav .nav-item {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .header-center .navbar-nav .nav-link {
        white-space: nowrap;
        font-size: clamp(0.875rem, 0.9vw, 1rem);
    }
}

.nav-link:hover {
    color: var(--color-primary-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 80%;
    transform: translateX(-50%) scaleX(1);
}

/* GNB 활성 메뉴: 해당 카테고리 진입 시 메뉴 하단 오렌지 라인 표시 */
.nav-link.is-active::after {
    width: 80%;
    transform: translateX(-50%) scaleX(1);
}

.language-selector {
    margin-left: 1rem;
}

.language-selector .form-select {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    padding: 0.375rem 1.5rem 0.375rem 0.75rem;
    font-size: 0.875rem;
}

#main-header.scrolled .language-selector .form-select {
    background: var(--color-white);
    color: var(--color-text);
    border-color: var(--color-gray-dark);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    min-height: 100svh; /* Support for safe viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('../img/main_01.jpg') center center / cover no-repeat;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.35)); */
    z-index: 0;
}

.hero-content {
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: 2rem;
    z-index: 1;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    min-height: calc(100svh - 80px);
}

.hero-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-stack {
    transform: translateY(10vh); /* Desktop: 8~12vh down */
}

.hero-subtitle {
    font-size: 1rem; /* 14~16px */
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
    .hero-title {
        white-space: nowrap;
    }
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
    margin-top: 2rem;
}

.scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Common Styles */
section {
    padding: 6rem 0;
}

/* Scroll Reveal – 스크롤 진입 시 은근하게 올라오는 애니메이션 */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1000ms ease,
                transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-inview {
    opacity: 1;
    transform: translateY(0);
}

/* Hero: 페이지 로드 시 등장 (더 부드럽게) */
.js .reveal-hero {
    transform: translateY(14px);
    transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* CSR: 조금 더 묵직하게 */
.js .reveal-heavy {
    transform: translateY(18px);
    transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* prefers-reduced-motion: 애니메이션 비활성 */
@media (prefers-reduced-motion: reduce) {
    .js .reveal,
    .js .reveal.is-inview,
    .js .reveal-hero,
    .js .reveal-heavy {
        opacity: 1;
        transform: none;
        transition: none;
    }
    /* Our Story 라인도 모션 최소화 시 즉시 표시 */
    .company-our-story-line {
        transform: none;
        transition: none;
    }
}

.section-header {
    text-align: left;
    max-width: 800px;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* COMPANY Section */
.section-company {
    background: var(--color-white);
}

/* ============================
   RECRUIT 페이지
   ============================ */

/* 리크루트 히어로: 타이틀/서브/리드 크기를 컴퍼니·브랜드 서브·디스크립션과 통일 */
.page-recruit .hero-fullbleed .hero-copy-inner .hero-title-line {
  font-size: 2.5rem;
}
.page-recruit .hero-fullbleed .hero-title-sub {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}
.page-recruit .hero-fullbleed .hero-lead {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .page-recruit .hero-fullbleed .hero-copy-inner .hero-title-line {
    font-size: 3rem;
  }
  .page-recruit .hero-fullbleed .hero-lead {
    font-size: 1.0625rem;
  }
}
@media (min-width: 992px) {
  .page-recruit .hero-fullbleed .hero-copy-inner .hero-title-line {
    font-size: 5.25rem;
  }
}

/* 모바일: 버튼~이미지 하단 간격 + 해상도별 텍스트 크기 조절로 줄바꿈·버튼 하단 이탈 방지 */
@media (max-width: 991.98px) {
  .page-recruit .hero-fullbleed .hero-copy {
    margin-top: -68vh;
    padding-top: 68vh;
  }
  .page-recruit .hero-fullbleed .hero-copy-inner {
    padding-bottom: calc(2.5rem + 12vh);
  }
  /* 서브·리드만 뷰포트에 따라 유동 크기 (타이틀은 고정) */
  .page-recruit .hero-fullbleed .hero-title-sub {
    font-size: clamp(0.8125rem, 1.5vw + 0.6rem, 1rem);
    margin: 0 0 0.35rem;
  }
  .page-recruit .hero-fullbleed .hero-lead {
    font-size: clamp(0.75rem, 1.5vw + 0.5rem, 1rem);
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 413px) {
  .page-recruit .hero-fullbleed .hero-title-sub {
    font-size: 0.8125rem;
  }
  .page-recruit .hero-fullbleed .hero-lead {
    font-size: 0.75rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 360px) {
  .page-recruit .hero-fullbleed .hero-title-sub {
    font-size: 0.75rem;
  }
  .page-recruit .hero-fullbleed .hero-lead {
    font-size: 0.6875rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
}

/* 채용 안내 */
.section-recruit-intro {
  background: #ffffff;
}
.section-recruit-intro .section-header {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}
.recruit-platform-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.btn-recruit-jobkorea {
  background: #007EFF;
  color: #fff;
  border: 0;
}
.btn-recruit-jobkorea:hover {
  background: #0066dd;
  color: #fff;
}
.btn-recruit-saramin {
  background: #2D67FF;
  color: #fff;
  border: 0;
}
.btn-recruit-saramin:hover {
  background: #2557e0;
  color: #fff;
}

/* 3) 인재상 카드 */
.section-recruit-talent {
  background: #f8f8f8;
}
.section-recruit-talent .section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-recruit-talent .section-header .company-section-title,
.section-recruit-talent .section-header .company-section-sub {
  text-align: center;
}
.recruit-talent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .recruit-talent-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.recruit-talent-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.recruit-talent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.08);
}
.recruit-talent-icon {
  margin-bottom: 1rem;
}
.recruit-talent-icon img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.recruit-talent-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}
.recruit-talent-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin: 0;
}

/* 4) 가족친화 인증 섹션: 히어로처럼 50:50, 왼쪽 이미지 / 오른쪽 텍스트+앰블럼 */
.section-recruit-family {
  background: #ffffff;
}
.section-recruit-family-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .section-recruit-family-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 420px;
  }
}

/* 왼쪽: 히어로 이미지 + 오버레이 */
.recruit-family-visual {
  position: relative;
  width: 100%;
  min-height: 240px;
}
@media (min-width: 768px) {
  .recruit-family-visual {
    min-height: 0;
    height: 100%;
  }
}
.recruit-family-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  background: #f0f0f0;
  height: 100%;
}
@media (min-width: 768px) {
  .recruit-family-img-wrap {
    border-radius: 0;
    aspect-ratio: auto;
    min-height: 100%;
  }
}
.recruit-family-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .recruit-family-img {
    min-height: 100%;
    object-position: center;
  }
}
.recruit-family-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}

/* 오른쪽: 텍스트 (히어로 카피처럼 세로 가운데 여백) */
.recruit-family-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .recruit-family-text {
    padding: 2.5rem 2rem 2.5rem 2.5rem;
  }
}
.recruit-family-heading {
  margin-bottom: 1.5rem;
}

/* PC: 앰블럼을 제목 위에 배치 */
.recruit-family-emblem-desktop {
  display: none;
}
@media (min-width: 768px) {
  .recruit-family-emblem-desktop {
    display: block;
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
  }
}

/* 모바일: "가족친화 우수기업" 한 줄 유지, 오른쪽에 앰블럼 */
.recruit-family-heading-row {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
}
.recruit-family-heading-text {
  flex: 1;
  min-width: 0;
}
.recruit-family-heading .recruit-family-title {
  white-space: nowrap;
}
.recruit-family-emblem-mobile {
  flex-shrink: 0;
  width: 88px;
  height: auto;
  display: block;
}
@media (max-width: 400px) {
  .recruit-family-emblem-mobile {
    width: 72px;
  }
}
@media (max-width: 360px) {
  .recruit-family-emblem-mobile {
    width: 64px;
  }
}
@media (max-width: 320px) {
  .recruit-family-emblem-mobile {
    width: 56px;
  }
}
@media (min-width: 768px) {
  .recruit-family-heading-row {
    display: block;
  }
  .recruit-family-heading .recruit-family-title {
    white-space: normal;
  }
  .recruit-family-emblem-mobile {
    display: none;
  }
}

.recruit-family-title.company-section-title,
.recruit-family-sub.company-section-sub {
  text-align: left;
}
.recruit-family-sub.company-section-sub {
  margin-bottom: 1.5rem;
}

/* 리크루트 하단 섹션 reveal 스크롤 애니메이션 (stagger delay) */
.page-recruit .section-recruit-intro .reveal[data-delay="0"],
.page-recruit .section-recruit-talent .reveal[data-delay="0"],
.page-recruit .section-recruit-family .reveal[data-delay="0"]   { transition-delay: 0ms; }
.page-recruit .section-recruit-intro .reveal[data-delay="40"],
.page-recruit .section-recruit-talent .reveal[data-delay="40"],
.page-recruit .section-recruit-family .reveal[data-delay="40"]  { transition-delay: 40ms; }
.page-recruit .section-recruit-intro .reveal[data-delay="80"],
.page-recruit .section-recruit-talent .reveal[data-delay="80"],
.page-recruit .section-recruit-family .reveal[data-delay="80"]  { transition-delay: 80ms; }
.page-recruit .section-recruit-intro .reveal[data-delay="120"],
.page-recruit .section-recruit-talent .reveal[data-delay="120"],
.page-recruit .section-recruit-family .reveal[data-delay="120"] { transition-delay: 120ms; }
.page-recruit .section-recruit-intro .reveal[data-delay="160"],
.page-recruit .section-recruit-talent .reveal[data-delay="160"],
.page-recruit .section-recruit-family .reveal[data-delay="160"] { transition-delay: 160ms; }
@media (prefers-reduced-motion: reduce) {
  .page-recruit .section-recruit-intro .reveal,
  .page-recruit .section-recruit-intro .reveal.is-inview,
  .page-recruit .section-recruit-talent .reveal,
  .page-recruit .section-recruit-talent .reveal.is-inview,
  .page-recruit .section-recruit-family .reveal,
  .page-recruit .section-recruit-family .reveal.is-inview {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 리크루트 모바일: 채용안내·가족친화 본문, 인재상 카드 텍스트만 크기 조절 (타이틀·서브는 유지) */
@media (max-width: 991.98px) {
  .page-recruit .section-recruit-intro .section-description,
  .page-recruit .section-recruit-family .recruit-family-text .section-description {
    font-size: 0.9375rem;
    line-height: 1.7;
  }
  .page-recruit .section-recruit-talent .recruit-talent-title {
    font-size: 1rem;
  }
  .page-recruit .section-recruit-talent .recruit-talent-desc {
    font-size: 0.875rem;
  }
}

.company-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.card-description {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

/* BRAND Section */
.section-brand {
    background: var(--color-gray);
}

.brand-card {
    background: var(--color-dark);
    border-radius: 20px;
    padding: 3rem 2rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.brand-card-content {
    text-align: center;
    color: var(--color-white);
    z-index: 1;
    position: relative;
}

.brand-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.brand-name-en {
    font-size: 1.25rem;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.brand-description {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    max-height: 0;
    overflow: hidden;
}

.brand-card:hover .brand-description {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
}

.brand-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-white);
    opacity: 0.9;
}

/* CSR Section */
.section-csr {
    background: var(--color-dark-light);
    padding: 8rem 0;
}

.csr-card {
    background: var(--color-dark);
    border-radius: 30px;
    padding: 4rem;
    max-width: 900px;
    margin: 0 auto;
    color: var(--color-white);
}

.csr-card .section-label {
    color: var(--color-primary);
}

.csr-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1.5rem 0 2rem;
    line-height: 1.3;
}

.csr-description {
    font-size: 1.125rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.btn-csr {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-csr:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    color: var(--color-white);
}

/* CONTACT Section */
.section-contact {
    background: var(--color-white);
}

.contact-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--color-gray-dark);
    transition: var(--transition);
    height: 100%;
}

.contact-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 3rem 0;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-white);
}

.separator {
    margin: 0 0.5rem;
}

/* Page Header (for sub pages) */
.page-header {
    background: var(--color-gray);
    padding: 8rem 0 4rem;
    margin-top: 76px;
    text-align: center;
}

.page-header .container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin: 0;
}

.page-content {
    padding: 4rem 0;
}

/* CSR 페이지 전체 배경 톤: 다른 카테고리와 동일하게 연한 그레이 */
.page-csr {
    background-color: #f8f8f8;
}

/* ----- CSR 페이지: 히어로 + 타임라인 ----- */
.section-csr-timeline {
  background: #ffffff;
}
.csr-timeline-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}
@media (min-width: 992px) {
  .csr-timeline-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 3rem;
    align-items: flex-start;
  }
}

/* 왼쪽: CSR 대표 이미지 (데스크톱에서 스크롤 시 고정) */
.csr-timeline-visual {
  position: relative;
}
@media (min-width: 992px) {
  .csr-timeline-visual {
    position: sticky;
    top: 76px;
  }
}
.csr-timeline-visual-frame {
  border-radius: 0;
  overflow: hidden;
}
.csr-timeline-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 992px) {
  .csr-timeline-visual-frame {
    height: 100vh;
  }
}

/* 오른쪽 컬럼: 히어로 텍스트 + 연혁 타임라인 */
.csr-timeline-content {
  min-width: 0;
}
.page-csr .section-csr-timeline {
  padding-top: 0;
}
.page-csr .csr-hero-intro {
  max-width: 640px;
}
.page-csr .csr-hero-intro .hero-title-block {
  margin-bottom: 0.25rem;
}
.page-csr .csr-hero-intro .hero-title-sub {
  margin-bottom: 1.25rem;
}
@media (min-width: 992px) {
  .page-csr .csr-hero-intro {
    min-height: 100vh; /* 뷰포트 전체를 히어로로 사용 */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* CSR 웹(데스크톱) 히어로: 컴퍼니/인덱스와 동일 패턴 – 컨테이너에 is-visible, 왼쪽 이미지·오른쪽 텍스트 한 번에 reveal */
@media (min-width: 992px) {
  .page-csr .csr-timeline-inner .csr-hero-intro .reveal,
  .page-csr .csr-timeline-inner .csr-timeline-visual .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .page-csr .csr-timeline-inner .csr-hero-intro .reveal[data-delay="0"],
  .page-csr .csr-timeline-inner .csr-timeline-visual .reveal[data-delay="0"]   { transition-delay: 0ms; }
  .page-csr .csr-timeline-inner .csr-hero-intro .reveal[data-delay="80"]        { transition-delay: 80ms; }
  .page-csr .csr-timeline-inner .csr-hero-intro .reveal[data-delay="160"]       { transition-delay: 160ms; }
  .page-csr .csr-timeline-inner .csr-hero-intro .reveal[data-delay="240"]       { transition-delay: 240ms; }
  .page-csr .csr-timeline-inner.is-visible .csr-hero-intro .reveal,
  .page-csr .csr-timeline-inner.is-visible .csr-timeline-visual .reveal {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
  .page-csr .csr-timeline-inner .csr-hero-intro .reveal,
  .page-csr .csr-timeline-inner .csr-timeline-visual .reveal,
  .page-csr .csr-timeline-inner.is-visible .csr-hero-intro .reveal,
  .page-csr .csr-timeline-inner.is-visible .csr-timeline-visual .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* === CSR 모바일 전용: 히어로 이미지 뷰포트 꽉 채우고, 제목만 이미지 위에 오버레이 === */
@media (max-width: 991.98px) {
  /* 모바일: 타임라인 섹션 기본 패딩만 유지 (여백은 다른 카테고리와 동일) */
  .page-csr .section-csr-timeline {
    padding-top: 0;
    background: #f8f8f8; /* 모바일에서는 전체 배경 톤과 통일 */
  }
  /* 모바일에서는 상단 hero-fullbleed 이미지를 사용하므로
     타임라인 섹션 안의 고정 이미지(col-left)는 숨긴다 */
  .page-csr .csr-timeline-visual {
    display: none;
  }
  /* 모바일: 세로 라인과 점을 텍스트 왼쪽 끝에 맞추고, 점 중심이 라인과 일치하도록 */
  .page-csr .csr-timeline-list {
    margin-left: 0;
    padding-left: 0;
  }
  .page-csr .csr-timeline-list::before {
    left: 0; /* 텍스트 컬럼의 가장 왼쪽(시작선)에 맞춤 */
  }
  .page-csr .csr-timeline-node {
    left: 0; /* 세로 라인과 동일 기준으로 함께 이동 */
  }
  .page-csr .csr-timeline-dot {
    transform: translateX(-4px); /* 점(10px) 중심을 2px 라인 중앙에 맞춤 */
  }
  .page-csr .csr-timeline-body {
    margin-left: 2.25rem; /* 라인·점과 본문 텍스트 사이 간격 */
    text-align: left;
  }

  /* 모바일에서는 상단 hero-fullbleed에 이미 CSR / 사회공헌활동을 노출하므로,
     아래 본문 영역의 같은 제목·부제는 중복 제거 */
  .page-csr .csr-hero-intro .hero-title-block,
  .page-csr .csr-hero-intro .hero-title-sub {
    display: none;
  }
  .page-csr .csr-hero-intro .hero-lead {
    font-size: 0.9375rem; /* 15px */
    line-height: 1.7;
  }
  .page-csr .csr-timeline-header {
    margin-top: 2.5rem;
  }
}

/* CSR 히어로: 스크롤 인디케이터 (SCROLL + 화살표, 좌측 정렬 + 통통 튀는 인터랙션) */
.page-csr .csr-hero-intro .scroll-indicator-minimal {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  margin-top: 1.25rem;
  animation: bounce 2s infinite;
}

/* AONE CSR STORY 헤더 정렬 */
.csr-timeline-header {
  margin-bottom: 2.5rem;
}
.page-csr .csr-timeline-header .company-section-title,
.page-csr .csr-timeline-header .company-section-sub {
  text-align: left;
}

/* 세로 라인 + 점 앵커 (COMPANY 연혁 형태) */
.csr-timeline-list {
  position: relative;
  margin-left: 1.5rem;
  padding-left: 1.5rem;
}
.csr-timeline-list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background: rgba(0, 0, 0, 0.08);
}

.csr-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}
.csr-timeline-item-last {
  margin-bottom: 0;
}

.csr-timeline-node {
  position: absolute;
  left: -1.5rem;
  top: 0.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.csr-timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: var(--color-white);
}
.csr-timeline-line {
  display: none; /* 점 아래 짧은 개별 선 제거 (메인 세로 라인만 유지) */
}
.csr-timeline-line--end {
  flex: 0;
  min-height: 0;
}

.csr-timeline-body {
  margin-left: 0;
}
.csr-timeline-year {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.csr-timeline-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 1rem;
}
.csr-timeline-media img {
  display: block;
  width: 100%;
  border-radius: 12px;
}
.csr-timeline-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
}

@media (min-width: 992px) {
  .page-csr .csr-timeline-list {
    margin-left: 0;
    padding-left: 0;
  }
  .page-csr .csr-timeline-list::before {
    left: 2px; /* 세로 라인 위치 */
  }
  .page-csr .csr-timeline-node {
    left: 2px; /* 라인과 동일 기준 */
  }
  .page-csr .csr-timeline-dot {
    transform: translateX(-4px); /* 점 중심을 라인 중앙에 맞추기 위한 보정 */
  }
  .page-csr .csr-timeline-line {
    transform: none;
  }
  .page-csr .csr-timeline-body {
    margin-left: 2.25rem; /* 라인과 콘텐츠 사이 간격 */
  }
}

/* CSR 타임라인: 모바일에서는 연도별 이미지를 더 크게, 텍스트는 이미지 아래에 배치 */
@media (max-width: 991.98px) {
  .page-csr .csr-timeline-entry {
    grid-template-columns: minmax(0, 1fr); /* 1열: 이미지 위, 텍스트 아래 */
    gap: 0.75rem;
  }
  .page-csr .csr-timeline-media img {
    width: 100%;
    border-radius: 12px;
  }
  .page-csr .csr-timeline-text {
    text-align: left;
  }
}

/* ----- COMPANY 페이지 전용 ----- */
.page-recruit #hero.hero-fullbleed {
    background: #f8f8f8;
}

.section-alt {
    background: #f8f8f8;
}

/* ----- COMPANY: 히어로(인덱스와 동일: 좌 여백 2rem / 우 이미지 GNB에 붙음) ----- */
.company-hero {
    margin-top: 0;
    padding-top: 76px;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: stretch;
    background: #f8f8f8;
}

.company-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 991.98px) {
    .company-hero-inner { padding-left: 0; padding-right: 0; }
}

/* COMPANY 모바일: 히어로 이미지 위 카피/4종 정보 오버레이, 버튼은 이미지 아래 (GNB와 이미지 사이 공간 제거) */
@media (max-width: 991.98px) {
    .company-hero {
        position: relative;
        padding-top: 52px;
        min-height: calc(100vh - 52px);
    }
    .company-hero-inner {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: calc(100vh - 52px) auto;
    }
    .company-hero-visual {
        order: 1;
        position: relative;
        min-height: calc(100vh - 52px);
        height: calc(100vh - 52px);
    }
    .company-hero-text {
        order: 2;
        padding: 1.5rem 1.5rem 0;
    }
    .company-hero-copy {
        position: absolute;
        /* 이미지 영역(비주얼) 중앙에 배치: 상단 52px(GNB) + 비주얼 높이의 절반 */
        top: calc(52px + (100vh - 52px) / 2);
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        padding: 0 1.5rem;
        z-index: 2;
        text-align: center;
    }
    .company-hero .company-hero-title,
    .company-hero .company-hero-desc,
    .company-hero .company-hero-lead,
    .company-hero .company-metrics .metric-value,
    .company-hero .company-metrics .metric-desc {
        color: #ffffff;
    }
    .company-hero .company-metrics .metric {
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-left: 3px solid var(--color-primary);
    }
    .company-hero-visual::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1));
        z-index: 1;
    }
    .company-hero-img {
        position: relative;
        z-index: 0;
    }
    .company-hero-boxes {
        position: relative;
        z-index: 3;
        margin-top: 1.75rem;
    }
    .company-hero .company-hero-lead {
        font-size: clamp(0.875rem, 1.1vw, 1.125rem);
        line-height: 1.6;
    }
}

@media (min-width: 992px) {
    .company-hero-inner {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        min-height: calc(100vh - 76px);
    }
}

.company-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 1.5rem 2.5rem;
    order: 1;
}

@media (min-width: 992px) {
    .company-hero-text {
        padding: 3rem 1rem 3rem 0;
    }
}

.company-hero-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-title);
    line-height: var(--line-height-title);
    color: var(--color-dark);
    margin: 0 0 0.5rem;
}

.company-hero-desc {
    font-size: 1rem;
    color: #666;
    margin: 0 0 1rem;
}

.company-hero-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #555;
    margin: 0 0 2rem;
}

@media (min-width: 768px) {
    .company-hero-title { font-size: 3rem; }
    .company-hero-lead { font-size: 1.125rem; }
}
@media (min-width: 992px) {
    .company-hero-title { font-size: 5.25rem; }
}

/* COMPANY 히어로: 카피 아래 4개 정보 블록 (왼쪽 오렌지 라인) */
.company-metrics {
    margin-top: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    cursor: default;
    user-select: none;
    margin-bottom: 2.5rem;
}
.company-metrics .metric {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 3px solid var(--color-primary);
    border-radius: 6px;
    padding: 10px 12px;
    cursor: default;
    pointer-events: none;
}
.company-metrics .metric:hover {
    background: transparent;
}
.metric-value {
    display: block;
    font-size: 1.1875rem;
    font-weight: 700;
    color: #2c2c2c;
    line-height: 1.3;
    letter-spacing: -0.02em;
}
.metric-desc {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #777;
    margin-top: 0.2rem;
}
@media (min-width: 992px) {
    .company-metrics {
        gap: 20px;
        margin-top: 28px;
        margin-bottom: 2.5rem;
    }
    .metric-value { font-size: 1.25rem; }
    .metric-desc { font-size: 0.875rem; color: #777; }
}
@media (min-width: 1200px) {
    .company-metrics {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* COMPANY 히어로: Our Story 가로 타임라인 (숫자 카드 아래, 버튼 카드 위) */
.company-our-story {
    margin-top: 0;
    margin-bottom: 2rem;
    padding-top: 0.5rem;
    position: relative; /* 진행 라인 오버레이 기준 */
}

.company-our-story-title {
    font-size: 0.8125rem;
    font-weight: var(--font-weight-heading);
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.company-our-story-timeline {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-evenly;
    gap: 0;
    position: relative; /* 진행 라인(::before) 기준 */
}

.company-our-story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    cursor: default;
}

.company-our-story-node {
    display: flex;
    align-items: center;
    width: 100%;
    flex: 1 1 0;
    min-width: 0;
}

.company-our-story-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--color-gray-dark);
    background: var(--color-white);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.company-our-story-dot--accent {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.company-our-story-item:hover .company-our-story-dot {
    border-color: var(--color-dark-light);
}

.company-our-story-item:hover .company-our-story-dot--accent {
    border-color: var(--color-primary-light);
    background: var(--color-primary-light);
}

.company-our-story-line {
    flex: 1 1 0;
    min-width: 8px;
    height: 2px;
    margin: 0 2px;
    background: var(--color-gray-dark);
    align-self: center;
    /* 초기에는 점만 보이도록 선 스케일 0 (레이아웃은 유지) */
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0s ease, background-color 0.2s ease;
}

.company-our-story-line--hidden {
    display: none;
}

.company-our-story-item:hover .company-our-story-line {
    background: var(--color-dark-light);
}

/* COMPANY Our Story: 히어로 노출 시 점과 점 사이 선이 왼쪽→오른쪽 순서로 하나씩 그려지는 애니메이션 */
.js .company-hero.is-visible .company-our-story .company-our-story-line {
    transform: scaleX(1);
    transition: transform 0.7s ease-out, background-color 0.2s ease;
}
.js .company-hero.is-visible .company-our-story .company-our-story-item:nth-child(1) .company-our-story-line { transition-delay: 0.9s; }
.js .company-hero.is-visible .company-our-story .company-our-story-item:nth-child(2) .company-our-story-line { transition-delay: 1.05s; }
.js .company-hero.is-visible .company-our-story .company-our-story-item:nth-child(3) .company-our-story-line { transition-delay: 1.2s; }
.js .company-hero.is-visible .company-our-story .company-our-story-item:nth-child(4) .company-our-story-line { transition-delay: 1.35s; }
.js .company-hero.is-visible .company-our-story .company-our-story-item:nth-child(5) .company-our-story-line { transition-delay: 1.5s; }

.company-our-story-year {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 0.5rem;
    line-height: 1.3;
    text-align: center;
}

.company-our-story-keyword {
    display: block;
    font-size: 0.6875rem;
    color: #999;
    margin-top: 0.15rem;
    line-height: 1.4;
    text-align: center;
}

.company-our-story-item:hover .company-our-story-year,
.company-our-story-item:hover .company-our-story-keyword {
    color: var(--color-text);
}

.company-our-story-item:hover .company-our-story-keyword {
    color: var(--color-text-light);
}

@media (min-width: 992px) {
    .company-our-story {
        margin-bottom: 2.5rem;
    }
    .company-our-story-title {
        font-size: 0.875rem;
    }
    .company-our-story-keyword {
        font-size: 0.75rem;
    }
}

/* Our Story 모바일: 가로 스크롤, 터치 스크롤, 라인 가시성, 연도/텍스트 정렬, 키워드 2줄 */
@media (max-width: 991.98px) {
    .company-our-story {
        margin-bottom: 1.5rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .company-our-story-timeline {
        justify-content: space-evenly;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 0.5rem;
    }
    .company-our-story-timeline::-webkit-scrollbar {
        height: 4px;
    }
    .company-our-story-timeline::-webkit-scrollbar-thumb {
        background: var(--color-gray-dark);
        border-radius: 2px;
    }
    .company-our-story-item {
        flex: 0 0 52px;
        min-width: 0;
        text-align: center;
    }
    .company-our-story-node {
        width: 100%;
    }
    .company-our-story-line {
        flex: 1 1 0;
        min-width: 10px;
        height: 3px;
        margin: 0;
        background: var(--color-gray-dark);
    }
    .company-our-story-keyword {
        max-width: 4.5em;
        margin-left: auto;
        margin-right: auto;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        word-break: keep-all;
    }
    .company-hero .company-our-story .company-our-story-title {
        color: rgba(255, 255, 255, 0.85);
    }
    .company-hero .company-our-story .company-our-story-year,
    .company-hero .company-our-story .company-our-story-keyword {
        color: rgba(255, 255, 255, 0.9);
    }
    .company-hero .company-our-story .company-our-story-keyword {
        color: rgba(255, 255, 255, 0.7);
    }
    .company-hero .company-our-story .company-our-story-dot {
        border-color: rgba(255, 255, 255, 0.55);
        background: rgba(255, 255, 255, 0.25);
    }
    .company-hero .company-our-story .company-our-story-dot--accent {
        border-color: var(--color-primary);
        background: var(--color-primary);
    }
    .company-hero .company-our-story .company-our-story-line {
        background: rgba(255, 255, 255, 0.7);
        height: 3px;
    }
}

/* 좌측 하단: 4버튼 박스 (항상 2×2) */
.company-hero-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

/* 버튼: 입장 시 비활성화, 선택 시만 활성화, 우측 chevron으로 클릭 유도 */
.company-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1rem;
    background: #f2f2f2;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    text-align: left;
    font: inherit;
}

.company-box-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.company-box-chevron {
    flex-shrink: 0;
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.4);
    transition: color 0.2s ease;
}

.company-box-chevron svg {
    display: block;
    width: 20px;
    height: 20px;
}

.company-box:hover .company-box-chevron { color: rgba(0, 0, 0, 0.6); }

.company-box.is-active .company-box-chevron { color: rgba(255, 255, 255, 0.9); }

.company-box:hover {
    background: #e8e8e8;
}

.company-box.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.company-box-label {
    font-size: 1rem;
    font-weight: 700;
    color: #333333;
}

.company-box:hover .company-box-label { color: #1a1a1a; }

.company-box.is-active .company-box-label { color: #fff; }

.company-box-sub {
    font-size: 0.75rem;
    color: #666666;
    margin-top: 0.25rem;
}

.company-box:hover .company-box-sub { color: #444; }

.company-box.is-active .company-box-sub { color: rgba(255, 255, 255, 0.9); }

@media (min-width: 992px) {
    .company-box-label { font-size: 1.0625rem; }
    .company-box-sub { font-size: 0.8125rem; }
}

/* 우측 이미지: 위 공간 없이, GNB 오른쪽에 붙음 */
.company-hero-visual {
    position: relative;
    min-height: 280px;
    order: 0;
    padding: 0;
}

@media (min-width: 992px) {
    .company-hero-visual {
        order: 2;
        min-height: 100%;
        height: calc(100vh - 76px);
    }
}

.company-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 280px;
}

@media (min-width: 992px) {
    .company-hero-img {
        min-height: 100%;
        height: 100%;
    }
}

/* Company 히어로 좌측 reveal (인덱스 히어로와 동일 톤) */
.company-hero .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.company-hero .reveal[data-delay="0"]   { transition-delay: 0ms; }
.company-hero .reveal[data-delay="120"] { transition-delay: 120ms; }
.company-hero .reveal[data-delay="160"] { transition-delay: 160ms; }
.company-hero .reveal[data-delay="240"] { transition-delay: 240ms; }
.company-hero .reveal[data-delay="300"] { transition-delay: 300ms; }
.company-hero .reveal[data-delay="360"] { transition-delay: 360ms; }
.company-hero .reveal[data-delay="420"] { transition-delay: 420ms; }
.company-hero .reveal[data-delay="480"] { transition-delay: 480ms; }
.company-hero .reveal[data-delay="540"] { transition-delay: 540ms; }
.company-hero.is-visible .reveal {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .company-hero .reveal,
    .company-hero.is-visible .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ----- COMPANY: 콘텐츠 영역(패널 전환) ----- */
.company-content-area {
    background: #f8f8f8;
    padding: 0 0 4rem;
    scroll-margin-top: 100px;
}

/* 첫 진입 시 패널 없음: 히어로 아래 바로 푸터 노출 */
.company-content-area.company-content-area--no-panel {
    padding: 0;
    min-height: 0;
}
.company-content-area.company-content-area--no-panel .company-content-inner {
    min-height: 0;
}

.company-content-inner {
    position: relative;
}

.company-panel {
    display: none;
    animation: companyPanelSlideDown 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.company-panel.is-active {
    display: block;
}

.company-panel[hidden] { display: none !important; }

.company-panel.is-active[hidden] { display: block !important; }

@keyframes companyPanelSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .company-panel { animation: none; }
}

.company-panel-body {
    /* CEO 인사말 위 공간과 동일: 7.625rem + 첫 블록 상단 42px 여백 기준 */
    padding: 7.625rem 0 3rem;
}

/* 연혁/수상내역/CI: 첫 텍스트 위 여백 42px (기업이념과 동일) */
#panel-history .company-panel-body,
#panel-awards .company-panel-body,
#panel-ci .company-panel-body {
    padding-top: 42px;
}

.company-panel-body.section-alt {
    background: #f8f8f8;
    padding: 7.625rem 0 3rem;
}

/* 패널 내부: 기업이념 스타일 재사용 (상단 여백은 .company-panel-body에서 통일) */
.company-panel-body .ideology-inner { max-width: 1280px; margin: 0 auto; }
.company-panel-body .ideology-block { padding: 2.625rem 0; }
.company-panel-body .ideology-inner > .ideology-block:first-child { padding-top: 0; }
.company-panel-body .ideology-block-title { margin: 0 0 1rem; }

/* ----- 데스크톱: 오른쪽 날개 배너 ----- */
.company-wing {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, right 0.25s ease;
}

.company-wing.is-visible {
    opacity: 1;
    visibility: visible;
}

.company-wing-list {
    list-style: none;
    margin: 0;
    padding: 0.75rem 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
}

.company-wing-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #555;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease, background 0.2s ease;
}

.company-wing-item:hover { color: var(--color-primary); }

.company-wing-item.is-active {
    color: var(--color-primary);
    background: rgba(243, 111, 33, 0.08);
}

@media (max-width: 991.98px) {
    .company-wing { display: none; }
}

/* ----- 모바일: 하단 고정 탭 ----- */
.company-bottom-tabs {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    padding: 0.5rem;
    gap: 0.25rem;
}

.company-tab-item {
    flex: 1;
    padding: 0.75rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #666;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.company-tab-item.is-active {
    color: #fff;
    background: var(--color-primary);
}

/* 하단 탭 있을 때 콘텐츠 하단 여백 */
@media (max-width: 991.98px) {
    .company-content-area { padding-bottom: 5rem; }
}

/* ----- 서브페이지: 브레드크럼 / 백링크 ----- */
.company-breadcrumb {
    padding: 1rem 0 0;
    font-size: 0.8125rem;
    color: #888;
}

.company-breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.company-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.company-breadcrumb a:hover { color: var(--color-primary); }

.page-header.page-header--sub h1 { font-size: 2rem; }
.page-header.page-header--sub p { font-size: 1rem; }

.company-back-wrap {
    padding: 2rem 0 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.company-back-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.company-back-link:hover { color: var(--color-primary-light); }

/* ----- 연혁 타임라인 (AONE HISTORY) ----- */
.company-history { padding: 3rem 0 4rem; }

.company-section-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: var(--font-weight-heading);
    line-height: var(--line-height-title);
    letter-spacing: 0.02em;
    color: var(--color-dark);
    margin: 0 0 0.25rem;
    text-align: center;
}

.company-section-sub {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-caption);
    color: var(--color-text-light);
    letter-spacing: 0.02em;
    text-align: center;
    margin: 0 0 1rem;
}

.history-panel-body { padding-bottom: 4rem; }

.history-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.history-intro-lead {
    font-size: 1.0625rem;
    color: #555;
    margin: 0 0 0.25rem;
    line-height: 1.5;
}

.history-intro-sub {
    font-size: 0.9375rem;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

/* 타임라인: 중앙 세로선 + 좌우 교차 레이아웃 */
.history-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0 0 24px;
}

.history-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary) 0%, rgba(243, 111, 33, 0.25) 100%);
    border-radius: 1px;
    z-index: 0;
}

/* 모바일(768px 미만): 왼쪽 라인·앵커를 왼쪽 영역(40px) 안에서 가운데 정렬 */
@media (max-width: 767.98px) {
    .history-timeline {
        padding-left: 40px;
    }
    .history-timeline::before {
        left: 20px;
        margin-left: -1px;
    }
    .history-decade {
        padding-left: 1rem;
    }
    .history-entry {
        padding-left: 1rem;
    }
    /* 앵커를 세로 라인 중심(20px)에 맞춤 */
    .history-entry::before {
        left: -20px;
        margin-left: -5px;
        transform: none;
    }
}

/* 세기/연대 라벨: 라인 위쪽에 배치, 연대 표시 구간에서 라인 끊김, 아래 구분선 없음 */
.history-decade {
    position: relative;
    z-index: 1;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: rgba(0, 0, 0, 0.08);
    letter-spacing: -0.03em;
    margin: 2.5rem 0 0;
    padding: 0.4rem 1rem;
    padding-left: 2rem;
    background: #f8f8f8;
    border: none;
}

.history-decade:first-of-type { margin-top: 0; }

/* 타임라인 한 행: 이미지 우선 슬롯 + 연도·본문 */
.history-entry {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.25rem;
    padding-left: 2rem;
}

/* 모바일: 연대·연도·인용문 왼쪽 정렬 통일(1rem) - 기본 2rem 덮어씀 */
@media (max-width: 767.98px) {
    .history-decade,
    .history-entry {
        padding-left: 1rem;
    }
    .history-quote {
        padding-left: 1rem;
    }
}

/* 연도 앵커(다이아몬드): 10px 기준 정확한 가운데, 모바일은 좌측 라인에 맞춤 */
.history-entry::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    transform: translateX(calc(-24px - 5px + 1px));
    border-radius: 2px;
    rotate: 45deg;
    z-index: 1;
    box-sizing: border-box;
}

.history-entry-main {
    min-width: 0;
}

/* 모바일: 해당 연도 텍스트 위, 이미지 아래로 통일 + 이미지 텍스트와 왼쪽 정렬, 넘치면 크기 조정해 한 번에 표시 */
@media (max-width: 767.98px) {
    .history-entry .history-entry-main {
        order: 1;
    }
    .history-entry .history-entry-media {
        order: 2;
    }
    /* 이미지 영역 텍스트와 왼쪽 정렬 */
    .history-entry-media--grid {
        justify-content: flex-start;
        max-width: 100%;
        min-width: 0;
    }
    .history-entry-media:not(.history-entry-media--grid) {
        justify-content: flex-start;
    }
    /* 넘칠 때 크기 줄여 한 번에 보이도록: 균등 분할 + contain */
    .history-entry-media--grid img {
        flex: 1 1 0;
        min-width: 0;
        width: 100%;
        height: 48px;
        max-height: 48px;
        object-fit: contain;
    }
}

.history-entry-year {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.history-entry-content {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #555;
}

.history-entry-content p {
    margin: 0 0 0.4em;
}

.history-entry-content p:last-child { margin-bottom: 0; }

/* 이미지: 연대별 핵심 포인트만, 라인과 사이에 색 없이 투명 */
.history-entry-media {
    min-height: 0;
    border-radius: 4px;
    overflow: visible;
    background: transparent;
    max-width: 100%;
}

.history-entry-media:empty { min-height: 0; }

/* 단일 JPG 이미지(1900, 2010 등): 모바일은 텍스트와 왼쪽 정렬, 데스크톱은 가운데/좌우 컬럼에 맞춤 */
.history-entry-media:not(.history-entry-media--grid) {
    display: flex;
    justify-content: flex-start; /* 모바일: 텍스트와 동일 왼쪽 정렬 */
    max-height: 120px;
}
.history-entry-media:not(.history-entry-media--grid) img {
    width: auto;
    height: auto;
    max-height: 120px;
    max-width: 100%;
    object-fit: contain;
    object-position: top;
    display: block;
}
@media (min-width: 768px) {
    .history-entry-media:not(.history-entry-media--grid) {
        max-height: 160px;
        justify-content: center; /* 데스크톱 기본: 가운데 */
    }
    .history-entry-media:not(.history-entry-media--grid) img {
        max-height: 160px;
    }
    /* 가운데 라인 기준: 왼쪽 컬럼은 이미지 오른쪽 정렬, 오른쪽 컬럼은 왼쪽 정렬 */
    .history-entry--left .history-entry-media:not(.history-entry-media--grid) {
        justify-content: flex-end;
    }
    .history-entry--right .history-entry-media:not(.history-entry-media--grid) {
        justify-content: flex-start;
    }
}
@media (min-width: 992px) {
    .history-entry-media:not(.history-entry-media--grid) {
        max-height: 200px;
    }
    .history-entry-media:not(.history-entry-media--grid) img {
        max-height: 200px;
    }
}

/* 연혁 복수 이미지: 이미지마다 필요한 너비만 사용 → gap만으로 사이 간격 완전 일정, 윗변은 해당 해 텍스트와 나란히 */
.history-entry-media--grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.25rem;
    align-items: flex-start;
    justify-content: center;
}
.history-entry-media--grid img {
    width: auto;
    height: 56px;
    max-height: 56px;
    object-fit: contain;
    object-position: top;
    display: block;
    flex: none;
}
@media (min-width: 768px) {
    .history-entry-media--grid {
        gap: 0.25rem;
    }
    .history-entry-media--grid img {
        height: 64px;
        max-height: 64px;
    }
    .history-entry--left .history-entry-media--grid {
        justify-content: flex-end;
    }
    .history-entry--right .history-entry-media--grid {
        justify-content: flex-start;
    }
}
@media (min-width: 992px) {
    .history-entry-media--grid {
        gap: 0.25rem;
    }
    .history-entry-media--grid img {
        height: 72px;
        max-height: 72px;
    }
}

/* 중간 인용 블록 */
/* 2010's 아래 인용문: 가운데 라인과 겹치지 않도록 배경으로 라인 끊김, 사이 구분선 없음 */
.history-quote {
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0 0 2rem;
    padding: 1.25rem 1.5rem;
    background: #f8f8f8;
    border: none;
}

/* 모바일(768px 미만): 인용문 왼쪽 정렬, 가운데 배치 해제 */
@media (max-width: 767.98px) {
    .history-quote {
        text-align: left !important;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-left: 1rem;
        padding-right: 1.5rem;
    }
    .history-quote p {
        text-align: left;
    }
}

.history-quote p {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.6;
    margin: 0;
}

/* 데스크톱: 좌우 교차, 가운데 라인·앵커 중앙 정렬, 연대에서 라인 끊김 */
@media (min-width: 768px) {
    .history-timeline { padding-left: 0; }

    /* 세로 라인: 정확한 가운데 (2px이므로 margin-left: -1px) */
    .history-timeline::before {
        left: 50%;
        margin-left: -1px;
    }

    /* 연대 라벨: 라인 위쪽 배치, 배경으로 라인 끊김 */
    .history-decade {
        text-align: center;
        padding: 0.5rem 1rem;
        padding-left: 0;
        margin: 3rem 0 0;
        background: #f8f8f8;
    }

    .history-entry {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        margin-bottom: 3rem;
        padding-left: 0;
        align-items: start;
    }

    /* 연도 체크 앵커: 가운데 라인과 동일한 50% 기준, 10px이므로 margin-left: -5px */
    .history-entry::before {
        left: 50%;
        margin-left: -5px;
        transform: none;
    }

    /* 왼쪽 컬럼(이미지): 가운데 라인 쪽 간격 */
    .history-entry--left .history-entry-media { order: 1; padding-right: 2rem; }
    /* 오른쪽 컬럼(연도+텍스트): 왼쪽 정렬 → 라인 쪽에서 시작, 가운데와 간격 유지 */
    .history-entry--left .history-entry-main { order: 2; text-align: left; padding-left: 2rem; padding-right: 2rem; }

    /* 왼쪽 컬럼(연도+텍스트): 오른쪽 정렬 → 라인 쪽으로 끝, 가운데와 간격 유지 */
    .history-entry--right .history-entry-main { order: 1; text-align: right; padding-left: 2rem; padding-right: 2rem; }
    .history-entry--right .history-entry-media { order: 2; padding-left: 2rem; }

    .history-entry--left .history-entry-year { text-align: left; }
    .history-entry--right .history-entry-year { text-align: right; }

    .history-entry--left .history-entry-content { text-align: left; }
    .history-entry--right .history-entry-content { text-align: right; }

    .history-quote {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
        padding: 1.25rem 2rem 1.5rem;
    }

    .history-entry-media {
        min-height: 180px;
    }

    .history-entry-media:empty { min-height: 0; }
}

/* ----- 수상내역 그리드 ----- */
.company-awards { padding: 3rem 0 4rem; }

.awards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .awards-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

@media (min-width: 992px) {
    .awards-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.award-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    padding: 1.25rem;
    background: #f8f8f8;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.award-item img {
    width: 100%;
    height: 100%;
    max-height: 80px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.award-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(243, 111, 33, 0.2);
}

.award-placeholder {
    font-size: 0.875rem;
    font-weight: 600;
    color: #555;
    text-align: center;
}

/* ----- CI (기존 웹페이지 구성: 중앙 정렬, 로고+그리드, Color System 스와치) ----- */

/* 1. 상단: 중앙 로고(그리드 배경) + 태그라인 + 설명 */
.ci-hero {
    background: #f8f8f8;
    /* 타이틀 바로 아래에서 시작: 상단 패딩 제거, 하단만 섹션과 비슷하게 유지 */
    padding: 0 0 4rem;
}
@media (max-width: 767.98px) {
    .ci-hero { padding: 0 0 2.5rem; }
    .ci-hero-logo-wrap { margin-bottom: 1.5rem; padding: 2rem 2.5rem; }
}
.ci-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}
.ci-hero-logo-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
    padding: 3rem 4rem;
    background-image:
        linear-gradient(rgba(0,0,0,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,.06) 1px, transparent 1px);
    background-size: 20px 20px;
    background-color: #f8f8f8;
}
.ci-hero-logo-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
.ci-hero-slogan {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #111111;
    margin: 0 0 1.5rem;
    line-height: 1.25;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
}
@media (max-width: 767.98px) {
    .ci-hero-slogan {
        white-space: nowrap;
        font-size: clamp(1rem, 5vw, 2rem);
    }
}
/* 슬로건 인터랙션: aONE → a | baby but the only | ONE (주황 갈라지며 가운데 검은 텍스트 등장) */
.ci-hero-a,
.ci-hero-one {
    color: #F36F21;
    display: inline-block;
    transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ci-hero-middle {
    display: inline-block;
    color: #111111;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    white-space: nowrap;
    transform: scale(0.92);
    transition: max-width 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s, opacity 1s ease 0.35s, transform 1s ease 0.3s;
}
.ci-hero-slogan.is-visible .ci-hero-a {
    transform: translateX(-0.35em);
}
.ci-hero-slogan.is-visible .ci-hero-one {
    transform: translateX(0.35em);
}
.ci-hero-slogan.is-visible .ci-hero-middle {
    max-width: 14em;
    opacity: 1;
    transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
    .ci-hero-a,
    .ci-hero-one,
    .ci-hero-middle { transition: none; }
    .ci-hero-slogan .ci-hero-a { transform: translateX(-0.35em); }
    .ci-hero-slogan .ci-hero-one { transform: translateX(0.35em); }
    .ci-hero-slogan .ci-hero-middle { max-width: 14em; opacity: 1; transform: scale(1); }
}
.ci-hero-desc {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #333333;
    margin: 0;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
}

/* 2. Color System: 스와치(위) → 타이틀 → 설명, 모두 중앙 */
.ci-colorsystem {
    background: #f8f8f8;
    /* company-history / company-awards(3rem 0 4rem)와 톤 맞춤 */
    padding: 3rem 0 4rem;
}
@media (max-width: 767.98px) {
    .ci-colorsystem { padding: 2.5rem 0 3rem; }
    .ci-swatches { margin-bottom: 1.5rem; gap: 2rem; }
}
.ci-colorsystem-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}
.ci-swatches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem 4rem;
    margin-bottom: 2.5rem;
}
.ci-swatch {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-align: left;
}
.ci-swatch-circle {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.ci-swatch-circle--orange { background: #F36F21; }
.ci-swatch-circle--black { background: #000000; }
.ci-swatch-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.ci-swatch-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111111;
}
.ci-swatch-meta {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #666666;
}
.ci-colorsystem-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: #111111;
    margin: 0 0 1.25rem;
    letter-spacing: 0.02em;
    line-height: 1.25;
}
.ci-colorsystem-desc {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #333333;
    margin: 0;
    max-width: 42em;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 767px) {
    .ci-swatches { flex-direction: column; align-items: center; }
    .ci-swatch { justify-content: center; text-align: center; }
    .ci-swatch-info { align-items: center; text-align: center; }
}

/* 서브페이지 reveal (history, awards, ci, ideology) */
.company-history .reveal,
.company-awards .reveal,
.company-ci .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.company-history .reveal.is-inview,
.company-awards .reveal.is-inview,
.company-ci .reveal.is-inview {
    opacity: 1;
    transform: translateY(0);
}

/* 연혁/수상내역 reveal stagger delay */
.company-history .reveal[data-delay="0"],
.company-awards .reveal[data-delay="0"]   { transition-delay: 0ms; }
.company-history .reveal[data-delay="40"],
.company-awards .reveal[data-delay="40"]  { transition-delay: 40ms; }
.company-history .reveal[data-delay="80"],
.company-awards .reveal[data-delay="80"]  { transition-delay: 80ms; }
.company-awards .reveal[data-delay="120"] { transition-delay: 120ms; }
.company-awards .reveal[data-delay="160"] { transition-delay: 160ms; }
.company-awards .reveal[data-delay="200"] { transition-delay: 200ms; }
.company-awards .reveal[data-delay="240"] { transition-delay: 240ms; }
.company-awards .reveal[data-delay="280"] { transition-delay: 280ms; }
.company-awards .reveal[data-delay="320"] { transition-delay: 320ms; }
.company-awards .reveal[data-delay="360"] { transition-delay: 360ms; }
.company-awards .reveal[data-delay="400"] { transition-delay: 400ms; }
.company-awards .reveal[data-delay="440"] { transition-delay: 440ms; }
.company-awards .reveal[data-delay="480"] { transition-delay: 480ms; }
.company-awards .reveal[data-delay="520"] { transition-delay: 520ms; }
.company-awards .reveal[data-delay="560"] { transition-delay: 560ms; }
.company-awards .reveal[data-delay="600"] { transition-delay: 600ms; }
.company-awards .reveal[data-delay="640"] { transition-delay: 640ms; }
.company-awards .reveal[data-delay="680"] { transition-delay: 680ms; }
.company-awards .reveal[data-delay="720"] { transition-delay: 720ms; }
.company-awards .reveal[data-delay="760"] { transition-delay: 760ms; }
.company-awards .reveal[data-delay="800"] { transition-delay: 800ms; }
.company-awards .reveal[data-delay="840"] { transition-delay: 840ms; }
.company-awards .reveal[data-delay="880"] { transition-delay: 880ms; }
.company-awards .reveal[data-delay="920"] { transition-delay: 920ms; }
.company-awards .reveal[data-delay="960"] { transition-delay: 960ms; }

@media (prefers-reduced-motion: reduce) {
    .company-history .reveal,
    .company-history .reveal.is-inview,
    .company-awards .reveal,
    .company-awards .reveal.is-inview,
    .company-ci .reveal,
    .company-ci .reveal.is-inview {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* 기업이념 섹션 앵커 (ideology 페이지) */
#ideology { scroll-margin-top: 140px; }

/* 기업이념 섹션: MISSION / VISION / CORE VALUES */
.company-ideology {
    background: #f8f8f8;
    /* 연혁 / 수상내역 / CI 섹션과 유사한 리듬으로 조정 */
    padding: 3rem 0 4rem;
}

.ideology-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.ideology-block {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .ideology-block { padding: 4rem 0; }
}

@media (min-width: 992px) {
    .ideology-block { padding: 4.5rem 0; }
}

.ideology-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 0;
}

.ideology-block-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-dark);
    margin: 0 0 1.5rem;
    text-transform: uppercase;
}

/* CEO 인사말 */
.ideology-ceo {
    position: relative;
}
.ideology-ceo .ideology-block-title { text-transform: none; }
.ideology-ceo-inner {
    display: block;
}
.ideology-ceo-text {
    position: relative;
    z-index: 1;
}
/* 로고: 본문 오른쪽에 크게 겹침(1174×817 비율), 흰색 로고, 하단 텍스트가 보이도록 위쪽 배치 */
.ideology-ceo-logo {
    position: absolute;
    right: 2%;
    top: 38%;
    transform: translateY(-50%);
    width: 48%;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
}
.ideology-ceo-logo-img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    opacity: 0.5;
}
@media (max-width: 991.98px) {
    .ideology-ceo-logo {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 160px;
        margin: 0 auto 1.5rem;
    }
    .ideology-ceo-logo-img { opacity: 0.2; }
}
.ideology-ceo-lead {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.6;
    margin: 0 0 2rem;
}
.ideology-ceo-body {
    max-width: 720px;
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}
.ideology-ceo-body p {
    margin: 0 0 1.25rem;
}
.ideology-ceo-body p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
    .ideology-ceo-body { font-size: 1.0625rem; max-width: 760px; }
}
.ideology-ceo-sign {
    margin: 2.5rem 0 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-dark);
}

/* MISSION: 왼쪽 정렬 + 오른쪽 이미지 영역 */
.ideology-mission-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
@media (min-width: 992px) {
    .ideology-mission-inner {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
}
.ideology-mission-text-wrap {
    flex: 1;
    min-width: 0;
    text-align: left;
}
.ideology-mission-sub {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0 0 1rem;
}
.ideology-mission-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}
@media (min-width: 768px) {
    .ideology-mission-text { font-size: 1.0625rem; }
}
.ideology-mission-visual {
    flex-shrink: 0;
    width: 100%;
    max-width: 420px;
}
@media (min-width: 992px) {
    .ideology-mission-visual {
        width: 42%;
        max-width: 480px;
    }
}
.ideology-mission-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* 서브페이지 등에서 사용하는 원형 이미지 */
.ideology-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.ideology-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (min-width: 768px) {
    .ideology-circle { width: 140px; height: 140px; }
}
@media (min-width: 992px) {
    .ideology-circle { width: 160px; height: 160px; }
}

/* VISION */
.ideology-vision-line {
    width: 48px;
    height: 2px;
    background: rgba(0, 0, 0, 0.12);
    margin: 0 0 1.25rem;
}

@media (min-width: 768px) {
    .ideology-vision-line { width: 64px; }
}

.ideology-vision-sub {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0 0 1rem;
    display: block;
}

.ideology-vision-text {
    max-width: 720px;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.ideology-vision-text p {
    margin: 0 0 1rem;
}

.ideology-vision-text p:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
    .ideology-vision-text { font-size: 1.0625rem; max-width: 860px; }
}

/* VISION 내부 CORE VALUES 구분 */
.ideology-vision-divider {
    width: 1px;
    height: 32px;
    background: rgba(0, 0, 0, 0.12);
    margin: 2rem 0;
}
.ideology-values-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

/* CORE VALUES */
.ideology-values-sub {
    font-size: 1rem;
    color: #666;
    margin: 0 0 2rem;
}

.ideology-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .ideology-values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .ideology-values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* VISION 내부 4개 CORE VALUES */
.ideology-values-grid--four {
    margin-top: 0.5rem;
}
.ideology-values-grid--four .ideology-value-item {
    border-right: none;
}
@media (min-width: 992px) {
    .ideology-values-grid--four { grid-template-columns: repeat(4, 1fr); }
}

.ideology-value-item {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease;
}

.ideology-value-item:hover {
    transform: translateY(-2px);
}

.ideology-values-grid .ideology-value-item:last-child { border-bottom: 0; }

@media (min-width: 768px) {
    .ideology-value-item {
        padding: 2rem 1.25rem 2rem 0;
        border-bottom: 0;
        border-right: none;
    }
    .ideology-values-grid .ideology-value-item:nth-child(2n) { border-right: none; }
    .ideology-values-grid--four .ideology-value-item { border-right: none; }
}

@media (min-width: 992px) {
    .ideology-value-item {
        padding: 2rem 1.5rem 2rem 0;
        border-right: none;
    }
    .ideology-values-grid .ideology-value-item:nth-child(2n) { border-right: none; }
    .ideology-values-grid .ideology-value-item:nth-child(3n) { border-right: none; }
    .ideology-values-grid--four .ideology-value-item { border-right: none; }
}

.ideology-value-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.ideology-value-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.ideology-value-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 0.35rem;
}

.ideology-value-sub {
    display: block;
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.ideology-value-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* COMPANY: CORE VALUES 4개 항목 - 왼쪽부터 하나씩 위로 올라오는 reveal */
.ideology-values-grid--four .ideology-value-item.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ideology-values-grid--four .ideology-value-item.reveal[data-delay="40"]  { transition-delay: 40ms; }
.ideology-values-grid--four .ideology-value-item.reveal[data-delay="80"]  { transition-delay: 80ms; }
.ideology-values-grid--four .ideology-value-item.reveal[data-delay="120"] { transition-delay: 120ms; }
.ideology-values-grid--four .ideology-value-item.reveal[data-delay="160"] { transition-delay: 160ms; }
.ideology-values-grid--four .ideology-value-item.reveal.is-inview {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .ideology-values-grid--four .ideology-value-item.reveal,
    .ideology-values-grid--four .ideology-value-item.reveal.is-inview {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (min-width: 768px) {
    .ideology-value-desc { font-size: 1rem; }
}

/* 기업이념 reveal 애니메이션 */
.company-ideology .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.company-ideology .reveal.is-inview {
    opacity: 1;
    transform: translateY(0);
}

.company-ideology .reveal[data-delay="0"]   { transition-delay: 0ms; }
.company-ideology .reveal[data-delay="80"]  { transition-delay: 80ms; }
.company-ideology .reveal[data-delay="120"]  { transition-delay: 120ms; }
.company-ideology .reveal[data-delay="160"]  { transition-delay: 160ms; }
.company-ideology .reveal[data-delay="200"]  { transition-delay: 200ms; }
.company-ideology .reveal[data-delay="280"]  { transition-delay: 280ms; }

@media (prefers-reduced-motion: reduce) {
    .company-ideology .reveal,
    .company-ideology .reveal.is-inview {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* 플레이스홀더 섹션 (연혁/수상/CI) */
.company-placeholder {
    padding: 4rem 0;
    background: #fff;
}

.company-placeholder.section-alt {
    background: #f8f8f8;
}

/* 브랜드 페이지 앵커: 헤더에 가리지 않도록 */
#ryan, #joie, #tavo {
    scroll-margin-top: 96px;
}

/* 브랜드 페이지: 데스크톱 오른쪽 날개 (섹션 이동, 로고 작게) */
.brand-wing {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.brand-wing.is-visible {
    opacity: 1;
    visibility: visible;
}
.brand-wing-list {
    list-style: none;
    margin: 0;
    padding: 0.75rem 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
}
.brand-wing-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.25rem;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}
.brand-wing-item:last-child { margin-bottom: 0; }
.brand-wing-item:hover { background: rgba(0, 0, 0, 0.06); }
.brand-wing-item.is-active { background: rgba(0, 0, 0, 0.08); color: #333; }
.brand-wing-logo {
    display: block;
    max-width: 64px;
    max-height: 22px;
    width: auto;
    height: auto;
    object-fit: contain;
}
@media (max-width: 991.98px) {
    .brand-wing { display: none; }
}

/* 브랜드 페이지: 모바일 하단 고정 탭 (섹션 이동, 로고 작게) */
.brand-bottom-tabs {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    padding: 0.5rem;
    gap: 0.25rem;
}
.brand-tab-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.5rem 0.25rem;
    background: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}
.brand-tab-item:hover { background: #eee; }
.brand-tab-item.is-active { background: rgba(0, 0, 0, 0.08); }
.brand-tab-logo {
    display: block;
    max-width: 48px;
    max-height: 20px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.brand-tab-item[data-section="ryan"] .brand-tab-logo {
    max-width: 56px;
    max-height: 24px;
}
@media (min-width: 992px) {
    .brand-bottom-tabs { display: none !important; }
}
/* 모바일: 히어로 구간에서는 하단 탭 숨김, 스크롤 내리면 표시 */
@media (max-width: 991.98px) {
    .brand-bottom-tabs {
        transform: translateY(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
    }
    .brand-bottom-tabs.is-visible {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}
.page-brand .page-content-brand.brand-block { padding-bottom: 4rem; }
@media (max-width: 991.98px) {
    .page-brand .page-content-brand.brand-block:last-of-type { padding-bottom: 5rem; }
}

/* 브랜드 페이지: 섹션 블록 (로고 · 서브텍스트 · 본문 · 브랜드몰 버튼) */
.page-content-brand.brand-block {
    padding: 3.5rem 0 4rem;
}
.brand-block-inner {
    max-width: 720px;
    margin: 0 auto;
}
/* 오른쪽 이미지 스택이 있는 블록: 2열 그리드 (데스크톱) / 1열 텍스트→이미지→버튼 (모바일) */
.brand-block--has-visual .brand-block-inner {
    max-width: 1280px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
.brand-block--has-visual .brand-block-content { order: 1; }
.brand-block--has-visual .brand-block-visual { order: 2; }
.brand-block--has-visual .brand-block-cta { order: 3; }
@media (min-width: 992px) {
    .brand-block--has-visual .brand-block-inner {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        row-gap: 1.5rem;
        column-gap: 3rem;
        align-items: start;
    }
    .brand-block--has-visual .brand-block-content { order: 1; grid-column: 1; grid-row: 1; }
    .brand-block--has-visual .brand-block-cta { order: 2; grid-column: 1; grid-row: 2; }
    .brand-block--has-visual .brand-block-visual { order: 3; grid-column: 2; grid-row: 1 / -1; align-self: center; }
}

.brand-block-visual {
    position: relative;
    width: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
@media (max-width: 991.98px) {
    .brand-block-visual {
        display: block;
        min-height: 0;
    }
    .brand-block-visual .brand-stack {
        width: 100%;
        max-height: none;
        aspect-ratio: 3/4;
        min-height: 320px;
    }
    .brand-block-visual .brand-stack-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }
    .brand-block-visual .brand-stack-arrow--prev {
        left: 12px;
    }
    .brand-block-visual .brand-stack-arrow--next {
        right: 12px;
    }
}
@media (min-width: 992px) {
    .brand-block-visual {
        min-height: 360px;
        gap: 1rem;
    }
}
/* 좌우 화살표만 (원형 배경 없음): 데스크톱 어두운색, 모바일 이미지 위라 밝은색 */
.brand-stack-arrow {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #2c2c2c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.brand-stack-arrow:hover {
    color: #111;
    opacity: 0.9;
}
.brand-stack-arrow:active {
    transform: scale(0.92);
}
@media (max-width: 991.98px) {
    .brand-stack-arrow {
        width: 48px;
        height: 48px;
        color: rgba(255, 255, 255, 0.95);
    }
    .brand-stack-arrow:hover {
        color: #fff;
    }
    .brand-stack-arrow--prev:active { transform: translateY(-50%) scale(0.92); }
    .brand-stack-arrow--next:active { transform: translateY(-50%) scale(0.92); }
}
.brand-stack-arrow::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 2.5px solid currentColor;
    border-bottom: 2.5px solid currentColor;
}
.brand-stack-arrow--prev::after {
    transform: rotate(135deg);
    margin-left: 4px;
}
.brand-stack-arrow--next::after {
    transform: rotate(-45deg);
    margin-right: 4px;
}
.brand-block-visual .brand-stack {
    flex: 1;
    min-width: 0;
}
/* 3장 겹침 스택: 화살표/스와이프로 전환 (가로만 preventDefault로 처리, 세로 스크롤은 유지) */
.brand-stack {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    max-height: 420px;
    border-radius: 12px;
    overflow: visible;
}
.brand-stack-card {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    overflow: hidden;
    transform-origin: 10% 90%;
    transition: transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.75s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.brand-stack-card[data-card="0"] {
    z-index: 3;
    transform: translate(0, 0) scale(1);
}
.brand-stack-card[data-card="1"] {
    z-index: 2;
    transform: translate(18px, 18px) scale(0.98);
    filter: blur(0.2px);
    opacity: 0.92;
}
.brand-stack-card[data-card="2"] {
    z-index: 1;
    transform: translate(34px, 34px) scale(0.96);
    filter: blur(0.35px);
    opacity: 0.85;
}
.brand-stack-card[data-card="3"] {
    z-index: 0;
    transform: translate(50px, 50px) scale(0.94);
    filter: blur(0.4px);
    opacity: 0.8;
}

/* 브랜드 스택(브랜드 이미지 묶음) 좌측 상단 돋보기 아이콘 */
.brand-stack-card::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.45) url(../img/icons/icon-zoom.svg) center center / 18px 18px no-repeat;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.brand-stack[data-progress="0"] .brand-stack-card[data-card="0"]::before,
.brand-stack[data-progress="1"] .brand-stack-card[data-card="1"]::before,
.brand-stack[data-progress="2"] .brand-stack-card[data-card="2"]::before,
.brand-stack[data-progress="3"] .brand-stack-card[data-card="3"]::before {
    opacity: 1;
}
.brand-stack[data-progress="1"] .brand-stack-card[data-card="0"] {
    opacity: 0;
    transform: translate(60px, 60px) rotate(1.5deg) scale(0.98);
    pointer-events: none;
}
.brand-stack[data-progress="1"] .brand-stack-card[data-card="1"] {
    transform: translate(0, 0) scale(1);
    opacity: 1;
    filter: none;
    z-index: 4;
}
.brand-stack[data-progress="1"] .brand-stack-card[data-card="2"] {
    transform: translate(18px, 18px) scale(0.98);
    opacity: 0.92;
    filter: blur(0.2px);
    pointer-events: none;
}
.brand-stack[data-progress="2"] .brand-stack-card[data-card="0"],
.brand-stack[data-progress="2"] .brand-stack-card[data-card="1"] {
    opacity: 0;
    transform: translate(60px, 60px) rotate(1.5deg) scale(0.98);
    pointer-events: none;
}
.brand-stack[data-progress="2"] .brand-stack-card[data-card="2"] {
    transform: translate(0, 0) scale(1);
    opacity: 1;
    filter: none;
    z-index: 4;
}
.brand-stack[data-progress="3"] .brand-stack-card[data-card="0"],
.brand-stack[data-progress="3"] .brand-stack-card[data-card="1"],
.brand-stack[data-progress="3"] .brand-stack-card[data-card="2"] {
    opacity: 0;
    transform: translate(60px, 60px) rotate(1.5deg) scale(0.98);
    pointer-events: none;
}
.brand-stack[data-progress="3"] .brand-stack-card[data-card="3"] {
    transform: translate(0, 0) scale(1);
    opacity: 1;
    filter: none;
    z-index: 4;
}
.brand-stack-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 991.98px) {
    .brand-stack-card[data-card="1"] { transform: translate(12px, 12px) scale(0.98); }
    .brand-stack-card[data-card="2"] { transform: translate(22px, 22px) scale(0.96); }
    .brand-stack-card[data-card="3"] { transform: translate(30px, 30px) scale(0.94); }
    .brand-stack[data-progress="1"] .brand-stack-card[data-card="0"] { transform: translate(40px, 40px) rotate(1deg) scale(0.98); }
    .brand-stack[data-progress="1"] .brand-stack-card[data-card="2"] { transform: translate(12px, 12px) scale(0.98); }
    .brand-stack[data-progress="2"] .brand-stack-card[data-card="0"],
    .brand-stack[data-progress="2"] .brand-stack-card[data-card="1"] { transform: translate(40px, 40px) rotate(1deg) scale(0.98); }
    .brand-stack[data-progress="3"] .brand-stack-card[data-card="0"],
    .brand-stack[data-progress="3"] .brand-stack-card[data-card="1"],
    .brand-stack[data-progress="3"] .brand-stack-card[data-card="2"] { transform: translate(40px, 40px) rotate(1deg) scale(0.98); }
}
@media (prefers-reduced-motion: reduce) {
    .brand-stack-card { transition-duration: 0.2s; }
}
.brand-block-head {
    margin-bottom: 1.75rem;
}
.brand-logo-img {
    display: block;
    height: 32px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}
.brand-tagline {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text-light, #666);
    margin: 0;
    letter-spacing: 0.01em;
}
.brand-block-body {
    margin-bottom: 2rem;
}
.brand-block-body p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--color-text, #333);
    margin: 0 0 1rem;
}
.brand-block-body p:last-child {
    margin-bottom: 0;
}
.brand-block-cta {
    margin-top: 0.5rem;
}
@media (max-width: 991.98px) {
    .brand-block--has-visual .brand-block-cta {
        margin-top: 1.5rem;
        text-align: left;
    }
}
.btn-brand-mall {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    border: 2px solid currentColor;
}
.btn-brand-mall:hover {
    transform: translateY(-1px);
}
.btn-brand-mall-ryan {
    background: #452200;
    color: #fff;
    border-color: #452200;
}
.btn-brand-mall-ryan:hover {
    background: #5c2e00;
    border-color: #5c2e00;
    color: #fff;
}
.btn-brand-mall-joie {
    background: #f7a81b;
    color: #fff;
    border-color: #f7a81b;
}
.btn-brand-mall-joie:hover {
    background: #e59710;
    border-color: #e59710;
    color: #fff;
}
.btn-brand-mall-tavo {
    background: #1f3034;
    color: #fff;
    border-color: #1f3034;
}
.btn-brand-mall-tavo:hover {
    background: #2d454b;
    border-color: #2d454b;
    color: #fff;
}

/* SHOP Mobile Accordion */
#shopCollapse .nav-link {
    padding-left: 1rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
    .dropdown-menu {
        display: none !important;
    }
    
    .header-container {
        padding: 0 1.5rem;
    }

    /* Mobile menu as dropdown panel below header */
    #mobileMenu {
        position: absolute;
        top: 100%;
        left: 16px;
        right: 16px;
        margin-top: 8px;
        background: #f8f8f8;
        border-radius: 18px;
        padding: 24px 20px;
        padding-top: 20px; /* Top padding */
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 2050;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Mobile menu nav items center alignment */
    #mobileMenu .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        text-align: center;
    }

    #mobileMenu .nav-link {
        color: rgba(0, 0, 0, 0.78) !important;
        padding: 0.875rem 0;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    /* Center-based underline animation */
    #mobileMenu .nav-link::after {
        content: '';
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 0;
        height: 2px;
        background: rgba(0, 0, 0, 0.18);
        transition: width 0.3s ease, transform 0.3s ease;
    }
    
    #mobileMenu .nav-link:hover::after {
        width: 60%;
        transform: translateX(-50%) scaleX(1);
    }
    
    #mobileMenu .nav-link.is-active::after {
        width: 60%;
        transform: translateX(-50%) scaleX(1);
        background: var(--color-primary);
    }
    
    #mobileMenu .nav-item {
        width: 100%;
        text-align: center;
    }
    
    /* Mobile language selector in menu */
    .mobile-lang-selector {
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        margin-bottom: 20px;
        text-align: center;
    }
    
    .mobile-lang-selector .lang-dropdown {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .mobile-lang-selector .lang-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(0, 0, 0, 0.12);
        color: rgba(0, 0, 0, 0.85);
    }
    
    .mobile-lang-selector .lang-label {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: rgba(0, 0, 0, 0.85);
        font-weight: 500;
        flex: 0 0 auto;
    }
    
    .mobile-lang-selector .lang-caret {
        border-top-color: rgba(0, 0, 0, 0.6);
    }
    
    .mobile-lang-selector .lang-panel {
        width: 100%;
        max-width: 200px;
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-6px);
    }
    
    .mobile-lang-selector .lang-dropdown.is-open .lang-panel {
        transform: translateX(-50%) translateY(0);
    }
    
    /* Mobile SHOP pill button */
    .mobile-pill-wrap {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 0.5rem;
    }
    
    .mobile-pill-btn {
        height: 32px;
        min-width: 120px;
        padding: 0 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid rgba(0, 0, 0, 0.12);
        border-radius: 999px;
        background: rgba(250, 247, 242, 0.8);
        color: rgba(0, 0, 0, 0.75);
        font-size: 0.875rem;
        font-weight: 500;
        line-height: 1;
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: center;
    }
    
    .mobile-pill-btn:hover {
        background: rgba(0, 0, 0, 0.04);
        border-color: rgba(0, 0, 0, 0.18);
    }
    
    .mobile-pill-btn:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
    }
    
    .pill-caret {
        font-size: 0.75rem;
        transition: transform 0.2s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-pill-btn[aria-expanded="true"] .pill-caret {
        transform: rotate(180deg);
    }
    
    /* SHOP collapse panel: 다국어 패널과 동일한 컴팩트 */
    #shopCollapse {
        width: 100%;
        margin-top: 6px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 30px;
    }
    
    /* 히어로 BABY IS OUR의 B에 맞춘 좌우 여백(1.5rem), 햄버거도 동일 간격 */
    .header-container {
        padding: 0 1.5rem;
    }
    
    .hero-text-group {
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        white-space: normal;
    }

    .hero-stack {
        transform: translateY(8vh); /* Mobile: 6~10vh down */
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .nav-link {
        color: var(--color-text) !important;
        padding: 0.75rem 0;
    }
    
    #main-header .nav-link {
        color: var(--color-text) !important;
    }
    
    #main-header.scrolled .nav-link {
        color: var(--color-text) !important;
    }
    
    #main-header .navbar-brand {
        color: var(--color-text) !important;
    }
    
    .language-selector {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .csr-card {
        padding: 2.5rem 1.5rem;
    }
    
    .csr-title {
        font-size: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
}

/* Desktop: hide mobile menu */
@media (min-width: 992px) {
    #mobileMenu {
        display: none !important;
    }
}
/* =========================================================
   Mobile menu: "카드만" 배경 / 페이지 전체 덮지 않기
========================================================= */
#main-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; }

#mobileMenu {
  position: absolute;           /* ✅ header 아래로만 펼쳐지게 */
  top: calc(100% + 10px);       /* ✅ X(햄버거)와 겹침 방지 */
  left: 16px;
  right: 16px;
  background: #f8f8f8;
  border-radius: 18px;
  padding: 16px 14px 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
  overflow: hidden;
}

@media (min-width: 992px) {
  #mobileMenu { display: none !important; } /* ✅ 데스크탑에서 모바일 메뉴 DOM이 절대 보이지 않게 */
}

/* 모바일 메뉴 내부 텍스트 중앙 정렬 + 라인 애니가 있으면 중앙 기준 */
#mobileMenu .navbar-nav { align-items: center; }
#mobileMenu .nav-link { text-align: center; width: 100%; }

/* =========================================================
   Mobile language dropdown: 폰트 컬러 확실히 보이게
========================================================= */
#mobileMenu .mobile-lang-selector .lang-btn,
#mobileMenu .mobile-lang-selector .lang-btn .lang-label {
  color: #1f1f1f !important;     /* ✅ 글자 안보이는 문제 해결 */
}

#mobileMenu .mobile-lang-selector .lang-btn {
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(0,0,0,0.08);
}

/* dropdown 열렸을 때 (파란 포커스/스트로크 제거) */
#mobileMenu .lang-btn:focus,
#mobileMenu .lang-btn:focus-visible,
.lang-btn:focus,
.lang-btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* =========================================================
   Mobile SHOP pill (언어 버튼과 같은 계열)
========================================================= */
.mobile-pill-wrap { width: 100%; margin-top: 6px; }

.mobile-pill-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(0,0,0,0.08);
  color: #1f1f1f;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* SHOP 하위 패널: 다국어 패널과 동일한 컴팩트 스타일 */
.mobile-pill-panel {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #f8f8f8;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.mobile-pill-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  background: transparent;
  color: rgba(0, 0, 0, 0.75);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
}

.mobile-pill-link:hover {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.9);
}

/* =========================================================
   v2 landing layout (화이트 베이스 + 카드형 섹션)
========================================================= */

/* Desktop: SHOP 버튼 강조 (오렌지 라운드) */
@media (min-width: 992px) {
  .nav-link-shop {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    border-radius: 999px;
    padding: 0.5rem 1.25rem !important;
    border: 0 !important;
  }
  .nav-link-shop:hover {
    background: var(--color-primary-light) !important;
    color: var(--color-white) !important;
  }
  #main-header.scrolled .nav-link-shop {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
  }
  .nav-link-shop::after { display: none; }

  /* SHOP 드롭다운: 다국어 패널(.lang-panel)과 동일한 박스 스타일 + 밑으로 내려오는 전환 */
  #main-header .dropdown-menu {
    display: block !important;
    background: #f8f8f8;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 8px;
    margin-top: 8px;
    min-width: 120px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
  }
  #main-header .dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: opacity 160ms ease, transform 160ms ease;
  }
  #main-header .dropdown-menu .dropdown-item {
    border-radius: 12px;
    padding: 0 14px;
    height: 36px;
    display: flex;
    align-items: center;
    color: rgba(0, 0, 0, 0.75);
    font-size: 0.9rem;
    transition: background 140ms ease, color 140ms ease;
  }
  #main-header .dropdown-menu .dropdown-item:hover {
    background: rgba(0, 0, 0, 0.04);
  }
  #main-header .dropdown-menu .dropdown-item:focus {
    outline: none;
    box-shadow: none;
  }
  #main-header .dropdown-menu .dropdown-item:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.10);
  }
}

/* Hero v2: 2-column card-style */
.hero-section-v2 {
  background: #f7f8fa;
  padding-top: 100px;
  padding-bottom: 4rem;
  min-height: auto;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  padding: 3rem 2rem;
}
@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    padding: 4rem;
    min-height: 480px;
  }
}
.hero-copy {
  color: var(--color-dark);
}
.hero-eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}
.hero-section-v2 .hero-title {
  font-size: 2.5rem;
  color: var(--color-dark);
  text-shadow: none;
  margin-bottom: 1rem;
}
@media (min-width: 992px) {
  .hero-section-v2 .hero-title { font-size: 3rem; }
}
.hero-lead {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero-section-v2 .btn-primary {
  background: var(--color-dark);
  color: var(--color-white);
  border: 0;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.hero-section-v2 .btn-primary:hover {
  background: var(--color-dark-light);
  color: var(--color-white);
  transform: translateY(-1px);
}
.hero-section-v2 .btn-outline {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.hero-section-v2 .btn-outline:hover {
  background: var(--color-dark);
  color: var(--color-white);
}
.hero-who { margin-top: 3rem; padding-top: 2.25rem; border-top: 1px solid var(--color-gray-dark); }
.hero-who-title { font-size: 0.9375rem; font-weight: 600; color: var(--color-dark); margin-bottom: 0.5rem; }
.hero-who-desc { font-size: 0.875rem; color: var(--color-text-light); margin-bottom: 1rem; }
.hero-mini-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.mini-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text);
}
.mini-icon { color: var(--color-primary); font-size: 0.5rem; }
.hero-visual { position: relative; border-radius: 16px; overflow: hidden; }
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 280px;
}
@media (min-width: 992px) {
  .hero-img { min-height: 360px; }
}

/* Company v2: KPI + Timeline + Values */
.company-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .company-kpi-grid { grid-template-columns: repeat(4, 1fr); }
}
.kpi-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-dark);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}
.kpi-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.kpi-label { display: block; font-size: 0.8125rem; color: var(--color-text-light); margin-bottom: 0.25rem; }
.kpi-value { font-size: 1.25rem; font-weight: 700; color: var(--color-dark); }
.company-timeline-wrap { margin-bottom: 3rem; }
.timeline-title { font-size: 1.5rem; font-weight: 700; color: var(--color-dark); margin-bottom: 1.5rem; }
.company-timeline {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .company-timeline { grid-template-columns: repeat(4, 1fr); }
}
.timeline-item {
  background: var(--color-white);
  border: 1px solid var(--color-gray-dark);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.timeline-year { display: block; font-weight: 700; color: var(--color-primary); margin-bottom: 0.5rem; font-size: 1.125rem; }
.timeline-desc { font-size: 0.875rem; color: var(--color-text-light); line-height: 1.5; }
.company-values { margin-top: 3rem; }
.values-title { font-size: 1.5rem; font-weight: 700; color: var(--color-dark); margin-bottom: 1.5rem; text-align: center; }
.values-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 992px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}
.value-col {
  background: var(--color-white);
  border: 1px solid var(--color-gray-dark);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.value-col-title { font-size: 1.25rem; font-weight: 700; color: var(--color-dark); margin-bottom: 0.75rem; }
.value-col-desc { font-size: 0.9375rem; color: var(--color-text-light); line-height: 1.6; }
.value-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.value-card {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-gray);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-dark);
}

/* Brand v2: 6-tile grid */
.brand-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 576px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
}
.brand-tile {
  background: var(--color-white);
  border: 1px solid var(--color-gray-dark);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  text-decoration: none;
  color: var(--color-dark);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.brand-tile:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  color: var(--color-dark);
}
.tile-name { font-size: 1.25rem; font-weight: 700; display: block; margin-bottom: 0.25rem; }
.tile-name-en { font-size: 0.875rem; color: var(--color-text-light); margin-bottom: 0.75rem; }
.tile-desc { font-size: 0.9375rem; color: var(--color-text-light); line-height: 1.6; flex-grow: 1; margin-bottom: 1rem; }
.tile-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
}
.brand-tile:hover .tile-cta { text-decoration: underline; }

/* CSR v2: light bg + panel card */
.section-csr-v2 {
  background: #f7f8fa;
  padding: 6rem 0;
}
.csr-panel {
  background: linear-gradient(135deg, #2c2c2c 0%, #3d3d3d 100%);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  color: var(--color-white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.csr-panel .section-label { color: var(--color-primary); }
.csr-panel .csr-title { font-size: 2rem; margin: 1rem 0 1.5rem; color: var(--color-white); }
.csr-panel .csr-description { color: rgba(255, 255, 255, 0.9); margin-bottom: 2rem; font-size: 1rem; }
.csr-panel .btn-csr {
  background: var(--color-white);
  color: var(--color-dark);
  border: 0;
}
.csr-panel .btn-csr:hover {
  background: var(--color-gray);
  color: var(--color-dark);
}

/* Contact v2: unified card + footer bar */
.contact-card-v2 {
  background: var(--color-white);
  border: 1px solid var(--color-gray-dark);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
  transition: var(--transition);
}
.contact-card-v2:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.contact-card-v2 .tile-cta {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
}
.contact-card-v2 .tile-cta:hover { text-decoration: underline; }
.contact-footer-bar {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #f7f8fa;
  border-radius: 16px;
  text-align: center;
}
.contact-footer-inner {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.contact-footer-inner a { color: var(--color-primary); text-decoration: none; }
.contact-footer-inner a:hover { text-decoration: underline; }

/* =========================================================
   스크롤 최소화: Hero 72vh, Brand/CSR 컴팩트, Footer AONE 정보
========================================================= */

/* Hero: 데스크탑 72vh, 모바일 자연 높이 */
.hero-section-compact.hero-section-v2 {
  padding-bottom: 2rem;
  position: relative;
}
@media (min-width: 992px) {
  .hero-section-compact.hero-section-v2 {
    min-height: 72vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-section-compact .hero-grid { min-height: auto; }
}

/* 스크롤 인디케이터: 과하지 않게 */
.scroll-indicator-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.5rem;
  opacity: 0.7;
}
.scroll-indicator-compact span { font-size: 0.6875rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-text-light); }
.hero-section-v2 .scroll-indicator-compact { color: var(--color-text-light); }

/* Brand: 컴팩트 (56~72px 패딩, 16~24px 간격) */
.section-brand-compact {
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  .section-brand-compact { padding: 4rem 0; }
}
.section-header-compact { margin-bottom: 1.5rem; }
.section-header-compact .section-title { font-size: 2rem; margin-bottom: 0.5rem; }
.section-header-compact .section-description { font-size: 1rem; margin-bottom: 0; }
.brand-grid-compact {
  gap: 1rem;
}
@media (min-width: 768px) {
  .brand-grid-compact { gap: 1.5rem; }
}
.brand-grid-compact.brand-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 992px) {
  .brand-grid-compact.brand-grid { grid-template-columns: repeat(3, 1fr); }
}

/* CSR: 컴팩트 패딩 */
.section-csr-compact.section-csr-v2 {
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  .section-csr-compact.section-csr-v2 { padding: 4rem 0; }
}
.section-csr-compact .csr-panel { padding: 2.5rem 2rem; }
.section-csr-compact .csr-title { font-size: 1.75rem; margin: 0.75rem 0 1rem; }
.section-csr-compact .csr-description { margin-bottom: 1.5rem; font-size: 0.9375rem; line-height: 1.7; }

/* Reveal: #brand, #csr만 은근한 fade-up (12px, 700~900ms) */
.js .reveal-compact {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal-compact.is-inview {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal-compact,
  .js .reveal-compact.is-inview {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Site Footer: 세련된 레이아웃, 여백·타이포 정리 */
.site-footer {
  background: #f8f8f8;
  color: #2c2c2c;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.25rem 2rem 2.5rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}
@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.1fr 1fr 0.9fr;
    gap: 3rem;
    padding: 3.5rem 2rem 3rem;
  }
}
.footer-col {
  min-width: 0;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.footer-logo:hover {
  opacity: 0.85;
}
.footer-logo-img {
  height: 30px;
  width: auto;
  display: block;
  filter: none !important;
}
.footer-desc {
  font-size: 0.8125rem;
  color: #5a5a5a;
  line-height: 1.7;
  margin: 0;
  max-width: 280px;
}
.footer-title {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #888;
  margin-bottom: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-address,
.footer-tel {
  font-size: 0.8125rem;
  color: #5a5a5a;
  line-height: 1.65;
  margin: 0;
}
.footer-contact p + p {
  margin-top: 0.5rem;
}
.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links-list li { margin-bottom: 0.5rem; }
.footer-links-list a {
  color: #444;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.footer-links-list a:hover { color: var(--color-primary); }
.btn-footer-shop {
  display: inline-block;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
  border: none;
  transition: background 0.2s ease, opacity 0.2s ease;
}
/* 데스크톱: 브랜드 컬러 배경 + 흰색 텍스트 */
.footer-shop-row:nth-child(1) .btn-footer-shop:nth-child(1) {
  background: var(--color-primary);
}
.footer-shop-row:nth-child(1) .btn-footer-shop:nth-child(2) {
  background: #452200;
}
.footer-shop-row:nth-child(2) .btn-footer-shop:nth-child(1) {
  background: #f7a81b;
}
.footer-shop-row:nth-child(2) .btn-footer-shop:nth-child(2) {
  background: #1f3034;
}
/* 에이원베이비 / 리안 / 조이 / 타보펫츠 호버: 살짝 밝게 */
.footer-shop-row:nth-child(1) .btn-footer-shop:nth-child(1):hover {
  background: var(--color-primary);
  color: #fff;
  opacity: 0.9;
}
.footer-shop-row:nth-child(1) .btn-footer-shop:nth-child(2):hover {
  background: #452200;
  color: #fff;
  opacity: 0.9;
}
.footer-shop-row:nth-child(2) .btn-footer-shop:nth-child(1):hover {
  background: #f7a81b;
  color: #fff;
  opacity: 0.9;
}
.footer-shop-row:nth-child(2) .btn-footer-shop:nth-child(2):hover {
  background: #1f3034;
  color: #fff;
  opacity: 0.9;
}
.footer-shop-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.footer-shop-row {
  display: contents;
}
/* 모바일: Official Shoppingmall 버튼 일렬 배치 + 브랜드 컬러 배경 */
@media (max-width: 991.98px) {
  .footer-shop-btns {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
  }
  .footer-shop-row {
    display: contents;
  }
  .footer-shop-btns .btn-footer-shop {
    padding: 0.3rem 0.5rem;
    font-size: 0.6875rem;
    white-space: nowrap;
    color: #fff;
    border-color: transparent;
  }
  .footer-shop-row:nth-child(1) .btn-footer-shop:nth-child(1) {
    background: var(--color-primary);
  }
  .footer-shop-row:nth-child(1) .btn-footer-shop:nth-child(2) {
    background: #452200;
  }
  .footer-shop-row:nth-child(2) .btn-footer-shop:nth-child(1) {
    background: #f7a81b;
  }
  .footer-shop-row:nth-child(2) .btn-footer-shop:nth-child(2) {
    background: #1f3034;
  }
  .footer-shop-row:nth-child(1) .btn-footer-shop:nth-child(1):hover,
  .footer-shop-row:nth-child(1) .btn-footer-shop:nth-child(2):hover,
  .footer-shop-row:nth-child(2) .btn-footer-shop:nth-child(1):hover,
  .footer-shop-row:nth-child(2) .btn-footer-shop:nth-child(2):hover {
    color: #fff;
  }
}
/* 초소형 모바일에서도 한 줄 유지 */
@media (max-width: 380px) {
  .footer-shop-btns .btn-footer-shop {
    padding: 0.25rem 0.4rem;
    font-size: 0.625rem;
  }
}
.footer-bottom {
  padding: 1.25rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}
.site-footer .copyright {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
  letter-spacing: 0.02em;
}

/* =========================================================
   index 리디자인: 헤더 분리 + Hero 타이포/카피 최종
========================================================= */

/* 1) 헤더(GNB): 오프화이트, 히어로와 분리, 은은한 그림자 (CSS만) */
#main-header {
  background: #f8f8f8;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
#main-header .navbar-brand,
#main-header .nav-link {
  color: var(--color-dark) !important;
}
#main-header .nav-link-shop {
  color: var(--color-white) !important;
}
#main-header .hamburger .hamburger-line,
#main-header .hamburger span {
  background: rgba(0, 0, 0, 0.75);
}
#main-header .lang-btn {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--color-dark);
}
#main-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* 페이지 배경: 오프화이트 (완전 흰색 X) */
main #hero.hero-fullbleed {
  background: #f8f8f8;
}
main #brand.section-brand-cards,
main #brands.section-brands,
main #csr.section-csr-dark {
  background: #f8f8f8;
}

/* 컨테이너 폭 (1200~1280) */
.container-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ----- Hero: 세로 풀높이 + 좌측 수직 중앙(살짝 아래) + 항목별 reveal ----- */
#hero.hero-fullbleed {
  min-height: 100vh;
  padding-top: 0;
  padding-bottom: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 991.98px) {
  #hero.hero-fullbleed { padding-top: 52px; }
}
@media (min-width: 992px) {
  #hero.hero-fullbleed { padding-top: 80px; min-height: 100vh; }
}
.hero-fullbleed .hero-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: stretch;
  min-height: 0;
}
@media (max-width: 991.98px) {
  .hero-fullbleed .hero-wrap { padding-left: 0; padding-right: 0; }
}
@media (min-width: 992px) {
  .hero-fullbleed .hero-wrap { min-height: calc(100vh - 80px); }
}
.hero-fullbleed .hero-grid-fullbleed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  min-height: 0;
}
@media (min-width: 992px) {
  .hero-fullbleed .hero-grid-fullbleed {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 100%;
  }
  .hero-fullbleed .hero-visual { order: 2; min-height: 100%; }
  .hero-fullbleed .hero-copy {
    order: 1;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-right: 1rem;
  }
  .hero-fullbleed .hero-text-group {
    transform: translateY(1vh);
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }
}

/* 모바일: GNB 아래 이미지(가로 꽉, 세로 뷰포트), copy 오버레이로 BABY IS OUR~버튼 보이게 */
@media (max-width: 991.98px) {
  .hero-fullbleed .hero-visual {
    order: 1;
    min-height: calc(100vh - 52px);
    height: calc(100vh - 52px);
  }
  .hero-fullbleed .hero-copy {
    order: 2;
    margin-top: -52vh;
    padding-top: 52vh;
    position: relative;
  }
  .hero-fullbleed .hero-copy-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 2.5rem;
    color: var(--color-white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  }
  .hero-fullbleed .hero-who {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 2rem;
  }
  .hero-fullbleed .hero-copy-inner .hero-title-block,
  .hero-fullbleed .hero-copy-inner .hero-title-line { color: var(--color-white); }
  /* 모바일: BABY IS OUR / FUTURE = 각 페이지 상단 페이지명(.page-header h1)과 동일 크기 */
  .hero-fullbleed .hero-copy-inner .hero-title-line { font-size: 3rem; }
  .hero-fullbleed .hero-copy-inner .hero-title-sub { color: rgba(255, 255, 255, 0.9); }
  .hero-fullbleed .hero-copy-inner .hero-lead { color: rgba(255, 255, 255, 0.95); }
  /* 모바일: 히어로 CTA 버튼은 흰 배경 + 검은 텍스트, 텍스트 그림자 제거 */
  .hero-fullbleed .hero-copy-inner .btn-hero-primary,
  .hero-fullbleed .hero-copy-inner .btn-hero-outline {
    background: #ffffff;
    color: #2c2c2c;
    border: 0;
    text-shadow: none;
  }
  .hero-fullbleed .hero-copy-inner .btn-hero-primary:hover,
  .hero-fullbleed .hero-copy-inner .btn-hero-outline:hover {
    background: #f2f2f2;
    color: #2c2c2c;
  }
  /* 콘택트: 모바일에서도 길찾기(primary) 버튼은 PC와 동일한 색상 */
  .hero-fullbleed--contact .hero-copy-inner .btn-hero-primary {
    background: #2c2c2c;
    color: var(--color-white);
  }
  .hero-fullbleed--contact .hero-copy-inner .btn-hero-primary:hover {
    background: #F36F21;
    color: var(--color-white);
  }
}
.hero-overlay-gradient {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 50%);
  pointer-events: none;
}
@media (max-width: 991.98px) {
  .hero-overlay-gradient { display: block; }
}

.hero-fullbleed .hero-copy {
  color: var(--color-dark);
}
.hero-fullbleed .hero-text-group {
  align-items: flex-start;
  text-align: left;
}
.hero-fullbleed .hero-cta {
  justify-content: flex-start;
}

/* Hero 좌측 항목별 reveal (opacity + translateY, 700~900ms, stagger) */
#hero.hero-fullbleed .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
#hero.hero-fullbleed .reveal[data-delay="0"]   { transition-delay: 0ms; }
#hero.hero-fullbleed .reveal[data-delay="80"]  { transition-delay: 80ms; }
#hero.hero-fullbleed .reveal[data-delay="120"] { transition-delay: 120ms; }
#hero.hero-fullbleed .reveal[data-delay="160"] { transition-delay: 160ms; }
#hero.hero-fullbleed .reveal[data-delay="200"] { transition-delay: 200ms; }
#hero.hero-fullbleed .reveal[data-delay="240"] { transition-delay: 240ms; }
#hero.hero-fullbleed .reveal[data-delay="280"] { transition-delay: 280ms; }
#hero.hero-fullbleed .reveal[data-delay="360"] { transition-delay: 360ms; }
#hero.hero-fullbleed .reveal[data-delay="480"] { transition-delay: 480ms; }
#hero.hero-fullbleed .reveal[data-delay="600"] { transition-delay: 600ms; }
#hero.hero-fullbleed .reveal[data-delay="720"] { transition-delay: 720ms; }
#hero.hero-fullbleed.is-visible .reveal {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  #hero.hero-fullbleed .reveal,
  #hero.hero-fullbleed.is-visible .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 3-1) 메인 타이틀: BABY / IS OUR / FUTURE, 데스크톱은 기존 크기 유지 */
.hero-title-block {
  margin: 0 0 1rem;
  padding: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-dark);
}
.hero-title-line {
  display: block;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
}
@media (min-width: 992px) {
  .hero-title-line { font-size: clamp(3.5rem, 4.5vw, 5.25rem); }
}
.hero-fullbleed .hero-title-sub {
  font-size: 1rem;
  color: var(--color-text-light);
  margin: 0 0 1rem;
  font-weight: var(--font-weight-caption);
}

/* 인덱스 히어로: 데스크톱에서는 BABY / IS OUR 한 줄, FUTURE 한 줄 (2줄) */
@media (min-width: 992px) {
  .page-index .hero-title-block .hero-title-line {
    display: inline;
  }
  .page-index .hero-title-block .hero-title-line:last-child {
    display: block;
  }
}

/* 3-2) 서브 텍스트: 국문만, 14~18px */
.hero-fullbleed .hero-lead {
  font-size: clamp(0.875rem, 1.1vw, 1.125rem);
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}
.hero-fullbleed .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}
/* 4) 버튼: pill (border-radius 9999px), 패딩 10~14px */
.btn-hero {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-hero-primary {
  background: #2c2c2c;
  color: var(--color-white);
  border: 0;
}
.btn-hero-primary:hover {
  background: #F36F21;
  color: var(--color-white);
  transform: translateY(-1px);
}
.btn-hero-outline {
  background: #f8f8f8;
  color: #2c2c2c;
  border: 2px solid #2c2c2c;
}
.btn-hero-outline:hover {
  background: #F36F21;
  border-color: #F36F21;
  color: var(--color-white);
}

/* 브랜드 페이지 히어로: RYAN / JOIE / Tavo Pets 각 브랜드 컬러 */
.btn-hero-ryan {
  background: #452200;
  color: var(--color-white);
  border: 0;
  text-shadow: none;
}
.btn-hero-ryan:hover {
  background: #5c2e00;
  color: var(--color-white);
  transform: translateY(-1px);
}
.btn-hero-joie {
  background: #f7a81b;
  color: #1a1a1a;
  border: 0;
  text-shadow: none;
}
.btn-hero-joie:hover {
  background: #e09810;
  color: #1a1a1a;
  transform: translateY(-1px);
}
.btn-hero-tavo {
  background: #1f3034;
  color: var(--color-white);
  border: 0;
  text-shadow: none;
}
.btn-hero-tavo:hover {
  background: #2d454b;
  color: var(--color-white);
  transform: translateY(-1px);
}
/* 브랜드 히어로 버튼: 모바일 오버레이 시 대비 */
@media (max-width: 991.98px) {
  .hero-fullbleed .hero-copy-inner .btn-hero-ryan,
  .hero-fullbleed .hero-copy-inner .btn-hero-joie,
  .hero-fullbleed .hero-copy-inner .btn-hero-tavo {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-shadow: none;
  }
}

/* 5) Who we are / Our Philosophy 한 줄 (flex baseline gap 12px) */
.hero-fullbleed .hero-who {
  margin-top: 3rem;
  padding-top: 2.625rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.hero-who-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.hero-fullbleed .hero-who-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.3;
}
.hero-fullbleed .hero-who-sub {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin: 0;
  font-weight: 500;
}
.hero-philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .hero-philosophy-grid { grid-template-columns: repeat(3, 1fr); }
}
.philosophy-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}
.philosophy-icon-img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}
.philosophy-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.philosophy-en {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-light);
}
.philosophy-key {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-dark);
}
.philosophy-desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-light);
}

/* 6) 우측 Hero 이미지: 캐러셀(main_01~03) + 데스크탑 세로 꽉 채움 */
.hero-visual-fullbleed {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 280px;
  background: linear-gradient(135deg, #e8e9eb 0%, #d8d9dc 100%);
}
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  touch-action: pan-x; /* 모바일: 가로 스와이프만(캐러셀), 세로 스크롤 방지 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.hero-carousel-track {
  display: flex;
  height: 100%;
  width: 800%;
  transform: translateX(-12.5%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  -webkit-user-select: none;
  user-select: none;
}
.hero-carousel-slide {
  flex: 0 0 12.5%;
  width: 12.5%;
  height: 100%;
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}
.hero-carousel-slide .hero-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  -webkit-user-drag: none; /* 이미지 드래그 방지 (비표준 user-drag 대신 웹킷만 사용) */
  pointer-events: none;
}

/* 히어로 단일 이미지 (브랜드 등, 캐러셀 미사용 시) — 그레이 fallback 위에 보이도록 */
.hero-single-img {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-single-img .hero-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.5rem;
}
.hero-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}
.hero-carousel-dot.is-active {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.2);
}
@media (min-width: 992px) {
  .hero-visual-fullbleed {
    min-height: 100%;
    height: 100%;
    border-radius: 0 0 12px 0;
  }
  .hero-visual-fullbleed .hero-img,
  .hero-carousel-slide .hero-img {
    min-height: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero-carousel-dots { bottom: 1.25rem; }
}
@media (max-width: 991.98px) {
  .hero-visual-fullbleed {
    border-radius: 0;
    min-height: calc(100vh - 52px);
    height: calc(100vh - 52px);
  }
  .hero-visual-fullbleed .hero-img,
  .hero-carousel-slide .hero-img {
    width: 100%;
    min-height: calc(100vh - 52px);
    height: calc(100vh - 52px);
    object-fit: cover;
    object-position: center;
  }
  .hero-carousel-dots { bottom: 1rem; }
}
.hero-visual-fullbleed .hero-img {
  position: relative;
  z-index: 1;
  min-height: 280px;
  object-fit: cover;
}
@media (min-width: 992px) {
  .hero-visual-fullbleed .hero-img {
    min-height: 0;
    height: 100%;
    object-fit: cover;
  }
}
@media (max-width: 991.98px) {
  .hero-visual-fullbleed .hero-img {
    min-height: calc(100vh - 52px);
    height: calc(100vh - 52px);
  }
}
.hero-img-fallback {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #e0e1e4 0%, #cfd0d3 100%);
  border-radius: inherit;
}

/* CONTACT 페이지: 히어로 좌 텍스트/연락처, 우 지도 */
.hero-visual--contact {
  position: relative;
  padding: 0;
  min-height: 280px;
  background: var(--color-gray);
}
.contact-hero-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.contact-hero-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact-info {
  margin-bottom: 1.5rem;
}
.contact-info-item {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text);
}
.contact-info-item:last-child {
  margin-bottom: 0;
}
.contact-info-label {
  font-weight: var(--font-weight-heading);
  color: var(--color-dark);
  margin-right: 0.35em;
}
.contact-info a {
  color: var(--color-primary);
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}
.contact-info-value {
  color: var(--color-text);
}
.hero-fullbleed--contact .hero-title-sub {
  font-size: 1rem;
  color: var(--color-text-light);
  margin: 0 0 1rem;
  font-weight: var(--font-weight-caption);
}
@media (min-width: 992px) {
  .hero-visual--contact {
    min-height: 100%;
  }
  .contact-hero-map {
    min-height: 0;
    border-radius: 0 0 12px 0;
  }
}
@media (max-width: 991.98px) {
  .hero-fullbleed--contact .hero-visual {
    order: 2;
    min-height: 0;
    height: auto;
    padding: 1.5rem;
  }
  .hero-fullbleed--contact .hero-copy {
    order: 1;
    margin-top: 0;
    padding-top: 0;
  }
  .hero-fullbleed--contact .hero-copy-inner {
    position: static;
    padding: 2rem 1.5rem 1.5rem;
    color: var(--color-dark);
    text-shadow: none;
  }
  .hero-fullbleed--contact .hero-copy-inner .hero-title-block,
  .hero-fullbleed--contact .hero-copy-inner .hero-title-line {
    color: var(--color-dark);
  }
  .hero-fullbleed--contact .hero-copy-inner .hero-title-sub {
    color: var(--color-text-light);
  }
  .hero-fullbleed--contact .hero-copy-inner .hero-lead {
    color: var(--color-text);
  }
  .hero-fullbleed--contact .hero-copy-inner .btn-hero-outline {
    background: #f8f8f8;
    border: 2px solid var(--color-dark);
    color: var(--color-dark);
  }
  .hero-fullbleed--contact .hero-copy-inner .btn-hero-outline:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
  }
  .hero-fullbleed--contact .hero-visual--contact {
    min-height: 280px;
    height: 55vh;
    max-height: 420px;
    padding: 0;
  }
  .contact-hero-map {
    min-height: 280px;
    height: 55vh;
    max-height: 420px;
    border-radius: 0;
  }
}

/* 스크롤 인디케이터: 아주 은근하게 */
.scroll-indicator-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin-top: 1.5rem;
  opacity: 0.4;
}
.scroll-indicator-minimal span {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* ----- BRAND: Our brands 3카드 (화이트, 라운드 12~16px, 썸네일 플레이스홀더) ----- */
.section-brand-cards {
  padding: 4.5rem 0;
}
@media (min-width: 768px) {
  .section-brand-cards { padding: 5rem 0; }
}
@media (min-width: 992px) {
  .section-brand-cards { padding: 5.5rem 0; }
}
.section-header-brand {
  width: 100%;
  max-width: none;
  margin-bottom: 2rem;
  text-align: center;
}
.section-header-brand .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 auto;
  text-align: center;
}
.brand-grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .brand-grid-cards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.brand-tile-card {
  background: var(--color-white);
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-tile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  color: var(--color-dark);
}
.tile-thumb {
  width: 100%;
  height: 120px;
  background: #e8e9eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.tile-thumb-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-light);
}
.brand-tile-card .tile-name,
.brand-tile-card .tile-name-en,
.brand-tile-card .tile-desc {
  padding: 0 1.5rem;
}
.brand-tile-card .tile-name { padding-top: 0; font-size: 1.25rem; margin-bottom: 0.25rem; }
.brand-tile-card .tile-name-en { font-size: 0.8125rem; color: var(--color-text-light); margin-bottom: 0.5rem; }
.brand-tile-card .tile-desc { font-size: 0.875rem; line-height: 1.55; flex-grow: 1; margin-bottom: 1rem; }
.brand-tile-card .tile-cta {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
}
.brand-tile-card:hover .tile-cta { text-decoration: underline; }

/* ----- Our Brands: 스크롤 progress → 9 step (브랜드 3 × 슬라이드 3) ----- */
.section-brands {
  position: relative;
  background: #f8f8f8;
  padding: 1.5rem 0 0;
  min-height: unset;
}
.brands-scroll-track {
  height: 900vh;
  visibility: hidden;
  pointer-events: none;
}
.brands-sticky-wrap {
  position: sticky;
  top: 88px;
  left: 0;
  right: 0;
  height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.brands-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.brands-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.brands-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c2c2c;
  margin: 0;
}
.brands-title-link {
  font-size: 0.9rem;
  color: #666;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.brands-title-link:hover {
  opacity: 1;
  color: #2c2c2c;
}
.brands-cta-all {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.brands-cta-all:hover {
  color: #d65a1a;
  opacity: 0.9;
}
.brands-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 0;
}
@media (min-width: 992px) {
  .brands-layout {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
  .brands-text-col {
    flex: 0 0 40%;
    max-width: 40%;
  }
  .brands-visual-col {
    flex: 1;
    min-width: 0;
    max-width: 60%;
  }
}
.brands-text-col {
  position: relative;
}
.brands-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.75s;
  pointer-events: none;
}
.brands-panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: auto;
}
.brands-panel-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.brands-panel-content .brands-logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s, transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s;
}
.brands-panel.is-active .brands-panel-content .brands-logo {
  opacity: 1;
  transform: translateY(0);
}
.brands-panel:not(.is-active) .brands-panel-content .brands-logo {
  opacity: 0;
  transform: translateY(22px);
}
.brands-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin: 0;
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s, transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s;
}
.brands-panel.is-active .brands-desc {
  opacity: 1;
  transform: translateY(0);
}
.brands-panel:not(.is-active) .brands-desc {
  opacity: 0;
  transform: translateY(22px);
}
.btn-brands {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: #2c2c2c;
  color: var(--color-white);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s, transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s, background 0.2s ease;
}
.brands-panel.is-active .btn-brands {
  opacity: 1;
  transform: translateY(0);
}
.brands-panel:not(.is-active) .btn-brands {
  opacity: 0;
  transform: translateY(22px);
}
.btn-brands:hover {
  background: #1a1a1a;
  color: var(--color-white);
  transform: translateY(-1px);
}
.brands-visual-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  background: #e9eaec;
}
.brands-visual-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.brands-visual-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.brands-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.brands-card {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
  transform-origin: 10% 90%;
  transition: transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.brands-card[data-card="0"] {
  z-index: 3;
  transform: translate(0, 0) scale(1);
}
.brands-card[data-card="1"] {
  z-index: 2;
  transform: translate(18px, 18px) scale(0.98);
  filter: blur(0.2px);
  opacity: 0.92;
}
.brands-card[data-card="2"] {
  z-index: 1;
  transform: translate(34px, 34px) scale(0.96);
  filter: blur(0.35px);
  opacity: 0.85;
}
.brands-stack[data-progress="1"] .brands-card[data-card="0"] {
  opacity: 0;
  transform: translate(60px, 60px) rotate(1.5deg) scale(0.98);
}
.brands-stack[data-progress="1"] .brands-card[data-card="1"] {
  transform: translate(0, 0) scale(1);
  opacity: 1;
  filter: none;
}
.brands-stack[data-progress="1"] .brands-card[data-card="2"] {
  transform: translate(18px, 18px) scale(0.98);
  opacity: 0.92;
  filter: blur(0.2px);
}
.brands-stack[data-progress="2"] .brands-card[data-card="0"],
.brands-stack[data-progress="2"] .brands-card[data-card="1"] {
  opacity: 0;
  transform: translate(60px, 60px) rotate(1.5deg) scale(0.98);
}
.brands-stack[data-progress="2"] .brands-card[data-card="2"] {
  transform: translate(0, 0) scale(1);
  opacity: 1;
  filter: none;
}
.brands-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brands-visual-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e9eb 0%, #d0d2d6 100%);
  color: #777;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  opacity: 0;
}
.brands-card.is-fallback .brands-visual-fallback {
  opacity: 1;
}
.brands-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  opacity: 0.7;
}
.brands-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.brands-dot:hover {
  background: rgba(0, 0, 0, 0.4);
}
.brands-dot.is-active {
  background: #2c2c2c;
  transform: scale(1.15);
}

/* 모바일: 이미지 위 / 텍스트 아래, sticky 해제, 스택 오프셋 축소 */
@media (max-width: 991.98px) {
  .section-brands { padding: 2rem 0 0; }
  .brands-sticky-wrap { position: relative; top: auto; height: auto; min-height: unset; }
  .brands-visual-col { order: -1; }
  .brands-visual-wrap { min-height: 280px; }
  .brands-text-col { min-height: 200px; order: 0; }
  .brands-panel { position: absolute; }
  .brands-panel.is-active { position: relative; }
  .brands-card[data-card="1"] { transform: translate(12px, 12px) scale(0.98); }
  .brands-card[data-card="2"] { transform: translate(22px, 22px) scale(0.96); }
  .brands-stack[data-progress="1"] .brands-card[data-card="0"] { transform: translate(40px, 40px) rotate(1deg) scale(0.98); }
  .brands-stack[data-progress="1"] .brands-card[data-card="2"] { transform: translate(12px, 12px) scale(0.98); }
  .brands-stack[data-progress="2"] .brands-card[data-card="0"],
  .brands-stack[data-progress="2"] .brands-card[data-card="1"] { transform: translate(40px, 40px) rotate(1deg) scale(0.98); }
}
@media (prefers-reduced-motion: reduce) {
  .section-brands .brands-card,
  .section-brands .brands-panel,
  .section-brands .brands-visual-panel { transition-duration: 0.15s; }
}

/* ===== Our Brands: 3열 카드 ===== */
.section-brands-magnetic {
  background: #f8f8f8;
  padding: 5rem 0;
  scroll-margin-top: 6rem; /* 앵커 이동 시 GNB에 가리지 않도록 */
}
.brands-mg-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.brands-mg-header {
  margin-bottom: 4rem;
  text-align: center;
}
.brands-mg-title-link {
  text-decoration: none;
  color: inherit;
}
.brands-mg-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #2c2c2c;
}
@media (min-width: 768px) {
  .brands-mg-title { font-size: 2rem; }
}
.brands-mg-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .brands-mg-cards { grid-template-columns: repeat(3, 1fr); gap: 2.75rem; }
}
.brands-mg-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.brands-mg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.brands-mg-card-logo {
  padding: 2rem 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.brands-mg-card-logo img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* 리안 로고만 가로가 길어 상대적으로 커 보이므로 크기만 축소 (서브텍스트 정렬 유지) */
.brands-mg-card:nth-child(1) .brands-mg-card-logo img {
  height: 22px;
}
.brands-mg-card-desc {
  margin: 0.75rem 2rem 1.75rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #444;
  flex: 1;
  min-height: 0;
}
.brands-mg-card-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #e9eaec;
}
.brands-mg-card-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.brands-mg-card-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e9eb 0%, #d0d2d6 100%);
  color: #888;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
.brands-mg-card-fallback.is-visible {
  display: flex;
}
.brands-mg-card-cta {
  display: block;
  padding: 1.125rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2c2c2c;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease, color 0.2s ease;
}
.brands-mg-card:hover .brands-mg-card-cta {
  background: #2c2c2c;
  color: #fff;
}
/* 카드별 View brand 호버 컬러 */
.brands-mg-card:nth-child(1):hover .brands-mg-card-cta {
  background: #452200;
  color: #fff;
}
.brands-mg-card:nth-child(2):hover .brands-mg-card-cta {
  background: #f7a81b;
  color: #1a1a1a;
}
.brands-mg-card:nth-child(3):hover .brands-mg-card-cta {
  background: #1f3034;
  color: #fff;
}
@media (max-width: 991.98px) {
  .section-brands-magnetic { padding: 4rem 0; }
  .brands-mg-header { margin-bottom: 3.25rem; }
  .brands-mg-cards { gap: 2.25rem; }
  .brands-mg-container { padding: 0 1.75rem; }
}
/* Our Brands: 스크롤 리빌 (히어로와 동일 - opacity + translateY, 800ms, stagger) */
#brands-magnetic .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
#brands-magnetic .reveal[data-delay="0"]   { transition-delay: 0ms; }
#brands-magnetic .reveal[data-delay="120"] { transition-delay: 120ms; }
#brands-magnetic .reveal[data-delay="240"] { transition-delay: 240ms; }
#brands-magnetic .reveal[data-delay="360"] { transition-delay: 360ms; }
#brands-magnetic.is-visible .reveal {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .section-brands-magnetic .brands-mg-card {
    transition: none !important;
  }
  #brands-magnetic .reveal,
  #brands-magnetic.is-visible .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----- CSR: 다크 대형 카드 (세련되게) ----- */
.section-csr-dark {
  padding: 5rem 0;
}
@media (min-width: 768px) {
  .section-csr-dark { padding: 6rem 0; }
}
.section-csr-dark .csr-panel-refined {
  background: linear-gradient(145deg, #2c2c2c 0%, #353535 50%, #404040 100%);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  color: var(--color-white);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.csr-panel-refined .section-label {
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.5rem;
}
.csr-panel-refined .csr-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  line-height: 1.35;
  color: var(--color-white);
}
.csr-panel-refined .csr-description {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
}
.csr-panel-refined .btn-csr {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--color-white);
  color: #2c2c2c;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.csr-panel-refined .btn-csr:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #2c2c2c;
  transform: translateY(-1px);
}

/* ----- CSR: 가치 선언형 앵커 (메인 랜딩 전용) ----- */
.section-csr-anchor {
  width: 100%;
  min-height: 52vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6rem 2rem 5rem;
  background: linear-gradient(135deg, #2b2b2b 0%, #1f1f1f 100%);
  color: #fff;
}
@media (min-width: 768px) {
  .section-csr-anchor {
    min-height: 56vh;
    padding: 7rem 2rem 6rem;
  }
}
.csr-anchor-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
/* CSR 텍스트: Our Brands와 통일 (라벨 "CSR" = Our Brands 제목과 동일 크기) */
.csr-anchor-label {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8a84a;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .csr-anchor-label {
    font-size: 2rem;
  }
}
.csr-anchor-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 1.25rem;
  color: #fff;
}
@media (min-width: 768px) {
  .csr-anchor-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
}
.csr-anchor-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.5rem;
}
@media (min-width: 768px) {
  .csr-anchor-desc {
    margin-bottom: 1.75rem;
  }
}
.csr-anchor-btn {
  display: inline-block;
  padding: 1rem 1.5rem;
  background: #fff;
  color: #1f1f1f;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.csr-anchor-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #1f1f1f;
  transform: translateY(-1px);
}
/* CSR 앵커(인덱스·CSR 페이지 하단): 스크롤 진입 시 순차 등장 */
.csr-section.section-csr-anchor .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.csr-section.section-csr-anchor .reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}
.csr-section.section-csr-anchor .reveal[data-delay="0"]   { transition-delay: 0ms; }
.csr-section.section-csr-anchor .reveal[data-delay="80"]  { transition-delay: 80ms; }
.csr-section.section-csr-anchor .reveal[data-delay="160"] { transition-delay: 160ms; }
.csr-section.section-csr-anchor .reveal[data-delay="240"] { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .csr-section.section-csr-anchor .reveal,
  .csr-section.section-csr-anchor .reveal.is-inview {
    opacity: 1;
    transform: none;
  }
}

/* ----- CSR: 구멍(hole) 섹션 — 기존 앵커 크기·텍스트 위치·인터랙션 유지 ----- */
.csr-section.csr-hole {
  position: relative;
  min-height: 52vh;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6rem 2rem 5rem;
}
@media (min-width: 768px) {
  .csr-section.csr-hole {
    min-height: 56vh;
    padding: 7rem 2rem 6rem;
  }
}
.csr-section.csr-hole.section-csr-anchor {
  background: transparent;
}
/* CSR 구간 안에서만 어두운 오버레이 (가독성) — index·CSR 페이지 하단 공통 */
.csr-section.csr-hole::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  z-index: 0;
  pointer-events: none;
}
/* 텍스트 영역: 기존 앵커와 동일 — sticky 없음, 중앙 정렬·세로는 살짝 위 */
.csr-section.csr-hole .csr-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}

/* 모바일: 뷰포트에 맞는 섹션 크기 + 배경 이미지 */
@media (max-width: 991.98px) {
  .csr-section.csr-hole,
  .csr-section.csr-hole.section-csr-anchor {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    background: linear-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.32)), url("/static/img/csr_01.jpg") center / cover no-repeat;
  }
  .csr-section.csr-hole .csr-content {
    align-items: center;
  }
  .csr-section.csr-hole::before {
    display: none;
  }
}

/* ----- CSR: 배경 이미지 버전 (csr_01.jpg + 오버레이) ----- */
.section-csr-bg {
  width: 100%;
  min-height: 60vh;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 4rem 2rem;
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), var(--csr-bg-url, url('/static/img/csr_01.jpg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
@media (min-width: 768px) {
  .section-csr-bg {
    padding: 5rem 3rem 5rem 4rem;
  }
}
.section-csr-bg .csr-bg-inner {
  max-width: 560px;
  text-align: left;
}
.section-csr-bg .csr-bg-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.6rem;
}
.section-csr-bg .csr-bg-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 1.5rem;
  color: #fff;
}
@media (min-width: 768px) {
  .section-csr-bg .csr-bg-title {
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
  }
}
.section-csr-bg .csr-bg-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: #fff;
  color: #1f1f1f;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.section-csr-bg .csr-bg-btn:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #1f1f1f;
  transform: translateY(-1px);
}
/* CSR 배경 버전: 스크롤 진입 시 fade-in + translateY(12px→0), 0.6s ease-out */
#csr.section-csr-bg .csr-bg-inner.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
#csr.section-csr-bg .csr-bg-inner.reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  #csr.section-csr-bg .csr-bg-inner.reveal,
  #csr.section-csr-bg .csr-bg-inner.reveal.is-inview {
    opacity: 1;
    transform: none;
  }
}
/* 모바일: 텍스트·버튼 중앙 정렬, 패딩 여유 */
@media (max-width: 767.98px) {
  .section-csr-bg {
    justify-content: center;
    padding: 4rem 1.5rem;
  }
  .section-csr-bg .csr-bg-inner {
    text-align: center;
  }
  .section-csr-bg .csr-bg-btn {
    display: block;
    text-align: center;
  }
}

/* ============================================================
   이미지 레이어 팝업 (클릭 시 큰 이미지, X·ESC로 닫기)
   ============================================================ */
.img-popup-layer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.img-popup-layer.is-open {
  opacity: 1;
  visibility: visible;
}
.img-popup-layer[hidden] { display: none !important; }
.img-popup-layer:not([hidden]).is-open { display: flex !important; }

.img-popup-layer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.img-popup-layer__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-popup-layer__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.15s ease;
  z-index: 1;
}
.img-popup-layer__close:hover,
.img-popup-layer__close:focus {
  opacity: 1;
}

.img-popup-layer__img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 팝업 좌우 화살표 */
.img-popup-layer__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.img-popup-layer__arrow:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.img-popup-layer__arrow:active {
  background: rgba(255, 255, 255, 0.3);
}
.img-popup-layer__arrow.is-hidden {
  display: none !important;
}
.img-popup-layer__arrow--prev {
  left: 1rem;
}
.img-popup-layer__arrow--next {
  right: 1rem;
}
.img-popup-layer__arrow::after {
  content: '';
  width: 14px;
  height: 14px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
}
.img-popup-layer__arrow--prev::after {
  transform: rotate(135deg);
  margin-left: 4px;
}
.img-popup-layer__arrow--next::after {
  transform: rotate(-45deg);
  margin-right: 4px;
}

/* 콘텐츠 이미지 클릭 시 레이어 팝업 → 클릭 가능 표시 (아이콘 제외) */
main img {
  cursor: pointer;
}
main .ideology-value-icon img,
main .philosophy-icon img,
main .philosophy-icon-img,
main .brand-logo img {
  cursor: default;
}

/* 우측 하단 TOP 이동 버튼 (전체 페이지 공통) */
.btn-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #2c2c2c;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.btn-top .btn-top-icon {
  display: block;
  line-height: 0;
}
.btn-top .btn-top-icon svg {
  display: block;
  width: 26px;
  height: 26px;
}
.btn-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.btn-top:hover {
  background: #F36F21;
  color: #fff;
}
.btn-top:active {
  transform: translateY(0) scale(0.96);
}
@media (max-width: 575.98px) {
  .btn-top {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
    background: rgba(0, 0, 0, 0.6); /* 모바일: 반투명, hover 없음 */
  }
  .btn-top:hover {
    background: rgba(0, 0, 0, 0.6);
  }
  .btn-top .btn-top-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* 모바일 컴퍼니/브랜드/PR: TOP 버튼을 하단 네비 바로 위에 배치 */
@media (max-width: 991.98px) {
  .page-company .btn-top,
  .page-brand .btn-top,
  .page-pr .btn-top {
    bottom: 5rem;
  }
}

/* ============================================================
   PR 페이지: 중앙 정렬 슬림 히어로 + CONNECT / CAMPAIGN / STORES
   ============================================================ */

/* PR 컨테이너: Company/Brand/CSR 등과 동일한 좌우 여백 */
/* PR 컨테이너: Company/Brand/CSR과 동일한 좌우 여백 (2rem) */
.page-pr .pr-wrap,
.page-pr .container-wide {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (min-width: 992px) {
  .page-pr .pr-wrap,
  .page-pr .container-wide { max-width: 1200px; }
}

/* PR 히어로: Company/Brand/CSR과 동일한 좌우 여백 (2rem) */
.pr-hero-slim {
  background: #f8f8f8;
  min-height: 280px;
  padding: 3rem 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 991.98px) {
  .pr-hero-slim { padding-top: 96px; }
}
@media (min-width: 768px) {
  .pr-hero-slim { min-height: 300px; padding: 3.5rem 2rem 3rem; }
}
@media (min-width: 992px) {
  .pr-hero-slim { min-height: 320px; padding: 4rem 2rem 3.5rem; padding-top: 136px; }
}

.pr-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

/* PR 상단 메뉴 영역: 아래 섹션과 간격 + 디바이더 */
.pr-top {
  padding-bottom: 0;
}

.pr-top::after {
  content: "";
  display: block;
  width: min(880px, 92vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
  margin: 20px auto 20px;
}
@media (min-width: 768px) {
  .pr-top::after {
    margin: 28px auto 28px;
  }
}

.pr-hero-content .hero-title-block,
.pr-hero-content .hero-title-line {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-dark);
}

.pr-hero-content .hero-title-sub {
  font-size: 1rem;
  font-weight: 400;
  color: #555;
  margin: 0 0 0.25rem;
  line-height: 1.6;
}

.pr-hero-content .hero-lead--sub {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin: 0 0 2rem;
}

/* PR 3요약 블록: 가로 3등분, gap 10~12px */
.pr-hero-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
}
@media (min-width: 768px) {
  .pr-hero-boxes { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

.pr-summary-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.pr-summary-card:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.pr-summary-card.is-active:hover {
  background: #F36F21;
}
.pr-summary-card.is-active {
  background: #F36F21;
  border-color: #F36F21;
  box-shadow: 0 2px 12px rgba(243, 111, 33, 0.25);
}

.pr-box.company-box .company-box-sub {
  font-size: 0.75rem;
  line-height: 1.4;
}
@media (min-width: 992px) {
  .pr-box.company-box .company-box-sub { font-size: 0.8125rem; }
}

/* PR 콘텐츠 영역: 패널 전환 (COMPANY 구조 동일) */
.pr-content-area {
  background: #f8f8f8;
  padding: 32px 0 4rem;
}
@media (min-width: 768px) {
  .pr-content-area { padding-top: 40px; }
}

.pr-content-inner {
  position: relative;
}

.pr-panel {
  display: none;
}

.pr-panel.is-active {
  display: block;
}

.pr-panel[hidden] { display: none !important; }
.pr-panel.is-active[hidden] { display: block !important; }

/* PR 앵커 스크롤: GNB 아래 여유 확보 */
.page-pr #panel-connect,
.page-pr #panel-campaign,
.page-pr #panel-stores {
  scroll-margin-top: calc(var(--gnb-h) + var(--anchor-gap));
}

/* 패널 진입 애니메이션: fade-in + translateY(10px → 0), 0.25s */
.pr-panel-enter {
  animation: prPanelEnter 0.25s ease forwards;
}

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

.pr-panel-body {
  padding: 4rem 0 5rem;
}

/* PR wing: COMPANY wing 동일 */
.pr-wing {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.pr-wing.is-visible {
  opacity: 1;
  visibility: visible;
}

.pr-wing-list {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
}

.pr-wing-item {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #555;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease, background 0.2s ease;
}

.pr-wing-item:hover { color: var(--color-primary); }

.pr-wing-item.is-active {
  color: var(--color-primary);
  background: rgba(243, 111, 33, 0.08);
}

@media (max-width: 991.98px) {
  .pr-wing { display: none; }
}

/* PR 모바일 하단 탭 */
.pr-bottom-tabs {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  padding: 0.5rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0));
  gap: 0.25rem;
}

/* 모바일: 히어로 구간에서 숨김, 섹션 진입 시 노출 */
@media (max-width: 768px) {
  .page-pr .pr-bottomnav {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 220ms ease-out, transform 220ms ease-out;
  }
  .page-pr .pr-bottomnav.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.pr-bottom-tabs .pr-tab-item {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #666;
  background: #f5f5f5;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.pr-bottom-tabs .pr-tab-item.is-active {
  color: #fff;
  background: var(--color-primary);
}

@media (max-width: 991.98px) {
  .pr-content-area { padding-bottom: 5rem; }
}
@media (max-width: 768px) {
  .page-pr .pr-content-area {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0));
  }
}

/* PR 섹션 공통 (패널 내부) */
.pr-section-header {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.pr-section-header--campaign {
  margin-bottom: 3rem;
}
.pr-panel-body .pr-section-header:first-child {
  margin-bottom: 3.5rem;
}

.pr-section-desc {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-light);
  margin: 0;
}

/* CONNECT: 카드 그리드 (gap 32px, 타이틀-카드 40~60px) */
.pr-connect-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 576px) {
  .pr-connect-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .pr-connect-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* CONNECT 카드: 상단 브랜드 컬러 블록 + 흰색 로고 (Company 페이지 radius 20px) */
.pr-connect-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-radius: 20px;
  min-height: 230px;
  height: 100%;
  border: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.pr-connect-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}

.pr-connect-card:hover .pr-connect-product-thumb img {
  transform: translateY(-4px);
}

/* 상단 브랜드 컬러 블록 (72~90px) + 미세 그라데이션 + 흰색 로고 */
.pr-connect-card-top {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pr-connect-card--ryan .pr-connect-card-top {
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0.05) 100%), #452200;
}
.pr-connect-card--joie .pr-connect-card-top {
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0.05) 100%), #f7a81b;
}
.pr-connect-card--tavo .pr-connect-card-top {
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0.05) 100%), #1f3034;
}
.pr-connect-card--blog .pr-connect-card-top,
.pr-connect-card--youtube .pr-connect-card-top {
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0.05) 100%), #F36F21;
}

.pr-connect-card-logo {
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 카드 본문: 기본(Blog/YouTube) */
.pr-connect-card-body {
  padding: 1.5rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 120px;
}

/* Instagram 카드(제품 이미지 있음): 2컬럼 flex - 텍스트 + 이미지 */
.pr-connect-card--has-product .pr-connect-card-body {
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  padding: 1.5rem 1.5rem 1.5rem;
}

.pr-connect-card-body-inner {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

/* 제품 이미지 영역: 우측 고정, 하단 정렬, 오른쪽=아래 여백 동일 */
.pr-connect-product-thumb {
  flex: 0 0 130px;
  position: relative;
  padding: 0 18px 18px 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  pointer-events: none;
}

.pr-connect-product-thumb img {
  width: 100%;
  max-width: 120px;
  max-height: 100px;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
  transition: transform 0.3s ease;
  transform: translateY(-2px);
}

.pr-connect-card:hover .pr-connect-product-thumb img {
  transform: translateY(-6px);
}

/* Instagram 카드: 타이틀+아이콘 한 줄 유지 */
.pr-connect-card--has-product .pr-connect-body-top-row {
  flex-wrap: nowrap;
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .pr-connect-product-thumb {
    flex: 0 0 115px;
    padding: 0 16px 16px 0;
  }
  .pr-connect-product-thumb img {
    max-width: 110px;
    max-height: 100px;
  }
}

@media (max-width: 767.98px) {
  .pr-connect-card--has-product .pr-connect-card-body {
    gap: 12px;
    padding: 1.25rem 1.25rem 1.25rem;
  }
  .pr-connect-product-thumb {
    flex: 0 0 100px;
    padding: 0 14px 14px 0;
  }
  .pr-connect-product-thumb img {
    max-width: 96px;
    max-height: 90px;
    transform: translateY(0);
  }
  .pr-connect-card:hover .pr-connect-product-thumb img {
    transform: translateY(-4px);
  }
}

/* Instagram 카드 타이틀: 1줄 유지 (Instagram - Tavo Pets 등) */
.pr-connect-card--has-product .pr-connect-card-title {
  white-space: nowrap;
}

/* bodyTopRow: 아이콘 + 타이틀 (+ 배지) 한 줄 */
.pr-connect-body-top-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
  min-height: 24px;
}

.pr-connect-channel-icon {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.pr-connect-channel-icon--instagram {
  background-image: url("../img/icons/icon-instagram.svg");
}
.pr-connect-channel-icon--blog {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2303C75A'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E");
}
.pr-connect-channel-icon--youtube {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF0000'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
}

.pr-connect-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

/* 미니 배지: Blog(NAVER) 그린, YouTube Official 레드 */
.pr-connect-mini-badge {
  flex-shrink: 0;
  padding: 0.2rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 999px;
  line-height: 1.2;
}
.pr-connect-mini-badge--naver {
  color: #03C75A;
  border-color: #03C75A;
}
.pr-connect-mini-badge--youtube {
  color: #FF0000;
  border-color: #FF0000;
}

.pr-connect-card-desc {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-dark);
  opacity: 0.75;
  line-height: 1.6;
  margin: 0.5rem 0 1rem;
}

/* pill 버튼: margin-top 14~18px 확보, 버튼은 기존 outline / 브랜드 컬러 유지 */
.pr-connect-cta {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: transparent;
  border-radius: 9999px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  margin-top: auto;
  align-self: flex-start;
}

.pr-connect-card--ryan .pr-connect-cta {
  color: #452200;
  border: 1px solid rgba(69, 34, 0, 0.5);
}
.pr-connect-card--ryan:hover .pr-connect-cta {
  color: #fff;
  background: #452200;
  border-color: #452200;
}

.pr-connect-card--joie .pr-connect-cta {
  color: #F7A81B;
  border: 1px solid rgba(247, 168, 27, 0.5);
}
.pr-connect-card--joie:hover .pr-connect-cta {
  color: #fff;
  background: #F7A81B;
  border-color: #F7A81B;
}

.pr-connect-card--tavo .pr-connect-cta {
  color: #1F3034;
  border: 1px solid rgba(31, 48, 52, 0.5);
}
.pr-connect-card--tavo:hover .pr-connect-cta {
  color: #fff;
  background: #1F3034;
  border-color: #1F3034;
}

.pr-connect-card--blog .pr-connect-cta {
  color: #F36F21;
  border: 1px solid rgba(243, 111, 33, 0.5);
}
.pr-connect-card--blog:hover .pr-connect-cta {
  color: #fff;
  background: #F36F21;
  border-color: #F36F21;
}

.pr-connect-card--youtube .pr-connect-cta {
  color: #F36F21;
  border: 1px solid rgba(243, 111, 33, 0.5);
}
.pr-connect-card--youtube:hover .pr-connect-cta {
  color: #fff;
  background: #F36F21;
  border-color: #F36F21;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.12);
}
.pr-connect-card--youtube .pr-connect-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.2);
}

/* CAMPAIGN: 상단 여백, Brand Film 그룹, Media caption */
.pr-section-header--campaign {
  margin-bottom: 3rem;
}

.pr-campaign-group {
  margin-bottom: 4.5rem;
}
.pr-campaign-group:last-child { margin-bottom: 0; }

.pr-campaign-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 1.5rem;
  text-align: center;
}

.pr-campaign-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .pr-campaign-video-grid { grid-template-columns: repeat(2, 1fr); }
}

.pr-video-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-gray-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pr-video-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.pr-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #eee;
  overflow: hidden;
}
.pr-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pr-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s;
}
.pr-video-card:hover .pr-video-overlay {
  background: rgba(0, 0, 0, 0.25);
}
.pr-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease;
}
.pr-video-play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}
.pr-video-card:hover .pr-video-play {
  background: var(--color-primary);
}

.pr-video-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0.75rem 0 0.25rem;
  padding: 0 1rem;
}

.pr-video-year {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin: 0 0 1rem;
  padding: 0 1rem;
}

/* Brand Film 영상 레이어팝업 */
.pr-video-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.pr-video-popup.is-open {
  opacity: 1;
  visibility: visible;
}
.pr-video-popup[hidden] { display: none !important; }
.pr-video-popup:not([hidden]).is-open { display: flex !important; }

.pr-video-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.pr-video-popup__inner {
  position: relative;
  width: 100%;
  max-width: 960px;
  z-index: 1;
}

.pr-video-popup__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}
.pr-video-popup__close:hover,
.pr-video-popup__close:focus {
  opacity: 1;
}

.pr-video-popup__iframe-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}
.pr-video-popup__iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* PPL 오버레이 카드 (브랜드 포트폴리오) - 이전 그리드 구조 */
.pr-campaign-media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.ppl-card--r1,
.ppl-card--r2,
.ppl-card--r3,
.ppl-card--r4,
.ppl-card--r5,
.ppl-card--r6 {
  grid-column: 1 / -1;
}
.ppl-card--s7 { grid-column: 1; }
.ppl-card--s6 { grid-column: 2; }
.ppl-card--s5 { grid-column: 1; }
.ppl-card--s8 { grid-column: 2; }
.ppl-media-row-squares {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.ppl-card--s1,
.ppl-card--s2,
.ppl-card--s3,
.ppl-card--s4 {
  grid-column: auto;
}

@media (min-width: 768px) {
  .pr-campaign-media-grid {
    grid-template-columns: repeat(34, 1fr);
    gap: 1.5rem;
  }
  .ppl-card--r1,
  .ppl-card--r2,
  .ppl-card--r3,
  .ppl-card--r4,
  .ppl-card--r5,
  .ppl-card--r6 {
    grid-column: auto;
  }
  .ppl-card--s7,
  .ppl-card--s6,
  .ppl-card--s5,
  .ppl-card--s8,
  .ppl-card--s1,
  .ppl-card--s2,
  .ppl-card--s3,
  .ppl-card--s4 {
    grid-column: auto;
  }
  /* 1,2 | 3,4,5(정사각형 작게) | 6,7 | 8,9,10(정사각형 작게) | s1-s4 */
  .ppl-card--r1 { grid-column: 1 / 18; grid-row: 1; }
  .ppl-card--r2 { grid-column: 18 / 35; grid-row: 1; }
  .ppl-card--r3 { grid-column: 1 / 17; grid-row: 2; }
  .ppl-card--s7 { grid-column: 17 / 26; grid-row: 2; }
  .ppl-card--s6 { grid-column: 26 / 35; grid-row: 2; }
  .ppl-card--r4 { grid-column: 1 / 18; grid-row: 3; }
  .ppl-card--r5 { grid-column: 18 / 35; grid-row: 3; }
  .ppl-card--r6 { grid-column: 1 / 17; grid-row: 4; }
  .ppl-card--s5 { grid-column: 17 / 26; grid-row: 4; }
  .ppl-card--s8 { grid-column: 26 / 35; grid-row: 4; }
  .ppl-media-row-squares {
    grid-column: 1 / -1;
    grid-row: 5;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.ppl-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  display: block;
}
.ppl-card--rect img {
  aspect-ratio: 16 / 9;
}
.ppl-card:not(.ppl-card--rect) img {
  aspect-ratio: 1;
}
.ppl-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ppl-card:hover img {
  transform: scale(1.05);
}

.ppl-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 55%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0)
  );
  color: #fff;
  transition: background 0.3s ease;
}
.ppl-card:hover .ppl-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0.12)
  );
}

.ppl-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.02em;
  opacity: 0.85;
}
.ppl-category,
.ppl-year {
  font-size: inherit;
}
.ppl-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 767px) {
  .ppl-overlay {
    padding: 16px;
  }
  .ppl-meta {
    font-size: 12px;
  }
  .ppl-title {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ppl-card img {
    transition: none;
  }
  .ppl-card:hover img {
    transform: none;
  }
}

/* STORES: 오프라인 / 온라인 */
.pr-stores-offline { margin-bottom: 4rem; }

.pr-stores-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 1.5rem;
  text-align: center;
}

/* 오프라인 매장 카테고리 블록 (백화점, 대형마트 등) */
.pr-store-category-block {
  margin-bottom: 2.5rem;
}
.pr-store-category-block:not(:first-child) {
  border-top: 1px solid #eee;
  padding-top: 2.5rem;
  margin-top: 2.5rem;
}
.pr-store-category-block:last-of-type {
  margin-bottom: 0;
}

.pr-store-category-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-gray-dark);
}

.pr-store-item-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 576px) {
  .pr-store-item-list { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}
@media (min-width: 992px) {
  .pr-store-item-list { gap: 1.5rem; }
}

.pr-store-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 4rem;
  padding: 1.125rem 1rem;
  background: #fff;
  border: 1px solid var(--color-gray-dark);
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s, transform 0.2s;
}
.pr-store-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  color: var(--color-primary);
  transform: translateY(-4px);
}

.pr-store-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pr-store-item-icon img {
  max-height: 36px;
  height: auto;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  object-position: center;
}
@media (min-width: 576px) {
  .pr-store-item-icon img {
    max-height: 48px;
    max-width: 96px;
  }
}
.pr-store-item-icon:empty {
  display: none;
}

.pr-store-item-name {
  line-height: 1.3;
}

.pr-store-item-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
}
.pr-store-item:hover .pr-store-item-link {
  color: inherit;
}

.pr-stores-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .pr-stores-logo-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

.pr-store-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid var(--color-gray-dark);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pr-store-logo img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(0.35);
  transition: filter 0.2s;
}
.pr-store-logo:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.pr-store-logo:hover img {
  filter: grayscale(0);
}

/* 온라인 매장 박스 그리드 */
.pr-mall-box-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.pr-mall-box-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 576px) {
  .pr-mall-box-row { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}
@media (min-width: 992px) {
  .pr-mall-box-row:first-child,
  .pr-mall-box-row:last-child { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
.pr-mall-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 4rem;
  padding: 1.125rem 1rem;
  background: #fff;
  border: 1px solid var(--color-gray-dark);
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s, transform 0.2s;
}
.pr-mall-box:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  color: var(--color-primary);
  transform: translateY(-4px);
}

.pr-mall-box-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pr-mall-box-logo img {
  max-height: 36px;
  height: auto;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  object-position: center;
}
@media (min-width: 576px) {
  .pr-mall-box-logo img {
    max-height: 48px;
    max-width: 96px;
  }
}
.pr-mall-box-logo:empty {
  display: none;
}

.pr-mall-box-name {
  line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
  .pr-store-item:hover,
  .pr-mall-box:hover {
    transform: none;
  }
}

/* PR 페이지 reveal (기존 시스템 공유) */
.page-pr .pr-hero-slim .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.page-pr .pr-hero-slim .reveal[data-delay="0"]   { transition-delay: 0ms; }
.page-pr .pr-hero-slim .reveal[data-delay="80"]   { transition-delay: 80ms; }
.page-pr .pr-hero-slim .reveal[data-delay="120"]  { transition-delay: 120ms; }
.page-pr .pr-hero-slim .reveal[data-delay="160"]  { transition-delay: 160ms; }
.page-pr .pr-hero-slim .reveal[data-delay="240"]  { transition-delay: 240ms; }
.page-pr .pr-hero-slim.is-visible .reveal {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .page-pr .pr-hero-slim .reveal,
  .page-pr .pr-hero-slim.is-visible .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* PR 페이지 #pr-content reveal 리빌 애니메이션 (왼쪽→오른쪽 순차 등장) */
.page-pr #pr-content .reveal[data-delay="0"]   { transition-delay: 0ms; }
.page-pr #pr-content .reveal[data-delay="40"]  { transition-delay: 40ms; }
.page-pr #pr-content .reveal[data-delay="80"]   { transition-delay: 80ms; }
.page-pr #pr-content .reveal[data-delay="100"]  { transition-delay: 100ms; }
.page-pr #pr-content .reveal[data-delay="120"]  { transition-delay: 120ms; }
.page-pr #pr-content .reveal[data-delay="140"]  { transition-delay: 140ms; }
.page-pr #pr-content .reveal[data-delay="160"]  { transition-delay: 160ms; }
.page-pr #pr-content .reveal[data-delay="180"]  { transition-delay: 180ms; }
.page-pr #pr-content .reveal[data-delay="200"]  { transition-delay: 200ms; }
.page-pr #pr-content .reveal[data-delay="220"]  { transition-delay: 220ms; }
.page-pr #pr-content .reveal[data-delay="240"]  { transition-delay: 240ms; }
.page-pr #pr-content .reveal[data-delay="260"]  { transition-delay: 260ms; }
.page-pr #pr-content .reveal[data-delay="280"]  { transition-delay: 280ms; }
.page-pr #pr-content .reveal[data-delay="300"]  { transition-delay: 300ms; }
.page-pr #pr-content .reveal[data-delay="320"]  { transition-delay: 320ms; }
.page-pr #pr-content .reveal[data-delay="340"]  { transition-delay: 340ms; }
.page-pr #pr-content .reveal[data-delay="360"]  { transition-delay: 360ms; }
.page-pr #pr-content .reveal[data-delay="380"]  { transition-delay: 380ms; }
.page-pr #pr-content .reveal[data-delay="400"]  { transition-delay: 400ms; }
.page-pr #pr-content .reveal[data-delay="420"]  { transition-delay: 420ms; }
.page-pr #pr-content .reveal[data-delay="460"]  { transition-delay: 460ms; }
@media (prefers-reduced-motion: reduce) {
  .page-pr #pr-content .reveal,
  .page-pr #pr-content .reveal.is-inview {
    opacity: 1;
    transform: none;
    transition: none;
  }
}