/* 제조 숙련 브릿지 — E7-4R · F2-R & manufacturing HR */
:root {
  --bg: #0c0f14;
  --bg-elevated: #12171f;
  --bg-alt: #0f1419;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-solid: #161c26;
  --text: #eef2f8;
  --text-muted: #9aa4b2;
  --accent: #3b9eff;
  --accent-dim: rgba(59, 158, 255, 0.35);
  --accent-hover: #62b0ff;
  --amber: #f5a623;
  --amber-soft: rgba(245, 166, 35, 0.2);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font-sans: "Noto Sans KR", system-ui, sans-serif;
  --font-display: "Syne", var(--font-sans);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  /* 네이티브 select 등 폼 컨트롤을 다크 테마로 (펼침 목록 시인성) */
  color-scheme: dark;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(59, 158, 255, 0.15), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(245, 166, 35, 0.06), transparent 50%),
    var(--bg);
  pointer-events: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  position: relative;
}

.container.narrow {
  width: min(720px, 100% - 2.5rem);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(12, 15, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.02rem;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 24px var(--accent-dim);
  animation: logo-pulse 4s ease-in-out infinite;
}

.logo-mark svg,
.logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes logo-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px var(--accent-dim);
  }
  50% {
    box-shadow: 0 0 32px rgba(59, 158, 255, 0.5);
  }
}

.logo-text {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text);
  margin-inline: auto;
  transition: transform 0.2s, opacity 0.2s;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

/* 히어로 등 밝은 배경 위 투명 헤더: 링크가 밝은 영역에서도 읽히도록 */
.site-header:not(.is-scrolled) .logo {
  color: #f4f7fb;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 2px 14px rgba(0, 0, 0, 0.35);
}

.site-header:not(.is-scrolled) .site-nav a:not(.nav-cta) {
  color: rgba(244, 247, 251, 0.95);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 2px 10px rgba(0, 0, 0, 0.4),
    0 0 1px rgba(0, 0, 0, 0.75);
}

.site-header:not(.is-scrolled) .site-nav a:not(.nav-cta):hover,
.site-header:not(.is-scrolled) .site-nav a:not(.nav-cta):focus-visible {
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 2px 12px rgba(0, 0, 0, 0.45);
}

.site-header:not(.is-scrolled) a.nav-current {
  color: #d2ecff !important;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 2px 12px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(0, 0, 0, 0.25);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), #2a7fd4);
  color: #fff !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 999px;
  margin-left: 0.25rem;
  box-shadow: 0 4px 20px var(--accent-dim);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: #fff !important;
  filter: brightness(1.08);
}

.site-header:not(.is-scrolled) .nav-cta {
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.4),
    0 4px 22px var(--accent-dim);
}

a.nav-current {
  color: var(--accent) !important;
  font-weight: 600;
}

.main-sub {
  padding-top: var(--header-h);
}

.page-intro {
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(59, 158, 255, 0.06), transparent);
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  text-decoration: underline;
}

.page-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.page-lead {
  margin: 0;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.section-resume-sub {
  padding-top: 2rem;
}

.back-to-site {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: 0.92rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero — 첫 화면에 본문·배경이 함께 보이도록 높이·정렬 조정 */
.hero {
  position: relative;
  min-height: clamp(460px, 78vh, 720px);
  padding: calc(var(--header-h) + clamp(1.25rem, 3.5vh, 2.25rem)) 0 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
}

@supports (height: 100svh) {
  .hero {
    min-height: clamp(460px, 78svh, 720px);
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #080b10;
}

/* 네트워크 지연·차단 시에도 공장 사진이 보이도록 CSS 배경을 항상 깔아 둠 */
.hero-bg-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0a1628;
  background-image: url("https://images.unsplash.com/photo-1683470156390-703e9313dab6?auto=format&fit=crop&w=1920&q=85");
  background-size: cover;
  background-position: center 62%;
  transform: scale(1.02);
  will-change: transform;
}

.hero-bg-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 사진 하단(토치·용접부)이 잘리지 않도록 초점을 아래쪽으로 */
  object-position: center 64%;
  transform: scale(1.02);
  will-change: transform;
  display: block;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* 왼쪽은 글자 가독용, 오른쪽은 사진이 살아 보이도록 투명도 완화 */
  background:
    linear-gradient(105deg, rgba(4, 8, 14, 0.88) 0%, rgba(4, 8, 14, 0.55) 38%, rgba(4, 8, 14, 0.35) 58%, rgba(4, 8, 14, 0.5) 100%),
    radial-gradient(ellipse 90% 70% at 85% 45%, transparent 0%, rgba(4, 8, 14, 0.25) 100%);
  pointer-events: none;
}

.hero-edge-glow {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(59, 158, 255, 0.12) 0%, transparent 35%),
    linear-gradient(0deg, rgba(245, 166, 35, 0.08) 0%, transparent 28%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000 20%, transparent 70%);
  pointer-events: none;
  animation: grid-drift 22s linear infinite;
}

@keyframes grid-drift {
  to {
    background-position: 56px 56px, 56px 56px;
  }
}

.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  animation: orb-float 18s ease-in-out infinite;
}

.orb-a {
  width: min(50vw, 420px);
  height: min(50vw, 420px);
  background: var(--accent);
  top: 10%;
  right: -10%;
}

.orb-b {
  width: min(40vw, 320px);
  height: min(40vw, 320px);
  background: var(--amber);
  bottom: 15%;
  left: -5%;
  animation-delay: -7s;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(20px, -25px) scale(1.05);
  }
  66% {
    transform: translate(-15px, 15px) scale(0.95);
  }
}

.hero-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

/* 히어로 입장 애니메이션 — .enhanced + .hero-ready 일 때만 */
.hero-enter {
  opacity: 1;
  transform: none;
  filter: none;
}

.enhanced .hero-enter {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
}

.hero.hero-ready .hero-enter {
  animation: hero-enter-in 0.95s var(--ease-out) forwards;
  animation-delay: calc(0.12s + var(--enter-i, 0) * 0.1s);
}

@keyframes hero-enter-in {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: stretch;
}

.hero-showcase {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}

@media (min-width: 900px) {
  .hero-showcase {
    margin-inline: 0 0;
    margin-left: auto;
    max-width: 100%;
  }

  .hero-showcase-img {
    max-height: min(42vh, 340px);
  }
}

.hero-showcase-frame {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #1a2838, #0e151d);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 4px 0 rgba(255, 255, 255, 0.06) inset,
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.3);
  animation: showcase-float 7s ease-in-out infinite;
}

@keyframes showcase-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.35deg);
  }
}

.hero-showcase-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: min(38vh, 320px);
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.02);
  transition: transform 0.6s var(--ease-out);
}

.hero-showcase-frame:hover .hero-showcase-img {
  transform: scale(1.08);
}

.hero-showcase-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(8, 12, 18, 0.72);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-showcase-caption {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: rgba(238, 242, 248, 0.55);
  letter-spacing: 0.04em;
  text-align: center;
  word-break: keep-all;
  line-height: 1.55;
}

.hero-showcase-caption .nobr {
  white-space: nowrap;
}

@media (min-width: 900px) {
  .hero-showcase-caption {
    text-align: right;
    padding-right: 0.35rem;
  }
}

.hero-aside .hero-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}

@media (min-width: 1100px) {
  .hero-aside .hero-panel {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    margin-inline: 0;
    width: 100%;
  }
}

.hero-aside .stat-card-glass {
  padding: 1rem 0.85rem;
  text-align: center;
  word-break: keep-all;
}

.hero-aside .stat-card-glass strong {
  font-size: 1.05rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.hero-aside .stat-card-glass span:last-child {
  font-size: 0.75rem;
  line-height: 1.35;
}

.visa-marquee-wrap {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 0.85rem;
  /* 하행 글자(g 등) 꼬리가 overflow로 잘리지 않도록 여백 */
  padding-block: 0.25rem 0.55rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.visa-marquee {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}

.visa-marquee span {
  white-space: nowrap;
}

.visa-marquee .visa-marquee-mixed {
  text-transform: none;
  letter-spacing: 0.12em;
  line-height: 1.6;
  padding-bottom: 0.08em;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.hero-copy {
  position: relative;
  max-width: min(44rem, 100%);
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 2.55rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 1.15rem;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent), #7ec8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 히어로 제목: 항상 2줄 — 각 줄 내부 줄바꿈·「연결합니다」 분리 방지 */
.hero h1 .nobr {
  white-space: nowrap;
}

.hero h1.hero-title-split {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08em;
  /* 긴 2번째 줄이 한 줄에 들어가도록 기본 제목보다 약간 작게 */
  font-size: clamp(1.22rem, 1.95vw + 0.62rem, 2.32rem);
}

.hero h1.hero-title-split .hero-title-row {
  display: block;
  white-space: nowrap;
  line-height: 1.2;
}

/* 좁은 뷰포트: 두 줄 모두 한 줄 유지 + 「를 연결합니다」 분리 방지를 위해 글자 크기 상한을 뷰 너비에 맞춤 */
@media (max-width: 720px) {
  .hero h1.hero-title-split {
    font-size: min(
      clamp(1.05rem, 1.35vw + 0.78rem, 2.05rem),
      calc((100vw - 3rem) / 17)
    );
  }
}

@media (max-width: 400px) {
  .hero h1.hero-title-split {
    font-size: min(
      clamp(0.88rem, 0.5vw + 0.72rem, 1.65rem),
      calc((100vw - 2.75rem) / 18)
    );
  }
}

.hero-lead {
  color: rgba(238, 242, 248, 0.82);
  font-size: 0.98rem;
  max-width: 36em;
  margin: 0 0 1.65rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
}

.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.15rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.hero-secondary-link:hover,
.hero-secondary-link:focus-visible {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-meta {
  margin-top: 1.35rem;
}

.hero-trust {
  margin: 0 0 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.88);
}

.hero-privacy {
  margin: 0;
  max-width: 32em;
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

.hero-operator {
  margin: 0.22rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.42);
}

.hero-operator a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.hero-operator a:hover,
.hero-operator a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stat-card-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.stat-card-glass:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 158, 255, 0.35);
}

.stat-card-glass strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.stat-card-glass span:last-child {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(0.85rem, 3.5vh, 2rem);
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  pointer-events: none;
}

.mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  position: relative;
}

.wheel {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 6px;
  margin-left: -1.5px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-wheel 1.8s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.35rem;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, filter 0.2s, border-color 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2563b8);
  color: #fff;
  border: none;
}

.btn-glow {
  box-shadow: 0 4px 24px var(--accent-dim);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.1);
  box-shadow: 0 6px 32px rgba(59, 158, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-on-dark {
  color: rgba(255, 255, 255, 0.95);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--accent);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-light {
  background: #fff;
  color: #0c3d6b;
  margin-top: 1rem;
}

.btn-light:hover,
.btn-light:focus-visible {
  filter: brightness(1.05);
}

.btn-full {
  width: 100%;
}

/* Scroll reveal (only when JS adds .enhanced) */
.enhanced .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.enhanced .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sections */
main {
  padding-top: 0;
}

.section {
  position: relative;
  padding: clamp(3.25rem, 8vw, 5rem) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}

.section-head.align-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 38rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.section-sub strong {
  color: var(--text);
  font-weight: 600;
}

.inline-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--accent-hover);
}

.page-home .section {
  padding: clamp(2.4rem, 5.5vw, 4rem) 0;
}

.page-home .section-head {
  margin: 0 auto 1.7rem;
}

.page-home .section-cta-band {
  padding-top: 0.85rem;
}

.page-home #process {
  padding-block: clamp(1.95rem, 4.5vw, 3.25rem);
}

.pillars {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.pillars li {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.pillars li:hover {
  border-color: rgba(59, 158, 255, 0.25);
  transform: translateY(-2px);
}

.pillars h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: var(--accent);
}

.pillars p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.condition-board {
  display: grid;
  gap: 0;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-solid);
}

.condition-group {
  padding: 1.1rem 1.15rem 1.15rem;
}

.condition-group:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
  .condition-board {
    grid-template-columns: 1fr 1fr;
    padding: 0.25rem;
  }

  .condition-group {
    padding: 1.2rem 1.3rem 1.25rem;
  }

  .condition-group:not(:last-child) {
    border-bottom: none;
  }

  .condition-group:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }

  .condition-group:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

.condition-group h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.condition-group h3::before {
  content: "";
  flex-shrink: 0;
  width: 0.7rem;
  height: 1.5px;
  background: var(--accent);
  opacity: 0.8;
  border-radius: 1px;
}

.info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-chips li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.8rem;
  color: var(--text);
}

.stay-badges {
  justify-content: center;
}

.stay-badges li {
  min-height: 30px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.76rem;
}

/* Hiring support visual — stay section only */
.hiring-support-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 390px;
  border-radius: var(--radius);
  background: #0c0f14;
}

.hiring-support-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/background1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 54%;
}

.hiring-support-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #0c0f14 0%,
    rgba(12, 15, 20, 0.82) 18%,
    rgba(12, 15, 20, 0.32) 40%,
    rgba(12, 15, 20, 0.06) 58%,
    transparent 72%
  );
  pointer-events: none;
}

.hiring-support-content {
  position: relative;
  z-index: 1;
  width: min(45%, 32rem);
  padding: 2.15rem 1.5rem 2.15rem 1.85rem;
}

.hiring-support-content .section-head {
  text-align: left;
  max-width: none;
  margin: 0 0 1.15rem;
}

.hiring-support-content .stay-badges {
  justify-content: flex-start;
}

@media (max-width: 767px) {
  .hiring-support-panel {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .hiring-support-media {
    position: relative;
    min-height: 220px;
    background-position: 68% 28%;
  }

  .hiring-support-media::after {
    background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 42%,
      rgba(12, 15, 20, 0.55) 78%,
      #0c0f14 100%
    );
  }

  .hiring-support-content {
    width: 100%;
    padding: 1.25rem 1.15rem 1.4rem;
    background: #0c0f14;
  }
}

.operator-trust {
  margin: 1.65rem auto 0;
  max-width: 38rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.operator-trust-label {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.operator-trust h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  word-break: keep-all;
}

.operator-trust p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  word-break: keep-all;
}

.operator-trust-links {
  margin: 0.85rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.operator-trust-links a {
  color: var(--accent);
  text-decoration: none;
}

.operator-trust-links a:hover,
.operator-trust-links a:focus-visible {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.request-trust {
  margin: 0.95rem 0 0;
  padding: 0.7rem 0 0;
  border-top: 1px solid var(--border);
  max-width: 42rem;
}

.request-trust-operator {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.request-trust-note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  word-break: keep-all;
}

.request-trust-links {
  margin: 0.45rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.request-trust-links a {
  color: var(--accent);
  text-decoration: none;
}

.request-trust-links a:hover,
.request-trust-links a:focus-visible {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-doc {
  max-width: 42rem;
}

.privacy-doc article section {
  margin: 0 0 1.7rem;
}

.privacy-doc h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  word-break: keep-all;
}

.privacy-doc h3 {
  margin: 0.9rem 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  word-break: keep-all;
}

.privacy-doc p,
.privacy-doc ul {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  word-break: keep-all;
}

.privacy-doc ul {
  margin: 0.5rem 0 0;
  padding: 0 0 0 1.15rem;
}

.privacy-doc p + p,
.privacy-doc ul + p {
  margin-top: 0.55rem;
}

.privacy-doc li {
  margin: 0 0 0.28rem;
}

.privacy-doc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-cta-band {
  padding-top: 0.85rem;
}

.cta-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid rgba(59, 158, 255, 0.28);
  background: linear-gradient(165deg, rgba(59, 158, 255, 0.12), var(--surface-solid));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.4vw, 2.05rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.cta-band h2 .cta-band-highlight {
  font-style: normal;
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent), #7ec8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-band p {
  margin: 0 auto 1.25rem;
  max-width: 32em;
  color: var(--text-muted);
}

.cta-band .cta-band-hint {
  margin: 0.8rem 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
}

.footer-note {
  margin: 0.85rem auto 0;
  max-width: 38em;
  font-size: 0.75rem;
  line-height: 1.55;
  color: #6b7280;
  text-align: center;
}

/* Visa section */
.section-visa {
  overflow: hidden;
}

.section-visa-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, var(--bg) 100%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 158, 255, 0.08), transparent);
  pointer-events: none;
}

.visa-flow {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .visa-flow {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

.visa-path {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 1.35rem;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, box-shadow 0.3s;
}

@media (max-width: 640px) {
  .visa-path {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .visa-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
}

.visa-path:hover {
  border-color: rgba(245, 166, 35, 0.35);
  box-shadow: 0 0 40px rgba(245, 166, 35, 0.08);
}

.visa-path-head h3,
.visa-path-target h3 {
  margin: 0.35rem 0 0;
  font-size: 1.1rem;
  font-family: var(--font-display);
}

.visa-path-head .visa-from-note {
  margin: 0.4rem 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.visa-path-target p {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.visa-path-target p strong {
  color: var(--text);
}

.visa-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.visa-badge-from {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.visa-badge-to {
  background: var(--amber-soft);
  color: var(--amber);
}

.visa-arrow {
  color: var(--accent);
  animation: arrow-nudge 2s ease-in-out infinite;
}

@keyframes arrow-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

@media (max-width: 640px) {
  @keyframes arrow-nudge {
    0%,
    100% {
      transform: rotate(90deg) translateX(0);
    }
    50% {
      transform: rotate(90deg) translateX(6px);
    }
  }
}

.visa-disclaimer {
  margin: 2rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}

/* Split section */
.section-split {
  display: grid;
  gap: 0;
}

@media (min-width: 960px) {
  .section-split {
    grid-template-columns: 42% 58%;
    align-items: center;
  }
}

.split-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  /* 이미지 로드 실패·지연 시 빈 화면 방지 */
  background: linear-gradient(145deg, #1a2838 0%, #0e151d 45%, #152028 100%);
}

@media (min-width: 960px) {
  .split-visual {
    min-height: 520px;
  }
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 8s ease-out;
}

/* 구직자 섹션: 조립·생산 라인(세로 원본) 가로 크롭 시 중심 프레이밍 */
.split-visual-img-assembly {
  object-position: center 42%;
}

.split-visual:hover img {
  transform: scale(1.06);
}

.split-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, var(--bg) 100%);
  pointer-events: none;
}

@media (max-width: 959px) {
  .split-visual::after {
    background: linear-gradient(180deg, transparent 50%, var(--bg) 100%);
  }
}

img.img-failed {
  opacity: 0 !important;
}

.split-visual-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.split-content {
  padding-block: 2.5rem;
}

@media (min-width: 960px) {
  .split-content {
    padding-left: 0;
    padding-block: 3rem;
  }
}

.dual-grid {
  display: grid;
  gap: 1.25rem;
}

.dual-stack {
  margin-top: 0.5rem;
}

@media (min-width: 800px) {
  .dual-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.card-accent {
  border-color: rgba(59, 158, 255, 0.25);
  background: linear-gradient(165deg, rgba(59, 158, 255, 0.08), var(--surface-solid));
}

.card-dark {
  background: linear-gradient(145deg, #1a2a3d, #0d1824);
  color: #e8eef5;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-dark h3 {
  color: #fff;
}

.card h3 {
  font-size: 1.12rem;
  margin: 0 0 1rem;
}

.check-list,
.bullet-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.check-list li + li,
.bullet-list li + li {
  margin-top: 0.5rem;
}

.check-list.light {
  color: rgba(232, 238, 245, 0.88);
}

.card-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card-dark .card-note {
  color: rgba(232, 238, 245, 0.7);
}

/* Employers */
.section-employers {
  position: relative;
  overflow: hidden;
}

.employers-bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  background-color: #141c26;
}

.employers-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.85) contrast(1.05);
}

.employers-inner {
  position: relative;
  z-index: 1;
}

.section-employers .card.card-dark {
  display: flex;
  flex-direction: column;
}

.section-employers .card.card-dark > .btn {
  align-self: flex-end;
  margin-top: 1.25rem;
}

/* Process flow */
.process-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.process-flow > li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 0.9rem;
  padding: 0 0 1.35rem 0.15rem;
  background: none;
  border: none;
}

.process-flow > li:last-child {
  padding-bottom: 0;
}

.process-flow > li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 1.35rem;
  bottom: 0.15rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.process-flow .step-num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  align-self: start;
  display: inline-block;
  width: auto;
  font-family: var(--font-sans);
  font-weight: 700;
  font-synthesis: none;
  font-size: 1.25rem;
  font-stretch: normal;
  letter-spacing: 0.04em;
  color: var(--amber);
  line-height: 1.2;
  background: var(--bg-alt);
}

.process-flow h3 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
}

.process-flow p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-muted);
  word-break: keep-all;
}

@media (min-width: 860px) {
  .process-flow {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .process-flow > li {
    display: block;
    padding: 0 1.4rem 0 0;
  }

  .process-flow > li:last-child {
    padding-right: 0;
  }

  .process-flow > li:not(:last-child)::before {
    left: 2.15rem;
    right: 0.45rem;
    top: 0.75rem;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .process-flow > li:last-child::before {
    content: "";
    position: absolute;
    left: 2.15rem;
    right: 0.45rem;
    top: 0.75rem;
    bottom: auto;
    width: auto;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
  }

  .process-flow .step-num {
    display: inline-block;
    width: auto;
    margin-bottom: 0.7rem;
    padding-right: 0.45rem;
  }
}

.jobseeker-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 0.95rem 0;
}

.jobseeker-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
}

.jobseeker-strip-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.jobseeker-strip-text {
  margin: 0;
  flex: 1 1 14rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.jobseeker-strip-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.jobseeker-strip-link:hover,
.jobseeker-strip-link:focus-visible {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FAQ accordion */
.faq-accordion {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-trigger::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease-out);
}

.faq-trigger[aria-expanded="true"] {
  color: var(--accent);
}

.faq-trigger[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}

.faq-panel {
  padding: 0 0 1.25rem;
}

.faq-panel[hidden] {
  display: none;
}

.faq-panel p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Contact */
.contact-choice-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .contact-choice-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.contact-choice-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.3rem;
  box-shadow: var(--shadow);
}

.contact-choice-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  word-break: keep-all;
}

.contact-choice-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  word-break: keep-all;
}

.contact-choice-card .btn {
  align-self: flex-start;
  margin-top: 1.1rem;
}

.contact-choice-hint {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  word-break: keep-all;
}

.contact-direct {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  max-width: 42rem;
}

.contact-direct h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  word-break: keep-all;
}

.contact-block {
  font-style: normal;
  margin: 0;
}

.contact-block p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-block a {
  color: var(--accent);
}

.contact-form {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
}

.form-row select {
  width: 100%;
  padding: 0.65rem 2.25rem 0.65rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  /* 반투명 배경 제거 — 펼침 시 OS가 밝은 팔레트 쓰는 경우 대비 */
  background-color: #0e131a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239aa4b2' d='M1.4 0 6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 11px auto;
  color: #f2f6ff;
  color-scheme: dark;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.form-row select:hover {
  border-color: rgba(59, 158, 255, 0.45);
}

.form-row select:focus {
  border-color: var(--accent);
}

.form-row select option,
.form-row select optgroup {
  background-color: #0e131a;
  color: #f2f6ff;
  font: inherit;
}

.form-row select option:disabled {
  color: #6b7280;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(154, 164, 178, 0.65);
}

.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: transparent;
}

.form-row select:focus-visible {
  border-color: var(--accent);
}

.container-narrow-form {
  width: min(640px, 100% - 2.5rem);
  margin-inline: auto;
}

.form-row-split {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-row-split {
    grid-template-columns: 1fr 1fr;
  }
}

.req {
  color: var(--amber);
  font-weight: 700;
}

.form-fieldset {
  margin: 0 0 1.1rem;
  padding: 1.1rem 1.15rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.15);
}

.form-legend {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--text-muted);
  padding: 0 0.35rem;
}

.legend-hint {
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0.85;
}

.form-checks {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

@media (min-width: 480px) {
  .form-checks {
    grid-template-columns: 1fr 1fr;
  }
}

.form-check-full {
  grid-column: 1 / -1;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.4;
}

.form-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-row-nested {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.label-inline {
  font-size: 0.82rem;
}

.form-file {
  width: 100%;
  padding: 0.5rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-file::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  color: var(--text);
  cursor: pointer;
}

.form-file::file-selector-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.form-hint {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-hint-visa-path {
  margin: 0.65rem 0 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.form-privacy-note {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-privacy-block {
  margin: 0 0 1.35rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.form-privacy-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.form-privacy-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.form-privacy-list li {
  margin-bottom: 0.5rem;
}

.form-privacy-list li:last-child {
  margin-bottom: 0;
}

.form-privacy-note--inline {
  margin: 0.75rem 0 0;
}

.form-privacy-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-row-privacy-consent {
  margin-bottom: 0.25rem;
}

.form-check-privacy {
  align-items: flex-start;
}

.resume-form {
  max-width: 100%;
}

/* Request wizard */
.request-form {
  max-width: 100%;
}

.request-success {
  text-align: center;
  padding: 1.75rem 1.35rem 1.85rem;
}

.request-success-label {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.request-success h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.request-success p {
  margin: 0 auto;
  max-width: 32em;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  word-break: keep-all;
}

.request-success-id {
  margin: 0.85rem auto 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.request-success-note {
  margin: 0.55rem auto 0;
  font-size: 0.8rem;
}

.request-success .btn {
  margin-top: 1.25rem;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.wizard-progress {
  margin-bottom: 1.35rem;
}

.wizard-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
}

.wizard-progress-hint {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.wizard-dots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wizard-dot {
  width: 100%;
  min-height: 52px;
  padding: 0.35rem 0.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.wizard-dot-num {
  font-size: 0.92rem;
  line-height: 1;
}

.wizard-dot-name {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.04em;
  text-align: center;
  word-break: keep-all;
}

.wizard-dot:disabled {
  cursor: default;
  opacity: 0.45;
}

.wizard-dot.is-done {
  border-color: rgba(59, 158, 255, 0.35);
  color: var(--text);
}

.wizard-dot.is-current {
  border-color: var(--accent);
  background: rgba(59, 158, 255, 0.16);
  color: #fff;
}

.wizard-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wizard-legend {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.35rem;
  padding: 0;
  float: none;
  width: 100%;
}

.wizard-lead {
  margin: 0 0 1.1rem;
}

.extra-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0.85rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.extra-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.extra-panel {
  margin-top: 0.7rem;
}

.wizard-step[hidden],
.job-panel[hidden],
.stay-flex-extra[hidden],
.foreign-now-extra[hidden],
.form-row[hidden],
.form-hint[hidden],
.extra-panel[hidden],
[data-show-when-name][hidden],
.wizard-actions [hidden],
.btn[hidden],
.request-form[hidden],
.resume-form[hidden],
#request-success[hidden],
#resume-success[hidden] {
  display: none !important;
}

.wizard-error {
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 166, 35, 0.45);
  background: var(--amber-soft);
  color: var(--text);
  font-size: 0.86rem;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  position: relative;
  display: inline-flex;
  margin: 0;
  cursor: pointer;
}

.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.3;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.chip-block {
  width: 100%;
}

.chip-block span {
  width: 100%;
  justify-content: flex-start;
  border-radius: var(--radius-sm);
}

.chip-group-stack {
  flex-direction: column;
}

.chip input:hover + span,
.chip:hover span {
  border-color: rgba(59, 158, 255, 0.45);
}

.chip input:checked + span {
  border-color: var(--accent);
  background: rgba(59, 158, 255, 0.18);
  color: #fff;
  font-weight: 600;
}

.chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.chip.is-highlight span {
  border-color: var(--accent);
  background: rgba(59, 158, 255, 0.22);
}

.form-legend-sub {
  display: block;
  margin: 1rem 0 0.55rem;
  padding: 0;
}

.form-details {
  margin: 0 0 1.1rem;
  padding: 0.85rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.15);
}

.form-details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--text-muted);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.form-details .chip-group {
  margin-top: 0.75rem;
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.wizard-actions .btn {
  min-height: 48px;
  flex: 1 1 auto;
}

.wizard-actions #wizard-prev,
.wizard-actions #resume-prev {
  flex: 0 1 30%;
}

.wizard-actions #wizard-submit,
.wizard-actions #resume-submit {
  flex: 1 1 62%;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
}

.qty-btn:hover,
.qty-btn:focus-visible {
  border-color: var(--accent);
}

.qty-stepper input[type="number"] {
  width: 4.5rem;
  min-height: 44px;
  text-align: center;
  padding: 0.45rem 0.35rem;
  font: inherit;
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
}

.pay-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pay-input input {
  flex: 1 1 auto;
  min-width: 0;
}

.pay-unit {
  flex-shrink: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.pay-hint {
  margin: 0.55rem 0 0.9rem;
}

.form-check-overtime-none {
  margin-top: 0.7rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

@media (max-width: 400px) {
  .wizard-dot-name {
    font-size: 0.62rem;
  }
}

/* Footer */
.site-footer {
  padding: 2rem 0 1.65rem;
  background: #07090c;
  color: #6b7280;
  font-size: 0.86rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  text-align: center;
}

.footer-inner--operator {
  display: grid;
  gap: 1.35rem 2rem;
  text-align: left;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .footer-inner--operator {
    grid-template-columns: 1.05fr 1.45fr 0.75fr;
    align-items: start;
  }
}

.footer-brand {
  margin: 0 0 0.4rem;
  font-weight: 800;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
}

.footer-tagline {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #8b939e;
  word-break: keep-all;
}

.footer-col-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

.footer-meta,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #8b939e;
  word-break: keep-all;
}

.footer-meta li + li,
.footer-links li + li {
  margin-top: 0.18rem;
}

.footer-meta a,
.footer-links a {
  color: #9aa4b2;
  text-decoration: none;
}

.footer-meta a:hover,
.footer-meta a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(18, 23, 31, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
  }

  .site-nav.is-open {
    max-height: 560px;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--border);
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0;
    color: var(--text);
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
    margin-top: 0.75rem;
    border-radius: var(--radius-sm);
  }

  .site-header {
    background: rgba(12, 15, 20, 0.92);
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .enhanced .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .enhanced .hero-enter {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .visa-marquee,
  .orb,
  .visa-arrow,
  .wheel,
  .logo-mark,
  .split-visual img,
  .hero-grid-lines,
  .hero-showcase-frame {
    animation: none !important;
  }

  .visa-marquee {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    transform: none;
  }

  .hero-bg-img,
  .hero-bg-fallback {
    transform: none !important;
  }
}
