/* ============================================================
   대성화스너 — 지속가능 경영 페이지 고유 스타일
   ============================================================ */


  :root {
    --bg: #FFFFFF;
    --bg-soft: #F6F9F7;
    --bg-tint: #ECF5EF;
    --bg-dark: #0B1410;
    --border: #E5E9E6;
    --border-hover: #CCD5CF;
    --green: #16A34A;
    --green-bright: #22C55E;
    --green-soft: #4ADE80;
    --green-tint: #DCFCE7;
    --green-bg: #F0FDF4;
    --green-dark: #0F7A37;
    --text-1: #0B1410;
    --text-2: #3F4A42;
    --text-3: #6B7A70;
    --text-4: #9AA69E;
    --shadow-sm: 0 1px 2px rgba(11, 20, 16, 0.04);
    --shadow: 0 4px 16px rgba(11, 20, 16, 0.06);
    --shadow-lg: 0 12px 40px rgba(11, 20, 16, 0.08);
    --font-sans: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Monaco, monospace;
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  em { font-style: normal; }
  body {
    background: var(--bg);
    color: var(--text-1);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    cursor: none;
    overflow-x: hidden;
    /* Korean typography — 자연스러운 줄바꿈 */
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  @media (pointer: coarse) { body { cursor: default; } }
  ::selection { background: var(--green); color: #fff; }

  /* Headings & paragraphs — 균형잡힌 줄바꿈 (최신 브라우저) */
  h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
  p, li, dd, blockquote { text-wrap: pretty; }
  .grain {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 9998;
    opacity: 0.025;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='5'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  }

  .cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 10000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
  }
  .cursor-dot {
    width: 6px; height: 6px;
    background: #fff;
    transition: width 0.2s, height 0.2s, background 0.2s;
  }
  .cursor-ring {
    width: 32px; height: 32px;
    border: 1.2px solid rgba(255, 255, 255, 0.55);
    transition: width 0.3s var(--ease-expo), height 0.3s var(--ease-expo), border-color 0.3s, transform 0.12s linear;
  }
  .cursor-ring.hover {
    width: 56px; height: 56px;
    border-color: var(--green-soft);
    background: rgba(74, 222, 128, 0.06);
  }
  .cursor-dot.hover { width: 4px; height: 4px; background: var(--green-soft); }
  @media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

  .scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 2px; background: var(--green);
    z-index: 200; width: 0%;
    transition: width 0.1s linear;
  }

  /* ============ NAV ============ */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 18px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav.scrolled { padding: 12px 48px; }
  .nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 17px;
    color: var(--text-1);
    letter-spacing: -0.01em;
    text-decoration: none;
  }
  .nav-logo svg { width: 28px; height: 28px; }
  .nav-menu { display: flex; gap: 36px; list-style: none; }
  .nav-menu a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.25s;
    position: relative;
  }
  .nav-menu a.active { color: var(--green); font-weight: 600; }
  .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 1px;
    background: currentColor;
    transition: width 0.3s var(--ease-expo);
  }
  .nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
  .nav-menu a:hover { color: var(--green); }
  .nav-right { display: flex; align-items: center; gap: 20px; }
  .lang-toggle {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-3);
    letter-spacing: 0.1em;
    cursor: none;
  }
  .btn-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--text-1);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: none;
    transition: all 0.3s var(--ease-expo);
  }
  .btn-nav-cta:hover {
    background: var(--green);
    transform: translateY(-1px);
  }

  /* ============ PAGE HEADER (차분한 톤) ============ */
  .page-header {
    padding: 140px 48px 60px;
    background: var(--bg);
  }
  .page-header-inner {
    max-width: 1280px;
    margin: 0 auto;
  }
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-3);
    letter-spacing: 0.05em;
    margin-bottom: 32px;
    text-transform: uppercase;
  }
  .breadcrumb a {
    color: var(--text-3);
    text-decoration: none;
    transition: color 0.2s;
  }
  .breadcrumb a:hover { color: var(--green); }
  .breadcrumb .sep { color: var(--text-4); }
  .breadcrumb .current { color: var(--green); font-weight: 600; }

  .page-title {
    font-size: clamp(44px, 5.5vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--text-1);
    margin-bottom: 24px;
    max-width: 900px;
  }
  .page-title-en {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 28px;
    display: block;
  }
  .page-lead {
    font-size: clamp(20px, 2vw, 26px);
    color: var(--text-2);
    line-height: 1.55;
    max-width: 720px;
    font-weight: 600;
    letter-spacing: -0.015em;
  }
  .page-lead strong {
    color: var(--green);
    font-weight: 600;
  }

  /* ============ FULL-WIDTH LANDSCAPE PHOTO ============ */
  .landscape {
    width: 100%;
    height: clamp(360px, 55vh, 600px);
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.2) 100%),
      url('https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=2400&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .landscape::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='5'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.06;
    mix-blend-mode: overlay;
    pointer-events: none;
  }

  /* ============ INTRO QUOTE ============ */
  .intro-quote {
    padding: 100px 48px;
    background: var(--bg);
  }
  .intro-quote-inner {
    max-width: 1080px;
    margin: 0 auto;
    text-align: left;
  }
  .intro-quote p {
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.55;
    color: var(--text-1);
    letter-spacing: -0.02em;
    font-weight: 400;
  }
  .intro-quote p strong {
    font-weight: 700;
    color: var(--text-1);
  }
  .intro-quote-mark {
    font-size: 80px;
    color: var(--green);
    line-height: 0.5;
    margin-bottom: 24px;
    opacity: 0.4;
    display: block;
  }

  /* ============ ESG SECTIONS ============ */
  .esg-section {
    padding: 100px 48px;
    border-top: 1px solid var(--border);
  }
  .esg-section-inner {
    max-width: 1280px;
    margin: 0 auto;
  }

  .esg-header {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 56px;
  }
  .esg-label-block {
    position: sticky;
    top: 100px;
  }
  .esg-label {
    font-size: clamp(32px, 3.2vw, 42px);
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -0.025em;
    line-height: 1;
    margin-bottom: 8px;
    white-space: nowrap;
  }
  .esg-label-kr {
    font-size: 14px;
    color: var(--text-3);
    font-weight: 500;
    letter-spacing: -0.005em;
  }
  .esg-desc {
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--text-2);
    line-height: 1.7;
    padding-top: 12px;
    max-width: 680px;
    font-weight: 500;
  }

  .esg-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: stretch;
  }

  /* Section photo */
  .esg-photo {
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-soft);
    min-height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .esg-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='5'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
  }
  .photo-env { background-image: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1600&q=80'); }
  .photo-social { background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1600&q=80'); }
  .photo-gov { background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=1600&q=80'); }

  /* Cert grid */
  .cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    align-content: start;
  }
  .cert-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s var(--ease-expo);
    cursor: none;
  }
  .cert-card:hover {
    border-color: var(--green-tint);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
  }
  .cert-img-wrap {
    position: relative;
    aspect-ratio: 5/6;
    background: linear-gradient(180deg, #FAFBFA 0%, #F0F4F1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
  }
  .cert-svg {
    width: 100%;
    height: 100%;
    max-height: 240px;
  }
  .cert-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 16px rgba(11, 20, 16, 0.10));
  }
  .cert-caption {
    padding: 14px 16px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--bg);
  }
  .cert-caption-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-1);
    line-height: 1.35;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
  }
  .cert-caption-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-3);
    letter-spacing: 0.05em;
  }

  /* Special: Text-only cert card (활동) */
  .cert-card.text-card .cert-img-wrap {
    background: linear-gradient(135deg, var(--green-bg) 0%, var(--bg-soft) 100%);
    flex-direction: column;
    text-align: center;
    padding: 24px 18px;
    gap: 14px;
  }
  .cert-card.text-card .text-icon {
    color: var(--green);
    width: 36px; height: 36px;
  }
  .cert-card.text-card .text-headline {
    font-size: 22px;
    color: var(--text-1);
    line-height: 1.2;
    letter-spacing: -0.01em;
  }
  .cert-card.text-card .text-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--green-dark);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
  }

  /* ============ COMMITMENT BAND ============ */
  .commitment-band {
    padding: 100px 48px;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
  }
  .commitment-band-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
  }
  .commitment-band-label {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
  .commitment-band-label em {
    color: var(--green);
  }
  .commitment-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 40px;
  }
  .commitment-point {
    border-top: 1px solid var(--border);
    padding-top: 18px;
  }
  .commitment-point-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--green);
    letter-spacing: 0.15em;
    margin-bottom: 8px;
    font-weight: 700;
  }
  .commitment-point h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }
  .commitment-point p {
    font-size: 13px;
    color: var(--text-3);
    line-height: 1.55;
  }

  /* ============ ETHICS LINK CARD ============ */
  .ethics-link {
    padding: 80px 48px 120px;
    background: var(--bg);
  }
  .ethics-link-inner {
    max-width: 1280px;
    margin: 0 auto;
  }
  .ethics-card {
    padding: 56px 64px;
    background: var(--bg-dark);
    border-radius: 20px;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  .ethics-card::before {
    content: '';
    position: absolute;
    top: -30%; right: -20%;
    width: 70%; height: 140%;
    background: radial-gradient(ellipse at center, rgba(22, 163, 74, 0.18) 0%, transparent 60%);
    pointer-events: none;
  }
  .ethics-card-content { position: relative; z-index: 2; }
  .ethics-card-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--green-soft);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 600;
  }
  .ethics-card h3 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: #fff;
  }
  .ethics-card h3 em {
    color: var(--green-soft);
  }
  .ethics-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    max-width: 580px;
  }
  .ethics-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--green);
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s var(--ease-expo);
    cursor: none;
    white-space: nowrap;
    position: relative;
    z-index: 2;
  }
  .ethics-card-btn:hover {
    background: var(--green-bright);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(22, 163, 74, 0.4);
    gap: 14px;
  }
  .ethics-card-btn svg { width: 16px; height: 16px; }

  /* ============ FOOTER ============ */
  footer {
    padding: 48px;
    background: #060B08;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 24px;
  }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 1024px) {
    .nav-menu { display: none; }
    .page-header { padding: 110px 28px 50px; }
    .esg-section, .commitment-band, .intro-quote { padding: 60px 28px; }
    .ethics-link { padding: 60px 28px 80px; }

    .esg-header { grid-template-columns: 1fr; gap: 24px; }
    .esg-label-block { position: relative; top: 0; }
    .esg-content { grid-template-columns: 1fr; }
    .esg-photo { min-height: 320px; }

    .commitment-band-inner { grid-template-columns: 1fr; gap: 32px; }
    .commitment-points { grid-template-columns: 1fr; }

    .ethics-card {
      grid-template-columns: 1fr;
      gap: 24px;
      padding: 36px 28px;
    }
  }
  @media (max-width: 640px) {
    .nav { padding: 16px 20px; }
    .page-header { padding: 100px 20px 40px; }
    .esg-section, .commitment-band, .intro-quote { padding: 50px 20px; }
    .ethics-link { padding: 50px 20px 60px; }
    .cert-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
  }
  @media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  }

  /* ============================================== */
  /* 📌 공통 네비게이션 드롭다운                       */
  /* ============================================== */
  .nav-menu li { position: relative; }
  .nav-menu li > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 180px;
    background: #FFFFFF;
    border: 1px solid var(--border, #E5E9E6);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 14px 40px -8px rgba(11, 20, 16, 0.18), 0 4px 12px -2px rgba(11, 20, 16, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s var(--ease-expo, cubic-bezier(0.22, 1, 0.36, 1)), transform 0.22s var(--ease-expo, cubic-bezier(0.22, 1, 0.36, 1)), visibility 0.22s;
    list-style: none;
    z-index: 1000;
    margin: 0;
  }
  .nav-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
  }
  .nav-menu li.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown li { width: 100%; }
  .nav-dropdown a {
    display: block;
    padding: 10px 14px;
    color: var(--text-1, #0B1410) !important;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 8px;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s;
  }
  .nav-dropdown a::after { display: none !important; }
  .nav-dropdown a:hover {
    background: var(--green-bg, #F0FDF4);
    color: var(--green-dark, #0F7A37) !important;
  }
  @media (max-width: 768px) {
    .nav-dropdown { display: none; }
  }
