/*! UPINTER v4.2 · shared styles · 2026-10-19 (노션 「유피인터 자사몰 피드백2」 · 「261012 회의록」 반영)
   v4.2: pictures sweep up from below (no vermilion band), numbers count from 0 in 1s, hairlines #262626, footer #262626 (white text, #9e9e9e rule)
   ---- v4.1 notes ----
   One page, read top to bottom with the browser's own scroll: no scene engine, no sideways moves.
   - black everywhere (the brand wall and the footer are the white ones), one vermilion CTA per screen (#f9431c)
   - CTA hover: vermilion → white, white → vermilion
   - pictures are rectangles of a fixed size; several pictures in one place fade into each other
   - motion is kept to what tells you something: copy settles in, numbers count, a vermilion band lifts off a picture
     as its screen arrives (the move is always vertical), the brand wall rolls like end credits
   Tokens follow AXIS (ink · warm white · vermilion, Pretendard). */

:root{
  --ink:#121113; --ink2:#1B1A1D; --ink3:#26252A;
  --paper:#F4F2EE; --white:#FFFFFF;
  --brand:#F9431C; --brand-ink:#DE2F00;
  --t1:#FFFFFF; --t2:#BDBDBD; --t3:#8F8E8C;
  --k1:#121113; --k2:#5F5F5F; --k3:#8A8A86;
  --line:rgba(255,255,255,.14); --line-k:#D9D6D0; --rule:#262626;
  --sans:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,system-ui,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;
  --gx:clamp(20px,4vw,72px);
  --hd:68px;
  --max:1320px;
  /* a screen is as tall as the window: the picture is 800px high when the window allows (window ≥ 1080px: 140px above and below, 280px between screens), and shrinks with the window below that */
  --pad:clamp(calc(var(--hd) + 8px), calc((100svh - 800px) / 2), 140px);
  --fh:min(800px, calc(100svh - 2 * var(--pad)));
  --ease:cubic-bezier(.16,1,.3,1);
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
html{background:var(--ink);-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:var(--hd)}
body{font-family:var(--sans);font-size:17px;line-height:1.6;color:var(--t1);background:var(--ink);word-break:keep-all;overflow-wrap:break-word;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:"ss06"}
img,video,svg{display:block;max-width:100%}
a{color:inherit}
button{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
::selection{background:var(--brand);color:#fff}
.sr{position:absolute!important;clip-path:inset(50%)!important;overflow:hidden!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;white-space:nowrap!important}
.skip{position:fixed;left:12px;top:12px;z-index:100;background:var(--brand);color:#fff;padding:10px 14px;border-radius:2px;text-decoration:none;font-weight:700;transform:translateY(-200%)}
.skip:focus{transform:none}

/* ---------- header: ink on the black screens, warm white over the brand wall and the footer ---------- */
.hd{position:fixed;inset:0 0 auto 0;height:var(--hd);z-index:60;display:flex;align-items:center;gap:28px;padding:0 var(--gx);color:#fff;background:var(--ink);transition:background-color .3s,color .3s}
.hd .logo{display:block;position:relative;width:132px;height:24px;flex:none}
.hd .logo img{position:absolute;inset:0;height:24px;width:auto}
.hd .logo .lk{opacity:0}
.hd nav{display:flex;gap:26px}
.hd nav.menu{margin-left:auto}
.hd nav a{font-size:15px;font-weight:600;text-decoration:none;opacity:.7;transition:opacity .2s;white-space:nowrap}
.hd nav a:hover,.hd nav a[aria-current="page"]{opacity:1}
.hd nav.menu a[aria-current="page"]{text-decoration:underline 2px var(--brand);text-underline-offset:7px}
.hd nav.lang{gap:2px;flex:none}
.hd nav.lang a{font-size:13px;font-weight:650;letter-spacing:.02em;padding:4px 6px;border-radius:2px;opacity:.55}
.hd nav.lang a[aria-current="true"]{opacity:1;box-shadow:inset 0 -2px 0 var(--brand)}
.hd .cta{flex:none;gap:0;transition:opacity .25s,visibility .25s,background-color .2s,color .2s,border-color .2s}
/* over the opening picture the header is see-through: the plain UP INTER wordmark, the menu with dots between,
   and a white project button where the languages sit on the other screens */
[data-hd="clear"] .hd{background:transparent}
.hd .logo .lt{position:absolute;left:0;top:50%;transform:translateY(-50%);font-size:22px;font-weight:800;letter-spacing:.01em;line-height:1;white-space:nowrap;color:#fff;opacity:0}
[data-hd="clear"] .hd .logo .lt{opacity:1}
[data-hd="clear"] .hd .logo img{opacity:0}
[data-hd="clear"] .hd nav.menu{gap:0}
[data-hd="clear"] .hd nav.menu a{opacity:.92}
[data-hd="clear"] .hd nav.menu a + a::before{content:"·";display:inline-block;margin:0 .55em;opacity:.8}
[data-hd="clear"] .hd nav.lang a{opacity:.8;text-shadow:0 1px 8px rgba(0,0,0,.35)}
[data-hd="clear"] .hd nav.lang a[aria-current="true"]{opacity:1}
[data-hd="clear"] .hd .cta{background:#fff;border-color:#fff;color:var(--k1)}
[data-hd="clear"] .hd .cta:hover,[data-hd="clear"] .hd .cta:focus-visible{background:var(--brand);border-color:var(--brand);color:#fff}
[data-hd="light"] .hd{background:var(--paper);color:var(--k1)}
[data-hd="light"] .hd .logo .lk{opacity:1}
[data-hd="light"] .hd .logo .lw{opacity:0}
/* one project CTA per screen: the opening, the brand wall and the inquiry carry their own (or none) */
[data-cta="off"] .hd .cta{opacity:0;visibility:hidden;pointer-events:none}
.crumb{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:650;margin-left:4px;white-space:nowrap}
.hd nav.crumb{gap:8px}
.crumb a{font-size:14px;opacity:.8}
.crumb .sep{opacity:.35}
@media (max-width:1023px){.crumb [aria-current],.crumb .sep{display:none}}
@media (max-width:767px){.hd nav.crumb{display:none}}   /* the languages need the room; the logo is the way home */
@media (max-width:380px){.hd .cta .cta-l{display:none}}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:48px;padding:0 24px;border-radius:2px;border:1px solid var(--brand);background:var(--brand);color:#fff;font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color .2s,color .2s,border-color .2s}
.btn:hover,.btn:focus-visible{background:#fff;border-color:#fff;color:var(--k1)}
.btn.w{background:#fff;border-color:#fff;color:var(--k1)}
.btn.w:hover,.btn.w:focus-visible{background:var(--brand);border-color:var(--brand);color:#fff}
.btn.o{background:transparent;border-color:rgba(255,255,255,.9);color:#fff}
.btn.o:hover,.btn.o:focus-visible{background:var(--brand);border-color:var(--brand);color:#fff}
.btn.sm{height:40px;padding:0 16px;font-size:14px}
.btn.big{height:68px;padding:0 44px;font-size:20px}
/* on a light ground the vermilion button turns ink on hover (white would vanish) */
.on-light .btn:hover,.on-light .btn:focus-visible,[data-hd="light"] .hd .btn:hover{background:var(--k1);border-color:var(--k1);color:#fff}
.btn .ext{font-size:.9em}

/* ---------- type ---------- */
.label{display:block;font-size:14px;font-weight:650;color:var(--t2);margin:0 0 18px;letter-spacing:-.005em}
.h1{font-size:clamp(42px,6.2vw,104px);font-weight:820;letter-spacing:-.045em;line-height:1.06;margin:0}
.h2{font-size:clamp(30px,3.5vw,58px);font-weight:800;letter-spacing:-.036em;line-height:1.16;margin:0;text-wrap:balance}
.lead{font-size:clamp(16px,1.2vw,19px);line-height:1.62;color:var(--t2);margin:22px 0 0;max-width:34em}
/* a keyword sits on a vermilion card (a static mark; it lifts in with the copy) */
.kw{font-style:normal;color:#fff;background:var(--brand);padding:0 .08em;margin:0 .02em;-webkit-box-decoration-break:clone;box-decoration-break:clone;white-space:nowrap}
.more{display:inline-block;margin-top:26px;font-size:15px;font-weight:700;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:2px;transition:color .2s}
.more:hover{color:var(--brand)}
.mores{display:flex;flex-wrap:wrap;gap:6px 28px;margin:0}
.basis{display:block;font-size:13px;line-height:1.5;color:var(--t3);margin-top:16px;font-variant-numeric:tabular-nums}
.stats{display:flex;flex-wrap:wrap;gap:18px clamp(28px,3.4vw,56px);margin:30px 0 0;padding:0;list-style:none}
.stats .n{display:block;font-size:clamp(32px,3.2vw,56px);font-weight:820;letter-spacing:-.045em;line-height:1;font-variant-numeric:tabular-nums}
.stats .hot{color:var(--brand)}
.stats .t{display:block;font-size:14px;font-weight:600;margin-top:10px}

/* ---------- a picture: a fixed rectangle; several pictures in one frame fade into each other ---------- */
.frame{position:relative;margin:0;overflow:hidden;background:var(--ink2);aspect-ratio:var(--ar,8 / 7)}
.frame > img,.frame > video,.frame > picture,.frame > picture > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.frame.fade > img,.frame.swap > img{opacity:0;transition:opacity 1s ease}
.frame.fade > img.on,.frame.swap > img.on{opacity:1}
/* a picture arrives by sweeping up from below: its window opens from the bottom edge while the picture itself rises a little */
.js .frame.band{clip-path:inset(100% 0 0 0);transition:clip-path 1.15s cubic-bezier(.65,0,.35,1) .1s}
.js .in .frame.band,.js .frame.band.in{clip-path:inset(0 0 0 0)}
.js .frame.band > img,.js .frame.band > video,.js .frame.band > picture{transform:translate3d(0,10%,0) scale(1.05);transition:transform 1.5s var(--ease) .1s}
.js .in .frame.band > img,.js .in .frame.band > video,.js .in .frame.band > picture,.js .frame.band.in > img,.js .frame.band.in > video,.js .frame.band.in > picture{transform:none}
.cap{display:block;margin-top:10px;font-size:12.5px;font-weight:650;color:var(--t3)}

/* ---------- arrivals: copy settles in once, top to bottom ---------- */
.js [data-rise]{opacity:0;transform:translate3d(0,40px,0);transition:opacity .8s var(--ease),transform 1.1s var(--ease);transition-delay:calc(var(--d,0) * 1s)}
.js .in [data-rise],.js [data-rise].in{opacity:1;transform:none}

/* ---------- where you are: a rail of short bars at the right (the current screen in vermilion) ---------- */
.idx{position:fixed;right:clamp(10px,1.4vw,24px);top:50%;transform:translateY(-50%);z-index:55;display:flex;flex-direction:column;gap:4px;align-items:flex-end;margin:0;padding:0;list-style:none}
.idx a{display:flex;align-items:center;gap:10px;height:20px;text-decoration:none;color:#fff}
.idx .bar{display:block;width:14px;height:2px;background:currentColor;opacity:.32;transition:width .3s var(--ease),opacity .3s,background-color .3s}
.idx .lb{font-size:12.5px;font-weight:650;opacity:0;transform:translateX(6px);transition:opacity .25s,transform .25s var(--ease);white-space:nowrap;background:var(--ink);padding:2px 6px;border-radius:2px}
.idx a:hover .lb,.idx a:focus-visible .lb{opacity:1;transform:none}
.idx a[aria-current="true"] .bar{width:30px;opacity:1;background:var(--brand)}
[data-hd="light"] .idx a{color:var(--k1)}
[data-hd="light"] .idx .lb{background:var(--paper)}

.is-paused *{animation-play-state:paused!important}

/* ---------- footer (#262626): the company, the links — white text, #9e9e9e rule ---------- */
.ft{background:#262626;color:#fff;padding:clamp(56px,8vh,96px) var(--gx) clamp(28px,4vh,40px)}
.ft .wrap{max-width:var(--max);margin:0 auto;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:32px clamp(32px,5vw,96px)}
.ft .brand img{height:24px;width:auto}
.ft .brand p{margin:18px 0 0;font-size:15px;line-height:1.6;color:#fff;max-width:30em}
.ft .facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 32px;margin:0;padding:0;list-style:none;font-size:14.5px;line-height:1.5}
.ft .facts b{display:block;font-size:13px;font-weight:700;color:#fff;margin-bottom:2px}
.ft .row{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;padding-top:24px;border-top:1px solid #9e9e9e;font-size:13px;color:#fff}
.ft .row a{text-decoration:none}
.ft .row a:hover{color:var(--brand)}
.ft .ft-nav,.ft .ft-sns,.ft .ft-lang{display:flex;flex-wrap:wrap;gap:6px 16px}
.ft .ft-nav a{font-weight:650;color:#fff}
.ft .ft-sns{margin-left:auto}
.ft .ft-lang{padding-left:16px;border-left:1px solid #9e9e9e}
.ft .ft-lang a[aria-current="true"]{color:#fff;font-weight:750;text-decoration:underline 2px var(--brand);text-underline-offset:4px}

/* ---------- small screens ---------- */
@media (max-width:1023px){
  .hd nav.menu{display:none}
  .hd nav.lang{margin-left:auto}
}
@media (max-width:767px){
  :root{--hd:58px}
  .hd{gap:12px}
  .hd .logo{width:110px;height:20px}
  .hd .logo img{height:20px}
  .hd nav.lang{margin-left:auto;gap:0}
  .hd nav.lang a{font-size:12px;padding:4px 5px}
  .hd .cta{margin-left:0}
  .h1{font-size:clamp(36px,10.6vw,52px)}
  .h2{font-size:clamp(27px,7.6vw,38px)}
  .lead{font-size:15.5px;margin-top:16px}
  .stats{gap:14px 26px;margin-top:22px}
  .stats .n{font-size:30px}
  .stats .t{font-size:13px;margin-top:6px}
  .basis{font-size:12px}
  .idx{display:none}
  .ft .wrap{grid-template-columns:minmax(0,1fr)}
  .ft .facts{grid-template-columns:minmax(0,1fr);gap:12px}
  .ft .ft-sns{margin-left:0}
  .ft .ft-lang{padding-left:0;border-left:0}
}
@media (max-width:380px){
  .hd{padding:0 14px;gap:10px}
  .hd .logo{width:92px;height:17px}
  .hd .logo img{height:17px}
  .hd .btn.sm{height:34px;padding:0 11px;font-size:12.5px}
}

/* ---------- reduced motion: final states at once ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
  .js [data-rise]{opacity:1;transform:none}
  .js .frame.band{clip-path:none}
  .js .frame.band > img,.js .frame.band > video,.js .frame.band > picture{transform:none}
}

/* ---------- languages ---------- */
:root:lang(zh-Hans){--sans:"UP Latin","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC","Source Han Sans SC",sans-serif}
:lang(zh-Hans) body{word-break:normal;line-break:strict}
:lang(zh-Hans) *{word-break:normal}
:lang(en) body{word-break:normal;hyphens:manual}
:lang(en) .kw,:lang(zh-Hans) .kw{white-space:normal}
