/* ============================================================
   NDPS — ND Project Space
   Premium B2B workspace project management site
   ============================================================ */

:root {
  --ink: #16130f;
  --ink-2: #3a352e;
  --muted: #7a7168;
  --line: #e7e2da;
  --bg: #ffffff;
  --bg-soft: #f7f4ef;
  --bg-dark: #16130f;
  --accent: #b08757;      /* warm bronze */
  --accent-deep: #8a6a41;
  --blue: #234ee0;        /* global vertical bar */
  --blue-glow: #6f8bff;
  --num-stroke: rgba(22,19,15,.16);
  --max: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  /* 파란 바가 차지하는 우측 폭(바 CSS와 동일값). 콘텐츠 안전여백 계산에만 사용 */
  --bar-inset: 20vw;
  --bar-gap: 26px;   /* 바 왼쪽 경계와 콘텐츠 사이 여유 */
  /* NanumSquare 계열 (PPTX와 동일). 제목류는 ExtraBold(800) */
  --display: "NanumSquare", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "NanumSquare", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding-left: var(--pad);
  /* 우측은 파란 바 왼쪽 경계 안쪽에서 콘텐츠가 끝나도록 안전여백 확보.
     (100vw-max)/2 = 가운데 정렬 시 이미 확보된 우측 여백. 부족한 만큼만 추가. */
  padding-right: max(var(--pad), calc(var(--bar-inset) + var(--bar-gap) - max(0px, (100vw - var(--max)) / 2)));
}
/* 헤더는 전체 폭 사용 → 로고는 왼쪽 끝, KO/EN·메뉴는 우측 끝(파란 바보다 바깥쪽)으로 */
.nav-inner { max-width: none; padding-right: var(--pad); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,0);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
/* subtle top scrim so white nav stays legible over bright imagery */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(12,10,8,.32), rgba(12,10,8,0));
  opacity: 1; transition: opacity .4s var(--ease);
}
.site-header.scrolled::before { opacity: 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: flex; flex-direction: column; line-height: 1.05; color: #fff; transition: color .4s var(--ease); }
.site-header.scrolled .brand,
.site-header.light-nav .brand { color: var(--ink); }
.brand-mark { font-weight: 700; letter-spacing: .16em; font-size: 20px; }
.brand-sub { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; opacity: .7; margin-top: 2px; }

.nav-links { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav-links a {
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
  color: rgba(255,255,255,.88); position: relative; padding: 6px 0;
  transition: color .3s var(--ease);
}
.site-header.scrolled .nav-links a { color: var(--ink-2); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--accent); transition: width .35s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent; border: 1px solid rgba(255,255,255,.4);
  color: #fff; padding: 6px 12px; border-radius: 999px; cursor: pointer;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .06em;
  transition: all .3s var(--ease);
}
.site-header.scrolled .lang-toggle { border-color: var(--line); color: var(--ink); }
.lang-toggle:hover { border-color: var(--accent); }
.lang-opt { opacity: .5; transition: opacity .3s; }
.lang-opt.active { opacity: 1; color: var(--accent); }
.lang-divider { opacity: .4; }

.menu-btn { display: none; flex-direction: column; gap: 5px; width: 30px; height: 24px;
  background: none; border: 0; cursor: pointer; padding: 0; justify-content: center; }
.menu-btn span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: all .3s var(--ease); }
.site-header.scrolled .menu-btn span { background: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  letter-spacing: .01em; cursor: pointer; transition: all .35s var(--ease); border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(138,106,65,.7); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("../assets/images/callaway-2.jpg") center/cover no-repeat;
  transform: scale(1.06); animation: heroZoom 16s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,10,8,.82) 0%, rgba(12,10,8,.62) 42%, rgba(12,10,8,.25) 100%);
}
.hero-inner { position: relative; z-index: 2; color: #fff; padding-top: 90px; padding-bottom: 60px; max-width: 900px; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: .32em; font-size: 12.5px; font-weight: 600;
  color: var(--accent); margin: 0 0 22px;
}
.hero-title {
  margin: 0 0 26px; font-family: var(--display); font-weight: 800;
  font-size: clamp(23px, 4.6vw, 54px); line-height: 1.16; letter-spacing: -.02em;
}
.hero-title .reveal-inner { display: block; }
.hero-lead { font-size: clamp(15px, 1.6vw, 18.5px); line-height: 1.75; color: rgba(255,255,255,.86); max-width: 620px; margin: 0 0 38px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .2em;
  color: var(--accent); margin-bottom: 14px;
}
.section-tag.light { color: var(--accent); }
.section-title {
  font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.15; letter-spacing: -.02em; margin: 0;
}
.section-title.light { color: #fff; }
.section-desc { margin: 22px 0 0; font-size: clamp(15px, 1.5vw, 17.5px); color: var(--muted); line-height: 1.7; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.lead-xl { font-size: clamp(19px, 2.2vw, 26px); line-height: 1.5; font-weight: 500; color: var(--ink); margin: 0 0 24px; letter-spacing: -.01em; }
.lead-body { font-size: 16px; color: var(--ink-2); line-height: 1.8; margin: 0 0 34px; }
.capability-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.capability-list li {
  padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); position: relative;
  font-size: 16px; font-weight: 500; color: var(--ink);
}
.capability-list li::before {
  content: ""; position: absolute; left: 4px; top: 24px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent);
}

.profile-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 3vw, 36px); }
.section-alt .profile-card { background: #fff; }
.profile-role { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; font-weight: 600; }
.profile-name { font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 24px; }
.profile-block { margin-bottom: 22px; }
.profile-block h4 { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; font-weight: 600; }
.profile-block ul { display: grid; gap: 8px; }
.profile-block li { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; padding-left: 14px; position: relative; }
.profile-block li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.fact-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--line);
}
.fact { display: flex; flex-direction: column; gap: 6px; }
.fact-num { font-family: var(--display); font-size: clamp(19px, 2.1vw, 27px); font-weight: 800; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.fact-label { font-size: 13px; color: var(--muted); letter-spacing: .02em; }

/* ---------- Services / Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; list-style: none; }
.process-step {
  padding: 30px 22px 30px 0; border-top: 2px solid var(--ink); position: relative;
}
.process-step + .process-step { padding-left: 22px; }
.step-no { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.process-step h3 { font-size: 19px; margin: 12px 0 10px; font-weight: 600; letter-spacing: -.01em; }
.process-step p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }
.deliverables { margin-top: 16px; }
.deliv-label {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: 8px;
}
.deliv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.deliv-tags li {
  font-size: 11.5px; font-weight: 500; color: var(--ink-2);
  background: rgba(176,135,87,.1); border: 1px solid rgba(176,135,87,.25);
  padding: 4px 10px; border-radius: 999px; line-height: 1.3;
}
.section-alt .deliv-tags li { background: rgba(176,135,87,.12); }

.mixmatch {
  margin-top: clamp(48px, 6vw, 72px); background: var(--ink); color: #fff;
  border-radius: 18px; padding: clamp(32px, 5vw, 56px);
}
.mixmatch h3 { font-family: var(--display); font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; letter-spacing: -.01em; margin: 0 0 16px; }
.mixmatch p { font-size: clamp(15px, 1.5vw, 17px); line-height: 1.75; color: rgba(255,255,255,.82); margin: 0; max-width: 820px; }

/* ---------- Work ---------- */
.work-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer;
  transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.work-card {
  position: relative; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: var(--bg-soft); aspect-ratio: 4 / 3; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(22,19,15,.5); }
.work-card.no-photo { display: flex; align-items: flex-end; background: linear-gradient(150deg, #201b15, #38302554); }

/* logo card (no interior photo available — show client brand mark) */
.work-card.logo-card { display: flex; flex-direction: column; background: #fff; cursor: default; }
.work-card.logo-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(22,19,15,.28); }
.logo-wrap {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 30px; background:
    radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #f7f4ef 100%);
  border-bottom: 1px solid var(--line);
}
.logo-card .brand-logo { max-width: 58%; max-height: 58%; width: auto; object-fit: contain; }
.logo-card .card-veil { display: none; }
.logo-card .card-body { color: var(--ink); padding: 20px 22px 22px; }
.logo-card .card-cat { color: var(--accent-deep); }
.logo-card .card-title { color: var(--ink); }
.logo-card .card-meta { color: var(--muted); }
.logo-card .card-year { color: var(--muted); opacity: .65; }
.work-card .card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work-card:hover .card-img { transform: scale(1.06); }
.card-veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.4) 35%, rgba(0,0,0,0) 60%); }
.no-photo .card-veil { background: none; }
.card-body { position: relative; z-index: 2; padding: 22px; margin-top: auto; color: #fff; align-self: end; width: 100%; }
.card-cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 1px 8px rgba(0,0,0,.4); }
.card-title { font-size: 18px; font-weight: 600; margin: 8px 0 6px; line-height: 1.25; letter-spacing: -.01em; text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 1px 8px rgba(0,0,0,.4); }
.card-meta { font-size: 12.5px; color: rgba(255,255,255,.72); line-height: 1.5; text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 1px 8px rgba(0,0,0,.4); }
.card-year { position: absolute; top: 16px; right: 18px; z-index: 2; font-family: var(--display); font-size: 21px; font-weight: 800; color: #fff; opacity: .92; text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 1px 8px rgba(0,0,0,.4); }
.no-photo .card-title, .no-photo .card-meta { color: #fff; }
/* logo cards use dark text on a white background — the shadow would look muddy, so remove it there */
.logo-card .card-cat, .logo-card .card-title, .logo-card .card-meta, .logo-card .card-year { text-shadow: none; }
.card-count {
  position: absolute; top: 16px; left: 18px; z-index: 2; font-size: 11.5px; font-weight: 600;
  color: #fff; background: rgba(0,0,0,.35); backdrop-filter: blur(4px);
  padding: 4px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px;
}

/* ---------- Contact ---------- */
.section-dark { background: var(--bg-dark); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact-lead { font-size: clamp(16px, 1.7vw, 19px); color: rgba(255,255,255,.72); line-height: 1.7; margin: 22px 0 0; max-width: 460px; }
.contact-info { display: grid; gap: 4px; }
.contact-item {
  display: flex; flex-direction: column; gap: 5px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.14);
  transition: padding-left .3s var(--ease);
}
a.contact-item:hover { padding-left: 10px; }
.contact-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.contact-value { font-size: clamp(17px, 2vw, 22px); font-weight: 500; letter-spacing: -.01em; }

/* ---------- Footer ---------- */
.site-footer { background: #0d0b09; color: rgba(255,255,255,.7); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; color: #fff; }
.footer-copy { font-size: 13px; margin: 0; color: rgba(255,255,255,.5); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 3000; background: rgba(10,8,6,.94);
  display: flex; align-items: center; justify-content: center; padding: 5vw;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure { margin: 0; max-width: 1100px; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-figure img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.lb-figure figcaption { color: rgba(255,255,255,.82); font-size: 14px; text-align: center; letter-spacing: .01em; }
.lb-close { position: absolute; top: 22px; right: 28px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; opacity: .8; transition: opacity .3s; }
.lb-close:hover { opacity: 1; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25); color: #fff; width: 52px; height: 52px; border-radius: 50%;
  font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease);
}
.lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-prev { left: 3vw; }
.lb-next { right: 3vw; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   Intro preloader
   ============================================================ */
.intro {
  position: fixed; inset: 0; z-index: 1000; background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
}
html.js .intro { opacity: 1; visibility: visible; }
html.js.intro-done .intro {
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s var(--ease);
}
.intro-logo { text-align: center; }
html.js .intro-logo { animation: introLogoIn 1s var(--ease) both; }
html.js.intro-done .intro-logo {
  opacity: 0; transform: translateY(-14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.intro-mark {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 7vw, 60px); letter-spacing: .16em; color: var(--ink);
}
.intro-sub {
  display: block; margin-top: 12px; font-size: clamp(10px, 1.4vw, 13px);
  letter-spacing: .42em; text-transform: uppercase; color: var(--muted);
}
@keyframes introLogoIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Global blue vertical bar + flowing glow
   ============================================================ */
.blue-bar {
  /* original position (right region) */
  position: fixed; top: 0; bottom: 0; right: 20vw; width: 4px; z-index: 1500;
  pointer-events: none; overflow: hidden;
}
/* base line: dims on middle sections, stays sharp on intro/hero/footer */
.blue-bar::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(35,78,224,.5), rgba(35,78,224,.75), rgba(35,78,224,.5));
  opacity: 1; transition: opacity .6s var(--ease);
}
html.bar-dim .blue-bar::before { opacity: .25; }

/* flowing light — previous (subtle) speed & brightness; always visible */
.bar-glow {
  position: absolute; left: 50%; top: 0; width: 4px; height: 34vh;
  transform: translate(-50%, -40vh); opacity: 0;
  background: linear-gradient(to bottom,
    transparent, var(--blue) 35%, var(--blue-glow) 50%, var(--blue) 65%, transparent);
  box-shadow: 0 0 16px 3px rgba(111,139,255,.6);
  will-change: transform, opacity;
  animation: barFlow 4.4s cubic-bezier(.45, 0, .25, 1) infinite;
}
@keyframes barFlow {
  0%   { transform: translate(-50%, -40vh); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translate(-50%, 116vh); opacity: 0; }
}

/* ============================================================
   Hero intro reveal (gated on intro completion)
   ============================================================ */
.hero-title .reveal-line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .reveal-inner { display: block; }

html.js .hero-eyebrow,
html.js .hero-lead,
html.js .hero-cta { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .hero-title .reveal-inner { transform: translateY(115%); transition: transform 1.05s var(--ease); }
html.js .hero-bg { opacity: 0; transition: opacity 1.4s ease; }
html.js .scroll-cue { opacity: 0; transition: opacity .9s var(--ease); }

html.intro-done .hero-eyebrow { opacity: 1; transform: none; transition-delay: .1s; }
html.intro-done .hero-title .reveal-line:nth-child(1) .reveal-inner { transform: none; transition-delay: .24s; }
html.intro-done .hero-title .reveal-line:nth-child(2) .reveal-inner { transform: none; transition-delay: .36s; }
html.intro-done .hero-lead { opacity: 1; transform: none; transition-delay: .54s; }
html.intro-done .hero-cta { opacity: 1; transform: none; transition-delay: .68s; }
html.intro-done .hero-bg { opacity: 1; }
html.intro-done .scroll-cue { opacity: 1; transition-delay: 1s; }

/* ---------- Scroll cue ---------- */
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.72);
}
.scroll-text { font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; }
.scroll-line { position: relative; width: 1px; height: 50px; background: rgba(255,255,255,.26); overflow: hidden; }
.scroll-line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 45%;
  background: linear-gradient(to bottom, transparent, #fff);
  animation: scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot { 0% { transform: translateY(-110%); } 100% { transform: translateY(320%); } }

/* ============================================================
   Contents section
   ============================================================ */
.contents { background: var(--bg); padding-top: clamp(72px, 10vw, 120px); }
.contents-title {
  font-size: clamp(13px, 1.6vw, 15px); letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin: 0 0 clamp(28px, 5vw, 52px);
}
.contents-list { display: grid; gap: 0; }
.contents-item { border-top: 1px solid var(--line); }
.contents-item:last-child { border-bottom: 1px solid var(--line); }
.contents-item a {
  display: flex; align-items: center; gap: clamp(18px, 4vw, 52px);
  padding: clamp(18px, 3.2vw, 32px) 6px; text-decoration: none;
  transition: padding-left .4s var(--ease);
}
.contents-item a:hover { padding-left: clamp(8px, 1.5vw, 22px); }
.contents-num {
  font-family: var(--display); font-weight: 800; line-height: 1;
  font-size: clamp(40px, 8vw, 100px); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px var(--num-stroke);
  min-width: 1.5em; flex-shrink: 0;
  transition: -webkit-text-stroke-color .4s var(--ease), color .4s var(--ease);
}
.contents-item a:hover .contents-num { -webkit-text-stroke-color: var(--accent); }
.contents-text { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.contents-ko { font-family: var(--display); font-weight: 800; font-size: clamp(19px, 2.6vw, 30px); letter-spacing: -.01em; color: var(--ink); line-height: 1.2; }
.contents-en { font-size: clamp(12px, 1.4vw, 14px); color: var(--muted); letter-spacing: .01em; }
.contents-go {
  font-size: clamp(18px, 2vw, 24px); color: var(--accent); flex-shrink: 0;
  opacity: 0; transform: translateX(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.contents-item a:hover .contents-go { opacity: 1; transform: translateX(0); }

/* staggered fade-in */
.contents-item { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.contents.in .contents-item { opacity: 1; transform: none; }
.contents.in .contents-item:nth-child(1) { transition-delay: .05s; }
.contents.in .contents-item:nth-child(2) { transition-delay: .18s; }
.contents.in .contents-item:nth-child(3) { transition-delay: .31s; }
.contents.in .contents-item:nth-child(4) { transition-delay: .44s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step, .process-step + .process-step { padding-left: 0; padding-right: 18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --bar-inset: 7vw; --bar-gap: 18px; }
  .menu-btn { display: flex; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(14px);
    padding: 8px var(--pad) 20px; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .35s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { color: var(--ink-2); padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn.open span:nth-child(2) { opacity: 0; }
  .menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .fact-row { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }

  /* mobile: crop hero to green wall + office centre */
  .hero-bg { background-position: 68% center; }
  .hero-inner { padding-top: 84px; }
  /* let the long English title wrap instead of clipping */
  .hero-title .reveal-line { overflow: visible; padding-bottom: 0; }
  .hero-title { line-height: 1.2; }
  /* blue bar closer to the right edge on smaller screens (original) */
  .blue-bar { right: 7vw; }
  /* contents: hide hover arrow on touch, tighten spacing */
  .contents-go { display: none; }
  .contents-item a { gap: 16px; }
  /* keep nav actions pinned right and fully visible, but clear of the (edge-near) bar */
  .nav-inner { flex-wrap: nowrap; padding-right: max(var(--pad), calc(var(--bar-inset) + var(--bar-gap))); }
  .brand { flex: 0 1 auto; min-width: 0; }
  .nav-actions { flex: 0 0 auto; margin-left: auto; }
  .menu-btn span { box-shadow: 0 0 3px rgba(0,0,0,.35); }
}

@media (max-width: 560px) {
  :root { --bar-inset: 5.5vw; --bar-gap: 14px; }
  .work-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-nav { width: 44px; height: 44px; }
  .blue-bar { right: 5.5vw; }
  .contents-num { min-width: 1.3em; }
  .scroll-cue { bottom: 18px; }
  .nav-actions { gap: 9px; }
  .brand-sub { display: none; }
  .lang-toggle { padding: 6px 10px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .hero-bg { animation: none; transform: none; }
  .scroll-line::after, .intro-logo { animation: none !important; }
  .bar-glow { display: none !important; }
  /* ensure all content is shown without motion */
  html.js .hero-eyebrow, html.js .hero-lead, html.js .hero-cta, html.js .scroll-cue { opacity: 1 !important; transform: none !important; }
  html.js .hero-title .reveal-inner { transform: none !important; }
  html.js .hero-bg { opacity: 1 !important; }
  .contents-item { opacity: 1 !important; transform: none !important; }
  .intro { display: none !important; }
}
