/* =========================================================
   Union Holdings — Landing draft v2 (2026-11-21)
   Colors are taken from the official logo.
   ========================================================= */

:root {
  /* Brand (from logo) */
  --navy-950: #0a1826;
  --navy-900: #0f2233;
  --navy-800: #173757;   /* logo navy */
  --navy-700: #23496f;
  --teal-600: #3f7f9e;   /* logo teal */
  --sky-500: #4b9fc8;    /* logo sky */
  --sky-300: #9fd0e8;    /* sky tint for dark backgrounds */
  --sky-100: #e4f0f6;
  --taupe-700: #7a6257;  /* text-safe taupe (AA on ivory) */
  --taupe-500: #9a7f74;  /* logo taupe */
  --sand-300: #d8cbbf;   /* logo light taupe */
  --sand-100: #efe9e2;

  /* Surfaces */
  --ivory: #f7f6f2;
  --paper: #ffffff;
  --line: #e4e0d8;
  --line-strong: #cfc8bc;
  --line-dark: rgba(255, 255, 255, .16);

  /* Text */
  --text: #16232f;
  --text-muted: #4f5b66;
  --text-on-dark: #f3f1ec;
  --text-on-dark-muted: #c2ccd6;

  /* Type */
  /* 모든 글꼴은 Pretendard 하나로 통일 (회장님 지시 2026-11-21) */
  --font-display: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --container: 1240px;
  --header-h: 84px;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 800ms;

  --shadow-md: 0 14px 36px -14px rgba(15, 34, 51, .22);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ivory); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[lang="ko"] body { word-break: keep-all; font-size: 16.5px; line-height: 1.75; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; color: var(--navy-800); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky-500); outline-offset: 3px; border-radius: 2px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--radius); transition: top var(--dur-fast); }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-700);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: linear-gradient(90deg, var(--taupe-500), var(--sand-300)); }
html[lang="ko"] .eyebrow { letter-spacing: .14em; }
.on-dark .eyebrow, .eyebrow.light { color: var(--sand-300); }
.on-dark .eyebrow::before, .eyebrow.light::before { background: var(--sand-300); }

.display { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.75rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.01em; }
.display em { font-style: normal; color: var(--teal-600); }
html[lang="ko"] .display { font-size: clamp(2.2rem, 4.6vw, 3.75rem); line-height: 1.24; letter-spacing: -.025em; }
html[lang="ko"] .display em { font-style: normal; }

.h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.06; letter-spacing: -.005em; }
html[lang="ko"] .h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); line-height: 1.32; letter-spacing: -.025em; }
.h3 { font-family: var(--font-body); font-size: 1.2rem; font-weight: 600; line-height: 1.35; letter-spacing: -.005em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-muted); max-width: 38em; }
.num { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: .14em; color: var(--taupe-700); font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; font-size: 15px; font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.btn svg { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { box-shadow: inset 0 2px 6px rgba(0,0,0,.15); }
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-900); }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy-800); background: rgba(23,55,87,.04); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: var(--sand-100); }
.btn-outline-light { background: rgba(255,255,255,.02); color: #fff; border-color: rgba(255,255,255,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--navy-800); min-height: 44px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--dur) var(--ease-out); }
.link-arrow:hover span { background-size: 100% 1px; }
.on-dark .link-arrow { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur), height var(--dur) var(--ease-out);
}
.site-header.is-scrolled {
  --header-h: 72px;
  background: rgba(247, 246, 242, .9);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 42px; width: auto; transition: opacity var(--dur); }
.brand .logo-light { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px;
  font-size: 14.5px; font-weight: 500; color: var(--text); transition: color var(--dur-fast);
}
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 8px; height: 1px; background: var(--taupe-500); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.nav a:hover { color: var(--navy-800); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.lang a, .lang span[aria-current] { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; }
.lang a { color: var(--text-muted); transition: color var(--dur-fast); }
.lang a:hover { color: var(--navy-800); }
.lang [aria-current] { color: var(--navy-800); }
.lang .sep { width: 1px; height: 14px; background: var(--line-strong); }
.header-cta { display: none; }
.header-cta.btn-primary { transition: background-color var(--dur), color var(--dur); }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: var(--radius); color: var(--navy-800); }
.menu-toggle svg { width: 24px; height: 24px; }
@media (min-width: 1100px) { .nav { display: block; } .header-cta { display: inline-flex; } .menu-toggle { display: none; } }

/* Header over the dark hero (before scrolling) */
.site-header.over-hero:not(.is-scrolled) .logo-dark { opacity: 0; }
.site-header.over-hero:not(.is-scrolled) .logo-light { opacity: 1; }
.site-header.over-hero:not(.is-scrolled) .nav a { color: rgba(255,255,255,.88); }
.site-header.over-hero:not(.is-scrolled) .nav a:hover { color: #fff; }
.site-header.over-hero:not(.is-scrolled) .nav a::after { background: var(--sand-300); }
.site-header.over-hero:not(.is-scrolled) .lang a { color: rgba(255,255,255,.65); }
.site-header.over-hero:not(.is-scrolled) .lang a:hover,
.site-header.over-hero:not(.is-scrolled) .lang [aria-current] { color: #fff; }
.site-header.over-hero:not(.is-scrolled) .lang .sep { background: rgba(255,255,255,.35); }
.site-header.over-hero:not(.is-scrolled) .header-cta { background: #fff; color: var(--navy-800); }
.site-header.over-hero:not(.is-scrolled) .menu-toggle { color: #fff; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--ivory);
  display: flex; flex-direction: column; padding: 0 24px 32px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu-top { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-top img { height: 40px; width: auto; }
.mobile-menu nav { flex: 1; overflow-y: auto; padding-top: 16px; }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 60px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.6rem; color: var(--navy-800); }
html[lang="ko"] .mobile-menu nav a { font-size: 1.3rem; }
.mobile-menu nav a svg { width: 18px; height: 18px; color: var(--taupe-500); }
.mobile-menu .btn { width: 100%; margin-top: 12px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero (full-bleed film) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--navy-950) center / cover no-repeat; color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,24,38,.62) 0%, rgba(10,24,38,0) 22%),
    linear-gradient(0deg, rgba(10,24,38,.94) 0%, rgba(10,24,38,.55) 26%, rgba(10,24,38,0) 55%),
    linear-gradient(90deg, rgba(10,24,38,.78) 0%, rgba(10,24,38,.42) 42%, rgba(10,24,38,0) 72%);
}
.hero-content { padding-top: calc(var(--header-h) + 64px); padding-bottom: 56px; }
.hero-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--sand-300); }
.hero-kicker::before { content: ""; width: 40px; height: 1px; background: var(--sand-300); }
html[lang="ko"] .hero-kicker { letter-spacing: .16em; }
.hero-title {
  font-family: var(--font-display); font-weight: 500; color: #fff;
  font-size: clamp(3.1rem, 8vw, 7.4rem); line-height: .98; letter-spacing: -.015em;
  max-width: 11.5em; text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero-title em { font-style: normal; color: var(--sky-300); }
html[lang="ko"] .hero-title { font-size: clamp(2.5rem, 6vw, 5.4rem); line-height: 1.18; letter-spacing: -.03em; }
html[lang="ko"] .hero-title em { font-style: normal; }
.hero-lead { margin-top: 28px; max-width: 34em; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--text-on-dark-muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
/* 넓은 화면에서만 지정한 위치에서 줄바꿈 (휴대폰에서는 자연스럽게 흐르게) */
@media (max-width: 767px) { .br-wide { display: none; } }

.hero-bar { border-top: 1px solid var(--line-dark); background: linear-gradient(0deg, rgba(10,24,38,.35), rgba(10,24,38,0)); }
.hero-bar-inner { display: grid; grid-template-columns: 1fr; }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.hero-facts li { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line-dark); }
.hero-facts strong { display: block; font-size: 14px; font-weight: 600; color: #fff; line-height: 1.35; }
.hero-facts small { display: block; font-size: 12.5px; color: var(--text-on-dark-muted); line-height: 1.4; margin-top: 2px; }
.hero-scene { display: flex; align-items: center; gap: 16px; padding: 18px 0 22px; }
.scene-progress { display: grid; grid-template-columns: repeat(4, 28px); gap: 6px; }
.scene-progress i { height: 2px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.scene-progress i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.scene-progress i.is-done::after, .scene-progress i.is-active::after { transform: scaleX(1); }
.scene-label { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scene-label b { color: var(--sand-300); font-weight: 600; margin-right: 10px; }
.video-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.video-toggle:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.video-toggle svg { width: 16px; height: 16px; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }
@media (min-width: 1024px) {
  .hero-content { padding-bottom: 72px; }
  .hero-facts { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .hero-facts li { padding: 22px 24px 22px 0; border-bottom: 0; border-right: 1px solid var(--line-dark); margin-right: 24px; }
  .hero-facts li:last-child { border-right: 0; margin-right: 0; }
  .hero-scene { padding: 4px 0 18px; }
}
@media (min-width: 1280px) {
  .hero-bar-inner { grid-template-columns: 1fr auto; align-items: stretch; }
  .hero-facts li { padding: 26px 24px 26px 0; }
  .hero-facts li:last-child { border-right: 1px solid var(--line-dark); margin-right: 32px; }
  .hero-scene { padding: 0; min-width: 330px; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
@media (min-width: 1024px) { .section { padding: 136px 0; } }
.section-white { background: var(--paper); }
.section-dark { background: radial-gradient(900px 500px at 85% 0%, rgba(75,159,200,.16), transparent 60%), var(--navy-800); color: var(--text-on-dark); }
.section-dark .h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: var(--text-on-dark-muted); }
.section-head { display: grid; gap: 20px; margin-bottom: 56px; }
@media (min-width: 1024px) { .section-head { margin-bottom: 72px; } .section-head.split { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; } }

/* Services */
.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.service { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 40px 34px 34px; background: var(--paper); transition: background-color var(--dur) var(--ease-out); }
@media (max-width: 719px) { .service { padding: 28px 24px 24px; gap: 12px; } }
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--navy-800), var(--sky-500)); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
a.service:hover { background: #fbfaf8; }
a.service:hover::before, a.service:focus-visible::before { transform: scaleX(1); }
.service-top { display: flex; align-items: center; justify-content: space-between; }
.service-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--sky-100); color: var(--navy-800); transition: background-color var(--dur), color var(--dur); }
a.service:hover .service-icon { background: var(--navy-800); color: #fff; }
.service-icon svg { width: 22px; height: 22px; }
.service p { color: var(--text-muted); font-size: 15.5px; flex: 1; }
.service-intro { background: var(--navy-800); color: var(--text-on-dark); justify-content: space-between; }
.service-intro .h2 { color: #fff; font-size: clamp(1.9rem, 2.6vw, 2.45rem); }
html[lang="ko"] .service-intro .h2 { font-size: clamp(1.45rem, 2vw, 1.85rem); }
.service-intro p { color: var(--text-on-dark-muted); }
.service-intro .link-arrow { color: #fff; }

/* Process (dark) */
.process { display: grid; gap: 0; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 36px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: var(--line-dark); }
.step:last-child::before { display: none; }
.step-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); font-family: var(--font-display); font-size: 1.45rem; color: #fff; background: var(--navy-800); }
.step:first-child .step-num { background: #fff; color: var(--navy-800); border-color: #fff; }
.step h3 { margin: 12px 0 6px; }
.step p { color: var(--text-on-dark-muted); font-size: 15px; }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 28px; }
  .step { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; }
  .step::before { left: 64px; right: -28px; top: 28px; bottom: auto; width: auto; height: 1px; }
  .step h3 { margin-top: 28px; }
}
.process-foot { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line-dark); color: var(--text-on-dark-muted); font-size: 15px; }

/* Portfolio */
.portfolio { display: grid; gap: 20px; }
@media (min-width: 720px) { .portfolio { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .portfolio { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.brand-card { position: relative; display: flex; flex-direction: column; min-height: 360px; padding: 28px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur), transform var(--dur) var(--ease-out); }
@media (max-width: 719px) { .brand-card { min-height: 0; } .brand-soon { min-height: 180px; } }
a.brand-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); transform: translateY(-2px); }
.brand-cat { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe-700); }
.brand-card h3 { margin-top: auto; font-family: var(--font-display); font-size: 1.8rem; line-height: 1.15; font-weight: 500; }
html[lang="ko"] .brand-card h3 { font-size: 1.4rem; line-height: 1.4; }
.brand-card p { margin-top: 10px; font-size: 14.5px; color: var(--text-muted); }
.brand-feature { background: linear-gradient(160deg, #fff 0%, #f1f6f9 100%); }
.brand-feature .product-visual { margin: 24px 0; height: 128px; border-radius: var(--radius); display: grid; place-items: center; background: repeating-linear-gradient(135deg, rgba(75,159,200,.06) 0 10px, transparent 10px 20px); border: 1px dashed var(--line-strong); color: var(--text-muted); font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; font-size: 12.5px; font-weight: 600; color: var(--navy-800); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px; line-height: 1.2; }
.tag svg { width: 14px; height: 14px; color: var(--teal-600); }
.brand-soon { background: transparent; border-style: dashed; }
.brand-soon h3 { color: var(--text-muted); }
.soon-pill { align-self: flex-start; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe-700); }
.brand-next { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.brand-next .brand-cat { color: var(--sand-300); }
.brand-next h3 { color: #fff; }
.brand-next p { color: var(--text-on-dark-muted); }
.brand-next .link-arrow { color: #fff; margin-top: 16px; }
.brand-card .link-arrow { margin-top: 12px; }

/* Two paths */
.paths { display: grid; gap: 20px; }
@media (min-width: 900px) { .paths { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.path { display: flex; flex-direction: column; gap: 20px; padding: 44px 36px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
@media (max-width: 719px) { .path { padding: 32px 24px; } }
.path-alt { background: var(--sand-100); border-color: transparent; }
.path-label { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-700); }
.path-label .flag { display: inline-grid; place-items: center; min-width: 36px; height: 24px; padding: 0 6px; border: 1px solid var(--line-strong); border-radius: 3px; font-size: 11px; letter-spacing: .1em; color: var(--navy-800); }
.path .h2 { font-size: clamp(1.85rem, 2.8vw, 2.5rem); }
html[lang="ko"] .path .h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
.checks { display: grid; gap: 14px; margin: 4px 0 8px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--teal-600); }
.path .btn { align-self: flex-start; margin-top: auto; }

/* Leadership */
.chair { display: grid; gap: 48px; align-items: center; margin-bottom: 96px; }
@media (min-width: 900px) { .chair { grid-template-columns: 5fr 7fr; gap: 88px; } }
/* Gold-framed portrait boxes (cutout photos on the page background) */
:root { --gold: #b8996a; --gold-line: rgba(184, 153, 106, .7); --gold-soft: rgba(184, 153, 106, .32); }
.portrait, .member .photo {
  position: relative; aspect-ratio: 40 / 43; width: 100%; overflow: hidden;
  border-radius: 3px; border: 1px solid var(--gold-line);
  background: radial-gradient(120% 80% at 50% 30%, #fdfcf9 0%, var(--ivory) 55%, #efe9df 100%);
}
.portrait::after, .member .photo::after {
  content: ""; position: absolute; inset: 9px; border: 1px solid var(--gold-soft); border-radius: 2px; pointer-events: none;
}
.portrait { max-width: 460px; }
.portrait img, .member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.quote-mark { font-family: var(--font-display); font-size: 6rem; line-height: .6; color: var(--sand-300); height: 44px; margin-top: 24px; }
.chair blockquote { margin: 0; }
.chair blockquote p { font-family: var(--font-display); font-size: clamp(1.85rem, 3.2vw, 2.75rem); line-height: 1.2; color: var(--navy-800); }
html[lang="ko"] .chair blockquote p { font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.55; letter-spacing: -.025em; }
.sign { margin-top: 28px; display: flex; flex-direction: column; gap: 2px; }
.sign strong { font-size: 17px; color: var(--navy-800); }
.sign span { font-size: 14px; color: var(--text-muted); }
.chair .link-arrow { margin-top: 20px; }

.team { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 16px; }
@media (min-width: 900px) { .team { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; } }
.member figure { margin: 0; }
.member .photo img { transition: transform 1.2s var(--ease-out); transform-origin: 50% 30%; }
.member:hover .photo img { transform: scale(1.03); }
.member:hover .photo { border-color: var(--gold); }
.member .photo { transition: border-color var(--dur); }
.member figcaption { padding-top: 16px; border-top: 0; }
.member .role { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-700); }
.member .name { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; color: var(--navy-800); }
html[lang="ko"] .member .name { font-size: 1.2rem; font-weight: 600; }
html[lang="ko"] .member .role { letter-spacing: .06em; }
.team-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.team-head h3 { font-family: var(--font-display); font-size: 1.6rem; }
html[lang="ko"] .team-head h3 { font-size: 1.3rem; }

/* Group + news */
.group-news { display: grid; gap: 64px; }
@media (min-width: 1024px) { .group-news { grid-template-columns: 7fr 5fr; gap: 80px; } }
.group-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); }
.group-list li { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.group-list b { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--navy-800); line-height: 1.25; overflow-wrap: anywhere; }
html[lang="ko"] .group-list b { font-size: 1.05rem; }
.group-list span { font-size: 13px; color: var(--text-muted); line-height: 1.45; }
.group-list .is-self b { color: var(--teal-600); }
.group-list .is-soon b { color: var(--text-muted); font-weight: 500; }
.group-list a:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.news-feature { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.news-feature time { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--taupe-700); text-transform: uppercase; }
.news-feature .cat { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); }
.news-feature h3 { font-family: var(--font-display); font-size: 1.85rem; line-height: 1.2; }
html[lang="ko"] .news-feature h3 { font-family: var(--font-body); font-size: 1.25rem; font-weight: 600; line-height: 1.5; }
.news-feature p { color: var(--text-muted); font-size: 15px; }
.sub-eyebrow { margin-bottom: 24px; }

/* Final CTA (image) */
.final-cta { position: relative; isolation: isolate; overflow: hidden; padding: 160px 0; color: var(--text-on-dark); background: var(--navy-900); }
.final-cta .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,24,38,.9) 0%, rgba(10,24,38,.6) 50%, rgba(10,24,38,.25) 100%); }
.final-cta .display { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.75rem); margin: 24px 0; max-width: 12em; }
html[lang="ko"] .final-cta .display { font-size: clamp(2rem, 4vw, 3.3rem); }
.final-cta .lead { color: var(--text-on-dark-muted); margin-bottom: 40px; }
@media (max-width: 719px) { .final-cta { padding: 112px 0; } }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--text-on-dark-muted); font-size: 14.5px; }
.footer-top { display: grid; gap: 48px; padding: 80px 0 56px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; } }
.footer-brand img { height: 46px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 22em; }
.site-footer h4 { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sand-300); margin-bottom: 16px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer address strong { display: block; color: var(--text-on-dark); font-weight: 600; margin-bottom: 4px; }
.footer-links li a { display: inline-flex; align-items: center; min-height: 36px; transition: color var(--dur-fast); }
.footer-links li a:hover { color: #fff; }
.pending { color: var(--sand-300); }
.footer-bottom { display: flex; flex-direction: column; gap: 12px; padding: 28px 0 36px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
@media (min-width: 900px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 32px; }
.trademark { font-size: 12.5px; color: #8796a5; padding-bottom: 28px; }

/* ---------- Pretendard 제목 다듬기 (세리프용 크기·굵기를 고딕에 맞게 조정) ---------- */
.hero-title { font-weight: 700; font-size: clamp(2.7rem, 6vw, 5.6rem); line-height: 1.08; letter-spacing: -.035em; }
html[lang="ko"] .hero-title { font-weight: 700; font-size: clamp(2.4rem, 5.2vw, 4.8rem); line-height: 1.2; letter-spacing: -.04em; }
.display { font-weight: 700; line-height: 1.12; letter-spacing: -.03em; }
html[lang="ko"] .display { font-weight: 700; letter-spacing: -.035em; }
.h2 { font-weight: 700; font-size: clamp(1.85rem, 3.3vw, 2.9rem); line-height: 1.2; letter-spacing: -.03em; }
html[lang="ko"] .h2 { font-weight: 700; letter-spacing: -.035em; }
.service-intro .h2 { font-size: clamp(1.6rem, 2.2vw, 2.05rem); }
.path .h2 { font-size: clamp(1.55rem, 2.4vw, 2.1rem); }
.final-cta .display { font-size: clamp(2.3rem, 4.6vw, 4rem); }
.brand-card h3 { font-weight: 700; font-size: 1.5rem; line-height: 1.3; letter-spacing: -.02em; }
.chair blockquote p { font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.42; letter-spacing: -.025em; }
.quote-mark { font-weight: 700; color: var(--sand-300); }
.member .name { font-weight: 700; font-size: 1.3rem; letter-spacing: -.015em; }
html[lang="ko"] .member .name { font-size: 1.2rem; }
.team-head h3 { font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
html[lang="ko"] .team-head h3 { font-size: 1.25rem; }
.group-list b { font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.news-feature h3 { font-weight: 700; font-size: 1.4rem; line-height: 1.38; letter-spacing: -.02em; }
.step-num { font-weight: 600; font-size: 1.15rem; }
.mobile-menu nav a { font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }

/* ---------- 21st 레퍼런스에서 옮긴 효과 (디자인은 그대로, 움직임만) ---------- */
/* GSAP가 움직임을 맡을 때는 CSS 전환을 끔 (서로 부딪히지 않게) */
.gsap-on .reveal, .gsap-on .hero .reveal { transition: none; }
/* 효과 스크립트가 켜지면 CSS 부드러운 스크롤을 끔 — 켜져 있으면 위치 재계산이 틀어져 아래쪽 글씨가 숨겨짐.
   같은 페이지 안 이동 버튼의 부드러운 이동은 main.js가 대신 처리 */
html.gsap-on { scroll-behavior: auto; }
.gsap-on .site-header { will-change: transform; }
/* 단어가 아래에서 솟아오르도록 가리는 틀 */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; will-change: transform; }
.hero-title .w { padding-bottom: .16em; margin-bottom: -.16em; }
.hero, .final-cta { will-change: clip-path; }
.hero-media { will-change: transform; }

/* 카드 위 마우스를 따라오는 은은한 빛 */
.spot { --mx: 50%; --my: 0px; }
.path.spot { position: relative; overflow: hidden; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(75, 159, 200, .12), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::after { opacity: 1; }
.service-intro.spot::after, .brand-next.spot::after { background: radial-gradient(340px circle at var(--mx) var(--my), rgba(255, 255, 255, .1), transparent 60%); }
.service > *, .brand-card > *, .path > * { position: relative; z-index: 1; }

/* 진행 절차: 단계가 스스로 넘어가며 진행선이 채워짐 */
.process[data-auto] .step { cursor: pointer; outline-offset: 6px; }
.process[data-auto] .step-num { transition: background-color .4s, color .4s, border-color .4s, box-shadow .4s; }
.process[data-auto] .step:first-child .step-num { background: var(--navy-800); color: #fff; border-color: rgba(255,255,255,.3); }
.process[data-auto] .step[data-done] .step-num { border-color: rgba(159, 208, 232, .7); }
.process[data-auto] .step[data-active] .step-num { background: #fff; color: var(--navy-800); border-color: #fff; box-shadow: 0 0 0 6px rgba(159, 208, 232, .14); }
.process[data-auto] .step h3, .process[data-auto] .step p { transition: opacity .4s; }
.process[data-auto] .step:not([data-active]) h3 { opacity: .72; }
.process[data-auto] .step:not([data-active]) p { opacity: .6; }
.process[data-auto] .step:hover h3, .process[data-auto] .step:hover p { opacity: 1; }
.process[data-auto] .step::after {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px;
  background: var(--sky-300); box-shadow: 0 0 10px var(--sky-300);
  transform: scaleY(0); transform-origin: 50% 0;
}
.process[data-auto] .step:last-child::after { display: none; }
.process[data-auto] .step[data-done]::after { transform: none; }
.process[data-auto] .step.run[data-active]::after { animation: fill-y var(--step-ms, 5600ms) linear forwards; }
.process[data-paused] .step::after { animation-play-state: paused !important; }
@keyframes fill-y { to { transform: scaleY(1); } }
@keyframes fill-x { to { transform: scaleX(1); } }
@media (min-width: 1024px) {
  .process[data-auto] .step::after { left: 64px; right: -28px; top: 28px; bottom: auto; width: auto; height: 1px; transform: scaleX(0); transform-origin: 0 50%; }
  .process[data-auto] .step[data-done]::after { transform: none; }
  .process[data-auto] .step.run[data-active]::after { animation-name: fill-x; }
}

/* ---------- 하위 페이지 공통: 머리 구역 (랜딩의 네이비 구역과 같은 색) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 88px) 0 88px; background: radial-gradient(900px 520px at 88% 0%, rgba(75,159,200,.2), transparent 62%), linear-gradient(180deg, var(--navy-950) 0%, var(--navy-800) 100%); color: var(--text-on-dark); }
@media (min-width: 1024px) { .page-hero { padding: calc(var(--header-h) + 120px) 0 112px; } }
.page-hero .display { color: #fff; margin: 24px 0 20px; max-width: 14em; }
.page-hero .lead { color: var(--text-on-dark-muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-on-dark-muted); margin-bottom: 28px; }
.crumbs a { color: var(--text-on-dark-muted); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }
.jump { display: grid; gap: 14px; margin-top: 48px; }
@media (min-width: 760px) { .jump { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; } }
.jump a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-lg); background: rgba(255,255,255,.04); transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.jump a:hover { border-color: #fff; background: rgba(255,255,255,.09); }
.jump small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-300); margin-bottom: 4px; }
.jump strong { display: block; font-size: 1.1rem; color: #fff; font-weight: 600; }
.jump svg { width: 20px; height: 20px; flex: none; color: #fff; transition: transform var(--dur-fast) var(--ease-out); }
.jump a:hover svg { transform: translateX(4px); }

/* ---------- 문의 폼 ---------- */
.form-wrap { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .form-wrap { grid-template-columns: 5fr 7fr; gap: 80px; } }
.form-aside .h2 { margin: 20px 0; }
.form-aside .lead { margin-bottom: 28px; }
.form-aside .checks { margin-bottom: 0; }
.form-card { padding: 40px 36px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.section-white .form-card { background: var(--ivory); }
@media (max-width: 719px) { .form-card { padding: 28px 20px; } }
.fields { display: grid; gap: 22px; }
@media (min-width: 720px) { .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field.full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field .label { font-size: 14px; font-weight: 600; color: var(--navy-800); }
.field .req { color: var(--teal-600); margin-left: 2px; }
.field .opt { font-weight: 500; color: var(--text-muted); font-size: 12.5px; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173757' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input::placeholder, .field textarea::placeholder { color: #8a939b; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--taupe-500); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-500); box-shadow: 0 0 0 3px rgba(75,159,200,.2); }
.field [aria-invalid="true"] { border-color: #b4412f; }
.field .hint { font-size: 13px; color: var(--text-muted); }
.field .err { display: none; font-size: 13px; font-weight: 600; color: #b4412f; }
.field.has-err .err { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.consent { margin-top: 28px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font-size: 14px; }
.consent details { color: var(--text-muted); }
.consent summary { cursor: pointer; font-weight: 600; color: var(--navy-800); min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.consent summary::-webkit-details-marker { display: none; }
.consent summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform var(--dur-fast); }
.consent details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.consent dl { display: grid; gap: 8px; margin: 12px 0 4px; }
.consent dt { font-weight: 600; color: var(--text); }
.consent dd { margin: 0 0 4px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-top: 14px; cursor: pointer; font-size: 14.5px; color: var(--text); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy-800); cursor: pointer; }
.consent.has-err { border-color: #b4412f; }
.consent .err { display: none; margin-top: 8px; font-size: 13px; font-weight: 600; color: #b4412f; }
.consent.has-err .err { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.form-foot .note { font-size: 13px; color: var(--text-muted); max-width: 30em; }
.form-foot .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { display: none; margin-top: 20px; padding: 18px 20px; border-radius: var(--radius); font-size: 15px; }
.form-status.is-ok { display: block; background: var(--sky-100); color: var(--navy-800); border: 1px solid rgba(75,159,200,.4); }
.form-status.is-bad { display: block; background: #fbeeea; color: #8a2f20; border: 1px solid rgba(180,65,47,.35); }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 연락처·두 사무실 ---------- */
.offices { display: grid; gap: 20px; }
@media (min-width: 900px) { .offices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.office { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.office .path-label { margin-bottom: 4px; }
.office h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.office address { font-style: normal; color: var(--text-muted); line-height: 1.7; }
.office ul { display: grid; gap: 2px; }
.office ul a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; color: var(--navy-800); overflow-wrap: anywhere; }
.office ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.office .link-arrow { margin-top: auto; }

/* ---------- 회사소개 ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.subnav a:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts li { padding: 26px 20px 26px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.facts strong { display: block; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.03em; color: var(--navy-800); line-height: 1.2; }
.facts span { display: block; margin-top: 6px; font-size: 14px; color: var(--text-muted); }
.mission { margin-top: 56px; display: grid; gap: 20px; padding: 40px 36px; border-radius: var(--radius-lg); background: var(--navy-800); color: var(--text-on-dark); }
@media (min-width: 900px) { .mission { grid-template-columns: auto 1fr; align-items: center; gap: 56px; padding: 48px 56px; } }
.mission .eyebrow { color: var(--sand-300); }
.mission .eyebrow::before { background: var(--sand-300); }
.mission strong { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; color: #fff; line-height: 1.2; }
.mission p { color: var(--text-on-dark-muted); }
.message-body { display: grid; gap: 18px; margin-top: 8px; color: var(--text); font-size: 1.05rem; max-width: 40em; }
.message-body p:first-child { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; color: var(--navy-800); letter-spacing: -.02em; line-height: 1.5; }
.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); }
.tl-item { display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .tl-item { grid-template-columns: 160px 1fr; gap: 40px; padding: 32px 0; } }
.tl-year { font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 700; letter-spacing: -.02em; color: var(--taupe-700); line-height: 1.2; font-variant-numeric: tabular-nums; }
.tl-item.is-key .tl-year { color: var(--teal-600); }
.tl-item ul { display: grid; gap: 8px; }
.tl-item li { position: relative; padding-left: 18px; color: var(--text); }
.tl-item li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--sand-300); }
.tl-item.is-key li::before { background: var(--sky-500); }
.tl-tag { display: inline-block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe-700); }
.tl-item.is-key .tl-tag { color: var(--teal-600); }
.tl-note { margin-top: 20px; font-size: 13.5px; color: var(--text-muted); }
/* ---------- 서비스 상세 ---------- */
@media (min-width: 1024px) {
  .process[style*="--n"] { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
  .services.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.services.two .service { padding-top: 34px; }
.examples { margin-top: 28px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 900px) { .examples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.examples > div { padding: 24px 26px; background: var(--paper); }
.examples dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-700); margin-bottom: 6px; }
.examples dd { margin: 0; color: var(--text); }
.examples-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-top: 56px; }
.examples-head h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.fine { margin-top: 16px; font-size: 13.5px; color: var(--text-muted); }
.path.plain { gap: 16px; }
.path.plain .checks { margin-bottom: 0; }
.svc-links { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .svc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } }
.svc-links a { display: flex; align-items: center; gap: 18px; min-height: 76px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--navy-800); }
.svc-links .num { flex: none; width: 28px; }
.svc-links strong { flex: 1; font-size: 1.1rem; font-weight: 600; letter-spacing: -.015em; }
.svc-links svg { width: 18px; height: 18px; color: var(--taupe-500); transition: transform var(--dur-fast) var(--ease-out); }
.svc-links a:hover strong { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.svc-links a:hover svg { transform: translateX(4px); color: var(--navy-800); }
.page-hero .num-tag { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff; margin-bottom: 28px; }
.page-hero .num-tag svg { width: 24px; height: 24px; }

/* 넓은 화면에서 끊기지 않게 붙여 둘 문구 (휴대폰에서는 자연스럽게 흐르게) */
@media (min-width: 1200px) { .nw { white-space: nowrap; } }
/* 회사소개 개요·미션: 문장 단위로 줄을 나눠 고르게 보이도록 글자 크기를 조금 줄임 */
@media (min-width: 1024px) { .lead.lead-fit { font-size: 1.0625rem; line-height: 1.85; } }
@media (min-width: 900px) { .mission .mission-text { font-size: 15.5px; line-height: 1.8; } }
.sign .sign-line { font-size: 15px; color: var(--text-muted); }
.sign .sign-line strong { display: inline; font-size: 17px; color: var(--navy-800); margin: 0 2px; }

/* ---------- 진행 절차 ---------- */
.tl-item h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.tl-item > div > p { color: var(--text-muted); max-width: 40em; }
.step-io { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 720px) { .step-io { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.step-io > div { padding: 18px 20px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line); }
.section:not(.section-white) .step-io > div { background: var(--paper); }
.step-io .label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe-700); }
.step-io ul { display: grid; gap: 4px; }
.step-io li { font-size: 15px; }
.tl-item .link-arrow { margin-top: 10px; }
.office .checks { margin: 4px 0 0; gap: 10px; }
.office .checks li { font-size: 15px; }
.faq { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 1.1rem; font-weight: 600; letter-spacing: -.015em; color: var(--navy-800); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 1.6px solid var(--taupe-500); border-bottom: 1.6px solid var(--taupe-500); transform: translateY(-3px) rotate(45deg); transition: transform var(--dur-fast); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--teal-600); }
.faq-more .link-arrow { margin-left: 16px; }
.faq details > p { padding: 0 40px 24px 0; color: var(--text-muted); max-width: 46em; }

/* ---------- 포트폴리오·제품 상세 ---------- */
.page-hero .tags { margin-top: 24px; }
.page-hero .tag { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.3); }
.page-hero .tag svg { color: var(--sky-300); }
.product-top { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .product-top { grid-template-columns: 5fr 6fr; gap: 72px; } }
.product-photo { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); display: grid; place-items: center; background: repeating-linear-gradient(135deg, rgba(75,159,200,.06) 0 10px, transparent 10px 20px), linear-gradient(160deg, #fff 0%, #f1f6f9 100%); border: 1px dashed var(--line-strong); color: var(--text-muted); font-size: 14px; }
.product-photo.has-img, .brand-feature .product-visual.has-img { overflow: hidden; border: 0; background: #7aa7d1; }
.product-photo img, .product-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.facility { display: grid; gap: 20px; }
@media (min-width: 560px) { .facility { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .facility { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facility figure { margin: 0; }
.spec .res { display: block; margin-top: 2px; font-size: 13.5px; color: var(--text-muted); }
.cert { margin: 40px 0 0; display: grid; gap: 16px; align-items: start; }
@media (min-width: 760px) { .cert { grid-template-columns: 280px 1fr; gap: 32px; } }
.cert img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); background: #fff; }
.cert figcaption { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.product-photo.has-img { aspect-ratio: 1 / 1; background: #3f63ad; }
.product-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.product-thumbs figure { margin: 0; }
.product-thumbs img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: #000; }
.product-thumbs figcaption { margin-top: 6px; font-size: 12.5px; color: var(--text-muted); text-align: center; }
.facility img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.facility figcaption { margin-top: 12px; font-weight: 600; color: var(--navy-800); }
.facility figcaption span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--taupe-700); margin-bottom: 2px; }
.kv { display: grid; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 559px) { .kv > div { grid-template-columns: 1fr; gap: 2px; } }
.kv dt { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--taupe-700); }
.kv dd { margin: 0; color: var(--text); font-weight: 500; }
.kv a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 3px; }
.spec-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.spec th, .spec td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec thead th { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe-700); background: var(--ivory); }
.spec tbody tr:last-child td { border-bottom: 0; }
.spec td:first-child { font-weight: 600; color: var(--navy-800); }
.pass { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal-600); }
.pass svg { width: 16px; height: 16px; }
.notice { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13.5px; color: var(--text-muted); }

/* ---------- 소식 ---------- */
.news-list { display: grid; gap: 20px; }
@media (min-width: 760px) { .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .news-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-list .news-feature { height: 100%; }
.news-list .news-feature.is-top { background: var(--navy-800); border-color: var(--navy-800); }
.news-list .is-top time, .news-list .is-top .cat { color: var(--sand-300); }
.news-list .is-top h3 { color: #fff; }
.news-list .is-top p { color: var(--text-on-dark-muted); }
.news-feature .src { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-muted); }
.news-list .is-top .src { border-top-color: rgba(255,255,255,.16); color: var(--text-on-dark-muted); }
.news-feature .src a { color: var(--teal-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.news-list .is-top .src a { color: var(--sky-300); }

/* ---------- 법적 고지 (개인정보처리방침·이용약관) ---------- */
.page-hero.compact { padding-bottom: 64px; }
@media (min-width: 1024px) { .page-hero.compact { padding: calc(var(--header-h) + 96px) 0 80px; } }
.legal-wrap { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .legal-wrap { grid-template-columns: 260px 1fr; gap: 72px; } .toc { position: sticky; top: calc(var(--header-h) + 32px); } }
.toc { font-size: 14px; }
.toc p { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-700); margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 6px 0; color: var(--text-muted); }
.toc a:hover { color: var(--navy-800); }
.legal { max-width: 46em; color: var(--text); }
.legal .meta { padding: 16px 20px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line); font-size: 14.5px; color: var(--text-muted); margin-bottom: 40px; }
.legal section { padding-top: 8px; margin-bottom: 40px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; color: var(--navy-800); margin-bottom: 14px; }
.legal p + p, .legal p + ul, .legal ul + p, .legal table + p, .legal p + table { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal th, .legal td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { background: var(--ivory); font-weight: 600; color: var(--navy-800); width: 32%; }
.todo { background: #fff3cd; color: #7a4b00; padding: 1px 6px; border-radius: 3px; font-weight: 600; }

@media (min-width: 1100px) { .team.team-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal[data-delay="3"] { transition-delay: 270ms; }
.reveal[data-delay="4"] { transition-delay: 360ms; }
.no-js .reveal { opacity: 1; transform: none; }

/* Hero entrance: slow, cinematic */
.hero .reveal { transform: translateY(26px); transition-duration: 1.2s; }
.hero .reveal[data-delay="1"] { transition-delay: .25s; }
.hero .reveal[data-delay="2"] { transition-delay: .5s; }
.hero .reveal[data-delay="3"] { transition-delay: .75s; }
.hero .reveal[data-delay="4"] { transition-delay: 1s; }

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