@font-face {
  font-family: Pretendard;
  src: url("../fonts/PretendardVariable.302ec55f5b43.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root { --gutter: max(2.4vw, 24px); --ink: #0b0b0b; }
*, *::before, *::after { box-sizing: border-box; }
body {
  font: 700 17px/1.4 Pretendard, system-ui, sans-serif;
  letter-spacing: -.035em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
p, ul, figure { margin: 0; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #6860ff; outline-offset: 3px; }
.link_arrow { display: inline-block; margin-inline-start: .18em; font-size: .82em; line-height: 1; }
.mobile_view, .mobile_num, .mobile_view_subtitle { display: none; }

/* Site navigation */
.header {
  position: fixed;
  z-index: 1001;
  inset: 8px var(--gutter) auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 23px;
  line-height: 24px;
}
/* 반전은 헤더 통째로. 자식에만 두면 fixed 헤더 안에서 섞여 흰 글자가 흰 페이지에 사라진다. */
.header a { display: inline-flex; align-items: center; }
.header .logo_section img { display: block; }
.nav_ink { display: none; }
.main_menu { display: flex; align-items: center; gap: .45em; list-style: none; padding: 0; text-transform: uppercase; }
.main_menu li > a,
.nav_ink .nav_fake { position: relative; display: inline-flex; align-items: center; padding-block: 3px; text-decoration: none; }
.main_menu li > a::after,
.nav_ink .nav_fake::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #3105FA;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s ease;
}
.main_menu .active a::after,
.main_menu a:hover::after,
.main_menu a:focus-visible::after,
.nav_ink .active .nav_fake::after { transform: scaleX(1); }
@media (width >= 1200px) {
  .main_menu .mobile_num {
    position: relative;
    z-index: 1001;
    flex: 0 0 auto;
    display: inline-block;
    max-width: 0;
    margin-inline-end: 0;
    overflow: hidden;
    opacity: 0;
    color: #3105FA;
    white-space: nowrap;
    vertical-align: baseline;
    transition: max-width .35s ease, opacity .35s ease, margin-inline-end .35s ease;
  }
  .main_menu a:hover .mobile_num,
  .main_menu a:focus-visible .mobile_num,
  .main_menu li:not(.mobile_view).active .mobile_num {
    max-width: 4.5em;
    margin-inline-end: .35em;
    opacity: 1;
  }
}
.header :is(.mobile_page_title, .mobile_menu, .mobile_active_close_bt, .mobile_contact_info) { display: none; }
/* 파란 번호·밑줄은 반전 밖(.nav_ink). 헤더 안에 두면 흰 배경에서 연두로 바뀐다. */
@media (width >= 1200px) {
  .header { mix-blend-mode: difference; }
  .header .main_menu li > a::after { background: transparent; }
  .header .mobile_num { color: transparent; }
  .nav_ink {
    position: fixed;
    inset: 8px var(--gutter) auto;
    z-index: 1002;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none;
    color: transparent;
    font-size: 23px;
    line-height: 24px;
  }
  .nav_ink .mobile_num { color: #3105FA; }
  .header:has(.main_menu li:nth-child(2) a:is(:hover, :focus-visible)) ~ .nav_ink li:nth-child(2) .mobile_num,
  .header:has(.main_menu li:nth-child(3) a:is(:hover, :focus-visible)) ~ .nav_ink li:nth-child(3) .mobile_num,
  .header:has(.main_menu li:nth-child(4) a:is(:hover, :focus-visible)) ~ .nav_ink li:nth-child(4) .mobile_num,
  .header:has(.main_menu li:nth-child(5) a:is(:hover, :focus-visible)) ~ .nav_ink li:nth-child(5) .mobile_num,
  .header:has(.main_menu li:nth-child(6) a:is(:hover, :focus-visible)) ~ .nav_ink li:nth-child(6) .mobile_num,
  .header:has(.main_menu li:nth-child(7) a:is(:hover, :focus-visible)) ~ .nav_ink li:nth-child(7) .mobile_num {
    max-width: 4.5em;
    margin-inline-end: .35em;
    opacity: 1;
  }
  .header:has(.main_menu li:nth-child(2) a:is(:hover, :focus-visible)) ~ .nav_ink li:nth-child(2) .nav_fake::after,
  .header:has(.main_menu li:nth-child(3) a:is(:hover, :focus-visible)) ~ .nav_ink li:nth-child(3) .nav_fake::after,
  .header:has(.main_menu li:nth-child(4) a:is(:hover, :focus-visible)) ~ .nav_ink li:nth-child(4) .nav_fake::after,
  .header:has(.main_menu li:nth-child(5) a:is(:hover, :focus-visible)) ~ .nav_ink li:nth-child(5) .nav_fake::after,
  .header:has(.main_menu li:nth-child(6) a:is(:hover, :focus-visible)) ~ .nav_ink li:nth-child(6) .nav_fake::after,
  .header:has(.main_menu li:nth-child(7) a:is(:hover, :focus-visible)) ~ .nav_ink li:nth-child(7) .nav_fake::after {
    transform: scaleX(1);
  }
  :is(.page_blog_list, .page_blog_detail, .page_magazine_list, .page_magazine_detail) .nav_ink { display: none; }
  :is(.page_blog_list, .page_blog_detail, .page_magazine_list, .page_magazine_detail) .header .mobile_num { color: #3105FA; }
  :is(.page_blog_list, .page_blog_detail, .page_magazine_list, .page_magazine_detail) .header .main_menu li > a::after { background: #3105FA; }
}
@media (width > 1750px) {
  .header, .nav_ink { font-size: 1.2vw; line-height: 1.14; }
}

.contents_wrap { overflow: clip; }
.m1 { height: 100svh; color: white; }
.m1 .logo { position: absolute; }
.m1 .main_copy { text-align: center; font-weight: 900; letter-spacing: -.055em; }
.m2 { position: relative; height: 100vh; margin-top: 10vh; overflow: hidden; text-align: center; }
.m2 .main_copy {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(80%, 36ch);
  font-size: 2.6vw;
  font-weight: 800;
  line-height: 1.3;
  opacity: 0;
}
.disc_chapters {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  left: 50%;
  top: -47vh;
  width: 201vh;
  height: 201vh;
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
}
.disc_chapters li {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 2vh;
  transform: rotate(var(--angle));
}
.disc_chapters span { background: white; color: var(--ink); padding-inline: .35em; }
.disc_chapters b { margin-top: .65em; background: var(--ink); color: white; font-size: clamp(18px, 2.3vw, 40px); padding-inline: .35em; }
.scroll_copy { position: absolute; inset: auto 0 2vh; z-index: 3; color: white; font-size: 14px; }

.section_title { font-weight: 900; font-size: clamp(24px, 2.3vw, 48px); line-height: 1; }
.process_section { width: 50%; }
.pr_item { padding: 0 var(--gutter) clamp(72px, 13vw, 200px) 0; }
.pr_item + .pr_item { padding-top: 2vw; border-top: 1px solid #ccc; }
.pr_item:last-child { padding-bottom: 0; }
.pr_item .mobile_img { display: none; }
.pr_header { position: relative; font-size: 2.3vw; line-height: 1; font-weight: 800; }
.pr_num { position: absolute; right: calc(100% + 4vw); }
.pr_contents { margin-top: 2vw; font-size: 1.6vw; line-height: 1.62; }
.video_section { position: relative; display: grid; place-items: center; min-height: 100svh; color: white; text-align: center; }
.video_bg { position: absolute; inset: 0; }
.video_bg::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / 45%); }
.video_section .main_copy { position: relative; max-width: min(85vw, 48em); padding: 2vw; font-size: 2.6vw; font-weight: 800; }
.section_deco_title { display: flex; justify-content: space-between; gap: .15em; padding: 5vw 1vw 1vw; font-size: 14vw; font-weight: 800; letter-spacing: -.07em; line-height: 1; }
.job_section { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4vw; padding: 3.5vw var(--gutter); }
.job_img img { display: block; width: 72%; height: auto; border-radius: 10px; }
.job_contents { display: flex; flex-direction: column; justify-content: space-between; gap: 3em; font-size: 1.5vw; line-height: 1.6; }
.job_btn { text-decoration: underline; text-underline-offset: .2em; }
.jr_title { margin-bottom: 1.4em; font-size: 1.2vw; }
.jr_item { border-top: 1px solid #bbb; padding-block: 2vw; }

.footer { background: var(--ink); color: white; display: flex; flex-direction: column; justify-content: flex-start; }
.ft_map { position: relative; height: 58vh; min-height: 320px; background: #1c1c1c; overflow: hidden; }
.ft_map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.08); }
.ft_map_meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  width: 78%;
  margin: 3vh auto 0;
  font-size: 1.05vw;
  line-height: 1.5;
}
.ft_map_links { display: flex; flex: none; gap: 1.2rem; font-weight: 800; }
.company_info_items { width: 78%; display: flex; justify-content: space-between; gap: 1.4vw; }
.ci_item { font-size: 1.2vw; line-height: 1.5; }
.ft_slogan { position: absolute; inset: auto 0 2vh; text-align: center; font-size: 1.8vw; }

/* Interior pages */
.page_header {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  padding: clamp(88px, 9vw, 160px) var(--gutter) 0;
  line-height: 1.4;
}
.ph_items { display: grid; grid-template: repeat(2, auto) / repeat(2, minmax(0, 1fr)); grid-auto-flow: column; font-size: clamp(16px, 1.5vw, 28px); }
.ph_desc, .ph_address { font-size: clamp(16px, 1.43vw, 24px); font-weight: 730; }
.ph_desc p + p { margin-top: .35em; }
.contact_page_header { grid-template-columns: 40% 26% minmax(0, 1fr); }
.contact_page_header .ph_desc { grid-column: 1 / -1; padding-left: 40%; margin-top: 4vw; }
.ph_copyright { text-align: right; }
.ph_copyright img { width: 7em; opacity: .15; }
.work_items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2vw; margin-top: 4.8vw; padding-inline: var(--gutter); }
.wide_item { grid-column: span 2; }
.work_img { overflow: hidden; }
.work_img img { object-fit: cover; }
.work_section > .work_items .work_img img { aspect-ratio: 1340 / 712; }
.work_section > .work_items .work_item:not(.wide_item) .work_img img { aspect-ratio: 9 / 10; }
.work_contents { margin-top: .75em; font-size: max(13px, .95vw); line-height: 1.4; }
.client_section { margin-block: 10vw; }
.client_section .section_title { padding-inline: var(--gutter); }
.client_section .page_header { padding-top: 2vw; }
.original_section { display: flow-root; background: var(--ink); color: white; }
.original_items { display: grid; gap: 5vw; margin-block: 4.8vw 12vw; padding-inline: var(--gutter); }
.oi_img { position: relative; overflow: hidden; aspect-ratio: 1590 / 730; }
.oi_img > picture { display: block; width: 100%; height: 100%; }
.oi_img > img, .oi_img > picture > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oi_img::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / 25%); }
.oi_info { position: absolute; inset: 50% 3% auto; z-index: 1; display: flex; gap: 1em; border-top: 1px solid; padding-top: 1em; color: white; font-size: max(15px, 1.2vw); line-height: 1.2; }
.oi_subinfo { flex: 0 0 23%; }
.oi_intro { display: grid; grid-template-columns: 40% 1fr; margin-top: 1em; font-size: 18px; line-height: 1.55; }

.input_section { margin-block: 9vw 10vw; }
.input_section .section_title { font-size: max(20px, 1.5vw); line-height: 1.5; }
.input_items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2vw; }
.full_item { grid-column: 1 / -1; }
.input_content :is(input, textarea, select) {
  width: 100%;
  min-height: 3.8em;
  border: 1px solid #c6c6c6;
  border-radius: 0;
  background: white;
  padding: .85em 1.1em;
}
.input_content textarea { min-height: 11em; resize: vertical; }
.input_content input::placeholder, .input_content textarea::placeholder { color: #6a6a6a; font-weight: 500; }
.agree_item a { text-decoration: underline; }
.submit_bt_section { margin-top: 2vw; }
.email_submit_bt { width: calc(50% - 1vw); min-height: 3.6em; border: 0; background: var(--ink); color: white; font-size: max(16px, 1.43vw); }

@media (width < 1200px) {
  :root { --gutter: 14px; }
  body { font-size: 15px; }
  .mobile_view, .mobile_view_subtitle { display: block; }
  .header { z-index: 1001; inset: 0 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; min-height: 52px; padding-inline: var(--gutter); background: white; color: var(--ink); mix-blend-mode: normal; font-size: 16px; line-height: 1; }
  :is(.page_index, .page_original) .header { background: var(--ink); color: white; }
  .header .logo_section { display: block; }
  .header .logo_section a { min-height: 44px; }
  .header nav, .header .main_menu { display: none; }
  .header .mobile_page_title { display: block; min-width: 0; text-align: center; text-transform: uppercase; font-size: clamp(12px, 3.8vw, 16px); }
  .header .mobile_menu { display: grid; justify-self: end; place-content: center; gap: 7px; color: inherit; }
  .mm_bar { width: 26px; height: 2px; background: currentColor; }
  .header.mobile_active {
    inset: 0;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: var(--ink);
    color: white;
    padding-inline: 0;
  }
  .header.mobile_active :is(.logo_section, .mobile_page_title, .mobile_menu) { display: none; }
  .header.mobile_active nav { display: flex; }
  .header.mobile_active .main_menu { display: flex; align-items: start; flex-direction: column; text-transform: uppercase; }
  .header.mobile_active .mobile_num { display: inline-block; max-width: none; opacity: 1; color: inherit; }
  .header.mobile_active .main_menu a:hover .mobile_num,
  .header.mobile_active .main_menu .active .mobile_num { color: #3105FA; }
  .header.mobile_active .main_menu a { display: flex; gap: .5em; min-height: 44px; }
  .header.mobile_active .mobile_active_close_bt { display: block; align-self: flex-end; margin-right: var(--gutter); padding-inline: 8px; min-width: 44px; min-height: 44px; background: transparent; border: 0; }
  .header.mobile_active .mobile_contact_info { display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; padding-inline: var(--gutter); font-size: 14px; line-height: 1.3; }
  .mobile_contact_info a { min-height: 44px; }
  .m2 { height: auto; margin-top: 0; padding: 3rem var(--gutter); text-align: left; }
  .contents_wrap .m2 .main_copy { position: static; width: auto; transform: none; opacity: 1; font-size: clamp(22px, 6vw, 38px); line-height: 1.34; }
  .m2 .main_copy + .main_copy { margin-top: 3rem; }
  .mobile_view_subtitle { margin-bottom: .6em; font-size: 14px; }
  .m2 :is(.scroll_copy, .disc_chapters) { display: none; }
  .section_title { font-size: 22px; }
  .process_section { width: 100%; padding: 20px var(--gutter) 0; }
  .pr_item { padding: 0; }
  .pr_item + .pr_item { margin-top: 32px; padding-top: 20px; }
  .pr_item .mobile_img { display: block; }
  .mobile_img img { display: block; width: 100%; height: auto; }
  .pr_header { font-size: clamp(21px, 5.6vw, 32px); line-height: 1.25; }
  .pr_num { position: static; }
  .pr_contents { font-size: 15px; line-height: 1.54; font-weight: 600; }
  .video_section { min-height: min(100vw, 85vh); }
  .video_section .main_copy { max-width: 100%; padding-inline: var(--gutter); font-size: 22px; }
  .section_deco_title { padding: 30px var(--gutter) 12px; font-size: min(14vw, calc((100vw - 2 * var(--gutter)) / 7.3)); word-spacing: .08em; white-space: nowrap; }
  .job_section { display: flex; flex-direction: column; gap: 18px; padding: 10px var(--gutter) 50px; }
  .job_img img { width: 100%; height: clamp(180px, 50vw, 400px); object-fit: cover; object-position: center 40%; }
  .job_contents { font-size: 15px; line-height: 1.5; }
  .jr_title { font-size: 15px; }
  .jr_item { padding-block: 16px; }
  .ft_map { height: 48vh; min-height: 240px; }
  .ft_map_meta { flex-direction: column; align-items: flex-start; gap: 10px; width: 90vw; font-size: 14px; }
  .ft_map_links a { min-height: 44px; }
  .company_info_items { flex-direction: column; }
  .ci_item { font-size: 14px; line-height: 1.45; }
  .mobile_ci_title { color: #b5b5b5; }
  .ci_item.logo_item { display: none; }
  .ft_slogan { font-size: 16px; }
  .page_header { display: flex; flex-direction: column; gap: 15px; padding-top: 70px; }
  .ph_items { font-size: 16px; line-height: 22px; }
  .ph_desc, .ph_address { font-size: 15px; }
  .contact_page_header .ph_desc { padding: 0; margin: 0; }
  .ph_copyright { display: none; }
  .work_items { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 30px; }
  .wide_item { grid-column: auto; }
  .blank_item { display: none; }
  .collab_items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .work_contents { font-size: 14px; }
  .client_section { margin-block: 50px; }
  .client_section .page_header { padding-top: 24px; }
  .original_items { margin-block: 30px 60px; gap: 36px; }
  .oi_img { aspect-ratio: auto; }
  .oi_img > img, .oi_img > picture > img { height: auto; aspect-ratio: 4 / 3; }
  .oi_img::after { display: none; }
  .oi_info { position: static; margin-top: 12px; padding-top: 8px; gap: .5em 1em; flex-wrap: wrap; align-items: baseline; font-size: 16px; }
  .oi_subinfo { flex: none; font-size: 14px; color: #b5b5b5; }
  .oi_subinfo br { display: none; }
  .oi_subinfo br + span::before { content: " / "; }
  .oi_intro { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; }
  .intro_title { display: none; }
  .input_section { margin-block: 4rem; }
  #contact .section_title { margin-bottom: 12px; }
  .input_items { grid-template-columns: minmax(0, 1fr); }
  .input_content :is(input, textarea, select) { min-height: 3.25em; }
  .input_content textarea { min-height: 9em; }
  .email_submit_bt { width: 100%; }
}

@media (768px <= width < 1200px) {
  :root { --gutter: clamp(26px, 4vw, 44px); }
  .job_section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
  .job_img img { height: auto; aspect-ratio: 4 / 3; }
  .page_header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: start; gap: var(--gutter); padding-top: 84px; }
  .contact_page_header { row-gap: 12px; }
  .contact_page_header .ph_items { grid-row: span 2; }
  .contact_page_header .ph_desc { grid-column: 2; }
  .work_items, .original_items, .input_items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .work_section > .work_items .wide_item:first-child { grid-column: 1 / -1; }
  .work_section > .work_items .wide_item:not(:first-child) .work_img img { aspect-ratio: 9 / 10; }
}
