/* ═══════════════════════════════════════════════════════════
   ERD HOLDINGS — styles.css
   Modern redesign: Glassmorphism + Dark Luxury
═══════════════════════════════════════════════════════════ */

/* ── 1. Design Tokens ── */
:root {
  --clr-bg:          #080c18;
  --clr-bg-2:        #0c1120;
  --clr-bg-3:        #111827;
  --clr-surface:     rgba(255,255,255,.04);
  --clr-surface-h:   rgba(255,255,255,.08);
  --clr-border:      rgba(255,255,255,.08);
  --clr-border-h:    rgba(255,255,255,.16);
  --clr-green:       #10b981;
  --clr-green-d:     #059669;
  --clr-green-l:     #34d399;
  --clr-green-a:     rgba(16,185,129,.4);
  --clr-green-a-h:   rgba(16,185,129,.22);
  --clr-gold:        #d4a853;
  --clr-gold-l:      #f0c97a;
  --clr-gold-a:      rgba(212,168,83,.4);
  --clr-text:        #e8edf5;
  --clr-text-2:      #8b97aa;
  --clr-text-3:      #5c6878;
  --clr-white:       #ffffff;
  --clr-nav-bg:      rgba(8,12,24,.6);
  --clr-nav-border:  rgba(255,255,255,.08);
  --clr-chairman-bg: rgba(255,255,255,.04);
  --clr-quote-text:  #cbd5e1;
  --clr-shadow:      rgba(0,0,0,.4);

  --clr-modal-overlay: rgba(0,0,0,.7);
  --clr-modal-bg:      #0f172a;

  --theme-transition: background-color .35s ease, color .35s ease,
                      border-color .35s ease, box-shadow .35s ease;

  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-smooth:    cubic-bezier(.16,1,.3,1);
  --ease-back:      cubic-bezier(.34,1.56,.64,1);

  --radius-sm:   8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  36px;

  --shadow-card: 0 4px 24px rgba(0,0,0,.4), 0 1px 4px rgba(0,0,0,.3);
  --shadow-glow: 0 0 40px rgba(16,185,129,.15);

  --nav-h: 72px;
  --container: 1200px;
  --section-py: 120px;

  /* Tilt (set by JS) */
  --tilt-x: 0deg;
  --tilt-y: 0deg;

  /* Parallax shift (set by JS) */
  --parallax-x: 0px;
  --parallax-y: 0px;
}

/* ── Light Theme ── */
[data-theme="light"] {
  --clr-bg:          #f8fafb;
  --clr-bg-2:        #f0f4f8;
  --clr-bg-3:        #e8eff6;
  --clr-surface:     rgba(255,255,255,.8);
  --clr-surface-h:   rgba(255,255,255,.95);
  --clr-border:      rgba(0,0,0,.08);
  --clr-border-h:    rgba(0,0,0,.14);
  --clr-green:       #059669;
  --clr-green-d:     #047857;
  --clr-green-l:     #10b981;
  --clr-green-a:     rgba(5,150,105,.4);
  --clr-green-a-h:   rgba(5,150,105,.22);
  --clr-gold:        #b8891f;
  --clr-gold-l:      #d4a853;
  --clr-gold-a:      rgba(184,137,31,.4);
  --clr-text:        #111827;
  --clr-text-2:      #374151;
  --clr-text-3:      #6b7280;
  --clr-white:       #111827;
  --clr-nav-bg:      rgba(248,250,251,.8);
  --clr-nav-border:  rgba(0,0,0,.08);
  --clr-chairman-bg: rgba(255,255,255,.9);
  --clr-quote-text:  #1e293b;
  --clr-shadow:      rgba(0,0,0,.12);
  --shadow-card:     0 4px 24px rgba(0,0,0,.1), 0 1px 4px rgba(0,0,0,.06);
  --shadow-glow:     0 0 40px rgba(5,150,105,.12);

  --clr-modal-overlay: rgba(0,0,0,.5);
  --clr-modal-bg:      #ffffff;
}

/* Theme transition on all key elements */
body,
#navbar,
#navbar::after,
.info-card,
.chairman-block,
.philo-card,
.value-card,
.mission-item,
.biz-card,
.port-card,
.ci-logo-display,
.ci-meaning-item,
.careers,
.career-item,
.contact-card,
.contact-team,
.mobile-menu,
.timeline-item .tl-body,
.site-footer {
  transition: var(--theme-transition);
}

/* ── 2. Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* ── Glow Orbs ── */
.glow-orbs-container {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.glow-orb {
  position: absolute;
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity .5s ease;
}
.glow-orb-1 {
  top: 800px; left: -10%;
  background: radial-gradient(circle, rgba(16,185,129,0.18) 0%, transparent 70%);
  animation: orbFloat 25s infinite ease-in-out;
}
.glow-orb-2 {
  top: 2200px; right: -10%;
  background: radial-gradient(circle, rgba(212,168,83,0.15) 0%, transparent 70%);
  animation: orbFloat 32s infinite ease-in-out-reverse;
}
.glow-orb-3 {
  top: 4200px; left: -5%;
  background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%);
  animation: orbFloat 28s infinite ease-in-out;
}
.glow-orb-4 {
  top: 6500px; right: -5%;
  background: radial-gradient(circle, rgba(212,168,83,0.18) 0%, transparent 70%);
  animation: orbFloat 35s infinite ease-in-out-reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 80px) scale(1.1); }
  66% { transform: translate(-40px, -60px) scale(0.95); }
}

[data-theme="light"] .glow-orb {
  mix-blend-mode: multiply;
  filter: blur(150px);
}
[data-theme="light"] .glow-orb-1 {
  background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, transparent 70%);
}
[data-theme="light"] .glow-orb-2 {
  background: radial-gradient(circle, rgba(212,168,83,0.05) 0%, transparent 70%);
}
[data-theme="light"] .glow-orb-3 {
  background: radial-gradient(circle, rgba(16,185,129,0.05) 0%, transparent 70%);
}
[data-theme="light"] .glow-orb-4 {
  background: radial-gradient(circle, rgba(212,168,83,0.07) 0%, transparent 70%);
}

/* Mouse Interactive Spotlight Glow */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  filter: blur(80px);
  background: radial-gradient(circle, rgba(16,185,129,0.16) 0%, rgba(212,168,83,0.08) 45%, transparent 70%);
  transition: opacity 0.4s ease;
  will-change: left, top, opacity;
}
[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, rgba(212,168,83,0.06) 45%, transparent 70%);
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
dl, dt, dd { margin: 0; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-border-h); border-radius: 3px; }

/* ── 3. Scroll Progress ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-green), var(--clr-gold));
  z-index: 9999;
  transition: width .1s linear;
}

/* ── 4. Back to Top ── */
#back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--clr-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--clr-border);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s var(--ease-smooth), background .3s;
  z-index: 800;
}
#back-to-top svg { width: 18px; height: 18px; }
#back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-to-top:hover { background: var(--clr-green); border-color: var(--clr-green); color: #fff; }

/* ── Theme Toggle Button ── */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-2);
  transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease-back);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--clr-surface-h);
  border-color: var(--clr-green);
  color: var(--clr-green);
  transform: rotate(20deg) scale(1.08);
}
.theme-toggle svg { width: 18px; height: 18px; }
.icon-sun  { display: block; }
.icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* ── 5. Typography Utilities ── */
.eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--clr-green);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--clr-white);
  margin-bottom: 24px;
}
.section-title em {
  font-style: italic;
  color: var(--clr-green-l);
}

.section-sub {
  font-size: 1.1rem;
  color: var(--clr-text-2);
  max-width: 560px;
  margin-bottom: 48px;
}

.body-text {
  font-size: 1rem;
  color: var(--clr-text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ── 6. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: transform .25s var(--ease-back), box-shadow .25s, background .25s, border-color .25s, color .25s;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--clr-green);
  color: #fff;
  box-shadow: 0 4px 24px rgba(16,185,129,.35);
}
.btn--primary:hover { background: var(--clr-green-d); box-shadow: 0 8px 32px rgba(16,185,129,.45); }
.btn--ghost {
  background: transparent;
  border: 1.5px solid var(--clr-border-h);
  color: var(--clr-text);
}
.btn--ghost:hover { border-color: var(--clr-green); color: var(--clr-green); }

/* ── Ripple Effect ── */
.btn--ripple {
  position: relative;
  overflow: hidden;
}
.btn--ripple .ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  transform: scale(0);
  animation: rippleAnim .6s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ── 7. Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 8. Section Common ── */
.section { padding: var(--section-py) 0; position: relative; }

/* ── 9. Reveal Animations ── */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-smooth), transform .7s var(--ease-smooth);
  transition-delay: var(--d, 0s);
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-hero {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .9s var(--ease-smooth) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero Title Split Animation ── */
.hero-title-split {
  opacity: 0;
  animation: none; /* JS will handle */
}
.hero-title-split .split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: charReveal .8s cubic-bezier(.25,.46,.45,.94) forwards;
}
@keyframes charReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Wave Dividers ── */
.wave-divider {
  position: relative;
  width: 100%;
  height: 0;
  z-index: 1;
  pointer-events: none;
  margin-top: -1px;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}
.wave-divider--flip svg {
  transform: scaleY(-1);
}

@media (max-width: 768px) {
  .wave-divider svg { height: 40px; }
}

/* ══════════════════════════════════════
   MODAL
══════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--clr-modal-overlay);
  backdrop-filter: blur(8px);
  z-index: 9998;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  padding: 24px;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  background: var(--clr-modal-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(.97);
  transition: transform .35s var(--ease-smooth), background .3s;
}
.modal-overlay.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--clr-border);
  flex-shrink: 0;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--clr-white);
}
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-2);
  transition: background .2s, color .2s, transform .2s;
  flex-shrink: 0;
}
.modal-close:hover {
  background: var(--clr-green);
  border-color: var(--clr-green);
  color: #fff;
  transform: rotate(90deg);
}
.modal-close svg { width: 16px; height: 16px; }

.modal-body {
  padding: 28px;
  overflow-y: auto;
  font-size: .9rem;
  color: var(--clr-text-2);
  line-height: 1.8;
}
.modal-body > * {
  opacity: 0;
  transform: translateY(12px);
  animation: modalStagger .4s var(--ease-smooth) forwards;
}
.modal-body > *:nth-child(1) { animation-delay: .05s; }
.modal-body > *:nth-child(2) { animation-delay: .1s; }
.modal-body > *:nth-child(3) { animation-delay: .15s; }
.modal-body > *:nth-child(4) { animation-delay: .2s; }
.modal-body > *:nth-child(5) { animation-delay: .25s; }
.modal-body > *:nth-child(6) { animation-delay: .3s; }
.modal-body > *:nth-child(7) { animation-delay: .35s; }
.modal-body > *:nth-child(8) { animation-delay: .4s; }
.modal-body > *:nth-child(9) { animation-delay: .45s; }
.modal-body > *:nth-child(n+10) { animation-delay: .5s; }

@keyframes modalStagger {
  to { opacity: 1; transform: translateY(0); }
}

.modal-body p { margin-bottom: 16px; }
.modal-body p:last-child { margin-bottom: 0; }
.modal-body strong { color: var(--clr-text); font-weight: 600; }
.modal-body a { color: var(--clr-green-l); }
.modal-body a:hover { text-decoration: underline; }
.modal-body .terms_subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-top: 24px;
  margin-bottom: 8px;
}
.modal-body .terms_subtitle:first-child { margin-top: 0; }
.modal-body .terms_text { margin-bottom: 16px; }
.modal-body ol { margin: 0 0 16px 20px; }
.modal-body li { margin-bottom: 8px; }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0 24px;
  transition: background .4s, box-shadow .4s, border-color .4s;
}
#navbar::after {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(20px) saturate(1.4);
  background: var(--clr-nav-bg);
  border-bottom: 1px solid transparent;
  z-index: -1;
  transition: border-color .4s, background .4s;
}
#navbar.scrolled::after {
  background: var(--clr-nav-bg);
  border-color: var(--clr-nav-border);
  backdrop-filter: blur(24px) saturate(1.6);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.nav-logo-symbol {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity .2s;
}
.nav-logo-text-img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: invert(1) brightness(2);
  transition: filter .35s ease, opacity .2s;
}
.nav-logo:hover .nav-logo-symbol,
.nav-logo:hover .nav-logo-text-img { opacity: .8; }

[data-theme="light"] .nav-logo-text-img {
  filter: none;
}

/* ── Footer brand logo ── */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.footer-logo-symbol {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-logo-text-img {
  height: 22px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: invert(1) brightness(2);
  transition: filter .35s ease;
}
[data-theme="light"] .footer-logo-text-img {
  filter: none;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
}
.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--clr-text-2);
  transition: color .2s, background .2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0;
  height: 2px;
  background: var(--clr-green);
  transition: width .3s var(--ease-smooth), left .3s var(--ease-smooth);
  border-radius: 1px;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
  left: 20%;
}
.nav-link:hover, .nav-link.active {
  color: var(--clr-white);
  background: var(--clr-surface-h);
}

/* CTA */
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-cta {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 600;
  background: var(--clr-green);
  color: #fff;
  transition: background .2s, transform .2s var(--ease-back);
}
.nav-cta:hover { background: var(--clr-green-d); transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { opacity: 0; }

/* Mobile menu — fullscreen overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,12,24,.98);
  backdrop-filter: blur(30px) saturate(1.4);
  z-index: 899;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  padding-top: var(--nav-h);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile close button */
.mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-2);
  transition: background .2s, color .2s, transform .2s;
  z-index: 910;
}
.mobile-close:hover {
  background: var(--clr-green);
  border-color: var(--clr-green);
  color: #fff;
  transform: rotate(90deg);
}
.mobile-close svg { width: 18px; height: 18px; }

.mobile-link {
  display: block;
  padding: 18px 48px;
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--clr-text-2);
  transition: color .3s, background .3s, transform .3s;
  opacity: 0;
  transform: translateY(20px);
  transition: color .3s, background .3s, transform .3s;
}
.mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
  transition: color .3s, background .3s, transform .3s,
              opacity .4s var(--ease-smooth) var(--ms, 0s),
              transform .4s var(--ease-smooth) var(--ms, 0s);
}
.mobile-link:hover {
  color: var(--clr-white);
  background: var(--clr-surface-h);
  transform: scale(1.05);
}

[data-theme="light"] .mobile-menu {
  background: rgba(248,250,251,.98);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.section--hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s var(--ease-smooth), transform 6s linear;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(8,12,24,.85) 45%, rgba(8,12,24,.3) 100%),
    linear-gradient(to top,   rgba(8,12,24,.6) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--nav-h);
}
.hero-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clr-green);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--clr-white);
  margin-bottom: 20px;
  text-shadow: 0 0 60px rgba(16,185,129,.15);
}
.hero-title em {
  font-style: italic;
  font-weight: 700;
  text-shadow: 0 0 60px rgba(16,185,129,.25);
}
.hero-title em .split-char {
  background: linear-gradient(135deg, var(--clr-green-l), var(--clr-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(232,237,245,.7);
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dots {
  position: absolute;
  bottom: 80px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: 1.5px solid rgba(255,255,255,.3);
  transition: width .4s var(--ease-smooth), background .4s, border-color .4s;
}
.hero-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--clr-green);
  border-color: var(--clr-green);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 36px; right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll-hint span {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--clr-text-2);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--clr-green), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(.7); }
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.section--about { background: var(--clr-bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}
.about-text .section-title { margin-bottom: 28px; }

.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: background .3s, border-color .3s, transform .3s var(--ease-smooth);
}
.info-card:hover {
  background: var(--clr-surface-h);
  border-color: var(--clr-border-h);
  transform: translateY(-3px);
}
.info-card-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(16,185,129,.12);
  color: var(--clr-green);
}
.info-card-icon svg { width: 18px; height: 18px; }
.info-card-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-text-3);
  display: block;
  margin-bottom: 4px;
}
.info-card-value {
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-text);
  line-height: 1.5;
}
.info-card-value small { color: var(--clr-text-2); font-size: .8rem; }

.chairman-block {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
  padding: 48px;
  background: var(--clr-chairman-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.chairman-block::before {
  content: '"';
  position: absolute;
  top: -20px; left: 40px;
  font-family: var(--font-display);
  font-size: 16rem;
  line-height: 1;
  color: var(--clr-green);
  opacity: .06;
  pointer-events: none;
}
.chairman-label .eyebrow { margin-bottom: 20px; }
.chairman-sig {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.signature-handwritten {
  font-family: 'Alex Brush', cursive;
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--clr-gold-l);
  opacity: 0.85;
  transform: rotate(-3deg) translateY(-2px);
  user-select: none;
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(212,168,83,0.25);
  transition: opacity .3s, transform .3s, text-shadow .3s;
}
.signature-handwritten:hover {
  opacity: 1;
  transform: rotate(-3deg) scale(1.05) translateY(-2px);
  text-shadow: 0 0 15px rgba(240,201,122,0.65), 0 0 25px rgba(240,201,122,0.35);
}
.signature-info {
  font-size: .85rem;
  color: var(--clr-text-2);
  line-height: 1.4;
}
.chairman-quote p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.8;
  color: var(--clr-quote-text);
  margin-bottom: 20px;
}
.chairman-quote p:last-of-type { margin-bottom: 0; }
.chairman-date {
  display: block;
  margin-top: 24px;
  font-size: .8rem;
  color: var(--clr-text-3);
  letter-spacing: .05em;
}

/* ══════════════════════════════════════
   PHILOSOPHY
══════════════════════════════════════ */
.section--philosophy {
  position: relative;
  background: var(--clr-bg);
  overflow: hidden;
}
.philo-orb {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.04;
  z-index: 0;
  transition: opacity .5s ease;
}
.philo-orb-1 {
  top: -10%;
  left: -5%;
  background: var(--clr-green);
}
.philo-orb-2 {
  bottom: -15%;
  right: -5%;
  background: var(--clr-gold);
}
[data-theme="light"] .philo-orb {
  opacity: 0.015;
}

/* Card Background Watermark */
.card-watermark {
  position: absolute;
  right: 16px;
  bottom: -20px;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  font-style: italic;
  color: var(--clr-text);
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: transform .5s var(--ease-smooth), opacity .5s var(--ease-smooth), color .5s var(--ease-smooth);
}

.philo-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 56px;
}
.philo-grid--4 { grid-template-columns: repeat(4, 1fr); }

.philo-card {
  padding: 32px 24px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: background .3s, border-color .3s, transform .4s var(--ease-smooth), box-shadow .4s;
  position: relative;
  overflow: hidden;
  transform: translateY(0) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
}
.philo-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-green), var(--clr-gold));
  transform: scaleX(0);
  transition: transform .4s var(--ease-smooth);
}
.philo-card:hover {
  background: var(--clr-surface-h);
  border-color: var(--clr-green-a);
  transform: translateY(-6px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  box-shadow: 0 0 30px rgba(16,185,129,.15);
}
.philo-card:hover::after { transform: scaleX(1); }
.philo-card:hover .card-watermark {
  opacity: 0.08;
  transform: translateY(-6px) scale(1.05);
  color: var(--clr-green-l);
}
.philo-card .philo-icon,
.philo-card .philo-word,
.philo-card .philo-ko,
.philo-card .philo-desc {
  position: relative;
  z-index: 1;
}

.philo-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: rgba(16,185,129,.12);
  color: var(--clr-green);
  transition: background .3s;
}
.philo-card:hover .philo-icon { background: var(--clr-green-a-h); }
.philo-icon svg { width: 24px; height: 24px; }

.philo-word {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 6px;
}
.philo-ko {
  font-size: .8rem;
  color: var(--clr-green);
  letter-spacing: .05em;
  margin-bottom: 12px;
}
.philo-desc {
  font-size: .875rem;
  color: var(--clr-text-2);
  line-height: 1.6;
}

.philo-section { margin-bottom: 48px; }
.philo-section:last-child { margin-bottom: 0; }
.philo-section-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--clr-white);
  margin-bottom: 20px;
}

.value-card {
  padding: 24px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: background .3s, border-color .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.value-card:hover {
  background: var(--clr-surface-h);
  border-color: var(--clr-gold-a);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(212,168,83,.12);
}
.value-card:hover .card-watermark {
  opacity: 0.08;
  transform: translateY(-6px) scale(1.05);
  color: var(--clr-gold-l);
}
.value-card h4,
.value-card p,
.value-card .value-icon {
  position: relative;
  z-index: 1;
}
.value-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(212,168,83,.08);
  color: var(--clr-gold);
  margin-bottom: 16px;
  transition: background .3s, transform .3s;
}
.value-card:hover .value-icon {
  background: rgba(212,168,83,.18);
  transform: scale(1.05);
}
.value-icon svg {
  width: 18px;
  height: 18px;
}
.value-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 8px;
}
.value-card p { font-size: .875rem; color: var(--clr-text-2); line-height: 1.6; }

.mission-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.mission-item {
  padding: 24px 20px;
  background: var(--clr-bg-2);
  transition: background .3s;
}
.mission-item:hover { background: var(--clr-surface-h); }
.mission-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 8px;
}
.mission-item p { font-size: .875rem; color: var(--clr-text-2); line-height: 1.6; }

/* ══════════════════════════════════════
   HISTORY / TIMELINE
══════════════════════════════════════ */
.section--history { background: var(--clr-bg-2); }

.timeline {
  position: relative;
  max-width: 800px;
  margin: 48px auto 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 80px;
  width: 1px;
  background: linear-gradient(to bottom, var(--clr-green), transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 32px;
  padding-bottom: 40px;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }

.tl-year {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-green);
  text-align: right;
  padding-top: 2px;
  position: relative;
}
.tl-year::after {
  content: '';
  position: absolute;
  top: 8px; right: -40px;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--clr-green);
  background: var(--clr-bg-2);
  transition: background .3s;
}
.timeline-item:hover .tl-year::after { background: var(--clr-green); }

.tl-body {
  padding: 4px 20px;
  font-size: .95rem;
  color: var(--clr-text-2);
  line-height: 1.7;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: background .3s, border-color .3s;
}
.tl-body:hover { background: var(--clr-surface-h); border-color: var(--clr-border-h); }
.tl-body strong { color: var(--clr-text); font-weight: 600; }

[data-theme="light"] .timeline::before {
  background: linear-gradient(to bottom, var(--clr-green), transparent);
}
[data-theme="light"] .tl-year::after {
  background: var(--clr-bg-2);
}

/* ══════════════════════════════════════
   BUSINESS AREAS
══════════════════════════════════════ */
.section--business { background: var(--clr-bg); }

.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.biz-card {
  padding: 36px 28px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: background .3s, border-color .3s, transform .4s var(--ease-smooth), box-shadow .4s;
  position: relative;
  overflow: hidden;
  transform: translateY(0) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
}
.biz-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-green), var(--clr-green-l));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-smooth);
}
.biz-card:hover {
  background: var(--clr-surface-h);
  border-color: rgba(16,185,129,.25);
  transform: translateY(-8px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.biz-card:hover::before { transform: scaleX(1); }

.biz-card-icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(16,185,129,.12);
  color: var(--clr-green);
  margin-bottom: 20px;
  transition: background .3s;
}
.biz-card:hover .biz-card-icon { background: rgba(16,185,129,.22); }
.biz-card-icon svg { width: 22px; height: 22px; }
.biz-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 12px;
}
.biz-card p { font-size: .9rem; color: var(--clr-text-2); line-height: 1.7; }

/* ══════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════ */
.section--portfolio { background: var(--clr-bg-3); }
.section--portfolio .container { margin-bottom: 48px; }
.section--portfolio .section-sub { margin-bottom: 0; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.port-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: transform .4s var(--ease-smooth), box-shadow .4s;
  transform: translateY(0) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
}
.port-card:hover {
  transform: translateY(-6px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.port-card--featured {
  grid-column: span 2;
  min-height: 420px;
}

.port-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s var(--ease-smooth);
  pointer-events: none;
}
.port-card:hover .port-card-bg {
  transform: scale(1.06) translate(var(--parallax-x), var(--parallax-y));
}

.port-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,12,24,.9) 0%, rgba(8,12,24,.3) 60%, transparent 100%);
}

.port-card-content {
  position: relative;
  z-index: 2;
  padding: 12px 20px;
  margin: 16px 16px 12px;
  background: rgba(8, 12, 24, 0.18);
  backdrop-filter: blur(6px) saturate(1.1);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: background-color .4s var(--ease-smooth),
              border-color .4s var(--ease-smooth),
              box-shadow .4s var(--ease-smooth),
              backdrop-filter .4s var(--ease-smooth),
              padding .4s var(--ease-smooth),
              margin .4s var(--ease-smooth);
}

/* PC와 모바일 공통: 평소 상세 정보(설명글, 뱃지, 메타)를 숨김 처리 */
.port-card .port-badge {
  display: none;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
  transform: translateY(10px);
  transition: max-height .4s var(--ease-smooth),
              opacity .25s ease,
              transform .4s var(--ease-smooth),
              margin .4s var(--ease-smooth);
}

.port-card p,
.port-card .port-meta {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  transform: translateY(14px);
  transition: max-height .4s var(--ease-smooth),
              opacity .25s ease,
              transform .4s var(--ease-smooth),
              margin .4s var(--ease-smooth);
}

.port-card h3 {
  margin-bottom: 0;
  transition: margin .4s var(--ease-smooth);
}

/* 마우스 호버 시 및 모바일 터치 액티브 시 상세 정보 부드럽게 노출 */
.port-card:hover .port-card-content,
.port-card.active .port-card-content {
  background: rgba(8, 12, 24, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 20px 20px 18px;
  margin-bottom: 16px;
}

.port-card:hover .port-badge,
.port-card.active .port-badge {
  display: inline-flex;
  max-height: 36px;
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 12px;
}

.port-card:hover p,
.port-card.active p {
  max-height: 240px;
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 16px;
}

.port-card:hover .port-meta,
.port-card.active .port-meta {
  max-height: 80px;
  opacity: 1;
  transform: translateY(0);
}

.port-card:hover h3,
.port-card.active h3 {
  margin-bottom: 12px;
}

.port-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--clr-green);
  color: #fff;
  margin-bottom: 12px;
}
.port-badge--teal { background: rgba(16,185,129,.25); border: 1px solid var(--clr-green); color: var(--clr-green-l); }
.port-badge--gold { background: rgba(212,168,83,.2); border: 1px solid var(--clr-gold); color: var(--clr-gold-l); }
.port-badge--outline { background: transparent; border: 1px solid var(--clr-border-h); color: var(--clr-text-2); }

.port-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--clr-white);
  line-height: 1.25;
}
.port-card--featured h3 { font-size: 1.9rem; }
.port-card p { font-size: .875rem; color: rgba(232,237,245,.75); line-height: 1.6; margin-bottom: 16px; }
.port-card--text p { color: var(--clr-text-2); }
.port-card--text h3 { color: var(--clr-white); }

.port-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.port-meta-item { font-size: .8rem; color: rgba(232,237,245,.65); }
.port-card--text .port-meta-item { color: var(--clr-text-3); }

/* ══════════════════════════════════════
   CORPORATE IDENTITY
══════════════════════════════════════ */
.section--identity { background: var(--clr-bg-2); }

.ci-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 48px;
}

.ci-logo-display {
  text-align: center;
  padding: 40px 32px 28px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ci-logo-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  mix-blend-mode: multiply;
  transition: transform .4s var(--ease-smooth), opacity .3s;
}
.ci-logo-img:hover {
  transform: scale(1.04);
  opacity: .9;
}

[data-theme="light"] .ci-logo-img {
  mix-blend-mode: normal;
}

.ci-tagline-label { font-size: .8rem; color: var(--clr-text-2); letter-spacing: .1em; }

.ci-meanings { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ci-meaning-item {
  padding: 24px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: background .3s, border-color .3s;
}
.ci-meaning-item:hover { background: var(--clr-surface-h); border-color: var(--clr-border-h); }
.ci-meaning-item dt {
  font-size: .95rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 8px;
}
.ci-meaning-item dd { font-size: .875rem; color: var(--clr-text-2); line-height: 1.6; }

/* ══════════════════════════════════════
   PEOPLE / CAREERS
══════════════════════════════════════ */
.section--people { background: var(--clr-bg); }

.people-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.people-text .section-title { margin-bottom: 24px; }

.careers { padding: 36px; background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: var(--radius-lg); }
.careers-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 20px;
}

.career-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.career-item {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s;
}
.career-item[open] { border-color: var(--clr-green); }
.career-item summary {
  padding: 14px 20px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .2s;
}
.career-item summary:hover { color: var(--clr-green); }
.career-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--clr-text-3);
  transition: transform .3s, color .2s;
}
.career-item[open] summary::after { transform: rotate(45deg); color: var(--clr-green); }
.career-detail {
  padding: 0 20px 16px;
  font-size: .875rem;
  color: var(--clr-text-2);
  line-height: 1.7;
}
.career-detail p + p { margin-top: 8px; }

.career-apply {
  padding-top: 20px;
  border-top: 1px solid var(--clr-border);
}
.career-apply > p {
  font-size: .875rem;
  color: var(--clr-text-2);
  line-height: 1.7;
  margin-bottom: 16px;
}
.career-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.section--contact { background: var(--clr-bg-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: background .3s, border-color .3s, transform .3s;
}
.contact-card:hover {
  background: var(--clr-surface-h);
  border-color: var(--clr-border-h);
  transform: translateX(4px);
}
.contact-card-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(16,185,129,.12);
  color: var(--clr-green);
}
.contact-card-icon svg { width: 18px; height: 18px; }
.contact-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-text-3);
  display: block;
  margin-bottom: 4px;
}
.contact-card dd {
  font-size: .9rem;
  color: var(--clr-text);
  line-height: 1.6;
}
.contact-card a { color: var(--clr-green-l); transition: color .2s; }
.contact-card a:hover { color: var(--clr-white); }

.contact-team {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.contact-team-title {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
}
.contact-table {
  width: 100%;
  border-collapse: collapse;
}
.contact-table th {
  padding: 12px 24px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-text-3);
  text-align: left;
  background: rgba(0,0,0,.2);
  border-bottom: 1px solid var(--clr-border);
}
.contact-table td {
  padding: 14px 24px;
  font-size: .9rem;
  color: var(--clr-text-2);
  border-bottom: 1px solid var(--clr-border);
}
.contact-table tr:last-child td { border-bottom: none; }
.contact-table tr:hover td { background: rgba(255,255,255,.03); }
.contact-table a { color: var(--clr-green-l); transition: color .2s; }
.contact-table a:hover { color: var(--clr-white); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 28px;
}
.footer-logo-mark svg { width: 32px; height: 32px; color: var(--clr-green); }
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--clr-white);
}
.footer-tagline {
  font-size: .875rem;
  color: var(--clr-text-3);
  font-style: italic;
  max-width: 500px;
}

.footer-mid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav, .footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a, .footer-legal a {
  font-size: .875rem;
  color: var(--clr-text-2);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--clr-green); }
.footer-legal a:hover { color: var(--clr-white); }
.footer-legal { gap: 16px; }
.footer-legal a { font-size: .8rem; color: var(--clr-text-3); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy { font-size: .8rem; color: var(--clr-text-3); }
.footer-offices { font-size: .8rem; color: var(--clr-text-3); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-cards { grid-template-columns: repeat(2, 1fr); }
  .chairman-block { grid-template-columns: 1fr; gap: 32px; }

  .philo-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .mission-row { grid-template-columns: repeat(2, 1fr); }

  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .port-card--featured { grid-column: span 2; }

  .ci-grid { grid-template-columns: 1fr; gap: 48px; }
  .ci-logo-display { max-width: 280px; margin: 0 auto; }

  .people-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 60px; --nav-h: 60px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }

  .hero-content { max-width: none; padding: 0 24px; padding-top: var(--nav-h); }
  .hero-title { font-size: clamp(2.8rem, 12vw, 4rem); }
  .hero-subtitle { max-width: none; }

  .about-cards { grid-template-columns: 1fr; }
  .philo-grid--4 { grid-template-columns: 1fr 1fr; }
  .mission-row { grid-template-columns: 1fr 1fr; }

  .biz-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .port-card--featured { grid-column: auto; }

  .ci-meanings { grid-template-columns: 1fr; }
  .timeline::before { left: 60px; }
  .timeline-item { grid-template-columns: 60px 1fr; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-mid { flex-direction: column; align-items: flex-start; }
  
  /* Mobile link smaller on 768px */
  .mobile-link { font-size: 1.2rem; padding: 14px 32px; }
}

@media (max-width: 480px) {
  .philo-grid--4 { grid-template-columns: 1fr; }
  .mission-row { grid-template-columns: 1fr; }
  .timeline::before { left: 40px; }
  .timeline-item { grid-template-columns: 40px 1fr; gap: 0 20px; }
  .tl-year::after { right: -28px; }
  .mobile-link { font-size: 1.1rem; padding: 12px 24px; }
}

/* ══════════════════════════════════════
   LIGHT THEME OVERRIDES
══════════════════════════════════════ */
[data-theme="light"] body {
  background: var(--clr-bg);
  color: var(--clr-text);
}

[data-theme="light"] .hero-overlay {
  background:
    linear-gradient(to right, rgba(248,250,251,.78) 40%, rgba(248,250,251,.2) 100%),
    linear-gradient(to top,   rgba(248,250,251,.5) 20%, transparent 55%);
}
[data-theme="light"] .hero-title { color: #0f172a; }
[data-theme="light"] .hero-title em {
  background: linear-gradient(135deg, var(--clr-green), var(--clr-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .hero-eyebrow  { color: var(--clr-green); }
[data-theme="light"] .hero-subtitle { color: rgba(15,23,42,.65); }

[data-theme="light"] .port-card-overlay {
  background: linear-gradient(to top, rgba(248, 250, 251, 0.1) 0%, transparent 100%);
}
[data-theme="light"] .port-card-content {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
[data-theme="light"] .port-card:hover .port-card-content,
[data-theme="light"] .port-card.active .port-card-content {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .port-card h3 { color: var(--clr-text); }
[data-theme="light"] .port-card p  { color: var(--clr-text-2); }
[data-theme="light"] .port-meta-item { color: var(--clr-text-3); }

[data-theme="light"] .info-card,
[data-theme="light"] .philo-card,
[data-theme="light"] .value-card,
[data-theme="light"] .biz-card,
[data-theme="light"] .ci-meaning-item,
[data-theme="light"] .contact-card {
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
[data-theme="light"] .info-card:hover,
[data-theme="light"] .philo-card:hover,
[data-theme="light"] .biz-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
}

[data-theme="light"] .section--about    { background: var(--clr-bg-2); }
[data-theme="light"] .section--history  { background: var(--clr-bg-2); }
[data-theme="light"] .section--identity { background: var(--clr-bg-2); }
[data-theme="light"] .section--contact  { background: var(--clr-bg-2); }

[data-theme="light"] .site-footer {
  background: #edf2f7;
  border-top-color: var(--clr-border);
}

[data-theme="light"] #scroll-progress {
  background: linear-gradient(90deg, var(--clr-green), var(--clr-gold));
}

[data-theme="light"] .scroll-line {
  background: linear-gradient(to bottom, var(--clr-green), transparent);
}

[data-theme="light"] .mobile-menu {
  background: rgba(248,250,251,.98);
  border-bottom-color: var(--clr-border);
}

[data-theme="light"] .contact-table th { background: rgba(0,0,0,.04); }
[data-theme="light"] .contact-table tr:hover td { background: rgba(0,0,0,.02); }

[data-theme="light"] .career-item {
  background: var(--clr-bg);
}
[data-theme="light"] .career-item[open] {
  border-color: var(--clr-green);
  background: rgba(5,150,105,.04);
}

[data-theme="light"] .signature-handwritten {
  color: var(--clr-gold);
  text-shadow: 0 0 10px rgba(184,137,31,0.15);
}
[data-theme="light"] .signature-handwritten:hover {
  text-shadow: 0 0 15px rgba(184,137,31,0.5), 0 0 25px rgba(184,137,31,0.2);
}
[data-theme="light"] .card-watermark {
  color: var(--clr-text-3);
  opacity: 0.090;
}
[data-theme="light"] .philo-card:hover .card-watermark {
  opacity: 0.12;
  color: var(--clr-green);
}
[data-theme="light"] .value-card:hover .card-watermark {
  opacity: 0.12;
  color: var(--clr-gold);
}


/* ══════════════════════════════════════
   18. FLOATING BOTTOM NAV & MOBILE ACCOMPANIMENTS
══════════════════════════════════════ */
/* Default hides bottom-nav on Desktop */
.bottom-nav {
  display: none;
}
.btn-chairman-more {
  display: none;
}
.btn-timeline-more {
  display: none;
}

/* Mobile responsive alterations (768px and down) */
@media (max-width: 768px) {
  /* Hide the desktop/mobile burger and header menu to avoid redundancy */
  .nav-hamburger, .mobile-menu {
    display: none !important;
  }
  .nav-cta {
    display: none !important;
  }
  
  /* Secure space at the bottom of the page to prevent overlapping with bottom-nav */
  .site-footer {
    padding-bottom: 96px !important;
  }

  /* 🃏 SLIM CARD HORIZONTAL ICON LAYOUTS (Saving Vertical Space) */
  /* Philosophy Card Slim */
  .philo-card {
    display: grid !important;
    grid-template-areas: 
      "icon title sub"
      "desc desc desc";
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 8px 12px;
    padding: 20px !important;
    text-align: left !important;
  }
  .philo-icon {
    grid-area: icon;
    margin: 0 !important;
    width: 44px !important;
    height: 44px !important;
  }
  .philo-word {
    grid-area: title;
    margin: 0 !important;
    font-size: 1.15rem !important;
    text-align: left !important;
  }
  .philo-ko {
    grid-area: sub;
    margin: 0 0 0 4px !important;
    font-size: 0.82rem !important;
    color: var(--clr-green-l);
    align-self: center;
    white-space: nowrap;
  }
  [data-theme="light"] .philo-ko {
    color: var(--clr-green);
  }
  .philo-desc {
    grid-area: desc;
    margin: 4px 0 0 0 !important;
    font-size: 0.88rem !important;
  }

  /* Core Values Card Slim */
  .value-card {
    display: grid !important;
    grid-template-areas: 
      "icon title"
      "desc desc";
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px 16px;
    padding: 20px !important;
    text-align: left !important;
  }
  .value-icon {
    grid-area: icon;
    margin: 0 !important;
    width: 40px !important;
    height: 40px !important;
  }
  .value-card h4 {
    grid-area: title;
    margin: 0 !important;
    font-size: 1.12rem !important;
    text-align: left !important;
  }
  .value-card p {
    grid-area: desc;
    margin: 0 !important;
    font-size: 0.88rem !important;
  }

  /* What We Do (Business Card) Slim */
  .biz-grid {
    grid-template-columns: 1fr !important; /* 1열 배치 */
    gap: 14px !important;
  }
  .biz-card {
    display: grid !important;
    grid-template-areas: 
      "icon title"
      "desc desc";
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px 16px;
    padding: 22px 20px !important;
    text-align: left !important;
  }
  .biz-card-icon {
    grid-area: icon;
    margin: 0 !important;
    width: 44px !important;
    height: 44px !important;
  }
  .biz-card h3 {
    grid-area: title;
    margin: 0 !important;
    font-size: 1.15rem !important;
    text-align: left !important;
  }
  .biz-card p {
    grid-area: desc;
    margin: 0 !important;
    font-size: 0.88rem !important;
  }

  /* 💡 FLOATING BOTTOM NAV BAR */
  .bottom-nav {
    display: block;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 440px;
    height: 62px;
    background: rgba(8, 12, 24, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(1.4);
    border-radius: 30px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 999;
    transition: transform 0.4s var(--ease-smooth), opacity 0.4s var(--ease-smooth);
  }
  [data-theme="light"] .bottom-nav {
    background: rgba(248, 250, 251, 0.85);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }
  .bottom-nav-inner {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 0 6px;
  }
  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--clr-text-2);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 500;
    width: 20%;
    height: 100%;
    transition: color 0.3s var(--ease-smooth);
    -webkit-tap-highlight-color: transparent;
  }
  .bottom-nav-item svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease-back);
  }
  .bottom-nav-item.active {
    color: var(--clr-green-l);
  }
  [data-theme="light"] .bottom-nav-item.active {
    color: var(--clr-green);
  }
  .bottom-nav-item.active svg {
    transform: translateY(-2px);
  }
  /* Active indicator dot */
  .bottom-nav-dot {
    position: absolute;
    bottom: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--clr-green-l);
    box-shadow: 0 0 8px var(--clr-green-l);
    left: 0;
    transition: left 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
    pointer-events: none;
  }
  [data-theme="light"] .bottom-nav-dot {
    background: var(--clr-green);
    box-shadow: none;
  }

  /* ✍️ CHAIRMAN MESSAGE ACCORDION */
  .chairman-more-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s var(--ease-smooth), opacity 0.6s var(--ease-smooth);
  }
  .chairman-quote {
    position: relative;
    padding-bottom: 24px;
  }
  /* Fade-out mask on 2nd paragraph */
  .chairman-quote::after {
    content: '';
    position: absolute;
    bottom: 64px;
    left: 0; right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--clr-bg-2));
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 1;
  }
  [data-theme="light"] .chairman-quote::after {
    background: linear-gradient(to bottom, transparent, var(--clr-bg-2));
  }
  .chairman-quote.expanded::after {
    opacity: 0;
  }
  .chairman-quote.expanded .chairman-more-content {
    max-height: 800px;
    opacity: 1;
    margin-bottom: 20px;
  }
  .btn-chairman-more {
    display: inline-flex;
    align-items: center;
    background: none;
    border: 1px solid var(--clr-green-a);
    color: var(--clr-green-l);
    padding: 8px 18px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 18px;
    cursor: pointer;
    margin: 12px 0 20px;
    transition: all 0.3s var(--ease-smooth);
  }
  [data-theme="light"] .btn-chairman-more {
    border-color: var(--clr-green-a);
    color: var(--clr-green);
  }
  .btn-chairman-more:hover {
    background: var(--clr-green-a-h);
    border-color: var(--clr-green);
  }

  /* ✉️ CONTACT TABLE RESPONSIVE CARD CONVERSION */
  .contact-table {
    border: none !important;
  }
  .contact-table thead {
    display: none !important; /* 모바일에서는 테이블 헤더를 숨김 */
  }
  .contact-table table, 
  .contact-table tbody, 
  .contact-table tr, 
  .contact-table td {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
  }
  .contact-table tr {
    padding: 16px 20px !important; /* 좌우 패딩을 주어 벽에 닿는 현상 완벽 방지 */
    border-bottom: 1px solid var(--clr-border) !important;
    position: relative;
  }
  .contact-table tr:last-child {
    border-bottom: none !important;
  }
  .contact-table td {
    padding: 2px 0 !important;
    border: none !important;
  }
  .contact-table td:nth-child(1) {
    font-weight: 600 !important;
    color: var(--clr-text) !important;
    font-size: 0.95rem !important;
  }
  .contact-table td:nth-child(2) {
    color: var(--clr-text-2) !important;
    font-size: 0.88rem !important;
    margin-bottom: 4px !important;
  }
  .contact-table td:nth-child(2)::before {
    content: 'Contact: ';
    color: var(--clr-text-3);
    font-size: 0.82rem;
  }
  .contact-table td:nth-child(3) {
    font-size: 0.9rem !important;
    word-break: break-all !important;
    margin-top: 6px !important;
  }
  .contact-table td:nth-child(3) a {
    color: var(--clr-green-l) !important;
    display: inline-block !important;
    font-weight: 500 !important;
    transition: color 0.3s;
  }
  [data-theme="light"] .contact-table td:nth-child(3) a {
    color: var(--clr-green) !important;
  }

  /* ⏳ TIMELINE ACCORDION */
  .timeline-more-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.8s var(--ease-smooth), opacity 0.8s var(--ease-smooth), margin-bottom 0.8s;
  }
  .timeline {
    position: relative;
    padding-bottom: 12px;
  }
  /* Fade-out mask on 1996 timeline item */
  .timeline::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: 0; right: 0;
    height: 70px;
    background: linear-gradient(to bottom, transparent 0%, var(--clr-bg-2) 90%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 1;
    z-index: 5;
  }
  [data-theme="light"] .timeline::after {
    background: linear-gradient(to bottom, transparent 0%, var(--clr-bg-2) 90%);
  }
  .timeline.expanded::after {
    opacity: 0;
  }
  .timeline.expanded .timeline-more-content {
    max-height: 2500px;
    opacity: 1;
    margin-bottom: 24px;
  }
  .btn-timeline-more {
    display: inline-flex;
    align-items: center;
    background: none;
    border: 1px solid var(--clr-green-a);
    color: var(--clr-green-l);
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 18px;
    cursor: pointer;
    margin: 16px auto 16px;
    display: flex;
    justify-content: center;
    width: fit-content;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    z-index: 10;
  }
  [data-theme="light"] .btn-timeline-more {
    border-color: var(--clr-green-a);
    color: var(--clr-green);
  }
  .btn-timeline-more:hover {
    background: var(--clr-green-a-h);
    border-color: var(--clr-green);
  }

  /* 💼 PORTFOLIO HORIZONTAL SLIM STRIPS */
  .portfolio-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .port-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 86px !important; /* 닫혔을 때 정밀 고정 높이 */
    min-height: 0 !important;
    overflow: hidden;
    border-radius: var(--radius-md) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: height 0.4s var(--ease-smooth), border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
  }
  [data-theme="light"] .port-card {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  }
  
  /* Background image strip mix effect */
  .port-card-bg {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0.48; /* 닫혀있을 때도 이미지가 고급스럽게 보이도록 투명도 상향 */
    filter: none !important; /* 흐려지며 하얗게 죽던 블러 현상 완벽 제거 */
    transition: opacity 0.5s var(--ease-smooth), filter 0.5s, transform 0.8s var(--ease-smooth);
  }
  .port-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 24, 0.56) !important; /* 네이비 틴트 오버레이 투명화 */
    transition: background 0.5s ease;
  }
  [data-theme="light"] .port-card-overlay {
    background: rgba(240, 242, 245, 0.42) !important; /* 맑고 산뜻하게 그림이 뚫려 보이도록 교정 */
  }

  .port-card-content {
    position: relative;
    z-index: 2;
    padding: 0 20px !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 세로 중앙 정렬 보장 */
    height: 86px !important;
    transition: all 0.4s var(--ease-smooth);
  }
  
  .port-card h3 {
    font-size: 1.05rem !important;
    margin: 0 !important;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    transition: text-shadow 0.3s;
  }
  [data-theme="light"] .port-card h3 {
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 0 1px rgba(0, 0, 0, 0.05);
    color: #1e293b !important;
  }
  
  /* 닫힌 상태에서 상세 요소는 강제로 숨겨 겹침 방지 */
  .port-card:not(.active) .port-badge,
  .port-card:not(.active) p,
  .port-card:not(.active) .port-card-desc,
  .port-card:not(.active) .port-card-meta,
  .port-card:not(.active) .port-meta {
    display: none !important;
    max-height: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 💡 ACTIVE (터치 탭 확장 상태) */
  .port-card.active {
    height: 380px !important; /* 이미지와 상세 글이 다 드러나도록 높이 확장 */
    max-height: none !important;
    border-color: var(--clr-green-a);
  }
  
  /* 확장되었을 때 사진이 완전히 선명하고 쨍하게 노출되도록 튜닝 */
  .port-card.active .port-card-bg {
    opacity: 1.0 !important; /* 투명도를 100%로 설정하여 쨍한 본래 화질 확보 */
    filter: none !important;
  }
  .port-card.active .port-card-overlay {
    /* 사진 상단 영역은 완전히 투명하게 날려 쨍하게 보여주고 글자가 위치한 하단만 그라데이션 어둡기 제공 */
    background: linear-gradient(to top, rgba(8,12,24,0.85) 0%, rgba(8,12,24,0.15) 50%, transparent 100%) !important;
  }
  [data-theme="light"] .port-card.active .port-card-overlay {
    background: linear-gradient(to top, rgba(240,242,245,0.85) 0%, rgba(240,242,245,0.15) 50%, transparent 100%) !important;
  }

  .port-card.active .port-card-content {
    /* 뒷배경의 사진을 뿌옇게 가려버리던 backdrop-filter 블러 효과를 완전히 제거 */
    margin: auto 16px 16px !important;
    padding: 16px 20px !important;
    height: auto !important;
    background: rgba(8, 12, 24, 0.72) !important; /* 블러 대신 반투명 단색 박스로 가독성 처리 */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
  }
  [data-theme="light"] .port-card.active .port-card-content {
    background: rgba(255, 255, 255, 0.88) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  }
  
  .port-card.active .port-badge {
    display: inline-block !important;
    max-height: 40px !important;
    opacity: 1 !important;
    margin-bottom: 8px !important;
  }
  .port-card.active .port-card-desc {
    display: block !important;
    opacity: 1 !important;
    max-height: 180px !important;
    margin-bottom: 12px !important;
  }
  .port-card.active .port-card-meta {
    display: flex !important;
    opacity: 1 !important;
    max-height: 40px !important;
  }
}