/* ── SECTION COMMON ── */
section { padding: 7rem 5vw; }
.s-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.2em; color: var(--accent);
  text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin-bottom: 0.8rem;
}
.s-tag::before { content:''; width: 28px; height: 1px; background: var(--accent); }
.s-title { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 900; line-height: 1.12; letter-spacing: -0.04em; margin-bottom: 1rem; }
.s-sub { font-size: 0.95rem; color: var(--gray); line-height: 1.85; max-width: 560px; }

/* ── HERO ── */
#hero {
  min-height: 60vh; padding-top: 68px;
  background: var(--white); position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
}
.hero-glow  { position:absolute; left:-100px; top:-100px; width:600px; height:500px; background:radial-gradient(ellipse,rgba(232,92,44,0.08) 0%,transparent 70%); pointer-events:none; z-index:1; }
.hero-glow2 { position:absolute; right:0; bottom:0; width:400px; height:300px; background:radial-gradient(ellipse,rgba(26,170,152,0.06) 0%,transparent 70%); pointer-events:none; z-index:1; }
.hero-content {
  position: relative; z-index: 2;
  padding: 6rem 5vw; max-width: 860px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-dim); border: 1px solid rgba(232,92,44,0.3);
  padding: 0.35rem 0.9rem; border-radius: 100px;
  font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.14em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 1.8rem;
}
.hero-eyebrow::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--accent); }
.hero-h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 900;
  line-height: 1.08; letter-spacing: -0.04em; color: #fff; margin-bottom: 1.4rem;
}
.hero-h1 .outline { -webkit-text-stroke: 1.5px rgba(255,255,255,0.22); opacity:1; }
.hero-h1 .highlight { color: var(--accent); }
.hero-sub { font-size: 1rem; line-height: 1.9; color: rgba(255,255,255,0.5); max-width: 480px; margin-bottom: 3rem; }
.hero-kpi { display: flex; gap: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.kpi-num { color:white; font-family: 'DM Mono', monospace; font-size: 1.8rem; font-weight: 500; color: #fff; line-height: 1; margin-bottom: 0.25rem; }
.kpi-num b { color: var(--accent); font-weight: 500; }
.kpi-label { font-size: 0.75rem; color: rgba(255,255,255,0.38); }

/* ── TICKER ── */
.ticker {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2); overflow: hidden; padding: 0.75rem 0;
}
.ticker-inner { display: flex; gap: 4rem; animation: ticker-move 30s linear infinite; width: max-content; }
.ticker-item {
  font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 0.15em;
  color: rgba(0,0,0,0.28); text-transform: uppercase; white-space: nowrap;
  display: flex; align-items: center; gap: 1.2rem;
}
.ticker-item::after { content:'·'; color: var(--accent); font-size: 1rem; }
@keyframes ticker-move { to { transform: translateX(-50%); } }

/* ── GREETING ── */
#greeting { background: var(--bg2); }
.greeting-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; margin-top: 4rem; }
.greeting-text p { font-size: 0.92rem; line-height: 1.95; color: var(--gray); margin-bottom: 1.2rem; }
.greeting-text p:last-child { margin-bottom: 0; }
.greeting-text strong { color: var(--white); font-weight: 700; }
.values-stack { display: flex; flex-direction: column; gap: 0.8rem; }
.value-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 10px;
  padding: 1.2rem 1.4rem; display: flex; align-items: flex-start; gap: 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.value-card:hover { border-color: rgba(232,92,44,0.25); background: var(--bg2); }
.value-icon {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: var(--accent-dim); border: 1px solid rgba(232,92,44,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.value-icon.teal { background: var(--teal-dim); border-color: rgba(26,170,152,0.25); }
.value-body h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.25rem; }
.value-body p  { font-size: 0.78rem; color: var(--gray); line-height: 1.65; }

/* ── HISTORY ── */
#history { background: var(--bg); }
.history-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 4rem; }
.timeline { position: relative; }
.tl-line {
  position: absolute; left: 62px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(232,92,44,0.06) 100%);
}
.tl-items { display: flex; flex-direction: column; }
.tl-item { display: grid; grid-template-columns: 62px 24px 1fr; align-items: flex-start; padding: 10px 0; }
.tl-year {
  font-family: 'DM Mono', monospace; font-size: 0.72rem; font-weight: 500;
  color: var(--accent); text-align: right; padding-right: 18px; padding-top: 3px;
}
.tl-dot-col { display: flex; justify-content: center; padding-top: 7px; }
.tl-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 2px solid rgba(232,92,44,0.35);
  position: relative; z-index: 1; flex-shrink: 0;
}
.tl-dot.major { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.tl-body { padding-left: 16px; }
.tl-body h4 { font-size: 0.83rem; font-weight: 700; color: var(--white); margin-bottom: 2px; line-height: 1.4; }
.tl-body p  { font-size: 0.72rem; color: var(--gray); }
.tl-highlights { display: flex; flex-direction: column; gap: 0.8rem; padding-top: 0.4rem; }
.tl-hl-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
  padding: 1.2rem 1.4rem; display: flex; align-items: center; gap: 1.2rem;
  transition: border-color 0.2s;
}
.tl-hl-card:hover { border-color: rgba(232,92,44,0.25); }
.tl-hl-year {
  font-family: 'DM Mono', monospace; font-size: 1.5rem; font-weight: 500;
  color: var(--accent); line-height: 1; flex-shrink: 0; min-width: 52px;
}
.tl-hl-body h4 { font-size: 0.83rem; font-weight: 700; margin-bottom: 3px; }
.tl-hl-body p  { font-size: 0.75rem; color: var(--gray); line-height: 1.55; }

/* ── PROJECTS ── */
#projects { background: var(--bg2); }
.proj-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem;
}
.proj-filter { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.filter-btn {
  font-size: 0.78rem; font-weight: 500; font-family: 'Noto Sans KR', sans-serif;
  padding: 0.4rem 1rem; border-radius: 6px;
  border: 1px solid var(--border); background: var(--bg3);
  color: var(--gray); cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover { color: var(--white); border-color: rgba(0,0,0,0.18); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.proj-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.proj-card {
  background: var(--bg2); padding: 1.6rem 1.5rem;
  transition: background 0.2s; position: relative;
  border-left: 3px solid transparent;
}
.proj-card:hover { background: var(--bg3); border-left-color: var(--accent); }
.proj-card.hidden { display: none; }
.proj-period { font-family: 'DM Mono', monospace; font-size: 0.68rem; color: var(--gray); margin-bottom: 0.5rem; }
.proj-name { font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; line-height: 1.3; }
.proj-type { font-size: 0.75rem; color: var(--gray); margin-bottom: 0.7rem; }
.proj-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.68rem; font-weight: 600; padding: 0.2rem 0.65rem; border-radius: 4px;
}
.tag-erp     { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(232,92,44,0.25); }
.tag-smart   { background: var(--teal-dim);   color: var(--teal);   border: 1px solid rgba(26,170,152,0.25); }
.tag-overseas{ background: rgba(245,158,11,0.08); color: #c07000; border: 1px solid rgba(200,130,0,0.22); }

/* ── LOCATION ── */
#location { background: var(--bg); }
.location-inner { display: grid; grid-template-columns: 1fr 360px; gap: 4rem; align-items: start; margin-top: 4rem; }
.map-wrap {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  height: 360px; background: var(--bg3);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.info-cards { display: flex; flex-direction: column; gap: 0.7rem; }
.info-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
  padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: flex-start;
  transition: border-color 0.2s;
}
.info-card:hover { border-color: rgba(232,92,44,0.25); }
.info-icon {
  width: 34px; height: 34px; border-radius: 7px; flex-shrink: 0;
  background: var(--accent-dim); border: 1px solid rgba(232,92,44,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}
.info-icon.teal { background: var(--teal-dim); border-color: rgba(26,170,152,0.25); }
.info-body h4 {
  font-family: 'DM Mono', monospace; font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gray); margin-bottom: 4px;
}
.info-body p  { font-size: 0.82rem; color: var(--white); line-height: 1.65; }
.info-body a  { color: var(--accent); text-decoration: none; font-weight: 700; }
.bus-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.bus-tag {
  font-family: 'DM Mono', monospace; font-size: 0.7rem;
  padding: 0.18rem 0.6rem; border-radius: 4px;
  background: var(--bg3); color: var(--gray); border: 1px solid var(--border);
}

/* ── FADE UP ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 1.5rem; }
  .nav-center { display: none; }
  section { padding: 5rem 1.5rem; }
  .greeting-inner, .history-inner, .location-inner { grid-template-columns: 1fr; gap: 3rem; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; }
}
@media (max-width: 600px) {
  .proj-grid { grid-template-columns: 1fr; }
  .hero-kpi { gap: 2rem; }
  .footer-top { grid-template-columns: 1fr; }
}