/* =========================================================
   Vicky Dimond Manpower International JSC — Official Site
   ========================================================= */
:root {
  --ink: #1a1c38;
  --ink-soft: #3c3f60;
  --muted: #6c6f8c;
  --indigo: #41488a;
  --indigo-600: #353b78;
  --indigo-800: #23275a;
  --indigo-900: #161939;
  --plum: #9e2d6d;
  --plum-700: #7a2154;
  --plum-900: #4a1233;
  --plum-50: #fbf2f7;
  --gold: #e8b33a;
  --paper: #fbfaf8;
  --mist: #f3f2f9;
  --line: #e3e1ee;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(22, 25, 57, .06);
  --shadow: 0 18px 40px -18px rgba(22, 25, 57, .28);
  --shadow-lg: 0 40px 80px -30px rgba(22, 25, 57, .45);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --f-serif: "Noto Serif TC", "Songti TC", serif;
  --f-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --f-latin: "Outfit", "Noto Sans TC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
p, h1, h2, h3, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--plum); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.latin { font-family: var(--f-latin); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-latin); font-size: 12.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--plum);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title {
  font-family: var(--f-serif); font-weight: 700;
  font-size: clamp(30px, 4.2vw, 48px); line-height: 1.25; letter-spacing: .02em;
  margin: 14px 0 10px; color: var(--indigo-900);
}
.section-title em { font-style: normal; color: var(--plum); }
.section-en, .section-sub { color: var(--muted); font-size: 16px; letter-spacing: .02em; margin: 0; }
.section-en { font-family: var(--f-latin); font-size: 15px; }
.section-lead { color: var(--ink-soft); font-size: 17px; margin: 18px 0 0; }

section { position: relative; }
main { overflow-x: clip; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.bg-mist { background: var(--mist); }

/* dotted globe texture, echoing the brochure background */
.dots::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(65, 72, 138, .14) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000 0%, transparent 70%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15.5px; letter-spacing: .04em; line-height: 1;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: linear-gradient(135deg, var(--plum) 0%, var(--plum-700) 100%); color: #fff; box-shadow: 0 14px 30px -12px rgba(158, 45, 109, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(158, 45, 109, .75); }
.btn-ghost { border-color: var(--line); color: var(--indigo-800); background: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-light { background: #fff; color: var(--plum-700); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 18px 0;
}
.site-header.scrolled { background: rgba(251, 250, 248, .9); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); padding: 10px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 50px; width: auto; transition: height .4s; }
.site-header.scrolled .brand img { height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-family: var(--f-serif); font-size: 17px; letter-spacing: .12em; color: var(--indigo-900); }
.brand-text small { font-family: var(--f-latin); font-size: 10.5px; letter-spacing: .16em; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 30px -14px rgba(22,25,57,.35); transition: background .4s, box-shadow .4s; }
.site-header.scrolled .nav-links { background: transparent; box-shadow: none; backdrop-filter: none; }
.nav-links a {
  position: relative; display: block; padding: 8px 12px; font-size: 15px; font-weight: 500; color: var(--ink-soft);
  border-radius: 8px; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--plum); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--plum); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { padding: 12px 20px; font-size: 14.5px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--indigo-900); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden; background: var(--paper); }
.hero-visual {
  position: absolute; top: 0; right: 0; width: 49%; height: 88%;
  border-bottom-left-radius: 62% 48%;
  overflow: hidden; z-index: 0;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(22,25,57,0) 40%, rgba(22,25,57,.35) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-arcs { position: absolute; top: 0; right: 0; width: 62%; height: 100%; z-index: 1; pointer-events: none; }
.hero-arcs path { fill: none; stroke-linecap: round; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.4s .3s var(--ease) forwards; }
.hero-arcs path:nth-child(2) { animation-delay: .55s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-globe { position: absolute; left: -180px; bottom: -220px; width: 620px; opacity: .35; z-index: 0; pointer-events: none; }

.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 640px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-family: var(--f-latin); font-size: 12.5px; letter-spacing: .12em; font-weight: 600; color: var(--indigo-800);
}
.hero-tag b { white-space: nowrap; background: var(--indigo); color: #fff; padding: 3px 10px; border-radius: 999px; letter-spacing: .08em; }
.hero h1 {
  font-family: var(--f-serif); font-weight: 900;
  font-size: clamp(36px, 4.9vw, 70px); line-height: 1.18; letter-spacing: .06em;
  margin: 26px 0 14px; color: var(--indigo-900);
}
.hero h1 .accent { display: block; color: var(--plum); }
.hero-en { font-family: var(--f-latin); font-weight: 600; letter-spacing: .1em; font-size: clamp(12.5px, 1.2vw, 14.5px); color: var(--indigo); margin: 0 0 24px; text-transform: uppercase; }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); margin: 0 0 6px; font-weight: 500; }
.hero-lead-en { color: var(--muted); font-size: 14.5px; margin: 0 0 34px; font-family: var(--f-latin); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 560px; }
.hero-trust div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-soft); }
.hero-trust svg { width: 20px; height: 20px; color: var(--plum); flex-shrink: 0; }

.hero-card {
  position: absolute; z-index: 3; right: clamp(24px, 6vw, 90px); bottom: 12%;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 16px; max-width: 320px;
  animation: floatIn 1s 1.1s var(--ease) both;
}
.hero-card .ratio { font-family: var(--f-latin); font-weight: 700; font-size: 34px; color: var(--plum); line-height: 1; white-space: nowrap; }
.hero-card p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.hero-card p b { color: var(--indigo-900); display: block; font-size: 15px; }
.hero-card.alt { bottom: auto; top: 22%; right: auto; left: 52%; animation-delay: 1.35s; padding: 12px 16px; gap: 10px; }
.hero-card.alt img { width: 34px; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
@keyframes floatIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--f-latin); font-size: 11px; letter-spacing: .3em; color: var(--muted); }
.scroll-cue i { width: 1.5px; height: 40px; background: linear-gradient(var(--plum), transparent); animation: cue 2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* =========================================================
   Stats band
   ========================================================= */
.stats { position: relative; z-index: 4; margin-top: -10px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(120deg, var(--indigo-900) 0%, var(--indigo-800) 55%, var(--plum-900) 100%);
  border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); color: #fff;
}
.stat { padding: 36px 30px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: rgba(255,255,255,.14); }
.stat-num { font-family: var(--f-latin); font-weight: 700; font-size: clamp(36px, 4vw, 52px); line-height: 1; letter-spacing: -.01em; }
.stat-num small { font-size: .45em; font-weight: 500; margin-left: 4px; color: var(--gold); }
.stat-label { margin-top: 12px; font-size: 15px; font-weight: 500; }
.stat-en { font-family: var(--f-latin); font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .04em; }

/* =========================================================
   About
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-copy p { color: var(--ink-soft); margin: 0 0 18px; }
.about-quote {
  margin: 30px 0 34px; padding: 22px 26px; border-left: 3px solid var(--plum);
  background: linear-gradient(90deg, var(--plum-50), transparent);
  border-radius: 0 14px 14px 0;
}
.about-quote p { font-family: var(--f-serif); font-size: 20px; font-weight: 600; color: var(--indigo-900); margin: 0 0 4px !important; }
.about-quote span { font-family: var(--f-latin); font-size: 13.5px; color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillar { padding: 20px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--indigo); margin-bottom: 12px; }
.pillar .ic svg { width: 22px; height: 22px; }
.pillar h3 { margin: 0; font-family: var(--f-serif); font-size: 19px; color: var(--indigo-900); }
.pillar small { display: block; font-family: var(--f-latin); color: var(--plum); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.pillar p { margin: 0 !important; font-size: 13.5px; line-height: 1.6; }

.about-collage { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 64px); gap: 14px; }
.about-collage figure { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.about-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about-collage figure:hover img { transform: scale(1.05); }
.about-collage .c1 { grid-column: 1 / 5; grid-row: 1 / 4; }
.about-collage .c2 { grid-column: 5 / 7; grid-row: 1 / 3; }
.about-collage .c3 { grid-column: 5 / 7; grid-row: 3 / 6; }
.about-collage .c4 { grid-column: 1 / 5; grid-row: 4 / 7; }
.about-badge {
  position: absolute; left: -26px; bottom: -22px; z-index: 2;
  background: var(--plum); color: #fff; border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow-lg);
}
.about-badge b { font-family: var(--f-latin); font-size: 36px; line-height: 1; display: block; }
.about-badge span { font-size: 13px; opacity: .9; }

/* =========================================================
   Credentials
   ========================================================= */
.cred-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.license-card {
  position: relative; background: #fff; padding: 16px; border-radius: 22px; box-shadow: var(--shadow-lg);
  transform: rotate(-2deg); transition: transform .6s var(--ease); cursor: zoom-in;
}
.license-card:hover { transform: rotate(0) translateY(-6px); }
.license-card img { border-radius: 10px; width: 100%; height: auto; }
.license-card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 6px 4px; font-size: 13.5px; color: var(--muted); }
.license-card figcaption b { color: var(--indigo-900); font-family: var(--f-latin); letter-spacing: .04em; }
.license-stamp {
  position: absolute; top: -18px; right: -18px; width: 96px; height: 96px; border-radius: 50%;
  background: var(--gold); color: var(--indigo-900); display: grid; place-items: center; text-align: center;
  font-weight: 700; font-size: 13px; line-height: 1.3; box-shadow: var(--shadow); transform: rotate(12deg);
}
.license-stamp span { font-family: var(--f-latin); font-size: 10px; letter-spacing: .1em; display: block; }

.info-card { background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.info-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; background: linear-gradient(120deg, var(--indigo-800), var(--indigo)); color: #fff; }
.info-head h3 { margin: 0; font-family: var(--f-serif); font-size: 20px; letter-spacing: .06em; }
.info-head span { font-family: var(--f-latin); font-size: 12px; letter-spacing: .14em; opacity: .7; }
.info-head .code { font-family: var(--f-latin); background: rgba(255,255,255,.14); padding: 6px 14px; border-radius: 999px; font-weight: 700; letter-spacing: .1em; font-size: 15px; opacity: 1; }
.info-list { margin: 0; padding: 8px 28px 18px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.info-list > div { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.info-list > div.full { grid-column: 1 / -1; }
.info-list dt { font-size: 12.5px; color: var(--muted); letter-spacing: .08em; margin-bottom: 4px; }
.info-list dd { margin: 0; font-weight: 600; color: var(--indigo-900); font-size: 15px; line-height: 1.55; word-break: break-word; }
.info-list dd.latin { font-family: var(--f-latin); font-weight: 500; }

/* =========================================================
   Markets
   ========================================================= */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.tab {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); font-weight: 600; font-size: 15px;
  transition: all .35s var(--ease);
}
.tab img { width: 30px; height: 20px; object-fit: cover; border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.tab .globe-ic { width: 30px; height: 20px; display: grid; place-items: center; color: var(--indigo); }
.tab small { font-family: var(--f-latin); font-weight: 500; font-size: 12px; color: var(--muted); }
.tab:hover { border-color: var(--indigo); }
.tab[aria-selected="true"] { background: var(--indigo-900); border-color: var(--indigo-900); color: #fff; box-shadow: var(--shadow); }
.tab[aria-selected="true"] small { color: rgba(255,255,255,.6); }
.panel { display: none; }
.panel.active { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 4vw, 56px); align-items: center; animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.panel-copy h3 { font-family: var(--f-serif); font-size: clamp(26px, 3vw, 36px); margin: 0 0 6px; color: var(--indigo-900); }
.panel-copy .en { font-family: var(--f-latin); color: var(--plum); letter-spacing: .14em; font-size: 12.5px; text-transform: uppercase; font-weight: 600; }
.panel-copy p { color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--mist); color: var(--indigo-800); font-size: 13.5px; font-weight: 500; }
.panel-media { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 420px; }
.panel-media figure { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; }
.panel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.panel-media figure:hover img { transform: scale(1.05); }
.panel-media .tall { grid-row: 1 / 3; }
.panel-media.single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.flag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 12px; margin-top: 22px; max-width: 360px; }
.flag-grid figure { margin: 0; text-align: center; font-family: var(--f-latin); font-size: 12px; color: var(--muted); }
.flag-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); margin-bottom: 6px; }

/* =========================================================
   Worker quality
   ========================================================= */
.quality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.q-card { background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; display: flex; flex-direction: column; }
.q-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.q-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: 230px; }
.q-media img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.q-media .num { position: absolute; left: 18px; bottom: -26px; width: 56px; height: 56px; border-radius: 16px; background: var(--plum); color: #fff; display: grid; place-items: center; font-family: var(--f-latin); font-weight: 700; font-size: 20px; box-shadow: var(--shadow); }
.q-body { padding: 42px 26px 28px; }
.q-body small { font-family: var(--f-latin); color: var(--plum); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.q-body h3 { margin: 4px 0 10px; font-family: var(--f-serif); font-size: 23px; color: var(--indigo-900); }
.q-body p { margin: 0 0 6px; color: var(--ink-soft); }
.q-body .en { font-family: var(--f-latin); font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* =========================================================
   Recruitment process
   ========================================================= */
.process-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 39px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--indigo), var(--plum)); opacity: .25; }
.step { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding-bottom: 40px; }
.step:last-child { padding-bottom: 0; }
.step-no {
  width: 80px; height: 80px; border-radius: 50%; background: #fff; border: 2px solid var(--line);
  display: grid; place-items: center; font-family: var(--f-latin); font-weight: 300; font-size: 34px; color: var(--indigo);
  position: relative; z-index: 1; transition: all .5s var(--ease);
}
.step.in .step-no { border-color: var(--plum); color: var(--plum); box-shadow: 0 0 0 8px var(--plum-50); }
.step-body h3 { margin: 8px 0 2px; font-family: var(--f-serif); font-size: 23px; color: var(--indigo-900); }
.step-body h3 span { color: var(--plum); }
.step-body .en { font-family: var(--f-latin); font-size: 12px; letter-spacing: .16em; color: var(--muted); font-weight: 600; }
.step-body ul { margin: 14px 0 0; padding: 0; list-style: none; }
.step-body li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--ink-soft); }
.step-body li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); }
.step-body li small { display: block; font-family: var(--f-latin); color: var(--muted); font-size: 13px; line-height: 1.55; }

.funnel { position: sticky; top: 110px; background: linear-gradient(160deg, var(--indigo-900), var(--indigo-800)); border-radius: 28px; padding: 34px 30px; color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.funnel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(158,45,109,.6), transparent 70%); }
.funnel h3 { margin: 0 0 4px; font-family: var(--f-serif); font-size: 21px; position: relative; z-index: 1; }
.funnel .sub { font-size: 13px; color: rgba(255,255,255,.6); margin: 0 0 26px; position: relative; z-index: 1; }
.f-row { position: relative; z-index: 1; margin-bottom: 14px; }
.f-row .meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; margin-bottom: 6px; color: rgba(255,255,255,.85); }
.f-row .meta b { font-family: var(--f-latin); font-size: 22px; color: #fff; }
.f-bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.f-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--indigo), #8b7fd6); transition: width 1.4s var(--ease); }
.f-row:last-of-type .f-bar i { background: linear-gradient(90deg, var(--plum), var(--gold)); }
.funnel.in .f-bar i { width: var(--w); }
.funnel-note { position: relative; z-index: 1; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.6; }
.funnel-note b { color: var(--gold); }

/* =========================================================
   Management (dark)
   ========================================================= */
.manage { color: #fff; overflow: hidden; background: var(--plum-900); }
.manage-bg { position: absolute; inset: 0; }
.manage-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.3); }
.manage-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(74,18,51,.97) 0%, rgba(122,33,84,.88) 50%, rgba(35,39,90,.9) 100%); }
.manage .container { position: relative; z-index: 1; }
.manage .section-title { color: #fff; }
.manage .section-en, .manage .section-sub { color: rgba(255,255,255,.7); }
.manage .eyebrow { color: var(--gold); }
.manage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.m-item { padding: 34px 28px 10px 0; position: relative; }
.m-item + .m-item { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.m-item .no { font-family: var(--f-latin); font-weight: 300; font-size: 15px; color: var(--gold); letter-spacing: .2em; }
.m-item .ic { width: 58px; height: 58px; margin: 18px 0 22px; color: #fff; }
.m-item .ic svg { width: 100%; height: 100%; stroke-width: 1.4; }
.m-item h3 { font-family: var(--f-serif); font-size: 19px; line-height: 1.6; margin: 0 0 12px; font-weight: 600; letter-spacing: .04em; }
.m-item p { font-family: var(--f-latin); font-size: 13.5px; color: rgba(255,255,255,.65); margin: 0; line-height: 1.65; }
.offices { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 46px; }
.offices span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-size: 14px; }
.offices span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(232,179,58,.25); }

/* =========================================================
   Korea E-7
   ========================================================= */
.korea-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; margin-bottom: 70px; }
.korea-feature { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; cursor: zoom-in; }
.korea-feature img { width: 100%; height: 100%; object-fit: cover; }
.korea-feature figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 20px; color: #fff; font-size: 14px; background: linear-gradient(transparent, rgba(22,25,57,.85)); }
.korea-mini { position: absolute; right: -20px; bottom: -30px; width: 38%; border-radius: 18px; overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow-lg); }
.korea-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.k-stat { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.k-stat b { display: block; font-family: var(--f-latin); font-size: 34px; line-height: 1.1; color: var(--plum); }
.k-stat b small { font-size: 15px; color: var(--indigo); margin-left: 3px; }
.k-stat > span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; display: block; margin-top: 4px; }
.cert-row { display: flex; align-items: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.cert-row span { font-family: var(--f-latin); font-weight: 700; font-size: 13px; letter-spacing: .1em; padding: 6px 12px; border-radius: 8px; background: var(--indigo-900); color: #fff; }

.sub-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 0 0 28px; flex-wrap: wrap; }
.sub-head h3 { margin: 0; font-family: var(--f-serif); font-size: 26px; color: var(--indigo-900); }
.sub-head p { margin: 0; color: var(--muted); font-size: 14px; }
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.partner { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.partner:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.partner-img { height: 170px; overflow: hidden; position: relative; cursor: zoom-in; }
.partner-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.partner:hover .partner-img img { transform: scale(1.06); }
.partner-type { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--indigo-800); }
.partner-type.ship { background: var(--gold); color: var(--indigo-900); }
.partner-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.partner-body h4 { margin: 0; font-family: var(--f-latin); font-size: 15.5px; line-height: 1.4; color: var(--indigo-900); font-weight: 600; }
.partner-body .zh { font-size: 13.5px; color: var(--plum); margin: 4px 0 10px; font-weight: 500; }
.partner-body p { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.partner-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.partner-meta a { color: var(--indigo); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.partner-meta a:hover { color: var(--plum); }
.partner-meta svg { width: 14px; height: 14px; }

.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; }
.cert { margin: 0; background: #fff; padding: 10px; border-radius: 14px; box-shadow: var(--shadow); cursor: zoom-in; transition: transform .45s var(--ease); }
.cert:nth-child(odd) { transform: rotate(-1.5deg); }
.cert:nth-child(even) { transform: rotate(1.5deg) translateY(14px); }
.cert:hover { transform: rotate(0) translateY(-8px) scale(1.02); }
.cert img { width: 100%; aspect-ratio: 7 / 10; object-fit: cover; object-position: top; border-radius: 6px; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery { columns: 4 240px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; border-radius: 16px; overflow: hidden; position: relative; cursor: zoom-in; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; transition: transform .8s var(--ease); }
.gallery figure::after { content: attr(data-cap); position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-size: 13px; background: linear-gradient(transparent, rgba(22,25,57,.8)); opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure:hover::after { opacity: 1; transform: none; }

/* =========================================================
   Partnership terms
   ========================================================= */
.terms-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.terms-intro .note { font-family: var(--f-serif); color: var(--ink-soft); font-size: 16px; line-height: 2; padding-left: 24px; border-left: 2px solid var(--plum); margin: 0; }
.terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: term; }
.term { position: relative; background: #fff; border-radius: 22px; padding: 28px 24px 26px; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; overflow: hidden; }
.term:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.term::before { counter-increment: term; content: "0" counter(term); position: absolute; right: 18px; top: 10px; font-family: var(--f-latin); font-weight: 700; font-size: 54px; color: var(--mist); line-height: 1; transition: color .4s; }
.term:hover::before { color: var(--plum-50); }
.term .ic { position: relative; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--indigo-900); color: #fff; margin-bottom: 18px; }
.term .ic svg { width: 24px; height: 24px; }
.term h3 { position: relative; margin: 0 0 8px; font-size: 18px; font-family: var(--f-serif); color: var(--indigo-900); }
.term p { position: relative; margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.term p b { color: var(--plum); }
.term .en { display: block; margin-top: 10px; font-family: var(--f-latin); font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.term.feature { grid-column: span 2; background: linear-gradient(135deg, var(--plum) 0%, var(--plum-700) 60%, var(--indigo-800) 100%); color: #fff; border: 0; }
.term.feature::before { color: rgba(255,255,255,.1); }
.term.feature .ic { background: rgba(255,255,255,.16); }
.term.feature h3, .term.feature p { color: #fff; }
.term.feature p b { color: var(--gold); }
.term.feature .en { color: rgba(255,255,255,.7); }
.term.feature.narrow { grid-column: auto; }
.term.feature.narrow .big { font-size: 44px; }
.term.feature .big { display: block; font-family: var(--f-latin); font-size: 64px; font-weight: 700; line-height: 1; margin: 6px 0 10px; color: var(--gold); position: relative; }

.cta-band { margin-top: 70px; border-radius: 28px; padding: clamp(36px, 5vw, 60px); background: var(--indigo-900); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band svg.arc { position: absolute; right: -60px; top: -40px; width: 520px; opacity: .9; pointer-events: none; }
.cta-band h3 { position: relative; margin: 0; font-family: var(--f-serif); font-size: clamp(24px, 3vw, 34px); letter-spacing: .06em; }
.cta-band p { position: relative; margin: 6px 0 0; font-family: var(--f-latin); color: rgba(255,255,255,.7); }
.cta-band .btn { position: relative; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 22px; }
.office { background: #fff; border-radius: 24px; padding: 30px 28px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.office::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--indigo), var(--plum)); }
.office .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--plum); background: var(--plum-50); padding: 5px 12px; border-radius: 999px; }
.office .tag img { width: 20px; height: 14px; border-radius: 2px; }
.office h3 { margin: 14px 0 2px; font-family: var(--f-serif); font-size: 24px; color: var(--indigo-900); }
.office .en { font-family: var(--f-latin); font-size: 13px; color: var(--muted); }
.office ul { list-style: none; margin: 22px 0 0; padding: 0; }
.office li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px dashed var(--line); font-size: 14.5px; }
.office li .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--mist); color: var(--indigo); }
.office li .ic svg { width: 18px; height: 18px; }
.office li small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.office li a { color: var(--indigo-900); font-weight: 600; word-break: break-all; }
.office li a:hover { color: var(--plum); }
.office li span.v { color: var(--indigo-900); font-weight: 500; }

.form-card { background: linear-gradient(160deg, var(--indigo-900), var(--indigo-800)); color: #fff; border-radius: 24px; padding: 30px 28px; box-shadow: var(--shadow-lg); }
.form-card h3 { margin: 0 0 4px; font-family: var(--f-serif); font-size: 24px; }
.form-card > p { margin: 0 0 20px; color: rgba(255,255,255,.65); font-size: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 15px; transition: border-color .3s, background .3s;
}
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-hint { font-size: 12px; color: rgba(255,255,255,.5); margin: 10px 0 0; text-align: center; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--indigo-900); color: rgba(255,255,255,.7); padding: 70px 0 30px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 64px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { margin: 18px 0 0; font-size: 14px; max-width: 380px; }
.site-footer h4 { color: #fff; font-family: var(--f-serif); font-size: 16px; margin: 0 0 16px; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; font-family: var(--f-latin); }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--plum); color: #fff; box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 13, 32, .92); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 60px 70px; opacity: 0; pointer-events: none; transition: opacity .35s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.96); transition: transform .4s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox figcaption { color: rgba(255,255,255,.85); margin-top: 16px; font-size: 14px; text-align: center; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: background .3s; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-family: var(--f-latin); font-size: 13px; letter-spacing: .2em; }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1380px) {
  .brand-text { display: none; }
  .nav-links a { padding: 8px 10px; }
}
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .site-header .nav-links, .site-header.scrolled .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 100px 26px 30px; box-shadow: var(--shadow-lg); border-radius: 0;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    transform: translateX(105%); transition: transform .5s var(--ease); z-index: -1; overflow-y: auto;
  }
  .nav-links a { padding: 14px 6px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a::after { display: none; }
  body.nav-open .site-header .nav-links { transform: none; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(22,25,57,.4); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: -2; }
  .nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
}
@media (max-width: 1024px) {
  .nav-cta { display: none; }

  .hero { padding-top: 120px; min-height: auto; flex-direction: column; align-items: stretch; }
  .hero-visual { position: relative; width: auto; height: 380px; margin: 0 0 -40px var(--gutter); border-bottom-left-radius: 50% 40%; order: 2; }
  .hero-arcs { display: none; }
  .hero-card { right: var(--gutter); bottom: 40px; }
  .hero-card.alt { display: none; }
  .scroll-cue { display: none; }
  .hero-inner { order: 1; margin-bottom: 40px; }
  .stats { margin-top: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .about-grid, .cred-grid, .process-grid, .korea-hero, .terms-intro { grid-template-columns: 1fr; }
  .about-collage { max-width: 640px; }
  .license-card { max-width: 440px; margin: 0 auto; }
  .panel.active { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr 1fr; }
  .manage-grid { grid-template-columns: 1fr 1fr; }
  .m-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .m-item { border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 28px; }
  .funnel { position: relative; top: 0; }
  .terms { grid-template-columns: 1fr 1fr; }
  .certs { grid-template-columns: repeat(2, 1fr); max-width: 620px; margin-left: auto; margin-right: auto; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .form-card { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .korea-mini { right: 12px; }
}
@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .brand img { height: 42px; }
  .hero h1 { letter-spacing: .04em; }
  .hero-tag { font-size: 10.5px; letter-spacing: .06em; }
  .license-stamp { right: 6px; top: -16px; width: 82px; height: 82px; font-size: 12px; }
  .hero-visual { height: 300px; }
  .hero-card { left: var(--gutter); right: var(--gutter); max-width: none; bottom: 30px; padding: 14px 16px; }
  .hero-card .ratio { font-size: 28px; }
  .hero-trust { gap: 10px; }
  .stats-grid { grid-template-columns: 1fr 1fr; border-radius: 20px; }
  .stat { padding: 24px 18px; }
  .stat-label { font-size: 13.5px; }
  .pillars { grid-template-columns: 1fr; }
  .about-collage { grid-template-rows: repeat(6, 46px); gap: 10px; }
  .about-badge { left: 10px; bottom: -18px; padding: 14px 16px; }
  .about-badge b { font-size: 28px; }
  .info-list { grid-template-columns: 1fr; padding: 4px 20px 12px; }
  .info-head { padding: 18px 20px; flex-wrap: wrap; }
  .tab { padding: 8px 14px 8px 10px; font-size: 14px; }
  .tab small { display: none; }
  .panel-media { height: 300px; }
  .quality-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 56px 1fr; gap: 16px; }
  .step-no { width: 56px; height: 56px; font-size: 24px; }
  .steps::before { left: 27px; }
  .manage-grid { grid-template-columns: 1fr; }
  .m-item, .m-item + .m-item { padding-left: 0; border-left: 0; }
  .korea-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .k-stat { padding: 14px 12px; }
  .k-stat b { font-size: 24px; }
  .k-stat > span { font-size: 12px; }
  .korea-mini { display: none; }
  .terms { grid-template-columns: 1fr; }
  .term.feature { grid-column: auto; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery figure { margin-bottom: 10px; border-radius: 12px; }
  .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .cta-band svg.arc { width: 360px; right: -140px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-arcs path { stroke-dashoffset: 0; }
}

/* =========================================================
   Multilingual UI
   ========================================================= */
.site-header, main, .site-footer { transition: opacity .25s ease; }
.i18n-loading .site-header, .i18n-loading main, .i18n-loading .site-footer { opacity: 0; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 200; background: var(--indigo-900); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.nav-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--indigo-900); font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: border-color .25s, box-shadow .25s;
}
.lang-btn:hover { border-color: var(--indigo); }
.lang-btn svg.g { width: 18px; height: 18px; color: var(--plum); }
.lang-btn svg.c { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.lang.open .lang-btn svg.c { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); z-index: 60;
}
.lang.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 10px 12px; border: 0; background: none; border-radius: 10px;
  font-family: system-ui, "Segoe UI", sans-serif; font-size: 15px; color: var(--ink); text-align: left;
}
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--mist); outline: none; }
.lang-menu button small { font-family: var(--f-latin); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.lang-menu button[aria-checked="true"] { background: var(--plum-50); color: var(--plum); font-weight: 600; }
.lang-menu button[aria-checked="true"] small { color: var(--plum); }
.nav-new { position: relative; }
.nav-new::before { content: ""; position: absolute; top: 7px; right: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(232,179,58,.25); }

.hero-sub { color: var(--muted); font-size: 15.5px; margin: 0 0 34px; max-width: 540px; }
.hero-card p span { display: block; }
.btn-gold { background: var(--gold); color: var(--indigo-900); box-shadow: 0 14px 30px -12px rgba(232,179,58,.7); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(232,179,58,.8); }
.btn-ghost-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }

.footer-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.footer-langs a { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: 13px; font-family: system-ui, "Segoe UI", sans-serif; transition: all .25s; }
.footer-langs a:hover { border-color: rgba(255,255,255,.5); }
.footer-langs a.active { background: #fff; color: var(--indigo-900); border-color: #fff; }

/* ---------- per-language typography ---------- */
:root[data-lang="vi"] { --f-sans: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif; --f-serif: "Noto Serif", Georgia, serif; --f-latin: "Be Vietnam Pro", "Segoe UI", sans-serif; }
:root[data-lang="en"] { --f-serif: "Noto Serif", Georgia, serif; --f-sans: "Outfit", "Segoe UI", system-ui, sans-serif; }
:root[data-lang="ja"] { --f-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; --f-serif: "Noto Serif JP", "Yu Mincho", serif; }
:root[data-lang="ko"] { --f-sans: "Noto Sans KR", "Malgun Gothic", sans-serif; --f-serif: "Noto Serif KR", serif; }
:root[data-lang="ko"] body { word-break: keep-all; }
:root[data-lang="vi"] .hero h1, :root[data-lang="en"] .hero h1 { font-size: clamp(34px, 4.3vw, 62px); letter-spacing: -.005em; line-height: 1.12; }
:root[data-lang="vi"] .section-title, :root[data-lang="en"] .section-title { letter-spacing: 0; line-height: 1.2; }
:root[data-lang="vi"] .about-quote p, :root[data-lang="en"] .about-quote p,
:root[data-lang="vi"] .m-item h3, :root[data-lang="en"] .m-item h3 { letter-spacing: 0; }
:root[data-lang="vi"] .nav-links a, :root[data-lang="en"] .nav-links a { font-size: 14.5px; }
.nav-links a { white-space: nowrap; }
.hero-copy { max-width: 600px; }
:root:not([data-lang="zh"]) .brand-text { display: none; }
@media (min-width: 1241px) and (max-width: 1520px) {
  :root[data-lang="vi"] .nav-cta, :root[data-lang="en"] .nav-cta { display: none; }
  :root[data-lang="vi"] .nav-links a, :root[data-lang="en"] .nav-links a { padding: 8px 9px; }
}

/* =========================================================
   Study in Taiwan
   ========================================================= */
.study { overflow: hidden; }
.study-glow { position: absolute; right: -200px; top: 120px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(232,179,58,.18), transparent 65%); pointer-events: none; }
.study-hero {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(30px, 5vw, 64px); border-radius: 34px; color: #fff; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(158,45,109,.55), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(232,179,58,.18), transparent 60%),
    linear-gradient(140deg, var(--indigo-900) 0%, var(--indigo-800) 100%);
  box-shadow: var(--shadow-lg);
}
.study-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.1px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 15% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse 50% 60% at 15% 20%, #000, transparent 70%);
}
.study-copy { position: relative; }
.study .study-hero .eyebrow { color: var(--gold); }
.study .study-hero .section-title { color: #fff; }
.study .study-hero .section-title em { color: var(--gold); }
.study .study-hero .section-sub { color: rgba(255,255,255,.72); }
.study .study-hero .section-lead { color: rgba(255,255,255,.82); }
.study-checks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.study-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; }
.study-checks svg { flex-shrink: 0; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gold); color: var(--indigo-900); }
.study-visual { position: relative; }
.study-main { margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); cursor: zoom-in; }
.study-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.study-main:hover img { transform: scale(1.04); }
.study-float { position: absolute; display: flex; align-items: center; gap: 12px; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-lg); font-size: 13.5px; line-height: 1.4; }
.study-float.f1 { left: -22px; bottom: 26px; background: #fff; color: var(--ink-soft); flex-direction: column; align-items: flex-start; gap: 4px; }
.study-float .route { display: flex; align-items: center; gap: 8px; font-family: var(--f-latin); color: var(--indigo-900); }
.study-float .route b { font-size: 20px; letter-spacing: .06em; }
.study-float .route svg { width: 20px; height: 20px; color: var(--plum); }
.study-float.f2 { right: -16px; top: 26px; background: var(--gold); color: var(--indigo-900); }
.study-float.f2 > svg { width: 30px; height: 30px; }
.study-float.f2 b { display: block; font-size: 15px; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 46px; }
.why { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; transition: transform .45s var(--ease), box-shadow .45s; }
.why:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, #fff4dc, #fde8b6); color: #9a6a00; margin-bottom: 18px; }
.why .ic svg { width: 24px; height: 24px; }
.why h3 { margin: 0 0 8px; font-family: var(--f-serif); font-size: 19px; color: var(--indigo-900); }
.why p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.program { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; }
.program img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.program:hover img { transform: scale(1.06); }
.program-body { padding: 20px 22px 24px; }
.program .tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--mist); color: var(--indigo-800); }
.program .tag.hot { background: var(--plum); color: #fff; }
.program h4 { margin: 12px 0 6px; font-family: var(--f-serif); font-size: 20px; color: var(--indigo-900); }
.program p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

.study-steps-wrap { margin-top: 90px; scroll-margin-top: 100px; }
.study-steps-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 32px; align-items: start; }
.sstep-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sstep { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 22px 20px; overflow: hidden; transition: border-color .35s, box-shadow .35s; }
.sstep:hover { border-color: transparent; box-shadow: var(--shadow); }
.sstep .n { position: absolute; right: 16px; top: 8px; font-family: var(--f-latin); font-weight: 700; font-size: 44px; line-height: 1; color: var(--mist); }
.sstep .ic { position: relative; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--indigo-900); color: var(--gold); }
.sstep .ic svg { width: 22px; height: 22px; }
.sstep h4 { position: relative; margin: 2px 0 6px; font-family: var(--f-serif); font-size: 18px; color: var(--indigo-900); }
.sstep p { position: relative; margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
.study-side { display: grid; gap: 16px; position: sticky; top: 110px; }
.study-side figure { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); cursor: zoom-in; }
.study-side img { width: 100%; height: 100%; object-fit: cover; }
.ai-note { margin: 0; font-size: 12px; color: var(--muted); }

@media (max-width: 1024px) {
  .study-hero { grid-template-columns: 1fr; }
  .study-float.f1 { left: 14px; }
  .study-float.f2 { right: 14px; }
  .why-grid, .programs { grid-template-columns: 1fr 1fr; }
  .study-steps-grid { grid-template-columns: 1fr; }
  .study-side { position: static; grid-template-columns: 1fr 1fr; }
  .ai-note { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .lang-btn { height: 42px; padding: 0 10px; gap: 5px; }
  .lang-btn svg.c { display: none; }
  .study-hero { border-radius: 24px; }
  .study-checks { grid-template-columns: 1fr; }
  .study-float.f2 { display: none; }
  .study-float.f1 { bottom: 14px; padding: 10px 14px; }
  .why-grid, .programs, .sstep-list { grid-template-columns: 1fr; }
  .study-side { grid-template-columns: 1fr; }
}

/* ===== Vicky Dimond Manpower rebrand ===== */
/* the logo already carries the wordmark, so the text beside it is dropped and the mark is enlarged */
.brand-text { display: none !important; }
.brand img { height: 58px; }
.site-header.scrolled .brand img { height: 48px; }
@media (max-width: 1024px) { .brand img { height: 48px; } }
/* the zh company line is 10 characters — keep it on one line */
:root[data-lang="zh"] .hero h1 .accent, :root[data-lang="ko"] .hero h1 .accent { font-size: .8em; letter-spacing: .04em; white-space: nowrap; }
